/* Fonts */
@font-face {
  font-family: 'Gilroy';
  src:
    url('fonts/Gilroy-SemiBold.woff2') format('woff2'),
    url('fonts/Gilroy-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src:
    url('fonts/Raleway-VariableFont_wght.woff2') format('woff2'),
    url('fonts/Raleway-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --color-navy: #11304c;
  --color-aqua: #0ac3a2;
  --color-blue: #2b6ba8;
  --color-blue-light: #1b65ae;
  --color-blue-dark: #0a5c81;
  --color-light-blue: #4a8fc4;
  --color-mint: #7bc5a8;
  --color-mint-light: #9fd9be;
  --color-light-bg: #f5f9f9;
  --color-white: #ffffff;
  --color-text-dark: #11304c;
  --color-text-medium: #4a5a6a;
  --color-text-light: #6b7c8c;
  --color-light-green: #eaf6f0;
  --color-black: #000000;
  --color-green-text: #7ac2a3;
  --font-main: 'Raleway', sans-serif;
  --font-titles: 'Gilroy', sans-serif;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-titles);
}

body {
  font-family: var(--font-main);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(
    20deg,
    var(--color-blue-dark) 40%,
    var(--color-aqua) 100%
  );
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  flex: 1;
}

.logo-img {
  height: 40px;

  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text,
.logo-highlight,
.logo-subtitle {
  display: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
  flex: 0;
}

.nav-link {
  font-family: var(--font-titles);
  text-decoration: none;
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  opacity: 0.9;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
  opacity: 1;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-white);
}

.cta-button {
  font-family: var(--font-titles);
  background: var(--color-navy);
  color: var(--color-white);
  border: none;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.cta-button:hover {
  background: var(--color-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(43, 107, 168, 0.3);
}

.nav-cta {
  background: var(--color-white);
  color: var(--color-navy);
  padding: 0.7rem 1.2rem;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.arrow-icon {
  font-size: 1.2rem;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 0.5rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Language Selector */
.language-selector {
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
  font-family: var(--font-titles);
  font-weight: 600;
  z-index: 1001; /* Ensure clicks work */
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-family: inherit;
  font-weight: inherit;
  font-size: 0.9rem;
  padding: 0 4px;
  transition: color 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--color-white);
  font-weight: 700;
}

.lang-separator {
  margin: 0 2px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  user-select: none;
}

@media (max-width: 1100px) {
  .nav-container {
    position: relative;
    gap: 10px;
  }
  .logo {
    flex: 0;
  }

  .logo-img {
    width: 100px;
  }

  .nav-cta {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    min-width: fit-content;
  }

  .nav-cta .arrow-icon {
    display: none;
  }

  .nav-actions {
    flex: 0;
    margin-left: auto;
    gap: 0.25rem;
  }

  .language-selector {
    margin-left: auto;
    margin-right: 1rem;
  }

  .mobile-menu-toggle {
    margin-left: 0;
  }
}

/* Hero Section */
.hero {
  padding: 150px 0 100px;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.dark-hero {
  background: var(--color-light-green);
  color: var(#000000);
}

.hero-container {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-titles);
  font-size: 3.5rem; /* ~56px */
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-black {
  color: var(--color-black);
}

.hero-green-text {
  color: var(--color-green-text);
}

.hero-highlight {
  color: var(--color-aqua);
}

.hero-divider {
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-white);
  margin: 2rem 0;
  opacity: 0.8;
}

.hero-text {
  font-size: 1.125rem; /* 18px */
  color: var(--color-black);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.hero-footer {
  font-size: 1rem; /* 16px */
  color: var(--color-black);
  font-weight: 300;
}

/* About Section */
.about {
  margin-top: 60px;
  margin-bottom: 60px;
  background: var(--color-white);
  text-align: center;
}

.about-title {
  font-family: var(--font-titles);
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

.about-text {
  font-size: 18px; /* 16px */
  color: #444;
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 300;
}

.about-cta {
  font-size: 1.4rem;
  color: #1a1a1a;
  font-weight: 400;
}

.highlight-green {
  color: var(--color-aqua) !important;
  font-weight: 600;
}

.underline {
  text-decoration: underline;
}

/* Team Section */
.team {
  margin-top: 60px;
  margin-bottom: 60px;
  background: var(--color-white);
}

.section-title {
  font-family: var(--font-titles);
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
  text-align: center;
}

.team-role {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  color: var(--color-text-medium);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
}

.team-card {
  border-radius: 15px;
  padding: 2rem;
  color: var(--color-white);
  max-width: 350px;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 550px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-card-blue {
  background: var(--color-navy);
}

.team-card-light-blue {
  background: var(--color-blue);
}

.team-card-green {
  background: var(--color-mint);
  color: var(--color-navy);
}

.team-photo {
  width: 100%;
  height: 280px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-name {
  font-family: var(--font-titles);
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  margin-bottom: 1rem;
}

.team-bio {
  line-height: 1.7;
  font-size: 0.95rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.team-list {
  padding-left: 1.2rem;
  margin-top: 1rem;
}

.team-list li {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  opacity: 0.95;
}

/* Why Choose Section */
.why-choose {
  padding: 0;
  background: var(--color-mint);
}

.why-choose-header {
  background: var(--color-mint);
  padding: 60px 0;
}

.section-title-large {
  font-family: var(--font-titles);
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.why-choose-intro {
  font-size: 1.125rem; /* 18px */
  color: var(--color-navy);
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Accordions */
.why-choose-accordions {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: transparent;
  border-bottom: 1px solid rgba(17, 48, 76, 0.1);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease-in-out;
}

.accordion-title {
  font-family: var(--font-titles);
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  color: var(--color-navy);
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--color-navy);
  transition: transform 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-in-out;
  padding-right: 2rem;
}

.accordion-content p {
  color: var(--color-navy);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.accordion-subtitle {
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0.5rem !important;
}

/* Services Section */
.services-section {
  background: #2a6aa8;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.services-title {
  font-family: var(--font-titles);
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.services-intro {
  font-size: 1.2rem;
  color: var(--color-white);
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.6;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding-bottom: 80px;
}

.service-card {
  border-radius: 15px;
  padding: 3rem 2.5rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card-light {
  background: var(--color-white);
  border: 2px solid #e0e8ed;
  color: var(--color-navy);
}

.service-card-dark {
  background: linear-gradient(135deg, var(--color-navy) 0%, #2a4d66 100%);
  color: var(--color-white);
}

.service-icon-card {
  width: 60px;
  height: 60px;
  background: var(--color-navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.service-card-dark .service-icon-card {
  background: var(--color-white);
  color: var(--color-navy);
}

.service-icon-card svg {
  width: 28px;
  height: 28px;
}

.service-name {
  font-family: var(--font-titles);
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  text-align: left;
}

.service-subtitle {
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  color: var(--color-aqua);
  font-style: italic;
  margin-bottom: 0.5rem;
  text-transform: none;
  letter-spacing: 0.05em;
  text-align: left;
}

.service-card-dark .service-subtitle {
  color: var(--color-aqua);
}

.service-description {
  line-height: 1.7;
  font-size: 1rem; /* 16px */
  opacity: 0.9;
  text-align: left;
}

/* Testimonials Section */
.testimonials {
  margin-top: 60px;
  margin-bottom: 60px;
  background: var(--color-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--color-navy);
  border-radius: 15px;
  padding: 2rem;
  color: var(--color-white);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(30, 58, 82, 0.3);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.client-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-blue);
}

.client-name {
  flex: 1;
  font-weight: 600;
  font-size: 1rem;
}

.testimonial-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-text.mt {
  margin-top: 1rem;
}

.testimonial-text {
  line-height: 1.7;
  font-size: 0.95rem;
  opacity: 0.95;
}

/* Footer / Contact Section */
.footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-team-photo-img {
  width: 100%;
  border-radius: 10px;
  max-width: 100%;
  height: 350px;
  background-color: rgba(255, 255, 255, 0.1);

  object-fit: cover;
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.footer-title {
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.footer-subtitle {
  color: var(--color-mint);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  font-weight: 600;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 30px;
  height: 30px;
  color: var(--color-mint);
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.3rem;
}

.contact-link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--color-mint);
}

/* Contact Form */
.contact-form {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 15px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-row .form-group {
  flex: 1;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.form-group label {
  display: block;
  color: var(--color-text-medium);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e8ed;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  background: #f8fafb;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-mint);
}

.form-group textarea {
  resize: vertical;
}

.form-cta {
  width: 100%;
  background: var(--color-mint);
  color: var(--color-navy);
  padding: 1rem;
  font-size: 1rem;
  margin-top: 1rem;
}

.form-cta:hover {
  background: var(--color-mint-light);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title-large {
    font-size: 2.5rem;
  }

  .footer-title {
    font-size: 2.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 1100px) {
  .container {
    padding: 0 1.5rem;
  }

  .footer-team-photo-img {
    height: 280px;
  }

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

  .nav-menu .nav-link {
    color: var(--color-navy);
    font-size: 1.2rem;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    color: var(--color-blue);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-cta {
    width: auto;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .section-title {
    font-size: 2rem;
  }

  .section-title-large {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .service-icons {
    flex-wrap: wrap;
  }

  .footer-title {
    font-size: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

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

  .section-title {
    font-size: 1.75rem;
  }

  .section-title-large {
    font-size: 1.75rem;
  }

  .footer-title {
    font-size: 1.75rem;
  }

  .team-card,
  .service-card {
    padding: 2rem 1.5rem;
    min-height: auto;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

section {
  scroll-margin-top: 80px;
}

.faq-section {
  padding: 40px 0; /* Lots of whitespace */
  background: var(--color-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-section .accordion-item {
  border-bottom: 1px solid rgba(17, 48, 76, 0.1);
  margin-bottom: 0.5rem;
}

.faq-section .accordion-header {
  padding: 0.5rem 0;
  transition: all 0.2s ease-in-out;
}

.faq-section .accordion-title {
  font-size: 1.15rem;
  font-weight: 600;
  transition: color 0.2s ease-in-out;
}

.faq-section .accordion-content {
  transition: max-height 0.2s ease-in-out;
  padding-right: 1.5rem;
}

.faq-section .accordion-icon {
  transition: transform 0.2s ease-in-out;
  color: var(--color-aqua);
}

.faq-section .accordion-header:hover .accordion-title {
  color: var(--color-aqua);
}

@keyframes textFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.text-fade-in {
  animation: textFadeIn 0.5s ease-in-out;
}

.form-header.text-fade-in {
  color: var(--color-navy);
}
