/* CSS Variables */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    width: 100%;
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-color);
    z-index: 1001;
}

.logo-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    border-radius: 6px;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    min-width: 200px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    color: var(--text-dark);
    text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
    background: transparent;
    border: none;
}

.hamburger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger:active {
    transform: scale(0.95);
}

.bar {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    margin-top: 70px; /* Account for fixed navbar */
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 70vh;
    min-height: 600px;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 90%;
    width: 100%;
}

/* Node Graph Layout */
.node-graph-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Node */
.central-node {
    position: relative;
    z-index: 10;
}

.slide-title {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.slide-title .highlight {
    font-weight: 700;
    color: #4ade80;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Service Nodes positioned around central node */
.service-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.service-node {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto;
    animation: nodeFloat 3s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.2s);
}

/* Connection lines - dynamically positioned via JavaScript */
.connection-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), rgba(74, 222, 128, 0.3), rgba(255, 255, 255, 0.4));
    transform-origin: left center;
    height: 2px;
    z-index: 1;
    opacity: 0;
    animation: connectionAppear 0.8s ease-out forwards, connectionPulse 3s ease-in-out infinite;
    border-radius: 1px;
    box-shadow: 0 0 4px rgba(74, 222, 128, 0.2);
}

/* Staggered appearance of connection lines */
.connection-line:nth-child(1) { animation-delay: 0.1s, 0.9s; }
.connection-line:nth-child(2) { animation-delay: 0.2s, 1.0s; }
.connection-line:nth-child(3) { animation-delay: 0.3s, 1.1s; }
.connection-line:nth-child(4) { animation-delay: 0.4s, 1.2s; }
.connection-line:nth-child(5) { animation-delay: 0.5s, 1.3s; }
.connection-line:nth-child(6) { animation-delay: 0.6s, 1.4s; }

/* Connection line animations */
@keyframes connectionAppear {
    0% { 
        opacity: 0; 
        width: 0;
    }
    100% { 
        opacity: 0.7; 
        width: var(--line-width, 100px);
    }
}

/* Pulsing animation for connection lines */
@keyframes connectionPulse {
    0%, 100% { 
        opacity: 0.4;
        box-shadow: 0 0 4px rgba(74, 222, 128, 0.2);
    }
    50% { 
        opacity: 0.8;
        box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
    }
}

/* Floating animation for service nodes */
@keyframes nodeFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

/* Enhanced node hover effect */
.service-node:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #4ade80;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 0 25px rgba(74, 222, 128, 0.4);
    animation-play-state: paused;
    z-index: 10;
}

/* Central node entrance animation */
@keyframes centralNodeEntrance {
    0% { 
        opacity: 0; 
        transform: scale(0.8); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1); 
    }
}

.central-node {
    animation: centralNodeEntrance 0.8s ease-out;
}

/* Service nodes entrance animation */
@keyframes serviceNodeEntrance {
    0% { 
        opacity: 0; 
        transform: scale(0) rotate(180deg); 
    }
    60% { 
        transform: scale(1.1) rotate(-10deg); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1) rotate(0deg); 
    }
}

.carousel-slide.active .service-node {
    animation: serviceNodeEntrance 0.6s ease-out, nodeFloat 3s ease-in-out infinite 0.6s;
    animation-delay: calc(var(--i, 0) * 0.1s), calc(var(--i, 0) * 0.1s + 0.6s);
}

/* Positioning for service nodes around the center */
.service-node:nth-child(1) { top: 10%; left: 15%; }
.service-node:nth-child(2) { top: 15%; right: 10%; }
.service-node:nth-child(3) { top: 45%; right: 5%; }
.service-node:nth-child(4) { bottom: 15%; right: 15%; }
.service-node:nth-child(5) { bottom: 10%; left: 10%; }
.service-node:nth-child(6) { top: 50%; left: 5%; }

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
    transform: translateY(-50%);
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: rgba(220, 38, 38, 0.8);
    transform: scale(1.15);
    border-color: rgba(220, 38, 38, 0.8);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
    /* animation: pulseRed 0.6s ease-in-out; */
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    transform: scale(1.3);
    border-color: #dc2626;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.indicator.active {
    background: white;
    border-color: #dc2626;
}

