/* Root and Predefine */

 :root {
            --primary-blue: #0A2463;
            --primary-dark: #001F54;
            --secondary-blue: #3A7CA5;
            --accent-yellow: #FFC145;
            --accent-orange: #FF6B35;
            --light-bg: #F8F9FA;
            --dark-bg: #001219;
            --text-dark: #212529;
            --text-light: #F8F9FA;
            --gray-light: #E9ECEF;
            --gray-medium: #6C757D;
            --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.12);
            --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            --gradient-primary: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
            --gradient-accent: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.7;
            color: var(--text-dark);
            background-color: var(--light-bg);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 1rem;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        section {
            position: relative;
            overflow: hidden;
        }

        /* Container classes */
        .home-container, .about-container, .services-container, 
        .products-container, .home-contact-container, .footer-container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-title {
            text-align: center;
            margin-bottom: 4rem;
            position: relative;
        }

        .section-title h2 {
            font-size: 2.8rem;
            color: var(--primary-dark);
            display: inline-block;
            position: relative;
            padding-bottom: 1rem;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 5px;
            background: var(--gradient-accent);
            border-radius: 5px;
        }

        .section-title p {
            max-width: 700px;
            margin: 1rem auto 0;
            color: #666;
            font-size: 1.1rem;
        }

        .btn {
            display: inline-block;
            padding: 15px 35px;
            background: var(--gradient-accent) !important;
            color: white;
            border-radius: 50px;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            font-size: 0.9rem;
            border: none !important;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  color: #fff;
  transform: translateY(-3px);
}


/* ---------------------------------------------------------------- Hero------------------------------------------------------ */

        /* Hero Section */
/* Hero Section */
    /* SlideShow */

            /* main container: full viewport, relative to stack slides */
        .home-smooth-slideshow {
            position: relative;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
            isolation: isolate;   /* context for z-index */
        }

        /* ----- SLIDES LAYER (5 images) ----- */
        .slide-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0;
            transition: opacity 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);  /* extra smooth */
            will-change: opacity;
            /* subtle dark overlay for text readability – keeps images vibrant */
            &::after {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: radial-gradient(circle at 20% 50%, rgba(10, 30, 25, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
                pointer-events: none;  /* lets text be clickable */
            }
        }

        .slide.active {
            opacity: 1;
            z-index: 2;
        }

        /* previous slide gets gentle fade, but transition handles it */
        
        /* ----- FIXED HERO CONTENT (exactly as provided, but refined) ----- */
        .home-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 20;              /* above slides */
            display: flex;
            align-items: center;
            justify-content: flex-start;  /* pushes hero left, but center friendly */
            pointer-events: none;     /* lets clicks pass to invisible bg? we need btns clickable */
        }

        /* override: make hero content + btns pointer auto */
        .hero-content {
            pointer-events: auto;
            max-width: 680px;
      
            border-radius: 0 32px 32px 0;        /* subtle edge, sun-aligned */
            padding: 3rem 4rem;
            color: white;
            animation: fadeSlideIn 1.2s ease-out; /* gentle intro */
        }

        @keyframes fadeSlideIn {
            0% { opacity: 0; transform: translateX(-30px); }
            100% { opacity: 1; transform: translateX(0); }
        }

        .hero-content h2 {
            font-size: clamp(1.8rem, 6vw, 3.2rem);
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            text-shadow: 0 4px 12px rgba(0,0,0,0.3);
            letter-spacing: -0.01em;
        }

        .hero-content p {
            font-size: 1.2rem;
            line-height: 1.6;
            margin-bottom: 2.2rem;
            opacity: 0.95;
            font-weight: 400;
            text-shadow: 0 2px 6px rgba(0,0,0,0.4);
        }

        .hero-btns {
            display: flex;
            flex-wrap: wrap;
            gap: 1.2rem;
            align-items: center;
        }

        .btn {
            display: inline-block;
            background: #ffb347;        /* energetic solar orange */
            color: white;
            font-weight: 600;
            padding: 0.9rem 2.2rem;
            border-radius: 50px;
            text-decoration: none;
            letter-spacing: 0.5px;
            border: 2px solid transparent;
            transition: all 0.25s ease;
            box-shadow: 0 10px 20px -8px rgba(0,0,0,0.3);
            font-size: 1.1rem;
            backdrop-filter: blur(4px);
        }

        .btn:hover {
            background: #ffa01e;
            transform: scale(1.05);
            color: wheat;
        }

        .btn-secondary {
            background: rgba(20, 40, 35, 0.75);
            color: white;
        }

        .btn-secondary:hover {
            background: rgba(255, 180, 70, 0.9);
            color: wheat !important;
        }

        /* ----- subtle slide indicator / dots (solar minimal) ----- */
        .slides-indicator {
            position: absolute;
            bottom: 30px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 14px;
            z-index: 30;
            pointer-events: auto;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255,255,245,0.5);
            border: 1px solid rgba(255,215,140,0.7);
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
        }

        .dot.active {
            background: #ffb347;
            transform: scale(1.5);
            border-color: white;
            box-shadow: 0 0 18px #ffb347;
        }

        .dot:hover {
            background: #ffe28c;
            transform: scale(1.3);
        }

        /* optional subtle pause / play (hidden, but nice) */
        .slideshow-status {
            position: absolute;
            bottom: 30px;
            right: 40px;
            z-index: 35;
            color: rgba(255,255,240,0.7);
            font-size: 0.85rem;
            background: rgba(0,0,0,0.2);
            backdrop-filter: blur(2px);
            padding: 6px 16px;
            border-radius: 40px;
            border: 1px solid rgba(255,200,120,0.5);
            pointer-events: none;
        }

        /* responsive adjustments */
        @media (max-width: 800px) {
            .hero-content {
                padding: 2.2rem 1.8rem;
                margin-left: 3%;
                margin-right: 3%;
                border-radius: 24px;
            }
            .hero-content h2 { font-size: 2rem; }
            .hero-content p { font-size: 1rem; }
            .btn { padding: 0.7rem 1.5rem; }
        }
        @media (max-width: 500px) {
            .hero-content { padding: 1.8rem 1.2rem; }
            .hero-btns { flex-direction: column; align-items: stretch; }
            .btn { text-align: center; }
        }

        /* fallback loading */
        .slide {
            background-color: #0e2a2a; /* while images load */
        }


    /* --------------------------------------------------------------------- */

        .home-container {
            position: relative;
            z-index: 2;
        }

        .hero-content {
            text-align: center;
            max-width: 850px;
            margin: 0 auto;
        }

        .hero-content h2 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.2s forwards;
        }

        .hero-content p {
            font-size: 1.3rem;
            margin-bottom: 2.5rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.4s forwards;
        }

        .hero-btns {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 2rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.6s forwards;
        }

        .btn-secondary {
            background: var(--accent-yellow);
            color: white;
        }

        .btn-secondary:hover {
            color: var(--primary-dark);
            color: white;
        }

        /* Floating Elements */
        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: 1;
        }

        .floating-element {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            animation: float 6s ease-in-out infinite;
        }

        .floating-element:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            width: 120px;
            height: 120px;
            top: 60%;
            right: 15%;
            animation-delay: 1s;
        }

        .floating-element:nth-child(3) {
            width: 60px;
            height: 60px;
            bottom: 20%;
            left: 20%;
            animation-delay: 2s;
        }

/* --------------------------------------------------------------------- About ------------------------------------------------------------- */


        /* About Section */

        .about {
            padding: 45px 0;
            margin-top: 35px;
        }

        .about-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-image {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            transform: translateX(-50px);
            opacity: 0;
            transition: transform 1s ease, opacity 1s ease;
        }

        .about-image.in-view {
            transform: translateX(0);
            opacity: 1;
        }

        .about-image img {
            width: 100%;
            height: auto;
            transition: var(--transition);
        }

        .about-image:hover img {
            transform: scale(1.05);
        }

        .about-text h3 {
            font-size: 2.2rem;
            color: var(--primary-dark);
            margin-bottom: 1.5rem;
        }

        .about-text p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            color: #555;
        }

        .about-text h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    text-align: center;
}

