/* Global Styles - Optimized */
:root {
    --primary-color: #0056b3;
    --secondary-color: #003366;
    --accent-color: #4CAF50;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --text-light: #6c757d;
    --white: #ffffff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-width: 1200px;
    --topbar-height: 36px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: attr(width) / attr(height);
}


.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
}

.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Topbar */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 0.9rem;
    z-index: 1001;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--topbar-height);
    gap: 10px;
}
.topbar a { color: #e6eef9; }
.topbar a:hover { color: #ffffff; }
.topbar .topbar-left,
.topbar .topbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar i { margin-right: 6px; }

@media (max-width: 576px) {
    :root { --topbar-height: 32px; }
    .topbar .topbar-left a span,
    .topbar .topbar-right .label { display: none; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}


/* Brand logo with image + text */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.logo img {
    /* Responsive logo sizing: 40px on tiny phones up to 90px on desktop */
    height: clamp(60px, 10vw, 90px);
    width: auto;
    display: block;
}
.logo span {
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 0.5px;
}

@media (max-width: 576px) {
    .logo span { font-size: 1rem; }
    .logo img { height: clamp(50px, 9vw, 70px); }
}

/* Footer brand */
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.footer-brand img {
    max-height: 44px;
    width: auto;
    display: block;
}
.footer-brand span {
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

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

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-menu:hover {
    background-color: rgba(0, 86, 179, 0.1);
}

/* Mobile navigation menu */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        display: block;
        text-align: center;
    }
    
    .nav-links a:hover::after {
        width: 0;
    }
    
    .nav-links a:hover {
        background-color: rgba(0, 86, 179, 0.05);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar { padding: 10px 0; }
    
    .container {
        padding: 0 15px;
    }
}

/* Hero Section - Optimized with picture element */
.hero {
    background: linear-gradient(rgba(0, 87, 179, 0.168), rgba(0, 51, 102, 0.333));
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin-top: calc(70px + var(--topbar-height));
    overflow: hidden;
    position: relative;
    will-change: transform;
    contain: layout style paint;
}

.hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
        margin-top: calc(60px + var(--topbar-height));
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
        margin-top: calc(50px + var(--topbar-height));
    }
}

/* Index-only alternate hero styling - Optimized */
.hero-alt {
    height: 90vh;
    position: relative;
    background-color: #003366;
    will-change: transform;
    contain: layout style paint;
}

.hero-alt .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay for hero section */
.hero-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.649); /* Semi-transparent overlay for better text readability */
    z-index: 1;
}

/* Distortion-Warp Animation */
@keyframes warp {
    0% { transform: scale(1) skewX(0deg); }
    25% { transform: scale(1.05) skewX(5deg); }
    50% { transform: scale(1.1) skewX(-5deg) scaleY(0.95); }
    75% { transform: scale(1.05) skewX(3deg); }
    100% { transform: scale(1) skewX(0deg); }
}

.hero-alt .container {
    max-width: 1100px;
    position: relative;
    z-index: 2; /* Ensure content appears above the overlay */
}

.hero-alt h1 {
    font-size: 3.2rem;
    line-height: 1.15;
}

.hero-alt .subtitle {
    color: #e9f2ff;
}

.hero-alt .hero-buttons {
    justify-content: center;
    margin-left: 0;
}

.hero-alt .cta-button.secondary {
    border-color: #ffffff;
    color: #ffffff;
}

.hero-alt .cta-button.secondary:hover {
    background: #ffffff;
    color: var(--primary-color);
}

.hero-alt .shape-divider .shape-fill {
    /* Slightly tinted wave to blend into the next section */
    fill: #f6f9fc;
}

/* Hero grid layout */
.hero-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-text {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px 0;
}

.hero-alt .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-alt .hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

