/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #efd195;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #fff;
    --black: #000;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: left;
}

/* HERO BUTTON COLOR USING EXISTING VARIABLE */
.hero .btn {
  background-color: var(--secondary-color); /* gold tone already defined */
  color: var(--dark-color);
  border: none;
  border-radius: var(--border-radius);
  padding: 12px 28px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.hero .btn:hover {
  background-color: #d4af37; /* slightly richer gold for hover */
  color: var(--white);
  transform: translateY(-2px);
}

/* DARK OVERLAY FOR READABILITY */
.hero-bg-slider .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content h1,
.hero-content p {
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* FORCE HERO TEXT TO WHITE AND LEFT-ALIGNED */
.hero-content,
.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content p,
.hero-content span {
  color: #fff !important;
  text-align: left !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* OPTIONAL: space adjustment for layout */
.hero-content {
  max-width: 700px;
  margin-left: 5%;
  padding-top: 10vh;
}


.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

/* =============================== */
/* NAVIGATION + DROPDOWN (CLEAN FIX) */
/* =============================== */

/* Base list structure */
.main-nav ul {
  display: flex;
  align-items: center;
}

.main-nav ul li {
  position: relative;
  list-style: none;
  margin-left: 30px;
}

/* Main nav links */
.main-nav ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center; /* fixed */
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 15px;
  color: var(--primary-color);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover underline + color */
.main-nav ul li a:hover {
  color: var(--secondary-color);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Font Awesome arrow inside link (used in HTML) */
.dropdown > a .dropdown-arrow {
  margin-left: 6px;
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

/* Rotate Font Awesome arrow on hover or open */
.dropdown:hover > a .dropdown-arrow,
.dropdown.open > a .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown menu container */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: rgba(44, 62, 80, 0.95);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-radius: 8px;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  top: 100%;
  left: 0;
  flex-direction: column;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
}

/* Show dropdown on hover (desktop) */
.main-nav ul li:hover > .dropdown-menu {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown links */
.dropdown-menu li a {
  color: #fff !important;
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  text-align: left;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.dropdown-menu li a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* ========================= */
/* MOBILE MENU DROPDOWN FIX  */
/* ========================= */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: var(--transition);
  padding: 80px 30px;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  margin-bottom: 15px;
}

.mobile-menu ul a {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  text-decoration: none;
}

.mobile-menu ul a:hover {
  color: var(--secondary-color);
}

/* Mobile dropdown menus (hidden by default) */
.mobile-menu .dropdown-menu {
  display: none;
  flex-direction: column;
  background-color: var(--primary-color);
  padding: 0;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  transition: max-height 0.4s ease;
  max-height: 0;
}

/* Show when parent is open */
.mobile-menu .dropdown.open > .dropdown-menu {
  display: flex;
  max-height: 400px;
}

/* Dropdown link styles (mobile) */
.mobile-menu .dropdown-menu li a {
  color: #fff;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  white-space: nowrap;
}

/* Rotate Font Awesome arrow when open */
.mobile-menu .dropdown .fas.fa-chevron-down {
  transition: transform 0.3s ease;
}
.mobile-menu .dropdown.open .fas.fa-chevron-down {
  transform: rotate(180deg);
}

/* Close button */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-nav ul {
    display: none; /* hide desktop nav */
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* === Fix Dropdown Arrow Alignment and Touch Padding === */
.mobile-menu .dropdown > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.mobile-menu .dropdown > a i {
  margin-left: 8px;
  font-size: 0.9rem;
}

/* Ensure dropdown items don't touch screen edges */
.mobile-menu .dropdown-menu li a {
  padding: 12px 18px;
  display: block;
  text-align: left;
}

/* Add smooth open/close animation */
.mobile-menu .dropdown-menu {
  overflow: hidden;
}



/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.stats .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 200px;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 600;
}


 /* === Services Section === */
.services {
  padding: 100px 0;
  background-color: var(--white);
}

.services .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px; /* Adds safe space on edges */
  box-sizing: border-box;
  text-align: center;
}

.services .section-header {
  margin-bottom: 60px;
}

.services .section-header h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.services .section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
}

/* === Services Grid === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* === Service Card === */
.service-card {
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-top: 3px solid var(--secondary-color);
  color: var(--white);
  width: 100%;
  max-width: 340px;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* === Icon === */
.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(231, 76, 60, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-size: 1.8rem;
}

/* === Typography === */
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* === Learn More Link === */
.learn-more {
  font-weight: 600;
  color: var(--secondary-color);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.learn-more i {
  margin-left: 5px;
  transition: var(--transition);
}

.learn-more:hover i {
  transform: translateX(5px);
}

/* === Button inside card (optional) === */
.service-card .btn {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: background 0.3s ease;
}

.service-card .btn:hover {
  background-color: var(--accent-color, #d4af37);
}

/* === Responsive Adjustments === */
@media (max-width: 992px) {
  .services .container {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 70px 0;
  }

  .services .container {
    padding: 0 20px;
  }

  .service-card {
    text-align: center;
  }

  .service-card p {
    text-align: center;
  }

  .service-icon {
    margin: 0 auto 20px;
  }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light-color);
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about p {
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Solutions Section */
.solutions {
    padding: 100px 0;
    background-color: var(--white);
}

.solutions-tabs {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background-color: var(--light-color);
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background-color: transparent;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
    background-color: var(--white);
}

.tab-content {
    display: none;
    padding: 0;
}

.tab-content.active {
    display: block;
}

.tab-content-inner {
    display: flex;
    align-items: center;
    padding: 40px;
}

.tab-image {
    flex: 1;
    padding-right: 40px;
}

.tab-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.tab-text {
    flex: 1;
}

.tab-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tab-text ul {
    margin-bottom: 30px;
}

.tab-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.tab-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

/* === Trust & Assurance Section (Fixed) === */
.trust-assurance {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 40px; /* increased padding, prevents touching edges */
  text-align: center;
  position: relative;
  overflow: hidden; /* ensures float animations don’t cause overlap */
  z-index: 1;
}

.trust-assurance .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.trust-assurance .section-header h2 {
  color: var(--secondary-color);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center; /* centers explicitly */
}

/* Grid Layout */
.trust-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Trust Item Cards */
.trust-item {
  flex: 1 1 280px;
  max-width: 360px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-sizing: border-box;
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

/* Icon */
.trust-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Text */
.trust-item p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  margin: 0;
  text-align: left;
  line-height: 1.6;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
  .trust-assurance {
    padding: 60px 20px;
  }

  .trust-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .trust-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    max-width: 500px;
  }

  .trust-item p {
    text-align: center;
    margin-top: 15px;
  }

  .trust-icon img {
    width: 60px;
    height: 60px;
  }
}



/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-color);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    text-align: center;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.slider-prev,
.slider-next {
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    padding: 0 15px;
}

.slider-prev:hover,
.slider-next:hover {
    color: var(--secondary-color);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin: 0 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #bdc3c7;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--secondary-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--white);
}

.contact .container {
    display: flex;
    gap: 50px;
}

.contact-content {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact p {
    margin-bottom: 30px;
}

.contact-info {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-text p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Map Section */
.map {
    height: 450px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col p {
    color: #bdc3c7;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul a {
    color: #bdc3c7;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.logo-white {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: var(--font-secondary);
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #c0392b;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.footer-links a {
    color: #bdc3c7;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container,
    .about .container,
    .contact .container {
        flex-direction: column;
    }

    .hero-content,
    .about-content,
    .contact-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .about-features {
        justify-content: center;
    }

    .tab-content-inner {
        flex-direction: column;
    }

    .tab-image {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .stats .container {
        flex-direction: column;
    }

    .stat-item {
        margin-bottom: 30px;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .tab-btn.active {
        border-bottom: none;
        border-left: 3px solid var(--secondary-color);
    }

    .testimonial-content {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
.language-switcher {
    display: flex;
    margin-left: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.lang-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f5f5f5;
}

.lang-btn.active {
    background: #2a5f8a;
    color: white;
    border-color: #2a5f8a;
}

.mobile-lang-switcher {
    margin: 20px auto;
    justify-content: center;
}

.mobile-lang-switcher .lang-btn {
    padding: 8px 15px;
}

/* === Global Mobile Edge Spacing Fix === */
@media (max-width: 768px) {
  section,
  .trust-assurance,
  .services,
  .about,
  .solutions,
  .contact,
  .testimonials,
  .stats {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Optional: Center-align content that feels cramped */
  .section-header,
  .trust-assurance .section-header,
  .about-content,
  .services .section-header,
  .testimonials .section-header {
    text-align: center;
  }
}

/* Modal Styles - Harmonized with apg.css */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--white);
}

.close-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    transform: scale(1.1);
}

.modal-body {
    padding: 20px;
}

/* Step-by-step form styles */
.step {
    display: none;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.step.active {
    display: block;
}

/* Progress bar styles */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #ddd;
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ddd;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.step-number.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.step-name {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Certificate styles */
.certificate {
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
    margin: 20px 0;
}

.certificate-header {
    margin-bottom: 20px;
}

.certificate-header img {
    height: 60px;
    margin-bottom: 10px;
}

.certificate-body {
    margin: 20px 0;
}

.certificate-code {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.qr-code, .barcode {
    padding: 10px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
}

.certificate-footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Success message styles */
.success-message {
    text-align: center;
    padding: 20px;
    background-color: #e6f7e6;
    border-radius: var(--border-radius);
    color: #2e7d32;
    margin: 20px 0;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #2e7d32;
}

/* Hero Background Slider Add-on */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-bg-slider .slide.active {
    opacity: 1;
}

.hero-bg-slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* dark overlay for text visibility */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2; /* keeps your text above the overlay */
}

/* Dropdown base */
.main-nav ul li {
  position: relative;
  list-style: none;
}

/* === Management Section === */
#management {
  background: var(--background-light);
  padding: 80px 0;
}

#management h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 50px;
  position: relative;
}

#management h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* === Team Grid === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: start;
}

/* === Individual Card === */
.team-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  text-align: center;
  padding: 30px 20px;
  transition: var(--transition);
  max-width: 350px;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* === Card Image === */
.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--secondary-color);
  margin-bottom: 20px;
}

/* === Card Text === */
.team-card h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.team-card .role {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.team-card .desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === Responsive === */
@media (max-width: 768px) {
  #management {
    padding: 60px 20px;
  }

  .team-card {
    padding: 25px 15px;
  }
}

/* === Vision & Mission Section === */
#vision {
  background: var(--background-light);
  padding: 80px 0;
  overflow: hidden;
}

#vision .section-header {
  text-align: center;
  margin-bottom: 50px;
}

#vision .section-header h2 {
  color: var(--primary-color);
  font-size: 2rem;
  position: relative;
}

#vision .section-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* === Two Column Layout === */
#vision .two-column {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}

/* === Animation Base === */
#vision .two-column div {
  flex: 1 1 300px;
  max-width: 450px;
  opacity: 1;
  transform: translateX(100px);
  transition: all 0.9s ease;
}

/* Vision block slides from left */
#vision .two-column div:first-child {
  transform: translateX(-100px);
}

/* === Visible (Active) State === */
#vision .two-column div.visible {
  opacity: 1;
  transform: translateX(0);
}

/* === Text Styling === */
#vision h3 {
  color: var(--secondary-color);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

#vision p {
  color: var(--dark-color);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0 auto;
  max-width: 400px;
}
/* === Responsive (Mobile & Tablet) === */
@media (max-width: 768px) {
  #vision {
    padding: 60px 24px;             /* give more breathing space on edges */
    text-align: center;
  }

  #vision .two-column {
    flex-direction: column;         /* stack vertically */
    align-items: center;            /* center blocks horizontally */
    justify-content: center;
    gap: 48px;                      /* a bit more space between blocks */
    width: 100%;
    max-width: 600px;               /* keep content from spreading too wide */
    margin: 0 auto;                 /* center entire column container */
  }

  #vision .two-column div {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
    padding: 0 16px;                /* inner padding for each block */
    transform: translateY(0);       /* reset translate for clean stacking */
    opacity: 1;                     /* ensure visible */
    text-align: center;
  }

  #vision h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  #vision p {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 95%;                 /* prevents text from hugging screen */
    padding: 0 8px;
  }
}



/* ---------------------------
   Vision & Mission — centered slide-in (left → right)
   --------------------------- */

/* layout for the two-column area (centered) */
#vision .two-column {
  display: flex;
  gap: 32px;
  justify-content: center;    /* center blocks horizontally */
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding

