/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f8f8f8;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: relative;
  z-index: 2;
  background-color: #fff;
}

.logo {
  width: 10%;
}

.logo img {
  width: 60px;
}

.links a,
.auth-links a {
  text-decoration: none;
  color: #000;
  font-weight: 400;
  margin: 0 12px;
  font-size: 16px;
  transition: color 0.3s;
}

.links a:hover,
.auth-links a:hover {
  color: #696969;
}

.sign-in {
  background: transparent;
  border: 1px solid #000;
  padding: 8px 10px;
  border-radius: 15px;
  font-weight: 400;
  font-size: 16px;
  color: black;
  transition: background 0.3s;
}

.sign-in:hover {
  background: #e2e6eb;
}

.sign-up {
  padding: 8px 10px;
  border-radius: 15px;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s;
  background-color: #2d64ee;
  color: white !important;
}

.sign-up:hover {
  background: #193d96;
  color: white !important;
  transform: translateY(-2px);
}

/* Mobile Navigation Styles */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 999;
  padding: 80px 20px 20px;
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.mobile-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  margin: 15px 0;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.mobile-nav .auth-links {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.mobile-nav .sign-in,
.mobile-nav .sign-up {
  border: 1px solid #ffffff;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 500;
  font-size: 16px;
  color: white;
  text-align: center;
  transition: all 0.3s;
  width: 80%;
  margin: 0 auto;
}

.mobile-nav .sign-up {
  background-color: #2d64ee;
  border-color: #2d64ee;
}

.mobile-nav .sign-in:hover {
  background-color: #ffffff;
  color: #000000;
}

.mobile-nav .sign-up:hover {
  background-color: #193d96;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero */
.hero {
  background: #0a2463;
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
}

/* Experts */
.experts {
  max-width: 100%;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
}

.expert-card a {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.expert-card {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  background-color: #ffffff;
  margin-bottom: 10px;
  text-decoration: none;
}

.expert-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  padding: 8px;
}
.expert-card .text {
  align-self: center;
}

.expert-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.stars {
  color: #facc15;
  font-size: 0.9rem;
}

/* CTA Section */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #001534;
  color: #fff;
  overflow: hidden;
}

.cta-text {
  flex: 1;
  max-width: 40%;
  padding-left: 20px;
}

.cta-text h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.btn-primary {
  display: inline-block;
  background: #1e73ff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #1556c0;
}

.cta img {
  flex: 1;
  max-width: 45%;
  height: 200px;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 50% 0 / 0 0 20% 0;
}

.space {
  margin: 30px;
}

/* FOOTER SECTION */
.footer {
  background-color: #001534;
  color: white;
  padding: 60px 40px 40px;
}

.footer-container {
  width: 100%;
  max-height: 70%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
  padding: 10px 5px;
}

/* Logo Section */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 120px;
  height: 120px;
}

.footer-logo img {
  width: 100%;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #b8c5d6;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

/* Contact Section */
.contact-info p {
  color: #b8c5d6;
  font-size: 16px;
  margin-bottom: 12px;
}

.contact-info .email {
  color: white;
  font-weight: 500;
}

.contact-info .phone {
  color: white;
  font-weight: 500;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.social-icon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icons img {
  width: 28px;
  height: 28px;
}

.social-icon:hover {
  transform: translateY(-2px);
}

/* Copyright Section */
.footer-bottom {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #344a6b;
  text-align: center;
  color: #b8c5d6;
  font-size: 14px;
}

/* RESPONSIVE STYLES */
/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  nav {
    padding: 15px 30px;
  }

  .links,
  .auth-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-text {
    max-width: 50%;
    padding: 20px;
  }

  .cta img {
    max-width: 50%;
    height: auto;
  }

  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  nav {
    padding: 15px 20px;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .experts {
    padding: 0 10px;
  }

  .expert-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .expert-card img {
    width: 80px;
    height: 80px;
  }

  .cta {
    flex-direction: column;
    text-align: center;
  }

  .cta-text {
    max-width: 100%;
    padding: 20px;
  }

  .cta img {
    max-width: 100%;
    height: 200px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-logo {
    margin-bottom: 20px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.85rem;
  }

  .expert-card h3 {
    font-size: 1rem;
  }

  .btn-primary {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-section h3 {
    margin-bottom: 10px;
  }
}