/* Slideshow crossfade - Optimized */
.hero-alt .hero-visual { position: relative; aspect-ratio: 11 / 12; }
.hero-alt .hero-visual .slide-img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    will-change: opacity;
    contain: layout style paint;
}
.hero-alt .hero-visual .slide-img.active { opacity: 1; }

/* Smooth subtitle transitions */
#hero-subtitle { transition: opacity 0.4s ease; }

/* Typewriter caret */
#typewriter::after {
  content: '|';
  margin-left: 6px;
  color: #ffffff;
  opacity: 1;
  animation: caret-blink 0.8s infinite;
}

@keyframes caret-blink {
  50% { opacity: 0; }
}


.hero h1 {
    font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
    margin: 0 auto 20px;
    line-height: 1.2;
    max-width: 100%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero .subtitle {
    font-size: clamp(1.1rem, 1.3vw + 0.8rem, 1.3rem);
    margin: 0 auto 30px;
    max-width: 700px;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-buttons .cta-button {
    min-width: 160px;
    text-align: center;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Mobile hero buttons */
@media (max-width: 768px) {
    .hero-buttons {
        gap: 15px;
        flex-direction: column;
        align-items: center;
        margin-top: 1.5rem;
    }
    
    .hero-alt .hero-buttons {
        justify-content: center;
        margin-left: 0;
    }
    
    .hero-buttons .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
        font-size: 1rem;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        gap: 12px;
        margin-top: 1.2rem;
    }
    
    .hero-alt .hero-buttons {
        justify-content: center;
        margin-left: 0;
    }
    
    .hero-buttons .cta-button {
        width: 100%;
        max-width: 260px;
        padding: 14px 20px;
        font-size: 0.95rem;
        min-height: 48px;
    }
}

.hero-buttons .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Decorative wave divider under hero */
.shape-divider {
    position: relative;
    height: 80px;
    overflow: hidden;
    margin-top: 40px;
}

.shape-divider svg {
    position: absolute;
    display: block;
    width: calc(200% + 1.3px);
    height: 80px;
    left: 50%;
    transform: translateX(-50%);
}

.shape-divider .shape-fill {
    fill: #ffffff;
}

/* Typography responsive adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero .subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 25px;
    }
}

/* Trusted By */
.trusted-by { padding: 30px 0; background: #f6f9fc; }
.trusted-title { color: var(--text-light); text-align: center; margin-bottom: 15px; }
.trusted-by .logos { display: flex; gap: 30px; justify-content: center; align-items: center; flex-wrap: wrap; opacity: 0.9; }
.trusted-by .logos img { filter: grayscale(100%); opacity: 0.8; transition: var(--transition); }
.trusted-by .logos img:hover { filter: grayscale(0%); opacity: 1; transform: translateY(-2px); }

/* Stats */
.stats { padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat { background: var(--white); border-radius: 10px; box-shadow: var(--box-shadow); padding: 25px; text-align: center; }
.stat .number { font-size: 2rem; font-weight: 700; color: var(--secondary-color); }
.stat p { color: var(--text-light); margin-top: 8px; }

/* Mobile stats */
@media (max-width: 768px) {
    .stats { padding: 40px 0; }
    .stats-grid { gap: 15px; }
    .stat { padding: 20px 15px; }
    .stat .number { font-size: 1.8rem; }
}

@media (max-width: 576px) {
    .stats { padding: 30px 0; }
    .stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
    .stat { padding: 15px 10px; }
    .stat .number { font-size: 1.5rem; }
    .stat p { font-size: 0.9rem; }
}

/* Why Choose */
.why-choose { padding: 60px 0; }
.why-choose h2 { text-align: center; color: var(--secondary-color); margin-bottom: 30px; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); }
.why-choose h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background-color: var(--primary-color); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 25px; }
.why-card { background: var(--white); border-radius: 10px; box-shadow: var(--box-shadow); padding: 24px; text-align: center; transition: var(--transition); }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.why-icon { font-size: 2rem; color: var(--primary-color); margin-bottom: 10px; }

/* Mobile why choose */
@media (max-width: 768px) {
    .why-choose { padding: 40px 0; }
    .why-grid { gap: 15px; }
    .why-card { padding: 20px 15px; }
}

@media (max-width: 576px) {
    .why-choose { padding: 30px 0; }
    .why-grid { grid-template-columns: 1fr; gap: 12px; }
    .why-card { padding: 18px 12px; }
    .why-icon { font-size: 1.8rem; }
}

/* Highlights Section */
.highlights {
    padding: 80px 0;
    background-color: var(--light-color);
}

.highlights .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.highlight-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.highlight-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    text-align: center;
}

.services-preview h2 {
    color: var(--secondary-color);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.services-preview h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.service-card {
    background-color: var(--white);
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

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

/* Mobile services */
@media (max-width: 768px) {
    .services-grid { gap: 20px; }
    .service-card { padding: 25px 20px; }
}

@media (max-width: 576px) {
    .services-grid { 
        grid-template-columns: 1fr; 
        gap: 15px;
    }
    .service-card { 
        padding: 20px 15px;
    }
    .service-card i { font-size: 2rem; }
    .service-card h3 { font-size: 1.1rem; }
    .service-card p { font-size: 0.95rem; }
}

/* Simple animation hooks used by JS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(px);
}

.animate-on-scroll.animated {
    opacity: 1 !important;
    transform: translateY(0);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.05), rgba(0, 51, 102, 0.1));
    text-align: center;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonials h2 {
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Roboto', sans-serif;
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
}

.testimonial {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;  /* Ensures content is centered */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;  /* Ensures the whole testimonial is centered */
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-photo {
   margin: 0 auto; 
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-photo:hover img {
    transform: scale(1.1);
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    line-height: 1.6;
    color: #333;
}

.testimonial p::before,
.testimonial p::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial p::before {
    top: -25px;
    left: -15px;
}

.testimonial p::after {
    bottom: -25px;
    right: -15px;
}

.client {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 10px;
    transition: color 0.3s ease;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}


/* Page Header (shared across About/Services/Contact) */
.page-header {
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    padding: 220px 0 80px;
    margin-top: 125px;
    background-color: #003366; /* fallback color */
}

/* 🎥 Background video styling */
.page-header .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* 🌈 Gradient overlay for readability */
.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 87, 179, 0.389),
        rgba(0, 51, 102, 0.596)
    );
    z-index: 1;
}

/* 📝 Header content on top of video */
.page-header .header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 80px;
}

