 html {
        overflow-x: hidden;
        }


        /* --- CSS VARIABLES & RESET --- */
        :root {
            --primary-color: #0f172a; /* Dark Navy */
            --accent-color: #3b82f6; /* Bright Blue */
            --text-dark: #334155;
            --text-light: #94a3b8;
            --bg-light: #f8fafc;
            --white: #ffffff;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family:'Poppins','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--white);
            scroll-behavior: smooth;
        }

        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }

        /* --- NAVIGATION --- */
        header {
            background-color: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(10px);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .logo {
            color: var(--white);
            /* font-size: 1.5rem;
            font-weight: 700;
          
            letter-spacing: 1px; */

            display: inline-block;
            padding-top: .3125rem;
            padding-bottom: .3125rem;
            margin-right: 1rem;
            font-size: 1.25rem;
            line-height: inherit;
            white-space: nowrap;
        }

        .logo span { 
            color:#f52626;
            /* color: var(--accent-color); } */
        }
        nav ul {
            display: flex;
            gap: 2rem;
        }

        nav a {
            color: var(--text-light);
            font-weight: 500;
            transition: var(--transition);
            font-size: 0.95rem;
        }

        nav a:hover { color: var(--accent-color); }

/* --- SOCIAL ICONS (HEADER) --- */
        .social-icons {
            display: flex;
            gap: 1rem;
            margin-left: 2rem;
        }

        .social-icon {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            transition: var(--transition);
        }

        .social-icon svg {
            width: 18px;
            height: 18px;
            fill: var(--white);
        }

        .social-icon:hover {
            background-color: var(--accent-color);
            transform: translateY(-2px);
        }

        .social-icon:hover svg {
            fill: var(--white);
        }


        /* --- HERO SECTION --- */
        #home {
            height: 100vh;
            background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 0 1rem;
            color: var(--white);
        }

        .hero-content {
            max-width: 800px;
        }

        .hero-content h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .hero-content p {
            font-size: 1.2rem;
            color: #cbd5e1;
            margin-bottom: 2rem;
        }

        .btn {
            display: inline-block;
            padding: 0.8rem 2rem;
            background-color: var(--accent-color);
            color: var(--white);
            border-radius: 5px;
            font-weight: 600;
            transition: var(--transition);
            border: 2px solid var(--accent-color);
        }

        .btn:hover {
            background-color: transparent;
            color: var(--accent-color);
        }

        .btn-outline {
            background-color: transparent;
            border: 2px solid var(--white);
            margin-left: 1rem;
        }

        .btn-outline:hover {
            background-color: var(--white);
            color: var(--primary-color);
        }

        /* --- SECTIONS GENERAL --- */
        section {
            padding: 5rem 10%;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .section-title .line {
            width: 60px;
            height: 4px;
            background-color: var(--accent-color);
            margin: 0 auto;
        }

        /* --- SERVICES GRID (3 COLUMNS) --- */
        #services {
            background-color: var(--bg-light);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
            gap: 2rem;
        }

        .service-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            transition: var(--transition);
            border-top: 4px solid transparent;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .service-card:hover {
            transform: translateY(-5px);
            border-top: 4px solid var(--accent-color);
            box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        }

        .service-card h3 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-size: 1.25rem;
        }

        .service-card ul {
            margin-top: auto;
            padding-left: 1.2rem;
            list-style-type: disc;
            color: var(--text-dark);
        }

        .service-card li { margin-bottom: 0.5rem; font-size: 0.95rem; }

        /* --- GALLERY SECTION (NEW) --- */
        #gallery {
            background-color: var(--white);
        }

        .gallery-grid {
            display: grid;
            /* Fluid grid: approx 200px minimum, fills remaining space */
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 1.5rem;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            aspect-ratio: 1 / 1; /* Keeps images square */
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            display: block;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
            padding: 1rem;
            opacity: 0;
            transition: opacity 0.3s ease;
            color: white;
            font-size: 0.9rem;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        /* --- ABOUT US --- */
        #about {
            background-color: var(--bg-light);
        }

        .about-container {
            display: flex;
            flex-wrap: wrap;
            gap: 3rem;
            align-items: center;
        }

        .about-text {
            flex: 1;
            min-width: 300px;
        }

        .about-text p { margin-bottom: 1.5rem; }

        .about-features {
            flex: 1;
            min-width: 300px;
            background-color: var(--primary-color);
            color: var(--white);
            padding: 2rem;
            border-radius: 8px;
        }

        .about-features h3 { margin-bottom: 1rem; color: var(--accent-color); }
        .about-features ul li { margin-bottom: 0.8rem; display: flex; align-items: center; }
        .about-features ul li::before {
            content: "✓";
            color: var(--accent-color);
            font-weight: bold;
            margin-right: 10px;
        }


        .card-header {
            display: flex;          /* Aligns children in a row */
            align-items: center;    /* Vertically centers the image and text */
            gap: 15px;              /* Adds space between the image and the text */
            margin-bottom: 10px;    /* Optional: Space below the header */
        }
        
        /* Optional: Ensure the image doesn't stretch weirdly */
        .card-header img {
            object-fit: contain;
        }



        /* --- BLOG PREVIEW --- */
        #blog {
            background-color: var(--white);
        }
        
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .blog-card {
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            overflow: hidden;
            transition: var(--transition);
        }

        .blog-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.08); }

        .blog-content { padding: 1.5rem; }
        .blog-date { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.5rem; display: block; }
        .blog-title { font-size: 1.2rem; font-weight: 700; color: var(--primary-color); margin-bottom: 0.5rem; }
        .read-more { color: var(--accent-color); font-weight: 600; font-size: 0.9rem; }

        /* --- CONTACT SECTION --- */
        #contact {
            background-color: var(--bg-light);
        }

        .contact-wrapper {
            max-width: 1100px;
            margin: 0 auto;
            background: var(--white);
            padding: 2.5rem;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        }

        .contact-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }

        .contact-form h3,
        .contact-info h3 {
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .info-intro {
            color: var(--text-dark);
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }

        .info-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background-color: var(--bg-light);
            border-radius: 6px;
            transition: var(--transition);
        }

        .info-item:hover {
            background-color: #f1f5f9;
            transform: translateX(5px);
        }

        .info-item .icon {
            font-size: 1.5rem;
            margin-right: 1rem;
            min-width: 40px;
        }

        .info-item .details h4 {
            color: var(--primary-color);
            font-size: 1rem;
            margin-bottom: 0.3rem;
        }

        .info-item .details p {
            color: var(--text-dark);
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .map-placeholder {
            margin-top: 2rem;
            padding: 2rem;
            background-color: var(--bg-light);
            border-radius: 6px;
            text-align: center;
            color: var(--text-light);
            font-size: 0.9rem;
            border: 1px dashed #cbd5e1;
        }

        .form-group { margin-bottom: 1.5rem; }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--primary-color);
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #cbd5e1;
            border-radius: 4px;
            font-family: inherit;
            font-size: 1rem;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent-color);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        button[type="submit"] {
            width: 100%;
            padding: 1rem;
            background-color: var(--primary-color);
            color: var(--white);
            border: none;
            border-radius: 4px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }

        button[type="submit"]:hover {
            background-color: var(--accent-color);
        }

        /* --- FOOTER --- */
        footer {
            background-color: var(--primary-color);
            color: var(--text-light);
            text-align: center;
            padding: 2rem;
            font-size: 0.9rem;
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 992px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .hero-content h1 { font-size: 2rem; }
            nav ul { display: none; } 
            header { justify-content: center; }
            
            .btn-outline { margin-left: 0; margin-top: 1rem; display: block; width: 100%; }
            .btn { display: block; width: 100%; margin-bottom: 0.5rem; }
            
            .contact-layout {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .contact-wrapper {
                padding: 1.5rem;
            }
            
            .info-item {
                padding: 0.8rem;
            }
        }