/* Hero Statistics */
.hero-statistics {
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.2rem 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.stat-item {
    text-align: center;
    color: white;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 4rem;
    font-weight: 200;
    color: white;
    margin-bottom: 1rem;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-unit {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.stat-desc {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Touch-friendly minimum */
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: #dc2626;
    /* animation: pulseRed 0.6s ease-in-out; */
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    border-color: #dc2626;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    /* animation: pulseRed 0.6s ease-in-out; */
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: #dc2626;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    /* animation: pulseRed 0.6s ease-in-out; */
}

/* Red pulse animation for buttons */
/* @keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
} */

/* Red pulse animation for cards */
/* @keyframes cardPulseRed {
    0% {
        box-shadow: var(--shadow-lg), 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    70% {
        box-shadow: var(--shadow-lg), 0 0 0 15px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: var(--shadow-lg), 0 0 0 0 rgba(220, 38, 38, 0);
    }
} */

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.about-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.02);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(220, 38, 38, 0.2);
    border-color: #dc2626;
    /* animation: cardPulseRed 0.6s ease-in-out; */
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.25rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-header-image img{
    border-radius: 10px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #dc2626;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 0 20px rgba(220, 38, 38, 0.2);
    /* animation: cardPulseRed 0.6s ease-in-out; */
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.rating i {
    color: var(--accent-color);
}

/* Prestigious Clients Section */
.clients-section {
    padding: 80px 0;
    background: var(--light-gray);
    overflow: hidden;
}

.clients-marquee {
    margin-top: 3rem;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: marqueeScroll 25s linear infinite;
    white-space: nowrap;
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 100px;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.client-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.client-logo:hover .client-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Marquee Animation */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.clients-marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

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

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

.cta-section .btn-primary:hover {
    background: var(--light-gray);
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

/* Sticky WhatsApp Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    /* animation: whatsappPulse 2s infinite; */
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    max-width: 60px;
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    max-width: 200px;
}

.whatsapp-btn i {
    font-size: 1.5rem;
    margin-right: 0;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover i {
    margin-right: 8px;
}

.whatsapp-text {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    margin-left: 0;
}

.whatsapp-btn:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}

/* WhatsApp button pulse animation */
@keyframes whatsappPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Mobile responsiveness for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-sticky {
        bottom: 15px;
        right: 30px;
    }
    
    .whatsapp-btn {
        padding: 10px 12px;
        max-width: 50px;
    }
    
    .whatsapp-btn:hover {
        max-width: 160px;
    }
    
    .whatsapp-btn i {
        font-size: 1.3rem;
    }
    
    .whatsapp-text {
        display: none; /* Hide text on smaller screens */
    }
}

@media (max-width: 480px) {
    .whatsapp-sticky {
        bottom: 20px;
        right: 30px;
    }
    
    .whatsapp-btn {
        padding: 10px 12px;
        max-width: 45px;
    }
    
    .whatsapp-btn:hover {
        max-width: 140px;
    }
    
    .whatsapp-btn i {
        font-size: 1.2rem;
    }
    
    .whatsapp-text {
        display: none; /* Hide text on smaller screens */
    }
}

/* Ensure WhatsApp button doesn't interfere with other elements */
.whatsapp-sticky {
    pointer-events: auto;
}

.whatsapp-btn {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, var(--text-dark) 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

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

/* Individual footer sections */
/* .footer-about {
    grid-column: 1;
}

.footer-services {
    grid-column: 2;
}

.footer-links {
    grid-column: 3;
}

.footer-contact {
    grid-column: 4;
} */

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.footer-logo:hover {
    transform: translateX(5px);
}

.footer-logo img {
    width: 7em;
    height: 7em;
    border-radius: 8px;
    filter: brightness(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-section p {
    color: #e5e7eb;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

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

.footer-section ul li a {
    color: #e5e7eb;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 0.2rem 0;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer-section ul li a:hover::before {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.contact-info-container .social-links{
    justify-content: center;
}

.social-links i{
    color: white;
}
.social-links a {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.social-links a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.3rem 0;
    transition: var(--transition);
}

.contact-info p:hover {
    transform: translateX(3px);
}

.contact-info i {
    color: var(--primary-color);
    width: 22px;
    font-size: 1.1rem;
}

/* Improved contact info structure */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(3px);
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-item div p {
    margin-bottom: 0.3rem;
    color: #e5e7eb;
    line-height: 1.5;
}

.contact-item div p:last-child {
    margin-bottom: 0;
}

/* Footer about section styling */
.footer-about .footer-logo {
    margin-bottom: 1rem;
}

.footer-about h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.whatsapp-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.whatsapp-link:hover::before {
    left: 100%;
}

.whatsapp-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
    text-align: center;
    color: #e5e7eb;
    font-size: 0.9rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--primary-color);
}

/* Page Header */
.page-header {
    padding: 100px 0 60px;
    background: var(--primary-color);
    text-align: center;
    color: var(--white);
    margin-top: 70px; /* Account for fixed navbar */
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Service Header */
.service-header {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e0f2fe 100%);
    color: var(--text-dark);
}

.service-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.service-header h1 {
    color: var(--text-dark);
}

.service-header p {
    color: var(--text-light);
}

.service-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.service-highlights span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.service-highlights i {
    color: var(--primary-color);
}

/* Service Detail Cards */
.service-detail-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-detail-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--text-dark);
}

.service-detail-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: var(--white);
}

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

.benefit-card {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--white);
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    /* max-width: 800px; */
    margin: 0 auto;
}

/* Mobile responsive - single column for small screens */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
        max-width: 100%;
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* Adjust image height for mobile */
@media (max-width: 768px) {
    .gallery-item img {
        height: 220px;
    }
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem 1rem 1rem;
}

.gallery-overlay h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(220, 38, 38, 0.2);
    border-color: #dc2626;
    /* animation: cardPulseRed 0.6s ease-in-out; */
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    border-color: #dc2626;
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.25rem;
    color: var(--text-light);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-features {
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features i {
    color: var(--primary-color);
}

.pricing-card .btn {
    margin: 0 2rem 2rem;
    width: calc(100% - 4rem);
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

/* Company Overview */
.company-overview {
    padding: 80px 0;
    background: var(--white);
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.overview-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.overview-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Mission Vision */
.mission-vision {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.mv-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.mv-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.video-container {
    max-width: 550px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 100%; /* 1:1 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    background: #fff;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    pointer-events: auto;
    z-index: 10;
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
    pointer-events: auto;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

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

.play-button i {
    color: var(--white);
    font-size: 2rem;
    margin-left: 5px; /* Center the play icon properly */
}


/* Video Section Responsive */
@media (max-width: 768px) {
    .video-section {
        padding: 60px 0;
    }
    
    .video-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .video-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Core Values */
.core-values {
    padding: 80px 0;
    background: var(--white);
}

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

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
}

/* Timeline */
.company-journey {
    padding: 80px 0;
    background: var(--light-gray);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    opacity: 1;
    transition: all 0.3s ease;
}

/* Scroll Animation Initial States */
.timeline-item[data-scroll-animation="slideInLeft"] {
    opacity: 0;
    transform: translateX(-30px);
}

.timeline-item[data-scroll-animation="slideInRight"] {
    opacity: 0;
    transform: translateX(30px);
}

/* Scroll Animation Visible States */
.timeline-item[data-scroll-animation="slideInLeft"].animate-visible {
    opacity: 1;
    transform: translateX(0);
    animation: slideInLeft 0.8s ease-out;
}

.timeline-item[data-scroll-animation="slideInRight"].animate-visible {
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight 0.8s ease-out;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
    text-align: right;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    text-align: left;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--white);
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    background: #dc2626;
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    border-color: #3b82f6;
}

/* Timeline Pulse Animation */
@keyframes timelinePulse {
    0% {
        box-shadow: var(--shadow-lg), 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    70% {
        box-shadow: var(--shadow-lg), 0 0 0 20px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: var(--shadow-lg), 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 45%;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.timeline-content:hover::before {
    left: 100%;
}

.timeline-content:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-color: #dc2626;
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(220, 38, 38, 0.3);
    /* animation: timelinePulse 0.6s ease-in-out; */
}

.timeline-content:hover h3 {
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.timeline-content:hover p {
    color: rgba(255, 255, 255, 0.95);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.timeline-content p {
    color: var(--text-light);
}

/* Certifications */
.certifications {
    padding: 80px 0;
    background: var(--white);
}

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

.cert-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.cert-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.cert-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.cert-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cert-card p {
    color: var(--text-light);
}

/* Team Leadership */
.team-leadership {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.team-member {
    display: flex;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.team-member:hover::before {
    left: 100%;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(220, 38, 38, 0.2);
    border-color: #dc2626;
    /* animation: cardPulseRed 0.6s ease-in-out; */
}

.member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-light);
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background: var(--white);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form-container {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-header p {
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    transform: scale(1.2);
}

.btn-submit {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-info-container {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    height: fit-content;
}

.contact-info-header {
    margin-bottom: 2rem;
}

.contact-info-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-info-header p {
    color: var(--text-light);
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.method-info h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.method-info p {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.method-info a {
    color: var(--primary-color);
    font-weight: 500;
}

.method-info small {
    color: var(--text-light);
    font-size: 0.875rem;
}

.emergency-contact {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

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

.emergency-header i {
    color: #dc2626;
}

.emergency-header h4 {
    color: #dc2626;
    margin: 0;
}

.emergency-contact p {
    color: #7f1d1d;
    margin-bottom: 1rem;
}

.emergency-number {
    display: inline-block;
    background: #dc2626;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--transition);
}

.emergency-number:hover {
    background: #b91c1c;
}

.social-connect {
    text-align: center;
}

.social-connect h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.map-placeholder {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: fit-content;
}

.map-info h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.office-hours {
    margin-bottom: 1.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-row:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
    color: var(--text-dark);
}

.time {
    color: var(--text-light);
}

.map-note {
    background: #e0f2fe;
    padding: 1rem;
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.map-note i {
    color: var(--primary-color);
    margin-top: 0.1rem;
}

/* Service Areas */
.service-areas-section {
    padding: 80px 0;
    background: var(--white);
}

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

.area-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.area-card h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.area-card ul li {
    padding: 0.25rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.area-card ul li::before {
    content: "📍";
    position: absolute;
    left: 0;
}

.service-note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question h4 {
    margin: 0;
    color: var(--text-dark);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
}

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

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

/* Eco-Friendly Section */
.eco-friendly-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.eco-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.eco-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.eco-text p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.eco-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.eco-benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.eco-benefit i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.eco-benefit h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.eco-benefit p {
    color: var(--text-light);
    margin: 0;
}

.eco-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* AMC Section */
.amc-section {
    padding: 80px 0;
    background: var(--white);
}

.amc-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.amc-benefits h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-light);
}

.benefits-list i {
    color: var(--primary-color);
}

.amc-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.amc-plan {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.amc-plan:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.amc-plan.featured {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
}

.amc-plan h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.amc-plan ul {
    list-style: none;
}

.amc-plan ul li {
    padding: 0.25rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.amc-plan ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Before After Section */
.before-after-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.before-after-item {
    text-align: center;
}

.before-after-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.before-image,
.after-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.before-image img,
.after-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.image-label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
}

.image-label.before {
    background: #dc2626;
    color: var(--white);
}

.image-label.after {
    background: #16a34a;
    color: var(--white);
}

.before-after-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.before-after-item p {
    color: var(--text-light);
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* Security Types Section */
.security-types-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.security-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.security-type-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.security-type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.type-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.type-icon i {
    font-size: 2rem;
    color: var(--white);
}

.security-type-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.security-type-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.type-features {
    list-style: none;
}

.type-features li {
    padding: 0.25rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.type-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Trust Section */
.trust-section {
    padding: 80px 0;
    background: var(--white);
}

.trust-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.trust-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.trust-text p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.trust-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trust-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.trust-feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.trust-feature h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.trust-feature p {
    color: var(--text-light);
    margin: 0;
}

/* .trust-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
} */

/* Security Process Section */
.security-process-section {
    padding: 80px 0;
    background: var(--light-gray);
}

/* Technology Section */
.technology-section {
    padding: 80px 0;
    background: var(--white);
}

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

.tech-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.tech-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.tech-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.tech-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tech-card p {
    color: var(--text-light);
}

/* Enhanced Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-carousel {
        height: 70vh;
        min-height: 550px;
    }
    
    .slide-title {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .security-types-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .trust-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .pricing-card.featured {
        transform: none;
        margin: 0;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 30px;
        max-width: 100%;
        width: 100%;
    }
    
    /* Enhanced Mobile Navigation */
    .nav-container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .header {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 2rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
        z-index: 1000;
        overflow-y: auto;
    }

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

    .nav-item {
        margin: 0;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        font-weight: 500;
        border-radius: 12px;
        margin: 0.5rem 0;
        width: 100%;
        justify-content: center;
        background: transparent;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    }

    .dropdown-menu {
        position: static;
        background: rgba(59, 130, 246, 0.05);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.5rem;
        width: 100%;
        border-radius: 12px;
        border: 1px solid rgba(59, 130, 246, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 0.5rem 0;
    }
    
    .dropdown-menu a {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        border-radius: 8px;
        margin: 0.25rem 0.5rem;
        background: transparent;
        transition: all 0.3s ease;
    }
    
    .dropdown-menu a:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: translateX(5px);
    }
    
    .dropdown .nav-link i {
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .nav-link i {
        transform: rotate(180deg);
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background: var(--primary-color);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background: var(--primary-color);
    }
    
    /* Mobile Navigation Overlay */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: var(--white);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        z-index: -1;
    }

    /* Hero Section */
    .hero-carousel {
        height: 60vh;
        min-height: 500px;
    }
    
    .slide-text {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        max-width: 95%;
        width: 95%;
    }

    .central-node{
        filter: brightness(1.1);
    }
    
    .node-graph-container {
        height: 350px;
    }
    
    .slide-title {
        font-size: 2.2rem;
        padding: 1rem 1.5rem;
    }
    
    .service-node {
        font-size: 0.75rem;
        padding: 0.6rem 0.9rem;
        border-radius: 8px;
    }
    
    /* Adjust mobile positioning */
    .service-node:nth-child(1) { top: 5%; left: 10%; }
    .service-node:nth-child(2) { top: 10%; right: 5%; }
    .service-node:nth-child(3) { top: 40%; right: 0%; }
    .service-node:nth-child(4) { bottom: 10%; right: 10%; }
    .service-node:nth-child(5) { bottom: 5%; left: 5%; }
    .service-node:nth-child(6) { top: 45%; left: 0%; }
    
    .slide-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .carousel-nav {
        padding: 0 1rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    /* Hero Statistics */
    .hero-statistics {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-unit, .stat-desc {
        font-size: 0.95rem;
    }

    /* Typography */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 80px 0 40px;
        margin-top: 60px;
    }

    /* Layouts */
    .about-image {
        min-height: 250px;
    }
    
    .about-img {
        height: 250px;
    }

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

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

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .social-links{
        justify-content: center;
    }
    .footer-logo{
        justify-content: center;
    }
    .contact-info {
        /* justify-self: center; */
        text-align: left;
    }

    /* Timeline */
    .timeline {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2rem;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 40px);
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
        padding-left: 3rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }

    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
    }
    
    /* Disable problematic animations on mobile */
    .timeline-item[data-scroll-animation="slideInLeft"],
    .timeline-item[data-scroll-animation="slideInRight"] {
        opacity: 1;
        transform: none;
    }
    
    .timeline-item[data-scroll-animation="slideInLeft"].animate-visible,
    .timeline-item[data-scroll-animation="slideInRight"].animate-visible {
        animation: none;
    }

    /* Other Components */
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .service-areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .eco-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .amc-content {
        grid-template-columns: 1fr;
    }

    .amc-plans {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .before-after-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .footer-section {
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
        max-width: 100%;
        width: 100%;
    }
    
    /* Mobile Navigation Enhancements */
    .nav-container {
        padding: 0 10px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .nav-menu {
        padding: 1.5rem;
    }
    
    .nav-item {
        max-width: 280px;
    }
    
    .nav-link {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
        margin: 0.3rem 0;
    }
    
    .dropdown-menu a {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hamburger {
        min-width: 44px;
        min-height: 44px;
        padding: 8px;
    }
    
    .bar {
        width: 22px;
        height: 2.5px;
    }
    /* .footer-section h3{
        justify-self: center;
    } */
    
    /* Mobile Layout Fixes */
    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Timeline Mobile Fixes */
    .timeline {
        max-width: 100%;
        padding: 0 5px;
        margin: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 30px);
        max-width: calc(100vw - 50px);
        padding-left: 2.5rem;
        padding-right: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .timeline-content {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Hero Section Mobile */
    .hero-carousel {
        height: 50vh;
        min-height: 400px;
    }
    
    .slide-title {
        font-size: 1.8rem;
        line-height: 1.3;
        border: none;
        background: none;
    }
    
    .service-tags {
        gap: 0.3rem;
        margin-bottom: 1rem;
    }
    
    .tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Statistics Mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }

    .stat-unit, .stat-desc {
        font-size: 0.8rem;
    }

    /* Typography Mobile */
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .page-header h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .page-header {
        padding: 60px 0 30px;
        margin-top: 50px;
    }

    /* Buttons Mobile */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }

    .cta-buttons .btn {
        width: 100%;
        margin: 0;
    }

    /* Components Mobile */
    .about-image {
        min-height: 200px;
    }
    
    .about-img {
        height: 200px;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .testimonials-grid {
        gap: 1.5rem;
    }

    .contact-form-container,
    .contact-info-container {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .footer-about {
        grid-column: 1;
    }
    
    .footer-services {
        grid-column: 2;
    }
    
    .footer-links {
        grid-column: 1;
    }
    
    .footer-contact {
        grid-column: 2;
    }
    
    .footer-section {
        padding-bottom: 1rem;
    }

    /* Specific Layout Fixes */
    .logo {
        font-size: 1.1rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        padding-left: 2.5rem;
        padding-right: 0.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .amc-plans {
        grid-template-columns: 1fr;
    }
    
    .service-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        margin: 0 0 1rem 0;
    }
    .footer-logo{
        justify-content: center;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Extra Small Navigation */
    .nav-container {
        padding: 0 8px;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo-img {
        width: 32px;
        height: 32px;
    }
    
    .nav-menu {
        padding: 1rem;
    }
    
    .nav-item {
        max-width: 260px;
    }
    
    .nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    .dropdown-menu a {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .hamburger {
        min-width: 40px;
        min-height: 40px;
        padding: 6px;
    }
    
    .bar {
        width: 20px;
        height: 2px;
    }
    
    /* Timeline Extra Small Fixes */
    .timeline {
        padding: 0 2px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 25px);
        max-width: calc(100vw - 35px);
        padding-left: 2rem;
        padding-right: 0.25rem;
        font-size: 0.85rem;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.8rem;
    }
    
    .slide-title {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header {
        padding: 50px 0 25px;
        margin-top: 45px;
    }
    
    .tag {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1rem;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 1rem;
    }
    /* .footer-section h3::after{
        left: 45%;
    } */
}

/* Navigation Body Lock */
body.nav-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for better accessibility */
.nav-link:focus,
.btn:focus,
.hamburger:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Animation Keyframes */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta-section {
        display: none;
    }
    
    .page-header {
        padding: 20px 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Services Grid Styles */
.services-grid-section {
    padding: 20px 0;
    background: var(--white);
    width: 100%;
    /* overflow-x: hidden; */
}

.services-grid {
    margin-top: 10px;
}

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

.category-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Main categories grid - 6 cards layout */
.main-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    width: 100%;
}

@media (max-width: 1024px) {
    .main-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-categories {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .service-card {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

/* .service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
} */

.service-card.coming-soon {
    cursor: default;
    opacity: 0.7;
}

.service-card.coming-soon:hover {
    transform: none;
    border-color: transparent;
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-gray), #e2e8f0);
}

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

/* Placeholder backgrounds for missing images */
.service-image:not(:has(img)) {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image:not(:has(img))::before {
    content: attr(data-icon);
    font-family: 'Font Awesome 6 Free';
    font-size: 4rem;
    color: var(--white);
    opacity: 0.7;
}

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color)66, var(--secondary-color)66);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay i {
    font-size: 3rem;
    color: var(--white);
}

/* Specific service image backgrounds */
.pantry-bg {
    background: linear-gradient(135deg, #8b5cf6, #a855f7) !important;
}

.office-boys-bg {
    background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
}

.operation-bg {
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
}

.electrical-bg {
    background: linear-gradient(135deg, #eab308, #ca8a04) !important;
}

.water-treatment-bg {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}

.project-management-bg {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.residential-security-bg {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

.security-supervisors-bg {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
}

.cctv-surveillance-bg {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
}

.security-bg {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

/* Service placeholder for new pages */
.service-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin: 20px 0;
}

.service-placeholder i {
    font-size: 4rem;
    color: var(--white);
    opacity: 0.9;
}

.service-content {
    padding: 30px;
}

.service-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-content .service-features li {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.learn-more {
    color: var(--secondary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-card:hover .learn-more {
    color: var(--primary-color);
}

.learn-more i {
    transition: transform 0.3s ease;
}

.service-card:hover .learn-more i {
    transform: translateX(5px);
}

.coming-soon-badge {
    background: linear-gradient(135deg, var(--accent-color), #f97316);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.cta-btn:hover {
    background: #f97316;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Responsive Design for Services Grid */
@media (max-width: 768px) {
    .services-grid-section {
        padding: 60px 0;
        overflow-x: hidden;
    }
    
    .category-title {
        font-size: 1.7rem;
        margin-bottom: 30px;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-content h4 {
        font-size: 1.2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-grid-section {
        padding: 40px 0;
        overflow-x: hidden;
    }
    
    .service-image {
        height: 180px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .service-content h4 {
        font-size: 1.1rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .main-categories {
        gap: 15px;
        margin-top: 20px;
    }
    
    .service-card {
        margin: 0;
        width: 100%;
        max-width: none;
    }
    
    /* Mobile Footer Layout */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-about,
    .footer-services,
    .footer-links,
    .footer-contact {
        grid-column: 1;
    }
    
    .footer-section:last-child {
        border-bottom: none;
    }
    
    .contact-item {
        text-align: left;
    }
    /* .contact-info{
        justify-self: center;
    } */
}

/* Main Gallery Styles */
.main-gallery-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    /* Ensure stable layout during filtering */
    position: relative;
    overflow: hidden;
}

.main-gallery-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.main-gallery-loading.hidden {
    display: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.main-gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.main-filter-btn {
    padding: 12px 24px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.main-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.main-filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.main-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: start;
    /* Prevent layout shift during filtering */
    min-height: 400px;
    transition: min-height 0.3s ease;
}

/* Ensure consistent card sizing regardless of number of items */
.main-gallery-grid .main-gallery-item {
    max-width: 400px; /* Prevent cards from becoming too wide with few items */
    justify-self: center;
}

.main-gallery-item {
    opacity: 1;
    transform: scale(1);
    width: 100%;
    min-height: 0;
}

.main-gallery-item.hide {
    display: none;
}

.main-gallery-item.filtering-out {
    opacity: 0;
    transform: scale(0.85);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.main-gallery-item.filtering-in {
    opacity: 0;
    transform: scale(0.85);
    animation: smoothFilterIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    /* Disable transitions when animating to prevent conflicts */
    transition: none;
}

/* Normal state - only apply transitions when not filtering */
.main-gallery-item:not(.filtering-out):not(.filtering-in) {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes smoothFilterIn {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(15px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.main-gallery-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.main-gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.main-gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.main-gallery-card:hover img {
    transform: scale(1.1);
}

.main-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 58, 138, 0.9) 0%,
        rgba(59, 130, 246, 0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.main-gallery-card:hover .main-gallery-overlay {
    opacity: 1;
}

.main-gallery-content {
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.main-gallery-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.main-gallery-content p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.main-gallery-content i {
    font-size: 24px;
    opacity: 0.8;
}

/* Main Gallery Modal */
.main-gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.main-gallery-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.main-modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--white);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background-color: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.main-modal-close:hover {
    background-color: var(--primary-color);
}

.main-modal-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.main-modal-caption {
    padding: 20px;
    background-color: var(--white);
    text-align: center;
}

.main-modal-caption h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.main-modal-caption p {
    color: var(--text-light);
    font-size: 16px;
}

.main-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.main-modal-prev,
.main-modal-next {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-modal-prev:hover,
.main-modal-next:hover {
    background-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    /* Prevent jumping during gallery filtering */
    position: relative;
    z-index: 1;
    margin-top: 0;
    transform: translateZ(0); /* Create stacking context */
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

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

.btn-primary:hover {
    background-color: transparent;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* Responsive Design for Main Gallery */
@media (max-width: 768px) {
    .main-gallery-filter {
        gap: 10px;
    }
    
    .main-filter-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .main-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        /* Reduce min-height on mobile */
        min-height: 300px;
    }
    
    .main-gallery-grid .main-gallery-item {
        max-width: none; /* Allow full width on mobile */
    }
    
    .main-gallery-card img {
        height: 200px;
    }
    
    .main-gallery-content h3 {
        font-size: 18px;
    }
    
    .main-gallery-content p {
        font-size: 12px;
    }
    
    .main-modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .main-modal-image {
        max-height: 400px;
    }
    
    .main-modal-caption {
        padding: 15px;
    }
    
    .main-modal-caption h3 {
        font-size: 20px;
    }
    
    .main-modal-caption p {
        font-size: 14px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-gallery-section {
        padding: 60px 0;
    }
    
    .main-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        /* Further reduce min-height on small mobile */
        min-height: 250px;
    }
    
    .main-gallery-grid .main-gallery-item {
        max-width: none; /* Full width on mobile */
        justify-self: stretch;
    }
    
    .main-gallery-card img {
        height: 180px;
    }
    
    .main-filter-btn {
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* Company Profile Download Button */
.profile-download {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.profile-download .btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: var(--white);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-download .btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.profile-download .btn i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Mobile responsiveness for profile download button */
@media (max-width: 768px) {
    .profile-download .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
}

/* Newsletter Subscription Section */
.newsletter-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="20" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-info {
    padding-right: 2rem;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.newsletter-icon i {
    font-size: 2rem;
    color: var(--white);
}

.newsletter-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.newsletter-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.newsletter-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.benefit-item i {
    color: #10b981;
    font-size: 1.1rem;
}

.benefit-item span {
    color: var(--text-color);
    font-weight: 500;
}

.newsletter-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.newsletter-form .form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.newsletter-form .form-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.newsletter-form .form-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.newsletter-form .input-group {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.newsletter-form .form-group {
    position: relative;
}

.newsletter-form .form-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.newsletter-form .form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.newsletter-form .form-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
}

.newsletter-preferences {
    margin-bottom: 1.5rem;
}

.newsletter-preferences p {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.newsletter-preferences .checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.newsletter-preferences .checkbox-group .checkbox-label{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
}


.newsletter-consent {
    margin-bottom: 2rem;
}

.newsletter-consent .checkbox-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.newsletter-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    border: none;
    border-radius: 12px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.newsletter-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
}

.newsletter-success i {
    color: #10b981;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.newsletter-success p {
    color: #047857;
    font-weight: 500;
    margin: 0;
}

/* Mobile responsiveness for newsletter section */
@media (max-width: 968px) {
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .newsletter-info {
        padding-right: 0;
    }
    
    .newsletter-info h2 {
        font-size: 2rem;
    }
    
    .newsletter-benefits {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .newsletter-form-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 3rem 0;
    }
    
    .newsletter-info h2 {
        font-size: 1.8rem;
    }
    
    .newsletter-preferences .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form-container {
        padding: 1.5rem;
    }
}