/* ✨ Optional text styling */
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-header p {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* 📱 Responsive adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 160px 0 60px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}


.page-header p {
    opacity: 0.95;
}

/* Services page */
.services-main {
    padding: 80px 0 20px;
}

.service-category {
    margin-bottom: 60px;
}

.service-detail {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.service-category.alternate .service-detail {
    grid-template-columns: 0.9fr 1.1fr;
}

.service-text h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-text p { margin-bottom: 20px; }

.service-features { margin: 20px 0; }
.service-features li { margin: 8px 0; color: var(--text-light); }
.service-features i { color: var(--accent-color); margin-right: 10px; }

.service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.additional-services .learn-more { color: var(--primary-color); font-weight: 600; }
.additional-services .learn-more i { margin-left: 6px; }



/* Process section - Optimized */
.process-section {
    padding: 80px 0;
    background: linear-gradient(
        rgba(47, 124, 201, 0.486),
        rgba(0, 51, 102, 0.8)
    );
    text-align: center;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 25px; margin-top: 25px;
}
.process-step {
    background: #f0f2dad2;
    padding: 25px; 
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center; 
}
.step-number { 
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content:
    center; font-weight: 700;
    margin-bottom: 12px; 
}

/* FAQ section */
/* FAQ Section */
.faq-section {
    padding: 80px 0;
    text-align: center;
}

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

.faq-item {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary-color);
    background: none;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
}

