@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
}

:root {
  --primary-gradient: linear-gradient(135deg, #e6f7ff 0%, #ffffff 100%);
  --primary-color: #0066cc;
  --hover-color: #0059b3;
}

body {
  background: var(--primary-gradient);
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Roboto", serif;
}

/* Navbar Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: bold;
  color: var(--primary-color) !important;
  font-size: 1.5rem;
}

.logo-container {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

@media (max-width: 768px) {
  .logo-container {
    width: 35px;
    height: 35px;
  }

  .navbar-brand {
    font-size: 0.9rem;
  }

  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-section {
    margin-bottom: 2rem;
  }

}

.nav-link {
  color: #333 !important;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.btn-login,
.btn-signup {
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-login {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-login:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-signup {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: white;
}

.btn-signup:hover {
  background-color: var(--hover-color);
  border-color: var(--hover-color);
}

/* Main Content Styles */
.main-heading {
  color: var(--primary-color);
  font-weight: bold;
  margin: 3rem 0;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .main-heading {
    font-size: 1.75rem;
  }

  .main-heading .h5 {
    font-size: 1rem;
  }
}

/* Card Styles */
.card {
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Horizontal Card Styles */
.position-list {
  margin-top: 2rem;
  padding: 0 1rem;
}

.horizontal-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .horizontal-card {
    padding: 1rem;
  }
}

.horizontal-card:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.position-badge {
  background: linear-gradient(135deg, #e6f7ff 0%, #cce6ff 100%);
  color: var(--primary-color);
  font-weight: bold;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.position-info {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .position-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

.position-title {
  font-weight: bold;
  margin: 0;
  font-size: 1.1rem;
  min-width: 200px;
}

.internship-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  white-space: nowrap;
}

.internship-tag i {
  color: var(--primary-color);
}

.apply-button {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0080ff 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .apply-button {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

.apply-button:hover {
  background: linear-gradient(135deg, var(--hover-color) 0%, #0073e6 100%);
  color: white;
  transform: translateX(5px);
}

.apply-icon {
  width: 20px;
  height: 20px;
}

/* Responsive navbar adjustments */
@media (max-width: 991px) {
  .navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }

  .navbar-nav {
    margin: 1rem 0;
  }

  .d-flex.gap-2 {
    margin-top: 1rem;
    justify-content: center;
  }
}

/* Footer Styles */
.footer {
  background: #1e293b;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-logo {
  height: 150px;
  margin-bottom: 1rem;
}

.footer-links h5 {
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-links a {
  color: white;
  margin-right: 1rem;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.copyright {
  border-top: 1px solid #334155;
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: #94a3b8;
}

/* Container padding adjustments */
@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .positionHeading p {
    font-size: 10px;
  }
}
