:root {
  --primary-blue: #234A8A;
  --primary-red: #C7362F;
  --dark-blue: #1E355F;
  --light-blue: #E9EEF6;
  --white: #FFFFFF;
  --dark-gray: #2B2B2B;
  --light-gray: #D6D6D6;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  color: var(--dark-blue);
  line-height: 1.2;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.8rem 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  font-weight: 800;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-logo {
  height: 50px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-size: 1.1rem;
}

.logo-link span {
  color: var(--primary-red);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  color: var(--dark-gray);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

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

.nav-link i {
  font-size: 0.8rem;
  transition: transform 0.3s;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 240px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 10;
}

@media (min-width: 769px) {
  .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.dropdown-link {
  display: block;
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-gray);
}

.dropdown-link:hover {
  background-color: var(--light-blue);
  color: var(--primary-blue);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-blue);
  margin: 5px 0;
  transition: 0.3s;
}

.nav-cta {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
}

.nav-cta:hover {
  background-color: var(--dark-blue);
}

/* Footer */
footer {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
  /* Make it white if it's colorful, or keep if preferred */
}

.footer-brand p {
  opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-red);
}

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

.footer-links a:hover {
  color: var(--light-blue);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.footer-contact p strong {
  min-width: 90px;
  display: inline-block;
  white-space: nowrap;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Button */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: #a82e28;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
  transform: translateY(-2px);
}

.nav-whatsapp {
  background-color: #25D366;
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-whatsapp:hover {
  background-color: #1ebe57;
}

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

/* Grid/Hero Generic */
.hero {
  padding: 8rem 0;
  background-color: var(--light-blue);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn:active,
.btn-whatsapp:active {
  transform: translateY(0);
}

.hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 53, 95, 0.85);
  /* Dark blue overlay */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-bg h1 {
  color: var(--white);
}

.hero-bg p {
  color: var(--white);
  opacity: 0.95;
  padding-bottom: 24px;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--primary-blue);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin-bottom: 1rem;
}

/* FAQ Accordion */
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  background: var(--white);
  border: none;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
  background: var(--white);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 80px 2rem;
    transition: 0.4s;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
    gap: 1.5rem;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0;
    margin-top: 0.5rem;
    border-left: 2px solid var(--light-gray);
    display: none;
    background-color: transparent;
  }

  .nav-item.active .dropdown-menu {
    display: block;
  }

  .nav-item.active .nav-link i {
    transform: rotate(180deg);
  }

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

  .hero {
    padding: 4rem 0;
  }

  .hero .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .hero .btn:last-child {
    margin-bottom: 0;
  }

  .nav-cta {
    width: 100%;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .navbar-logo {
    height: 40px;
  }

  .footer-contact p strong {
    min-width: unset;
    width: 100%;
    display: block;
    margin-bottom: 0.2rem;
  }

  .footer-contact p {
    flex-direction: column;
    gap: 0.2rem;
  }
}

/* Enrollment Badge Enhancement */
@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(199, 54, 47, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 20px rgba(199, 54, 47, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(199, 54, 47, 0);
  }
}

.enrollment-badge {
  display: inline-block;
  background-color: var(--primary-red);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 900;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
  animation: pulse-red 2s infinite;
  box-shadow: 0 0 0 0 rgba(199, 54, 47, 0.7);
  border: 4px solid var(--white);
}

@media (max-width: 768px) {
  .enrollment-badge {
    font-size: 1.3rem;
    padding: 0.8rem 1.8rem;
    margin-bottom: 2rem;
    border-width: 3px;
  }
}

/* Sticky WhatsApp Button */
.whatsapp-sticky {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-sticky svg {
  width: 38px;
  height: 38px;
}

.whatsapp-sticky:hover {
  transform: scale(1.1);
  background-color: #1ebe57;
}

@media (max-width: 768px) {
  .whatsapp-sticky {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
  }

  .whatsapp-sticky svg {
    width: 32px;
    height: 32px;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  z-index: 10000;
  border-top: 3px solid var(--primary-blue);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  font-size: 0.95rem;
  color: var(--dark-gray);
  margin: 0;
}

.cookie-content a {
  color: var(--primary-red);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}