/* Rotate arrow when open */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Hide answers by default */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    color: var(--text-light);
    line-height: 1.6;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

/* Reveal answer when active */
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 22px 18px;
}

/* About page */
.about-section { padding: 50px 0; }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
}
.about-image img { border-radius: 10px; box-shadow: var(--box-shadow); }
.about-image video,
.about-video {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 400px;
}

.quality-section {
    position: relative;
    background-image: url('/images/17.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}


/* Subtle dark overlay for readability */
.quality-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* adjust transparency as needed */
    z-index: 0;
}

.quality-section .container {
    position: relative;
    z-index: 1;
}

.quality-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quality-section .section-intro {
    max-width: 850px;
    margin: 0 auto 40px;
    color: #f0f0f0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.quality-item {
    background: rgba(255, 255, 255, 0.1);
    /* backdrop-filter: blur(8px); */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
}

.quality-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.quality-item i {
    font-size: 2.5rem;
    color: #d6a849;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.quality-item:hover i {
    transform: scale(1.1);
}

.quality-item h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.quality-item p {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.5;
}


.values-section { padding: 80px 0; }
.values-section h2 
{
     color: var(--secondary-color); 
     text-align: center; 
    font-size: 2.5rem;
    }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; margin-top: 25px; }
.value-card { background: var(--white); padding: 25px; border-radius: 10px; text-align: center; box-shadow: var(--box-shadow); }
.values-section .section-intro { text-align: center; }

.team-section {
    padding: 50px 0;
}

.team-section h2 {
    text-align: center;
}