.about-text h3::after {
    content: "";
    position: absolute;
    left: 35%;
    bottom: 0;
    transform: translateX(-50%);

    width: 150px;
    height: 4px;

    background: var(--accent-yellow);

    border-radius: 50px;

    /* Soft Glow */
    box-shadow: 0 0 10px rgba(255, 200, 0, 0.4),
                0 0 20px rgba(0, 120, 255, 0.3);
}


        .features {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 2rem;
        }

        .feature {
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }

        .feature-icon {
            width: 50px;
            height: 50px;
            background: var(--gradient-primary);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.3rem;
            flex-shrink: 0;
        }

        /* Trusted By Section */
        .trusted-by {
            padding: 80px 0;
            background-color: #f8fafc;
        }

        .trusted-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .trusted-title {
            text-align: center;
            font-size: 2.2rem;
            color: var(--primary-dark);
            margin-bottom: 3rem;

            
        }

        .logo-slider {
            overflow: hidden;
            position: relative;
            padding: 20px 0;
        }

        .logo-slider::before, .logo-slider::after {
            content: '';
            position: absolute;
            top: 0;
            width: 100px;
            height: 100%;
            z-index: 2;
        }

        .logo-slider::before {
            left: 0;
            background: linear-gradient(to right, #f8fafc, transparent);
        }

        .logo-slider::after {
            right: 0;
            background: linear-gradient(to left, #f8fafc, transparent);
        }

        .logo-track {
            display: flex;
            gap: 50px;
            animation: scrollLogos 40s linear infinite;
        }

        .logo-item {
            flex: 0 0 auto;
            width: 160px;
            height: 80px;
            background: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .logo-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

        .logo-item img {
            max-width: 100%;
            max-height: 100%;
            opacity: 0.7;
            transition: var(--transition);
        }

        .logo-item:hover img {
            filter: grayscale(0%);
            opacity: 1;
        }

        /* Counter Section */
        .counter-section {
            padding: 100px 0;
            background: var(--gradient-primary);
            color: white;
        }

        .counter-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .counters-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            text-align: center;
        }

        .counter-item {
            padding: 40px 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            backdrop-filter: blur(10px);
            transition: var(--transition);
        }

        .counter-item:hover {
            transform: translateY(-10px);
            background: rgba(255, 255, 255, 0.15);
        }

        .counter-number {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 15px;
            color: var(--accent-yellow);
        }

        .counter-text {
            font-size: 1.2rem;
            font-weight: 500;
        }

        .counter-number .plus {
    font-size: 2rem;       /* Plus ka size number ke according */
    font-weight: 700;      /* Thoda bold */
    color: var(--accent-yellow); /* Number ke color se match kar lo */
    margin-left: 5px;      /* Number se thoda gap */
    vertical-align: top;   /* Number ke top ke saath align ho jaye */
}


        /* Services Section */
               .services {
            padding: 60px 20px;
            position: relative;
            overflow: hidden;
            min-height: 100vh;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, var(--light-bg) 0%, #e9ecef 100%);
        }

        /* Animated geometric background */
        .geometric-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 70%;
            z-index: 1;
            opacity: 0.03;
        }

        .shape {
            position: absolute;
            background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            animation: morph 20s infinite linear;
        }

        .shape-1 {
            width: 400px;
            height: 400px;
            top: -150px;
            right: -100px;
            animation-delay: 0s;
        }

        .shape-2 {
            width: 300px;
            height: 300px;
            bottom: -100px;
            left: -100px;
            background: linear-gradient(45deg, var(--accent-orange), var(--accent-yellow));
            border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
            animation-delay: 5s;
        }

        .shape-3 {
            width: 200px;
            height: 200px;
            top: 40%;
            right: 20%;
            background: linear-gradient(45deg, var(--accent-yellow), var(--secondary-blue));
            border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
            animation-delay: 10s;
        }

        @keyframes morph {
            0%, 100% {
                border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
                transform: rotate(0deg);
            }
            25% {
                border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
                transform: rotate(90deg);
            }
            50% {
                border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
                transform: rotate(180deg);
            }
            75% {
                border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
                transform: rotate(270deg);
            }
        }

        /* Solar beam animations */
        .solar-beams {
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 2;
            pointer-events: none;
            overflow: hidden;
        }

        .beam {
            position: absolute;
            width: 4px;
            height: 0;
            background: linear-gradient(to bottom, transparent, var(--accent-yellow), transparent);
            box-shadow: 0 0 10px var(--accent-yellow);
            animation: beamStrike 3s infinite;
            transform-origin: top;
        }

        .beam-1 {
            left: 15%;
            animation-delay: 0s;
        }

        .beam-2 {
            left: 40%;
            animation-delay: 1s;
        }

        .beam-3 {
            left: 65%;
            animation-delay: 2s;
        }

        .beam-4 {
            left: 85%;
            animation-delay: 1.5s;
        }

        @keyframes beamStrike {
            0% {
                height: 0;
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                height: 100%;
                opacity: 0.8;
            }
            100% {
                height: 100%;
                opacity: 0;
            }
        }

        .home-service-container {
            max-width: 1300px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
        }

       
         .section-title {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }

        .section-title h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--primary-dark);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeUp 0.8s forwards;
        }

        .section-title p {
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
            color: var(--primary-blue);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeUp 0.8s 0.2s forwards;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .service-card {
            background: white;
            border-radius: 15px;
            padding: 30px 25px;
            box-shadow: var(--card-shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            border: none;
            opacity: 0;
            transform: translateY(30px);
            animation: cardAppear 0.8s forwards;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-yellow), var(--accent-orange));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.5s ease;
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 31, 84, 0.15);
        }

        .service-card:nth-child(1) {
            animation-delay: 0.2s;
        }

        .service-card:nth-child(2) {
            animation-delay: 0.4s;
        }

        .service-card:nth-child(3) {
            animation-delay: 0.6s;
        }

        .service-icon {
            font-size: 2.5rem;
            margin-bottom: 20px;
            width: 70px;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
            color: white;
            transition: var(--transition);
        }

        .service-card:hover .service-icon {
            transform: scale(1.1);
            background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
        }

        .service-content h3 {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--primary-dark);
        }

        .service-content p {
            color: var(--text-dark);
            margin-bottom: 20px;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        

        
        .service-icon {
            font-size: 4rem;
            margin-bottom: 30px;
            width: 100px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
            color: white;
            position: relative;
            overflow: hidden;
            transition: var(--transition);
            transform: scale(0);
            animation: iconAppear 0.8s 0.5s forwards;
        }

        .service-card:hover .service-icon {
        }

        .service-card:nth-child(2) .service-icon {
        }

        .service-card:nth-child(3) .service-icon {
        }

        .service-content h3 {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.9rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--primary-dark);
            position: relative;
            padding-bottom: 15px;
        }

        .service-content h3::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 3px;
            background: var(--accent-yellow);
            bottom: 0;
            left: 0;
            transition: width 0.4s;
        }

        .service-card:hover .service-content h3::after {
            width: 100px;
            background: var(--accent-orange);
        }

        .service-content p {
            color: var(--text-dark);
            margin-bottom: 30px;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .service-link {
            display: inline-flex;
            align-items: center;
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 600;
            position: relative;
            padding: 10px 20px;
            background: rgba(10, 36, 99, 0.08);
            border-radius: 50px;
            transition: var(--transition);
            overflow: hidden;
        }

        .service-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, var(--accent-yellow), var(--accent-orange));
            z-index: -1;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s;
            border-radius: 50px;
        }

        .service-link:hover {
            color: white;
            transform: translateX(10px);
        }

        .service-link:hover::before {
            transform: scaleX(1);
        }

        .service-link i {
            margin-left: 10px;
            transition: transform 0.3s;
        }

        .service-link:hover i {
            transform: translateX(8px);
        }

        /* Energy pulse animation */
        .energy-pulse {
            position: absolute;
            width: 20px;
            height: 20px;
            background: var(--accent-yellow);
            border-radius: 50%;
            opacity: 0;
            z-index: 3;
        }

        .pulse-1 {
            top: 10%;
            left: 10%;
            animation: pulse 4s infinite;
        }

        .pulse-2 {
            top: 20%;
            right: 15%;
            animation: pulse 4s infinite 1s;
        }

        .pulse-3 {
            bottom: 15%;
            left: 20%;
            animation: pulse 4s infinite 2s;
        }

        @keyframes pulse {
            0% {
                transform: scale(0.5);
                opacity: 0.8;
                box-shadow: 0 0 0 0 rgba(255, 193, 69, 0.7);
            }
            70% {
                transform: scale(1.5);
                opacity: 0;
                box-shadow: 0 0 0 20px rgba(255, 193, 69, 0);
            }
            100% {
                transform: scale(0.5);
                opacity: 0;
                box-shadow: 0 0 0 0 rgba(255, 193, 69, 0);
            }
        }

        /* Animations */
        @keyframes fadeUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes cardAppear {
            to {
                opacity: 1;
                transform: translateY(0) rotateY(0);
            }
        }

        @keyframes iconAppear {
            0% {
                transform: scale(0) rotate(-180deg);
            }
            70% {
                transform: scale(1.1) rotate(10deg);
            }
            100% {
                transform: scale(1) rotate(0);
            }
        }

        /* Statistics bar */
        .stats-bar {
            display: flex;
            justify-content: space-around;
            background: linear-gradient(90deg, var(--primary-dark), var(--primary-blue));
            border-radius: 15px;
            padding: 30px;
            margin-top: 80px;
            color: white;
            position: relative;
            overflow: hidden;
            transform: translateY(50px);
            opacity: 0;
            animation: fadeUp 1s 1.2s forwards;
        }

        .stats-bar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transform: translateX(-100%);
            animation: shine 3s infinite;
        }

        @keyframes shine {
            100% {
                transform: translateX(100%);
            }
        }

        .stat-item {
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .stat-number {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--accent-yellow);
            margin-bottom: 10px;
        }

        .stat-label {
            font-size: 1.1rem;
            font-weight: 500;
            opacity: 0.9;
        }

        /* Responsive styles */
        @media (max-width: 1200px) {
            .services-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
            
            .section-title h2 {
                font-size: 3.2rem;
            }
        }

        @media (max-width: 992px) {
            .services {
                padding: 100px 20px;
            }
            
            .section-title h2 {
                font-size: 2.8rem;
            }
            
            .services-grid {
                gap: 30px;
            }
            
            .service-card {
                padding: 35px 25px;
            }
            
            .stats-bar {
                flex-wrap: wrap;
                gap: 30px;
            }
        }

        @media (max-width: 768px) {
            .services {
                padding: 80px 15px;
            }
            
            .section-title h2 {
                font-size: 2.4rem;
            }
            
            .section-title p {
                font-size: 1.1rem;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
                max-width: 500px;
                margin: 0 auto;
            }
            
            .service-icon-about {
                width: 80px;
                height: 80px;
                font-size: 3rem;
            }
            
            .shape-1, .shape-2, .shape-3 {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .section-title h2 {
                font-size: 2rem;
            }
            
            .service-card {
                padding: 30px 20px;
            }
            
            .service-content h3 {
                font-size: 1.6rem;
            }
            
            .stat-number {
                font-size: 2.2rem;
            }
        }
        /* Contact Section */
        .contact {
            padding: 100px 0;
            background: var(--gradient-primary);
            color: white;
        }

        .home-contact-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .contact .section-title h2 {
            color: white;
        }

        .contact .section-title p {
            color: rgba(255, 255, 255, 0.8);
        }

        .contact-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            margin-top: 30px;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            padding: 25px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            transition: var(--transition);
        }

        .contact-item:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateX(10px);
        }

        .contact-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient-accent);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .contact-details h4 {
            font-size: 1.3rem;
            margin-bottom: 8px;
        }

        .contact-form {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: var(--shadow-lg);
        }

        .contact-form h3 {
            color: var(--primary-dark);
            margin-bottom: 25px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-control {
            width: 100%;
            padding: 15px 20px;
            border: 1px solid #ddd;
            border-radius: 10px;
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--secondary-blue);
            box-shadow: 0 0 0 3px rgba(58, 124, 165, 0.1);
        }

        /* Footer */
        footer {
            background-color: var(--dark-bg);
            color: var(--text-light);
            padding: 80px 0 30px;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 50px;
        }

        .footer-logo .logo-icon {
            width: 70px;
            height: 70px;
            margin-bottom: 20px;
        }

        .footer-logo h3 {
            font-size: 1.8rem;
            margin-bottom: 15px;
            background: linear-gradient(to right, #fff, var(--secondary-blue));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .footer-links h4, .footer-services h4, .footer-newsletter h4 {
            font-size: 1.3rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-links h4::after, .footer-services h4::after, .footer-newsletter h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--gradient-accent);
        }

        .footer-links ul li, .footer-services ul li {
            margin-bottom: 12px;
        }

        .footer-links ul li a, .footer-services ul li a {
            color: #bbb;
            transition: var(--transition);
        }

        .footer-links ul li a:hover, .footer-services ul li a:hover {
            color: var(--accent-yellow);
            padding-left: 8px;
        }

        .footer-newsletter p {
            margin-bottom: 20px;
            color: #aaa;
        }

        .newsletter-form {
            display: flex;
            gap: 10px;
        }

        .newsletter-form input {
            flex: 1;
            padding: 12px 15px;
            border-radius: 5px;
            border: none;
            background: rgba(255, 255, 255, 0.1);
            color: white;
        }

        .newsletter-form input::placeholder {
            color: #aaa;
        }

        .newsletter-form button {
            padding: 12px 20px;
            background: var(--gradient-accent);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: var(--transition);
        }

        .newsletter-form button:hover {
            transform: translateY(-3px);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: var(--transition);
        }

        .social-links a:hover {
            background: var(--gradient-accent);
            transform: translateY(-5px);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #aaa;
            font-size: 0.9rem;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(10deg);
            }
        }

        @keyframes scrollLogos {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-160px * 6 - 50px * 6));
            }
        }

        /* Responsive Styles */
        @media (max-width: 1024px) {
            .about-container {
                gap: 40px;
            }
            
            .contact-wrapper {
                gap: 30px;
            }
        }

        @media (max-width: 900px) {
            .hero-content h2 {
                font-size: 2.8rem;
            }
            
            .about-container {
                grid-template-columns: 1fr;
            }
            
            
            
            .contact-wrapper {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }

            .main-nav {
                position: fixed;
                top: 90px;
                left: 0;
                width: 100%;
                background-color: white;
                box-shadow: var(--shadow-lg);
                padding: 20px;
                transform: translateY(-100%);
                opacity: 0;
                visibility: hidden;
                transition: var(--transition);
                z-index: 999;
            }

            .main-nav.active {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }

            .nav-links {
                flex-direction: column;
                gap: 0;
                width: 100%;
            }

            .nav-links > li {
                width: 100%;
                border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            }

            .nav-links > li > a {
                padding: 15px 0;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .dropdown {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                border-radius: 0;
                background-color: rgba(0, 0, 0, 0.03);
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.5s ease;
            }

            .dropdown.active {
                max-height: 500px;
            }

            .dropdown::before {
                display: none;
            }

            .hero {
                padding: 150px 0 100px;
            }

            .hero-content h2 {
                font-size: 2.3rem;
            }

            .hero-content p {
                font-size: 1.1rem;
            }

            .hero-btns {
                flex-direction: column;
                align-items: center;
            }

            .section-title h2 {
                font-size: 2.3rem;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .counters-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 576px) {
            .header-container {
                padding: 10px 15px;
            }
            
            .hero-content h2 {
                font-size: 2rem;
            }
            
            .btn {
                padding: 12px 25px;
            }
            
            .features {
                grid-template-columns: 1fr;
            }
            
            .contact-form {
                padding: 25px;
            }
            
            .newsletter-form {
                flex-direction: column;
            }
            
            .counters-grid {
                grid-template-columns: 1fr;
            }
            
            .counter-number {
                font-size: 2.8rem;
            }
        }

        /* Scroll Animation Classes */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .animate-on-scroll.in-view {
            opacity: 1;
            transform: translateY(0);
        }


        

/* ------------------------------------------------- About Us --------------------------------------------------------------- */

        .about-wrapper {
            max-width: 1400px;
            margin: 0 auto;
            padding: 5rem 2rem;
        }

        /* About Section with Image */
 .about-hero {
    background: linear-gradient(105deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    border-radius: 32px;
    padding: 4rem;
    margin: 0 auto 5rem auto;
    max-width: 1400px;
    width: calc(100% - 2rem);
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 40px -15px rgba(10, 36, 99, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('./assests/hd-images/about-img.jpeg') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    mix-blend-mode: overlay;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 193, 69, 0.1) 0%, transparent 60%);
}

.about-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
    flex: 1;
}

.about-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-content h1 span {
    color: var(--accent-yellow);
    border-bottom: 3px solid var(--accent-orange);
    padding-bottom: 5px;
}

.about-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-yellow);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-us-image {
    position: relative;
    z-index: 2;
    width: 350px;
    height: 350px;
    border-radius: 30px;
    background: url('/assests/hd-images/about-img.jpeg') no-repeat center center;
    background-size: cover;
    border: 4px solid var(--accent-yellow);
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large Desktop (1200px and below) */
@media screen and (max-width: 1200px) {
    .about-hero {
        padding: 3rem;
        gap: 2rem;
    }

    .about-content h1 {
        font-size: 2.8rem;
    }

    .about-us-image {
        width: 300px;
        height: 300px;
    }
}

/* Desktop (992px and below) */
@media screen and (max-width: 992px) {
    .about-hero {
        padding: 2.5rem;
    }

    .about-content h1 {
        font-size: 2.5rem;
    }

    .about-content p {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-us-image {
        width: 280px;
        height: 280px;
    }
}

/* Tablet (768px and below) - STACK LAYOUT */
@media screen and (max-width: 768px) {
    .about-hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem;
        gap: 2rem;
        border-radius: 28px;
        width: calc(100% - 1.5rem);
        margin: 0 auto 3rem auto;
    }

    .about-hero::before {
        width: 100%;
        opacity: 0.15;
    }

    .about-hero::after {
        background: radial-gradient(circle at 50% 50%, rgba(255, 193, 69, 0.1) 0%, transparent 80%);
    }

    .about-content {
        max-width: 100%;
    }

    .about-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .about-content h1 span {
        border-bottom-width: 2px;
        padding-bottom: 3px;
    }

    .about-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .stat-item {
        text-align: center;
        min-width: 100px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .about-us-image {
        width: 280px;
        height: 280px;
        border-radius: 24px;
        border-width: 3px;
        margin: 0 auto;
    }
}

/* Mobile Large (576px and below) */
@media screen and (max-width: 576px) {
    .about-hero {
        padding: 2rem;
        border-radius: 24px;
        width: calc(100% - 1rem);
        margin: 0 auto 2rem auto;
        gap: 1.5rem;
    }

    .about-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .about-content p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 200px;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .about-us-image {
        width: 240px;
        height: 240px;
        border-radius: 20px;
        border-width: 3px;
    }
}

/* Mobile Small (375px and below) */
@media screen and (max-width: 375px) {
    .about-hero {
        padding: 2rem;
        border-radius: 20px;
    }

    .about-content h1 {
        font-size: 1.5rem;
    }

    .about-content p {
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-item {
        max-width: 160px;
    }

    .about-us-image {
        width: 200px;
        height: 200px;
        border-radius: 18px;
        border-width: 2px;
    }
}

/* Extra Small Devices (320px and below) */
@media screen and (max-width: 320px) {
    .about-hero {
        padding: 1rem;
    }

    .about-content h1 {
        font-size: 1.3rem;
    }

    .about-us-image {
        width: 160px;
        height: 160px;
    }
}

/* Landscape Mode Support */
@media screen and (max-height: 600px) and (orientation: landscape) and (max-width: 768px) {
    .about-hero {
        flex-direction: row;
        padding: 1.5rem;
        min-height: 300px;
    }

    .about-content h1 {
        font-size: 1.6rem;
    }

    .about-us-image {
        width: 180px;
        height: 180px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 1rem;
    }
}

/* High-resolution screens */
@media screen and (min-width: 1600px) {
    .about-hero {
        padding: 5rem;
        max-width: 1600px;
    }

    .about-content h1 {
        font-size: 3.8rem;
    }

    .about-content p {
        font-size: 1.4rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-us-image {
        width: 400px;
        height: 400px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .about-hero {
        box-shadow: 0 15px 30px -10px rgba(10, 36, 99, 0.3);
    }
    
    .stat-item {
        cursor: default;
    }
}

/* Print Styles */
@media print {
    .about-hero {
        background: #f8f9fa;
        box-shadow: none;
        border: 1px solid #dee2e6;
        padding: 2rem;
        margin: 1rem auto;
    }
    
    .about-hero::before,
    .about-hero::after {
        display: none;
    }
    
    .about-content h1 {
        color: #000;
    }
    
    .about-content h1 span {
        color: #666;
        border-bottom-color: #666;
    }
    
    .about-content p,
    .stat-label {
        color: #333;
    }
    
    .stat-number {
        color: #000;
    }
    
    .about-us-image {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .about-hero {
        box-shadow: 0 25px 40px -15px rgba(0, 0, 0, 0.7);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .about-hero,
    .about-us-image {
        transition: none;
    }
}

/* Fix for the typo in your stats */
/* Note: Changed "OBJECTS IMPLETED" to "PROJECTS COMPLETED" - assuming this was a typo */
.stat-item:first-child .stat-label {
    content: "PROJECTS COMPLETED";
}

        /* Mission Vision Grid - Professional Cards */
        .mv-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            margin-bottom: 5rem;
        }

        .mv-card {
            background: white;
            padding: 3rem;
            border-radius: 24px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
            border: 1px solid var(--gray-light);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .mv-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 30px 45px -15px var(--primary-blue);
            border-color: var(--accent-yellow);
        }

        .mv-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-yellow), var(--accent-orange));
        }

        .mv-label {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: var(--secondary-blue);
            font-weight: 600;
            margin-bottom: 1rem;
            display: block;
        }

        .mv-card h2 {
            font-size: 2.2rem;
            color: var(--primary-blue);
            margin-bottom: 1.5rem;
            font-weight: 600;
            line-height: 1.2;
        }

        .mv-card p {
            color: var(--gray-medium);
            font-size: 1.1rem;
            line-height: 1.7;
        }

        /* Services Section */
        .services-preview {
            margin-bottom: 5rem;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header .subtitle {
            color: var(--secondary-blue);
            text-transform: uppercase;
            letter-spacing: 3px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 1rem;
            display: block;
        }

        .section-header h2 {
            font-size: 2.8rem;
            color: var(--primary-dark);
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .section-header p {
            color: var(--gray-medium);
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }

        .service-card {
            background: white;
            padding: 2rem;
            border-radius: 20px;
            border: 1px solid var(--gray-light);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .service-card:hover {
            border-color: var(--accent-orange);
            box-shadow: 0 15px 30px -10px rgba(255, 107, 53, 0.2);
        }

        .service-icon-about {
            width: 50px;
            height: 50px;
            background: rgba(58, 124, 165, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
            color: var(--primary-blue);
            font-weight: 500;
        }

        .service-card h3 {
            font-size: 1.3rem;
            color: var(--primary-dark);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .service-card p {
            color: var(--gray-medium);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* Why Choose Us - Premium Grid */
        .why-choose {
            background: var(--light-bg);
            border-radius: 40px;
            padding: 4rem;
            margin-bottom: 5rem;
            position: relative;
            overflow: hidden;
        }

        .why-choose::before {
            content: '';
            position: absolute;
            top: -100px;
            right: -100px;
            width: 300px;
            height: 300px;
            background: url('https://images.pexels.com/photos/2132180/pexels-photo-2132180.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center;
            background-size: cover;
            opacity: 0.03;
            border-radius: 50%;
            transform: rotate(15deg);
        }

        .why-header {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }

        .why-header h2 {
            font-size: 2.5rem;
            color: var(--primary-dark);
            margin-bottom: 1rem;
        }

        .why-header p {
            color: var(--gray-medium);
            font-size: 1.2rem;
            max-width: 600px;
            margin: 0 auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            position: relative;
        }

        .feature {
            text-align: center;
            padding: 2rem;
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .feature:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 35px -10px var(--primary-blue);
        }

        .feature-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--accent-yellow);
            margin-bottom: 1rem;
            font-family: 'Inter', sans-serif;
        }

        .feature h3 {
            font-size: 1.3rem;
            color: var(--primary-blue);
            margin-bottom: 0.8rem;
            font-weight: 600;
        }

        .feature p {
            color: var(--gray-medium);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* Commitment Banner */
        .commitment-banner {
            background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
            border-radius: 30px;
            padding: 4rem;
            margin-bottom: 5rem;
            display: flex;
            align-items: center;
            gap: 4rem;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .commitment-banner::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 40%;
            height: 100%;
            background: url('https://images.pexels.com/photos/2800832/pexels-photo-2800832.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center;
            background-size: cover;
            opacity: 0.1;
            mix-blend-mode: overlay;
        }

        .commitment-content {
            flex: 1;
            position: relative;
            z-index: 2;
        }

        .commitment-label {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: var(--accent-yellow);
            margin-bottom: 1rem;
            display: block;
        }

        .commitment-content h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            font-weight: 600;
        }

        .commitment-content p {
            font-size: 1.2rem;
            opacity: 0.9;
            line-height: 1.7;
            margin-bottom: 2rem;
        }

        .commitment-quote {
            font-size: 1.4rem;
            font-weight: 500;
            color: var(--accent-yellow);
            border-left: 4px solid var(--accent-orange);
            padding-left: 2rem;
        }

        .commitment-stats {
            flex: 0 0 250px;
            position: relative;
            z-index: 2;
        }

        .stat-box {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 2rem;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .stat-box .number {
            font-size: 3rem;
            font-weight: 700;
            color: var(--accent-yellow);
            display: block;
        }

        .stat-box .text {
            font-size: 1rem;
            opacity: 0.9;
        }

        /* CTA Section */
        .cta-section {
            background: white;
            border-radius: 30px;
            padding: 4rem;
            text-align: center;
            border: 1px solid var(--gray-light);
            box-shadow: 0 25px 45px -20px rgba(10, 36, 99, 0.2);
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 50%;
            background: linear-gradient(180deg, transparent, rgba(255, 193, 69, 0.05));
            pointer-events: none;
        }

        .cta-section h2 {
            font-size: 2.8rem;
            color: var(--primary-dark);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .cta-section p {
            font-size: 1.2rem;
            color: var(--gray-medium);
            max-width: 700px;
            margin: 0 auto 2rem;
        }

        .cta-buttons {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            position: relative;
            z-index: 2;
        }

        .btn-primary {
            display: inline-block;
            background: var(--primary-blue);
            color: white;
            text-decoration: none;
            border-radius: 60px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            letter-spacing: 0.5px;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 20px 30px -10px var(--primary-blue);
        }


        /* Responsive Design */
        @media (max-width: 1200px) {
           
            
            .hero-stats {
                justify-content: center;
            }
            

            
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 992px) {
            .mv-grid {
                grid-template-columns: 1fr;
            }
            
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .commitment-banner {
                flex-direction: column;
                text-align: center;
                gap: 2rem;
            }
            
            .commitment-quote {
                text-align: left;
            }
        }

        @media (max-width: 768px) {
            .about-wrapper {
                padding: 2rem 1rem;
            }
            
           
            
            .about-content h1 {
                font-size: 2.2rem;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .features-grid {
                grid-template-columns: 1fr;
            }
            
            .why-choose {
                padding: 2rem;
            }
            
            .cta-section {
                padding: 2rem;
            }
            
            .cta-section h2 {
                font-size: 2rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn-primary, .btn-secondary {
                width: 100%;
                max-width: 300px;
                text-align: center;
            }
        }

        /* Company Name Styling */
        .company-name-about {
            font-weight: 700;
            color: var(--accent-yellow);
        }

        /* Divider */
        .divider {
            width: 60px;
            height: 4px;
            background: var(--accent-orange);
            margin: 1.5rem 0;
        }

        .divider.center {
            margin-left: auto;
            margin-right: auto;
        }

    /* Faq */

    /* FAQ Section Styles */
           .faq-section {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .subtitle {
            color: var(--secondary-blue);
            text-transform: uppercase;
            letter-spacing: 3px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 1rem;
            display: block;
        }

        .section-header h2 {
            font-size: 2.8rem;
            color: var(--primary-dark);
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .section-header p {
            color: var(--gray-medium);
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto;
        }

        .faq-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            margin: 3rem 0;
        }

        .faq-item {
            background: white;
            border: 1px solid var(--gray-light);
            border-radius: 16px;
            margin-bottom: 1rem;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            border-color: var(--accent-yellow);
            box-shadow: 0 10px 25px -10px rgba(10, 36, 99, 0.1);
        }

        .faq-question {
            width: 100%;
            padding: 1.5rem;
            background: white;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: inherit;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary-dark);
            transition: all 0.3s ease;
            border: none;
            text-align: left;
        }

        .faq-question:hover {
            background: rgba(58, 124, 165, 0.02);
        }

        .faq-question.active {
            background: rgba(255, 193, 69, 0.03);
            color: var(--primary-blue);
        }

        .faq-icon {
            font-size: 1.8rem;
            font-weight: 400;
            color: var(--accent-orange);
            line-height: 1;
            transition: transform 0.3s ease;
        }

        .faq-question.active .faq-icon {
            transform: rotate(90deg);
        }

        .faq-answer {
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            padding: 0 1.5rem;
            color: var(--gray-medium);
            line-height: 1.7;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            border-top: 0 solid var(--gray-light);
        }

        .faq-answer.show {
            max-height: 300px; /* Increased for longer content */
            opacity: 1;
            padding: 0 1.5rem 1.5rem 1.5rem;
            border-top-width: 1px;
        }

        .faq-answer p {
            margin: 0.5rem 0;
            transform: translateY(-10px);
            transition: transform 0.4s ease 0.1s;
        }

        .faq-answer.show p {
            transform: translateY(0);
        }

        .faq-answer ul {
            margin-left: 1.5rem;
            margin-top: 0.5rem;
            margin-bottom: 0.5rem;
            transform: translateY(-10px);
            transition: transform 0.4s ease 0.15s;
        }

        .faq-answer.show ul {
            transform: translateY(0);
        }

        .faq-answer li {
            margin-bottom: 0.3rem;
        }

        .faq-cta {
            text-align: center;
            margin-top: 4rem;
            padding: 3rem;
            background: var(--light-bg);
            border-radius: 30px;
            border: 1px solid var(--gray-light);
            transition: transform 0.3s ease;
        }

        .faq-cta:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 30px -10px rgba(10, 36, 99, 0.1);
        }

        .faq-cta h3 {
            font-size: 2rem;
            color: var(--primary-dark);
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .faq-cta p {
            color: var(--gray-medium);
            font-size: 1.2rem;
        }

        .btn-primary {
            display: inline-block;
            background: var(--primary-blue);
            color: white;
            text-decoration: none;
            border-radius: 60px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            letter-spacing: 0.5px;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 20px 30px -10px var(--primary-blue);
        }

        /* Responsive */
        @media (max-width: 992px) {
            .faq-container {
                grid-template-columns: 1fr;
                gap: 0;
            }
        }

        @media (max-width: 768px) {
            .faq-section {
                padding: 1rem;
            }
            
            .section-header h2 {
                font-size: 2rem;
            }
            
            .faq-question {
                padding: 1.2rem;
                font-size: 1rem;
            }
            
            .faq-cta {
                padding: 2rem;
            }
            
            .faq-cta h3 {
                font-size: 1.5rem;
            }

            .faq-answer.show {
                max-height: 400px; /* More space for mobile */
            }
        }

        /* Animation for entrance */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .faq-item {
            animation: fadeInUp 0.5s ease forwards;
            opacity: 0;
        }

        .faq-item:nth-child(1) { animation-delay: 0.1s; }
        .faq-item:nth-child(2) { animation-delay: 0.2s; }
        .faq-item:nth-child(3) { animation-delay: 0.3s; }
        .faq-item:nth-child(4) { animation-delay: 0.4s; }
        .faq-item:nth-child(5) { animation-delay: 0.5s; }
        .faq-item:nth-child(6) { animation-delay: 0.6s; }
        .faq-item:nth-child(7) { animation-delay: 0.7s; }
        .faq-item:nth-child(8) { animation-delay: 0.8s; }
        .faq-item:nth-child(9) { animation-delay: 0.9s; }
        .faq-item:nth-child(10) { animation-delay: 1s; }


        /* ------------------------------------------ Contact Page ---------------------------------------------------------- */

                    :root {
                --contact-navy: #0b2545;
                --contact-deep: #0b1e33;
                --contact-orange: #f97316;        /* vibrant but professional orange */
                --contact-soft-blue: #eef4ff;
                --contact-light: #f8fafc;
                --contact-border: #e2e8f0;
                --contact-text-primary: #1e293b;
                --contact-text-secondary: #475569;
                --contact-white: #ffffff;
                --contact-shadow: 0 20px 30px -10px rgba(11, 37, 69, 0.08), 0 8px 20px -6px rgba(0,0,0,0.02);
            }

            .contact-container{
                display: flex;
                align-items: center;
                justify-content: center;
            }

            /* main container */
            .contact-main-card {
    max-width: 1300px;
    width: 100%;
    background-color: var(--contact-white);
    border-radius: 2.5rem;
    box-shadow: var(--contact-shadow);
    overflow: hidden;
    margin-top: 5rem;
    margin-left: auto;
    margin-right: auto; /* Center without changing style */
}

/* Tablet */
@media (max-width: 992px) {
    .contact-main-card {
        width: 99%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .contact-main-card {
        width: 94%;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .contact-main-card {
        width: 92%;
    }
}

            /* header bar */
            .contact-header {
                background-color: var(--contact-navy);
                padding: 1.2rem 2.5rem;
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                justify-content: space-between;
                border-bottom: 3px solid var(--contact-orange);
            }

            .contact-header h3 {
                color: white;
                font-weight: 500;
                font-size: 1.2rem;
            }

            .contact-header h3 i {
                color: var(--contact-orange);
                margin-right: 8px;
            }

            .contact-subsidy-tag {
                background-color: rgba(255,255,255,0.1);
                padding: 0.5rem 1.5rem;
                border-radius: 40px;
                color: white;
                font-size: 0.9rem;
                font-weight: 500;
                border: 1px solid rgba(249,115,22,0.3);
            }

            .contact-subsidy-tag i {
                color: var(--contact-orange);
                margin-right: 6px;
            }

            /* split layout */
            .contact-split {
                display: grid;
                grid-template-columns: 1fr 1fr;
            }

            /* LEFT HERO PANEL */
        /* LEFT HERO PANEL */
    /* LEFT HERO PANEL */
    .contact-hero {
        background-image: url("./assests/hd-images/solar7.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3rem 2.5rem;
        overflow: hidden;
    }

    /* Add dark overlay to make text readable */
    .contact-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(145deg, rgba(11, 37, 69, 0.85), rgba(18, 52, 86, 0.9));
        z-index: 1;
    }

    .contact-hero-content {
        position: relative;
        z-index: 5;
        color: white;
    }

    .contact-badge {
        background: var(--contact-orange);
        display: inline-block;
        padding: 0.4rem 1.2rem;
        border-radius: 40px;
        font-weight: 600;
        font-size: 0.9rem;
        color: var(--contact-navy);
        margin-bottom: 2rem;
        border: 1px solid rgba(255,255,255,0.2);
        box-shadow: 0 8px 16px -8px rgba(0,0,0,0.3);
    }

    .contact-hero-content h1 {
        font-size: 2.8rem;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 1.2rem;
    }

    .contact-hero-content h1 span {
        color: var(--contact-orange);
    }

    .contact-quote-text {
        font-size: 1.3rem;
        margin: 1.5rem 0 2rem 0;
        opacity: 0.95;
        max-width: 90%;
        border-left: 4px solid var(--contact-orange);
        padding-left: 1.4rem;
        background: rgba(255,255,255,0.05);
        border-radius: 0 8px 8px 0;
        font-weight: 400;
        line-height: 1.5;
    }

    .contact-illustration {
        margin: 2rem 0 1rem;
        display: flex;
        gap: 0.8rem;
        font-size: 4rem;
        filter: drop-shadow(0 10px 12px #00000040);
    }

    .contact-illustration i {
        background: rgba(255,255,255,0.08);
        border-radius: 60px;
        padding: 0.5rem;
    }

    .contact-stats {
        display: flex;
        gap: 2rem;
        margin-top: 2.5rem;
        flex-wrap: wrap;
    }

    .contact-stat-item {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .contact-stat-item i {
        font-size: 2rem;
        color: var(--contact-orange);
        background: rgba(255,255,255,0.1);
        padding: 0.8rem;
        border-radius: 50%;
    }

    .contact-stat-item p {
        font-weight: 500;
    }

    .contact-stat-item strong {
        font-size: 1.3rem;
        display: block;
        color: var(--contact-orange);
    }

            /* RIGHT FORM PANEL */
            .contact-form-panel {
                padding: 3rem 2.8rem;
                background: white;
            }

            .contact-form-headline {
                font-size: 2rem;
                font-weight: 700;
                color: var(--contact-navy);
                margin-bottom: 2rem;
            }

            .contact-form-subhead {
                font-size: 1rem;
                color: var(--contact-text-secondary);
                margin: 0.75rem 0 2rem 0;
                border-left: 4px solid var(--contact-orange);
                padding-left: 1.2rem;
                background: linear-gradient(to right, #fff7ed, white);
            }

            .contact-input-group {
                margin-bottom: 1.5rem;
            }

            .contact-input-group label {
                font-weight: 600;
                font-size: 0.85rem;
                text-transform: uppercase;
                letter-spacing: 0.3px;
                color: var(--contact-navy);
                display: block;
                margin-bottom: 0.4rem;
            }

            .contact-input-group input {
                width: 100%;
                padding: 1rem 1.2rem;
                background: #F1F5F9;
                border: 1px solid var(--contact-border);
                border-radius: 18px;
                font-size: 1rem;
                outline: none;
                transition: 0.2s;
            }

            .contact-input-group input:focus {
                border-color: var(--contact-orange);
                background: white;
                box-shadow: 0 0 0 4px rgba(249,115,22,0.15);
            }

            .contact-bill-question {
                font-weight: 600;
                color: var(--contact-navy);
                margin: 2rem 0 1rem 0;
            }

            .contact-radio-row {
                display: flex;
                flex-wrap: wrap;
                gap: 0.7rem;
                margin-bottom: 1.8rem;
            }

            .contact-radio-chip {
                flex: 1 0 auto;
            }

            .contact-radio-chip input {
                display: none;
            }

            .contact-radio-chip label {
                display: block;
                padding: 0.7rem 1.2rem;
                background: #F1F5F9;
                border: 1px solid var(--contact-border);
                border-radius: 40px;
                font-size: 0.9rem;
                font-weight: 500;
                color: var(--contact-text-primary);
                text-align: center;
                cursor: pointer;
                white-space: nowrap;
                transition: 0.15s;
            }

            .contact-radio-chip input:checked + label {
                background: var(--contact-orange);
                border-color: var(--contact-orange);
                color: white;
                box-shadow: 0 8px 14px -8px var(--contact-orange);
            }

            .contact-terms {
                display: flex;
                align-items: center;
                gap: 0.8rem;
                margin: 2rem 0 2.2rem;
            }

            .contact-terms input {
                width: 1.2rem;
                height: 1.2rem;
                accent-color: var(--contact-orange);
            }

            .contact-terms label {
                color: var(--contact-text-secondary);
                font-size: 0.95rem;
            }

            .contact-terms a {
                color: var(--contact-navy);
                font-weight: 600;
                text-decoration: none;
            }

            .contact-terms a:hover {
                text-decoration: underline;
            }

            .contact-btn {
                background: var(--contact-orange);
                border: none;
                color: white;
                font-weight: 700;
                font-size: 1.3rem;
                padding: 1rem 2rem;
                border-radius: 50px;
                width: 100%;
                cursor: pointer;
                transition: 0.2s;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 12px;
                box-shadow: 0 12px 24px -12px var(--contact-orange);
            }

            .contact-btn:hover {
                background: #ea580c;
                transform: translateY(-2px);
                box-shadow: 0 20px 28px -12px #ea580c;
            }

            .contact-btn i {
                transition: transform 0.2s;
            }

            .contact-btn:hover i {
                transform: translateX(6px);
            }

            .contact-footnote {
                margin-top: 1.2rem;
                font-size: 0.8rem;
                color: #64748b;
            }

            /* CONTACT DETAILS SECTION (below split) */
            .contact-details-section {
                padding: 2.5rem;
                background: var(--contact-soft-blue);
                border-top: 1px solid var(--contact-border);
            }

            .contact-details-heading {
                font-size: 1.6rem;
                font-weight: 600;
                color: var(--contact-navy);
                margin-bottom: 1.8rem;
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .contact-details-heading i {
                color: var(--contact-orange);
                font-size: 1.8rem;
            }

            .contact-details-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 2rem;
                margin-bottom: 2rem;
            }

            .contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    background: white;
    border-radius: 60px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.2s;
    width: 100%;
    min-width: 0; /* Allows flex item to shrink below min-content */
}

            .contact-detail-item:hover {
                border-color: var(--contact-border);
                box-shadow: 0 8px 18px -10px var(--contact-navy);
                transform: translateY(-2px);
            }

           .contact-detail-item i {
    width: 44px;
    height: 44px;
    background: var(--contact-navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0; /* Prevents icon from shrinking */
}

      .contact-detail-item a,
.contact-detail-item span {
    color: var(--contact-text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem; /* Slightly smaller font */
    word-break: break-word; /* Allows long words to break */
    overflow-wrap: break-word; /* Modern alternative */
    hyphens: auto; /* Adds hyphenation if needed */
    line-height: 1.4;
    flex: 1; /* Takes remaining space */
}
/* Optional: Make the grid more responsive for smaller screens */
@media (max-width: 600px) {
    .contact-details-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 1rem;
    }
    
    .contact-detail-item {
        padding: 0.7rem 1rem;
    }
    
    .contact-detail-item a {
        font-size: 0.9rem;
    }
}
            .contact-detail-item a:hover {
                color: var(--contact-navy);
                text-decoration: underline;
            }

            .contact-address {
                display: flex;
                align-items: flex-start;
                gap: 1.2rem;
                background: white;
                padding: 1.5rem 2rem;
                border-radius: 30px;
                margin-top: 1.2rem;
                border: 1px solid var(--contact-border);
            }

            .contact-address i {
                font-size: 2rem;
                color: var(--contact-navy);
            }

            .contact-address-text {
                color: var(--contact-text-primary);
                line-height: 1.6;
            }

            .contact-address-text strong {
                color: var(--contact-navy);
            }

            .contact-code-comment {
                background: #e9eef3;
                padding: 0.8rem 1.5rem;
                border-radius: 14px;
                font-family: 'SF Mono', monospace;
                font-size: 0.8rem;
                color: #2d3c4b;
                margin-top: 1.5rem;
                border-left: 4px solid var(--contact-orange);
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .contact-code-comment i {
                color: var(--contact-navy);
            }

            .contact-footer {
                background: #fafbfc;
                padding: 0.8rem 2.5rem;
                border-top: 1px solid var(--contact-border);
                font-size: 0.9rem;
                color: var(--contact-text-secondary);
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
            }

            /* responsive */
            @media (max-width: 950px) {
                .contact-split {
                    grid-template-columns: 1fr;
                }
                .contact-hero {
                    padding: 2.5rem;
                }
            }

            @media (max-width: 500px) {
                .contact-form-panel {
                    padding: 1.8rem;
                }
                .contact-radio-chip label {
                    white-space: normal;
                }
            }

            /* animations */
            .contact-hero, .contact-form-panel, .contact-detail-item {
                animation: contactFade 0.5s ease-out;
            }

            @keyframes contactFade {
                0% { opacity: 0; transform: translateY(15px); }
                100% { opacity: 1; transform: translateY(0); }
            }

            /* Toast Message Styles */
.contact-toast {
    position: fixed;
    top: 30px;
    right: 30px;
    max-width: 400px;
    width: calc(100% - 60px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    overflow: hidden;
    border-left: 5px solid var(--contact-orange, #f97316);
}

.contact-toast.show {
    transform: translateX(0);
}

.contact-toast-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    position: relative;
}

.contact-toast-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--contact-orange, #f97316), #fb923c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-toast-icon i {
    font-size: 26px;
    color: white;
}

.contact-toast-text {
    flex: 1;
}

.contact-toast-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--contact-navy, #0b2545);
    margin-bottom: 5px;
}

.contact-toast-message {
    font-size: 0.95rem;
    color: var(--contact-text-secondary, #475569);
    line-height: 1.5;
    margin: 0;
}

.contact-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 5px;
    font-size: 1.1rem;
    transition: color 0.2s;
    line-height: 1;
}

.contact-toast-close:hover {
    color: var(--contact-navy, #0b2545);
}

.contact-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--contact-orange, #f97316), #fbbf24);
    width: 100%;
    transform-origin: left;
    animation: toastProgress 5s linear forwards;
}

@keyframes toastProgress {
    0% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(0);
    }
}

@media (max-width: 600px) {
    .contact-toast {
        top: 20px;
        right: 20px;
        width: calc(100% - 40px);
    }
}

/* -------------------------------- Services--------------------------- */
/* --------------------------- Resdintal Services--------------------------- */


    :root {
      --navy-deep: #0A2647;        /* premium dark blue */
      --blue-accent: #1B4D7A;
      --slate-light: #EFF5FB;
      --warm-neutral: #F8FAFC;
      --gold-soft: #EAB308;        /* subtle gold */
      --orange-call: #F97316;
      --text-primary: #1E293B;
      --text-secondary: #334155;
      --white-pure: #FFFFFF;
      --shadow-smooth: 0 30px 40px -25px rgba(10, 38, 71, 0.2);
      --shadow-lift: 0 40px 55px -25px rgba(0, 45, 80, 0.35);
      --gradient-hero: linear-gradient(135deg, #0A2647 0%, #1B4D7A 65%, #256A93 100%);
      --gradient-card: linear-gradient(145deg, #FFFFFF, #F4F9FF);
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      background-color: var(--slate-light);
      color: var(--text-primary);
      line-height: 1.5;
    }

    .residential-container {
      max-width: 1300px;
      margin: 0 auto;
      padding: 0 30px;
      background-image: ("/asses");
    }

    /* fade animation */
    .fade-section {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.8s ease;
    }

    .fade-section.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* primary button – clean & professional */
    .btn-primary {
      display: inline-block;
      background: var(--orange-call);
      color: var(--white-pure);
      font-weight: 600;
      font-size: 1.1rem;
      padding: 16px 38px;
      border-radius: 50px;
      text-decoration: none;
      box-shadow: 0 15px 25px -10px rgba(249, 115, 22, 0.4);
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      letter-spacing: 0.3px;
    }

    .btn-primary:hover {
      background: #e07b39;
      transform: translateY(-3px);
      box-shadow: 0 22px 30px -12px #f97316b3;
    }

    /* ----- SECTION 1 HERO (professional gradient, no emoji) ----- */
    .residential-hero {
      background-image: url("/assests/house/watt-a-lot-Ja8t8nJN2I4-unsplash.jpg");
           background-size: cover;
           
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        
      padding: 130px 0 140px;
      color: white;
      position: relative;
      overflow: hidden;
    }

    .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* opacity control here */
}

    .residential-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 70% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
      pointer-events: none;
    }

    .hero-content-resdi {
      position: relative;
      z-index: 5;
      max-width: 720px;
    }

    .hero-title {
      font-size: 3.8rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1.8rem;
    }

    .hero-title .accent {
      color: var(--gold-soft);
      font-weight: 600;
      border-bottom: 2px solid rgba(234, 179, 8, 0.5);
    }

    .hero-description {
      font-size: 1.3rem;
      opacity: 0.9;
      margin-bottom: 2.5rem;
      max-width: 600px;
    }

    /* ----- SECTION 2 ABOUT (two column, professional) ----- */
   

   .residential-about {
  padding: 140px 0;
  background: #ffffff;
}

.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
  align-items: center;
}

.about-text-resdi {
  flex: 1 1 48%;
  max-width: 620px;
}

.about-text-resdi h2 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.2;
  margin-bottom: 1.8rem;
  letter-spacing: -0.03em;
}

.premium-heading {
  font-size: clamp(2.3rem, 3vw, 3rem);
  font-weight: 700;
  color: #0A2647;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  line-height: 1.2;
}

/* Elegant centered divider */
.premium-heading::after {
  content: "";
  display: block;
  width: clamp(70px, 8vw, 120px);
  height: 3px;
  margin: 16px auto 0 auto;
  background-color: linear-gradient(90deg, #EAB308, #F97316);
  opacity: 0.2;
  border-radius: 2px;
}

.about-text-resdi p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.6rem;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

/* Optional subtle divider between paragraphs */
.about-text-resdi p + p {
  margin-top: 1.2rem;
}

.section-title-resdi {
  text-align: center;
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #0A2647;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
  position: relative;
}

/* Centered underline */
.section-title-resdi::after {
  content: "";
  display: block;
  margin: 14px auto 0 auto;  /* perfectly centered */
  width: clamp(60px, 6vw, 100px);
  height: 4px;
  background: linear-gradient(90deg, #EAB308, #F97316);
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .residential-about {
    padding: 90px 0;
  }

  .two-col {
    gap: 40px;
  }

  .about-text-resdi h2 {
    font-size: 2rem;
  }

  .about-text-resdi p {
    font-size: 1rem;
  }
}

    .about-image-resdi {
      flex: 1 1 45%;
      border-radius: 32px;
      overflow: hidden;
      box-shadow: var(--shadow-smooth);
      transition: transform 0.5s;
    }

    .about-image-resdi img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.8s;
    }

    .about-image-resdi:hover img {
      transform: scale(1.02);
    }

    /* ----- SECTION 3 BENEFITS (iconless, clean cards) ----- */
   /* ===== CARD-ONLY STYLING ===== */
  .residential-benefits {
  background: linear-gradient(to bottom, #F4F8FC, #EDF3F9);
  padding: 120px 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.residential-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Title */
.section-title-resdi {
  text-align: center;
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #0A2647;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.section-title-resdi span {
  position: relative;
  display: inline-block;
}

/* Centered gold underline */
.section-title-resdi span::after {
  content: "";
  position: absolute;
  left: 20%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 70%;
  height: 4px;
  background: linear-gradient(90deg, #EAB308, #F97316);
  border-radius: 2px;
}
/* Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

/* Card */
.benefit-card {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  transition: all 0.35s ease;
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  border-color: rgba(234, 179, 8, 0.3);
}

/* Accent line */
.card-accent-line {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #EAB308, #F97316);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.benefit-card:hover .card-accent-line {
  transform: scaleX(1);
}

/* Content */
.card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Heading */
.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0A2647;
  margin-bottom: 14px;
  line-height: 1.3;
  word-wrap: break-word;
}

/* Paragraph */
.benefit-card p {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}


.learn-more {
  color: #1B4D7A;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
}

.benefit-card:hover .learn-more {
  color: #F97316;
  transform: translateX(4px);
}

/* Responsive Improvements */
@media (max-width: 992px) {
  .residential-benefits {
    padding: 90px 0;
  }

  .cards-grid {
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .residential-benefits {
    padding: 70px 0;
  }

  .card-content {
    padding: 22px;
  }

  .benefit-card h3 {
    font-size: 1.35rem;
  }

  .benefit-card p {
    font-size: 0.95rem;
  }
}
  
    /* ----- SECTION 4 CONTACT FORM (premium container) ----- */
    .residential-contact {
      padding: 100px 0;
      background: var(--white-pure);
    }

    .contact-premium-box {
      background: linear-gradient(145deg, #F0F7FF, #FFFFFF);
      border-radius: 70px;
      padding: 70px 60px;
      box-shadow: var(--shadow-smooth);
      border: 1px solid rgba(27, 77, 106, 0.1);
    }

    .contact-premium-box h2 {
      font-size: 2.6rem;
      font-weight: 600;
      color: var(--navy-deep);
      margin-bottom: 0.75rem;
    }

    .contact-premium-box .subhead {
      font-size: 1.2rem;
      color: var(--blue-accent);
      margin-bottom: 2.8rem;
    }

    .form-styling {
      background: white;
      border-radius: 50px;
      padding: 48px 48px;
      box-shadow: inset 0 1px 8px rgba(0,0,0,0.02), 0 25px 35px -20px #0A2647;
    }

    .form-group {
      margin-bottom: 28px;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 18px 28px;
      border: 1px solid #DCE9F2;
      border-radius: 60px;
      font-size: 1.05rem;
      background: #F9FCFE;
      transition: 0.25s;
    }

    .form-group textarea {
      border-radius: 40px;
      resize: vertical;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--blue-accent);
      box-shadow: 0 0 0 5px rgba(27, 77, 106, 0.15);
      background: white;
    }

    .btn-contact {
      background: var(--navy-deep);
      color: white;
      border: none;
      padding: 18px 50px;
      border-radius: 60px;
      font-weight: 600;
      font-size: 1.2rem;
      cursor: pointer;
      transition: all 0.35s;
      box-shadow: 0 16px 24px -12px #0A2647;
    }

    .btn-contact:hover {
      background: #123B5E;
      transform: translateY(-4px);
      box-shadow: 0 24px 32px -16px #0f2740;
    }

    .footer-note {
      margin-top: 28px;
      color: #4B5F73;
      font-size: 0.95rem;
      text-align: center;
    }

    /* responsive */
    @media (max-width: 800px) {
      .hero-title { font-size: 2.8rem; }
      .two-col { flex-direction: column; gap: 40px; }
      .contact-premium-box { padding: 40px 25px; }
      .form-styling { padding: 30px 20px; }
    }
    @media (max-width: 500px) {
      .hero-title { font-size: 2.3rem; }
      .btn-primary { padding: 14px 30px; }
      .section-title-resdi { font-size: 2.2rem; }
    }


/* ----------------------------------------------- Projects-------------------------------------------------------------- */


:root {
    --portfolio-primary-blue: #0A2463;
    --portfolio-primary-dark: #001F54;
    --portfolio-secondary-blue: #3A7CA5;
    --portfolio-accent-yellow: #FFC145;
    --portfolio-accent-orange: #FF6B35;
    --portfolio-light-bg: #F8F9FA;
    --portfolio-dark-bg: #001219;
    --portfolio-text-dark: #212529;
    --portfolio-text-light: #F8F9FA;
    --portfolio-card-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
    --portfolio-hover-shadow: 0 25px 40px -12px rgba(10, 36, 99, 0.25);
    --portfolio-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.portfolio-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.portfolio-section {
        padding: 40px 0;

    background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 48px;
}

.portfolio-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--portfolio-primary-dark);
    line-height: 1.2;
}

.portfolio-header .portfolio-accent-text {
    color: var(--portfolio-primary-blue);
    border-bottom: 4px solid var(--portfolio-accent-yellow);
    display: inline-block;
    padding-bottom: 4px;
}

.portfolio-heading span{
  position: relative;
  display: inline-block;
}

/* Centered gold underline */
.portfolio-heading span::after {
  content: "";
  position: absolute;
  left: 0%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 70%;
  height: 4px;
  background: linear-gradient(90deg, #EAB308, #F97316);
  border-radius: 2px;
}


.portfolio-subhead {
    font-size: 1.2rem;
    color: #2b4b6f;
    font-weight: 400;
    margin-top: 12px;
}

.portfolio-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.portfolio-filter-btn {
    background: transparent;
    border: 1.5px solid rgba(10, 36, 99, 0.15);
    color: var(--portfolio-primary-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 28px;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--portfolio-transition);
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.portfolio-filter-btn:hover {
    border-color: var(--portfolio-primary-blue);
    background-color: rgba(58, 124, 165, 0.04);
    transform: translateY(-2px);
}

.portfolio-filter-btn.active {
    background: var(--portfolio-primary-blue);
    color: white;
    border-color: var(--portfolio-primary-blue);
    box-shadow: 0 8px 18px -8px rgba(10, 36, 99, 0.4);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    align-items: stretch;
}

.portfolio-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--portfolio-card-shadow);
    transition: var(--portfolio-transition);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s;
    will-change: transform, opacity;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.portfolio-card.portfolio-revealed {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--portfolio-hover-shadow);
}

.portfolio-image-wrapper {
    width: 100%;
    height: 230px;
    overflow: hidden;
    position: relative;
    background-color: #e6f0f5;
}

.portfolio-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.portfolio-card:hover .portfolio-image-wrapper img {
    transform: scale(1.08);
}

.portfolio-card-content {
    padding: 24px 20px 22px;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--portfolio-primary-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.portfolio-location {
    font-size: 1rem;
    color: #3f5468;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
    font-weight: 400;
}

.portfolio-location::before {
    content: "📍";
    font-size: 1.1rem;
    opacity: 0.8;
}

.portfolio-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin: 14px 0 18px;
    border-top: 1px dashed rgba(10, 36, 99, 0.15);
    padding-top: 16px;
}

.portfolio-meta-item {
    display: flex;
    flex-direction: column;
}

.portfolio-meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--portfolio-secondary-blue);
    font-weight: 600;
}

.portfolio-meta-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--portfolio-primary-blue);
}

.portfolio-category-chip {
    display: inline-block;
    background: rgba(255, 193, 69, 0.18);
    color: var(--portfolio-primary-dark);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 30px;
    margin: 6px 0 16px;
    align-self: flex-start;
    border-left: 3px solid var(--portfolio-accent-yellow);
}

.portfolio-details-btn {
    background: transparent;
    border: 2px solid var(--portfolio-primary-blue);
    color: var(--portfolio-primary-blue);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 0;
    width: 100%;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--portfolio-transition);
    margin-top: auto;
    text-align: center;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.portfolio-details-btn:hover {
    background: var(--portfolio-primary-blue);
    color: white;
    border-color: var(--portfolio-primary-blue);
    transform: scale(1.02);
    box-shadow: 0 10px 20px -8px var(--portfolio-primary-blue);
}

.portfolio-details-btn:active {
    transform: scale(0.98);
}

/* ===== SLIDER STYLES ===== */
.portfolio-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 18, 25, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    padding: 16px;
}

.portfolio-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.portfolio-modal-container {
    background: white;
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    border-radius: 36px;
    overflow-y: auto;
    box-shadow: 0 40px 70px rgba(0,31,84,0.4);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.portfolio-modal-overlay.active .portfolio-modal-container {
    transform: scale(1);
}

.portfolio-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(255,255,255,0.95);
    border: none;
    font-size: 2.2rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--portfolio-primary-dark);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: var(--portfolio-transition);
}

.portfolio-modal-close:hover {
    background: var(--portfolio-accent-orange);
    color: white;
    transform: rotate(90deg);
}

/* Slider Container */
/* Add these updated slider styles to your projects.css */

/* Slider Container */
.portfolio-slider-container {
    position: relative;
    width: 100%;
    height: 500px; /* Increased height */
    overflow: hidden;
    border-radius: 36px 36px 0 0;
    background: #1a1a1a; /* Dark background for letterbox effect */
    touch-action: pan-y pinch-zoom;
}

.portfolio-slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.portfolio-slider-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.portfolio-slider-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* This ensures full image is visible */
    display: block;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Error image styling */
.portfolio-slider-slide img.error-image {
    object-fit: cover;
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .portfolio-slider-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .portfolio-slider-container {
        height: 300px;
    }
}

/* Navigation Arrows */
.portfolio-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--portfolio-primary-blue);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: var(--portfolio-transition);
    z-index: 1001;
    backdrop-filter: blur(4px);
}

.portfolio-slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.portfolio-slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.portfolio-slider-prev {
    left: 20px;
}

.portfolio-slider-next {
    right: 20px;
}

/* Dots Navigation */
.portfolio-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    padding: 8px 16px;
    border-radius: 40px;
}

.portfolio-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--portfolio-transition);
    padding: 0;
}

.portfolio-slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.portfolio-slider-dot.active {
    background: var(--portfolio-accent-yellow);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 193, 69, 0.5);
}

/* Modal Content */
.portfolio-modal-content {
    padding: 30px;
}

.portfolio-modal-details {
    background: var(--portfolio-light-bg);
    padding: 24px;
    border-radius: 24px;
}

.portfolio-modal-details h3 {
    font-size: 2rem;
    color: var(--portfolio-primary-dark);
    margin-bottom: 16px;
}

.portfolio-modal-details p {
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-header h2 {
        font-size: 2.2rem;
    }
    
    .portfolio-filter-bar {
        gap: 8px;
    }
    
    .portfolio-filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .portfolio-grid {
        gap: 24px;
    }
    
    .portfolio-modal-container {
        width: 98%;
        max-height: 95vh;
    }
    
    .portfolio-slider-container {
        height: 300px;
    }
    
    .portfolio-slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
    
    .portfolio-slider-prev {
        left: 10px;
    }
    
    .portfolio-slider-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .portfolio-section {
        padding: 40px 0;

    }
    
    .portfolio-title {
        font-size: 1.3rem;
    }
    
    .portfolio-filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
    }
    
    .portfolio-filter-btn {
        flex-shrink: 0;
    }
    
    .portfolio-slider-container {
        height: 250px;
    }
    
    .portfolio-modal-details {
        padding: 16px;
    }
    
    .portfolio-modal-details h3 {
        font-size: 1.5rem;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .portfolio-slider-nav {
        background: rgba(255, 255, 255, 0.95);
        width: 44px;
        height: 44px;
    }
    
    .portfolio-slider-dots {
        padding: 6px 12px;
    }
    
    .portfolio-slider-dot {
        width: 12px;
        height: 12px;
    }
}

/* Accessibility */
.portfolio-filter-btn:focus-visible,
.portfolio-details-btn:focus-visible,
.portfolio-slider-nav:focus-visible,
.portfolio-modal-close:focus-visible {
    outline: 2px solid var(--portfolio-accent-orange);
    outline-offset: 2px;
}