:root {
  /* Colors */
  --primary: #F7A400; /* Vibrant Gold */
  --secondary: #14176C; /* Deep Navy Blue */
  --accent: #2563EB; /* Bright Blue */
  --bg-dark: #0f172a;
  --bg-light: #ffffff;
  --text-dark: #334155;
  --text-light: #f8fafc;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  padding-top: 106px; /* Offset for the permanent solid header */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(1, 16, 47, 0.98); /* Permanently dark to match screenshot */
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header.scrolled {
  background: rgba(1, 16, 47, 0.95); /* Matches logo dark blue #01102F */
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}



.header-main {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 90px !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

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

.nav-links {
  display: flex;
  gap: 1.5rem; /* Reduced gap to fit all links beautifully */
  list-style: none;
}

.nav-links a {
  font-weight: 600; /* Bolded font to match screenshot */
  font-size: 1rem;
  color: white;
  position: relative;
  transition: color var(--transition-normal);
}

.header.scrolled .nav-links a {
  color: white;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: var(--font-body);
}

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

.btn-primary:hover {
  background-color: #e59a00;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247, 164, 0, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: #0d104b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 23, 108, 0.3);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 106px); /* Adjusted height to account for the header offset */
}

.swiper {
  width: 100%;
  height: 100%;
}

/* Mobile Responsiveness */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  position: relative;
  z-index: 99999;
  padding: 10px;
}

.header.scrolled .mobile-menu-btn {
  color: white;
}

@media (max-width: 991px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .header-main nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #01102F; /* Matches logo dark blue */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 2rem;
    z-index: 9999;
  }

  .header-main nav.mobile-active {
    display: block !important;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav-links a {
    color: white;
    font-size: 1.2rem;
  }

  .dropdown > a {
    color: white;
  }

  .dropdown-content {
    position: static !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none;
    padding-left: 1rem;
    margin-top: 1rem;
    background: transparent;
  }

  .dropdown.active .dropdown-content,
  .dropdown:focus-within .dropdown-content,
  .dropdown:active .dropdown-content {
    display: flex !important;
    flex-direction: column !important;
  }
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10%; /* Vertically centered, header is already offset by body padding */
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  text-align: left;
}

.swiper-button-next, .swiper-button-prev {
  color: var(--primary) !important;
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* ==========================================================================
   Who We Are Section
   ========================================================================== */
.who-we-are-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 6rem 10%;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.who-we-are-content h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.who-we-are-content p {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.section-badge {
  display: inline-block;
  background: rgba(247, 164, 0, 0.15);
  color: #b45309; 
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.who-we-are-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.who-we-are-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.who-we-are-list i {
  color: var(--primary);
  font-size: 1.3rem;
}

.who-we-are-image {
  position: relative;
  border-radius: 12px;
}

.who-we-are-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  object-fit: cover;
  height: 500px;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--secondary);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(20, 23, 108, 0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 4px solid var(--primary);
}

.experience-badge .years {
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  line-height: 1;
}

.experience-badge .text {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (max-width: 992px) {
  .who-we-are-section { grid-template-columns: 1fr; }
  .experience-badge { left: 20px; }
}

/* ==========================================================================
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--primary);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(247, 164, 0, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 3rem;
}

/* ==========================================================================
   Home Services Section
   ========================================================================== */
.home-services-section {
  padding: 6rem 10%;
  background-color: #01102F;
}

.home-services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.home-services-header h2 {
  font-size: 2.5rem;
  color: white;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 1rem;
}

.home-services-header p {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

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

.home-service-card {
  background: white;
  border-radius: 12px;
  text-align: left;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.home-service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.home-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-service-card:hover .home-service-image img {
  transform: scale(1.08);
}

.home-service-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.home-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--primary);
}

.home-service-title {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  font-family: 'Outfit', sans-serif;
  transition: color 0.3s ease;
}

.home-service-excerpt {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.home-service-link {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--secondary);
  background-color: var(--secondary);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.home-service-link:hover {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}

/* ==========================================================================
   Home Blog Section (Different Style from blog.html)
   ========================================================================== */
.home-blog-section {
  padding: 6rem 10%;
  background-color: #fffbf0;
}

.home-blog-header {
  text-align: center;
  margin-bottom: 4rem;
}

.home-blog-header h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 1rem;
}

.home-blog-header p {
  color: var(--text-dark);
  font-size: 1.1rem;
}

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

.home-blog-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 0;
  border-bottom: 4px solid var(--primary);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.home-blog-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.home-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-blog-card:hover .home-blog-image img {
  transform: scale(1.1);
}

.home-blog-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: white;
  color: var(--secondary);
  padding: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.home-blog-date span {
  display: block;
  font-size: 1.4rem;
  color: var(--primary);
  line-height: 1;
}

.home-blog-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.home-blog-title {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  font-family: 'Outfit', sans-serif;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

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

/* Dropdown Menu CSS */
.dropdown {
  position: relative;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background-color: #ffffff;
  min-width: 260px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  z-index: 100;
  top: 150%;
  left: 0;
  border-radius: 8px;
  overflow: hidden;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  transform: translateY(10px);
}

.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
  top: 100%;
  transform: translateY(0);
}

.dropdown-content li {
  display: block;
  margin: 0;
}

.dropdown-content li a {
  color: var(--text-dark) !important;
  padding: 0.8rem 1.5rem;
  display: block;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.dropdown-content li:last-child a {
  border-bottom: none;
}

.dropdown-content li a:hover {
  background-color: #f8fafc;
  color: var(--primary);
  padding-left: 2rem;
}



.home-blog-title:hover {
  color: var(--primary);
}

.home-blog-excerpt {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.home-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.home-blog-link i {
  transition: transform 0.3s ease;
}

.home-blog-link:hover {
  color: var(--primary);
}

.home-blog-link:hover i {
  transform: translateX(5px);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding: 8rem 10%;
  background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('images/testimonials_1.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-header h2 {
  font-size: 2.5rem;
  color: white;
  font-family: var(--font-heading);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

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

.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  color: rgba(247, 164, 0, 0.15);
}

.testimonial-text {
  font-size: 1.05rem;
  color: #e2e8f0;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-author h4 {
  margin: 0;
  font-size: 1.1rem;
  color: white;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 6rem 10%;
  background: radial-gradient(circle at 10% 20%, rgba(247, 164, 0, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(1, 16, 47, 0.05) 0%, transparent 40%),
              #ffffff;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-header h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  font-family: var(--font-heading);
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 0;
  overflow: hidden;
  height: max-content;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

.faq-question {
  width: 100%;
  text-align: left;
  background: white;
  border: none;
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: var(--font-body);
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-dark);
  line-height: 1.6;
  background: #f8fafc;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 1000px;
  border-top: 1px solid #e2e8f0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--primary);
  font-size: 1.2rem;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  padding: 6rem 10%;
  background-image: linear-gradient(rgba(20, 23, 108, 0.9), rgba(20, 23, 108, 0.9)), url('images/services_banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  color: white;
}

.cta-content p {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .cta-buttons { flex-direction: column; }
  .cta-content h2 { font-size: 2.5rem; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #01102F; /* Matches logo dark blue */
  color: var(--text-light);
  padding: 5rem 2rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr 1.5fr 1.5fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 1200px) {
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.footer h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer ul a {
  color: #cbd5e1;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
}

@media (max-width: 768px) {
  .hero-slider {
    height: 85vh; /* slightly reduced on mobile to account for browser URL bars */
  }

  .hero {
    padding: 0 5%; /* Header offset is handled globally */
  }

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