.team-section .section-intro {
    text-align: center;
}
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.team-member { background: var(--white); border-radius: 10px; box-shadow: var(--box-shadow); overflow: hidden; text-align: center; padding-bottom: 20px; }
.member-image { position: relative; }
.member-image img { width: 100%; height: 260px; object-fit: cover; display: block; }
.member-image .social-links {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-image:hover .social-links {
    opacity: 1;
}

/* Contact page */
.contact-section { padding: 80px 0; }
.contact-container { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: start; }
.contact-info .info-item { display: flex; gap: 15px; margin-bottom: 18px; }
.contact-info .info-item i { font-size: 1.2rem; color: var(--primary-color); margin-top: 3px; }

/* Mobile contact section */
@media (max-width: 768px) {
    .contact-section { padding: 60px 0; }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-info .info-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin-bottom: 25px;
    }
    .contact-info .info-item i {
        font-size: 1.5rem;
        margin-top: 0;
        margin-bottom: 5px;
    }
    .contact-info h2 {
        text-align: center;
        font-size: 1.8rem;
    }
    .contact-info p {
        text-align: center;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-section { padding: 40px 0; }
    .contact-container { gap: 30px; }
    .contact-info .info-item {
        margin-bottom: 20px;
        padding: 20px 15px;
        background: rgba(0, 86, 179, 0.05);
        border-radius: 10px;
    }
    .contact-info .info-item i {
        font-size: 1.8rem;
    }
    .contact-info h2 {
        font-size: 1.6rem;
    }
    .contact-info h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    .contact-info p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

.form .form-group {
    margin-bottom: 20px;
}

.form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.form input, .form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: #f9f9f9;
    font-family: 'Open Sans', sans-serif;
}

.form input::placeholder, .form textarea::placeholder {
    font-family: 'Open Sans', sans-serif;
}

.form input:focus, .form textarea:focus {
    border-color: var(--primary-color);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Mobile contact form */
@media (max-width: 768px) {
    .contact-form {
        padding: 30px 25px;
    }
    .contact-form h2 {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    .form .form-group {
        margin-bottom: 18px;
    }
    .form label {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    .form input, .form textarea {
        padding: 12px 15px;
        font-size: 1rem;
    }
    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 25px 20px;
    }
    .contact-form h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    .form .form-group {
        margin-bottom: 15px;
    }
    .form label {
        font-size: 0.95rem;
    }
    .form input, .form textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    .btn {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: linear-gradient(45deg, #0056b3, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.map-section { padding: 40px 0 80px; background: var(--light-color); }
.map-container { border-radius: 10px; overflow: hidden; box-shadow: var(--box-shadow); }

/* Mobile map section */
@media (max-width: 768px) {
    .map-section { 
        padding: 30px 0 60px; 
    }
    .map-section h2 {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    .map-container {
        height: 350px;
        border-radius: 8px;
    }
    .map-container iframe {
        height: 350px !important;
    }
}

@media (max-width: 576px) {
    .map-section { 
        padding: 25px 0 50px; 
    }
    .map-section h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    .map-container {
        height: 300px;
        border-radius: 6px;
    }
    .map-container iframe {
        height: 300px !important;
    }
}

/* Navbar scroll behavior (used by JS) */
.navbar.scroll-down { transform: translateY(0); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.navbar.scroll-up { transform: translateY(0); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-image:  linear-gradient(rgba(47, 124, 201, 0.486), rgba(0, 51, 102, 0.8)), url('/images/24.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* Contact Page */
.contact-page {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact-page .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-width: 900px;
  
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--dark-color);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    font-family: 'Open Sans', sans-serif;
}

.contact-form input[type="submit"] {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form input[type="submit"]:hover {
    background-color: var(--secondary-color);
}

.contact-info {
    margin-top: 40px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 20px;
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 10px;
}

/* Footer - Modern Design */
footer {
    position: relative;
    background: linear-gradient(135deg, #001a33 0%, #003366 50%, #004080 100%);
    color: var(--white);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

/* Footer Wave Divider */
footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0056b3, #4CAF50, #0056b3);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Footer Main Content */
.footer-main {
    padding: 80px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 40px;
    animation: slideInUp 1s ease-out;
}

.footer-section {
    position: relative;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0056b3, #4CAF50);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 80px;
}

.footer-section p {
    color: #b8d4f1;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    transition: transform 0.3s ease;
}

.footer-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li:hover::before {
    transform: translateX(3px);
}

.footer-section a {
    color: #b8d4f1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: var(--white);
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

/* Enhanced Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(45deg, #0056b3, #4CAF50);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.social-links a:hover {
    transform: translateY(-8px) rotate(360deg);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

/* Enhanced Newsletter Form */
.newsletter-form {
    display: flex;
    align-items: center;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.newsletter-form:hover {
    border-color: #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 0.95rem;
    background: transparent;
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    background: linear-gradient(45deg, #0056b3, #4c91af);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    margin: 5px;
    cursor: pointer;
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: linear-gradient(45deg, #4CAF50, #0056b3);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #b8d4f1;
    font-size: 0.95rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer-links a {
    color: #b8d4f1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4CAF50;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-section h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 60px 0 30px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    .footer-section h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-section:hover h3::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
    }
    .footer-section ul li {
        padding-left: 0;
        text-align: left;
        display: inline-block;
        margin: 0 10px 10px 0;
    }
    .footer-section ul li::before {
        display: none;
    }
    .social-links {
        justify-content: center;
        gap: 15px;
    }
    .newsletter-form {
        max-width: 400px;
        margin: 20px auto 0;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 50px 0 25px;
    }
    .footer-content {
        gap: 30px;
    }
    .footer-section h3 {
        font-size: 1.4rem;
    }
    .footer-section p {
        font-size: 0.95rem;
    }
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .newsletter-form {
        max-width: 350px;
    }
    .newsletter-form input {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    .newsletter-form button {
        width: 40px;
        height: 40px;
        margin: 4px;
    }
    .footer-bottom {
        padding: 25px 0;
    }
    .footer-bottom p {
        font-size: 0.9rem;
    }
    .footer-links {
        gap: 15px;
    }
    .footer-links a {
        font-size: 0.85rem;
    }
}
