/*  Header Style */
        :root {
            --primary-color: #b80606;
            --hover-color: #a90404;
            --dark-color: #3b1e1e;
            --light-color: #f8fafc;
            --gray-color: #8b6464;
            --light-gray: #e2e8f0;
            --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --border-radius: 8px;
            --nav-height: 70px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.5;
            color: var(--dark-color);
            background-color: #f9fafb;
        }

        /* Header Styles */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: var(--shadow-sm);
            backdrop-filter: blur(8px);
            z-index: 1000;
            height: var(--nav-height);
        }

        .navbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1.5rem;
            height: 100%;
            max-width: 1650px;
            margin: 0 auto;
        }

        /* Logo Styles */
        .logo {
            display: flex;
            align-items: center;
            z-index: 1001;
        }

        .logo img {
            height: 40px;
            transition: var(--transition);
        }

        .logo:hover img {
            transform: scale(1.05);
        }

        /* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--dark-color);
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 1001;
            padding: 0.5rem;
        }

        /* Navigation Links */
        .nav-links {
            display: flex;
            align-items: center;
            gap: 1rem;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-links li {
            position: static;
        }

        .nav-links > li > a {
            display: flex;
            align-items: center;
            padding: 0.75rem 1rem;
            font-weight: 700;
            color: var(--dark-color);
            text-decoration: none;
            border-radius: var(--border-radius);
            transition: var(--transition);
            white-space: nowrap;
        }

        .nav-links > li > a:hover {
            color: var(--primary-color);
            background-color: rgba(238, 67, 67, 0.05);
        }

        /* Dropdown Styles */
        .has-dropdown > a::after {
            content: '▾';
            margin-left: 0.25rem;
            font-size: 0.9em;
            transition: var(--transition);
        }
        /* .has-dropdown1 > a::after {
            content: '⌄';
            margin-left: 0.25rem;
            font-size: 0.9em;
            transition: var(--transition);
        } */

        .has-dropdown:hover > a::after {
            transform: rotate(180deg);
        }
        /* .has-dropdown1:hover > a::after {
            transform: rotate(180deg);
        } */

        .dropdown {
            position: absolute;
            top: calc(100% + 0.5rem);
            left: 0;
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-lg);
            padding: 0;
            min-width: 280px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 100;
        }

        .has-dropdown:hover .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            margin-left: 140px;
        }
        /* .has-dropdown1:hover .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            margin-left: 140px;
        } */

        .dropdown-left {
            padding: 0.5rem 0;
        }

        .dropdown-left a {
            display: flex;
            align-items: center;
            padding: 5px 5px;
            color: #060000ff;
            text-decoration: none;
            transition: var(--transition);
            font-weight: 500;
        }

        .dropdown-left a:hover {
            background-color: #ffffff8e;
            color: var(--primary-color);
        }

        .dropdown-left a.active {
            background-color: rgba(238, 67, 67, 0.1);
            color: var(--primary-color);
        }

        .dropdown-left i {
            margin-right: 0.75rem;
            color: var(--primary-color);
            width: 1.25rem;
            text-align: center;
        }

        
        /* Mega Dropdown */
        .mega-dropdown {
            left: 35%;
            transform: translateX(-50%) translateY(10px);
            width: 100vw;
            max-width: 1150px;
            display: grid;
            grid-template-columns: 280px 1fr;
            overflow: hidden;
        }

        .has-dropdown:hover .mega-dropdown {
            transform: translateX(-50%) translateY(0);
        }
        /* .has-dropdown1:hover .mega-dropdown {
            transform: translateX(-50%) translateY(0);
        } */

        .dropdown-right {
            padding: 3.5rem;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
            background-color: #f8fafc;
            border-left: 1px solid var(--light-gray);
        }

        .dropdown-right-content {
            display: none;
        }
        .dropdown-right-content1 {
            display: none;
        }

        .dropdown-right-content.active {
            display:inline-flex;
        }
        .dropdown-right-content1.active {
            display:inline-flex;
        }

        .dropdown-right-item {
            padding: 1rem;
            border-radius: var(--border-radius);
            transition: var(--transition);
            width:fit-content;
        }

        .dropdown-right-item:hover {
            background-color: white;
            box-shadow: var(--shadow-sm);
            transform: translateY(-3px);
        }

        .dropdown-right h4 {
            font-size: 1rem;
            margin-bottom: 0.5rem;
            color: var(--dark-color);
        }

        .dropdown-right p {
            font-size: 0.875rem;
            color: var(--gray-color);
            margin-bottom: 0;
        }

        /* Button Styles */
        .btn1 {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.625rem 1.25rem;
            background-color: var(--primary-color);
            color: white;
            border-radius: var(--border-radius);
            font-weight: 500;
            text-decoration: none;
            transition: var(--transition);
            border: 2px solid var(--primary-color);
            margin-left: 0.5rem;
            white-space: nowrap;
        }
        .btn1:hover {
            background-color: var(--hover-color);
            border-color: var(--hover-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 6px -1px rgba(238, 67, 67, 0.3);
        }

        /* Mobile Styles */
        @media (max-width: 1024px) {
            .navbar {
                padding: 0 1rem;
            }
            
            .menu-toggle {
                display: block;
            }
            
            .nav-links {
                position: fixed;
                top: var(--nav-height);
                left: 0;
                right: 0;
                bottom: 0;
                background: white;
                flex-direction: column;
                align-items: flex-start;
                padding: 1.5rem;
                gap: 0;
                overflow-y: auto;
                transform: translateX(100%);
                transition: var(--transition);
                z-index: 1000;
                height: calc(100vh - var(--nav-height));
            }
            
            .nav-links.active {
                transform: translateX(0);
            }
            
            .nav-links > li {
                width: 100%;
            }
            
            .nav-links > li > a {
                padding: 1rem 0;
                border-bottom: 1px solid var(--light-gray);
            }
            
            .has-dropdown > a::after {
                margin-left: auto;
            }
            /* .has-dropdown1 > a::after {
                margin-left: auto;
            } */
            .has-dropdown:hover .dropdown {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
                margin-left: 0px;
            }
            /* .has-dropdown1:hover .dropdown {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
                margin-left: 0px;
            } */
            .dropdown {
                position: static;
                width: 100%;
                box-shadow: none;
                opacity: 1;
                visibility: visible;
                transform: none;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease, padding 0.3s ease;
                padding: 0;
            }
            
            .dropdown.active {
                max-height: 400px; /* Limit height and make scrollable */
                overflow-y: auto;
                padding: 0.5rem 0;
                margin-top: 0.5rem;
                border-left: 2px solid var(--primary-color);
            }
            
            .mega-dropdown {
                position: static;
                width: 100%;
                max-width: 100%;
                transform: none;
                display: block;
                grid-template-columns: 1fr;
                max-height: 0;
                overflow: hidden;
            }
            
            .mega-dropdown.active {
                max-height: 400px; /* Limit height and make scrollable */
                overflow-y: auto;
            }
            
            .dropdown-right {
                padding: 1rem 0 0 1rem;
                grid-template-columns: 1fr;
                border-left: none;
            }
            
            .dropdown-right-item {
                padding: 0.75rem 0;
            }
            
            .btn1.desktop-only {
                display: none;
            }
            
            .btn1.mobile-only {
                display: inline-flex;
                width: 100%;
                margin: 1rem 0 0;
                justify-content: center;
            }
            .dropdown-right-content {
                display: none;
            }
            .dropdown-right-content1 {
                display: none;
            }

            .dropdown-right-content.active {
                display:grid;
            }
            .dropdown-right-content1.active {
                display:grid;
            }
        }

        /* Desktop-only elements */
        @media (min-width: 1025px) {
            .btn1.mobile-only {
                display: none;
            }
        }
        
        /* Service Dropdown Styles - Add these without modifying existing styles */
/* Updated Service Dropdown Styles */
.dropdown-right-content {
    display: none;
    grid-template-columns: repeat(3, minmax(250px, 1fr)); /* 4 columns for 2 rows */
    grid-auto-rows: minmax(90px, auto); /* Automatic row sizing */
    gap: 1rem;
}
.dropdown-right-content1 {
    display: none;
    grid-template-columns: repeat(3, minmax(250px, 1fr)); /* 4 columns for 2 rows */
    grid-auto-rows: minmax(90px, auto); /* Automatic row sizing */
    gap: 1rem;
}

.dropdown-right-content.active {
    display: grid;
}
.dropdown-right-content1.active {
    display: grid;
}

.service-header {
    grid-column: 1 / -1; /* Header spans all columns */
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.dropdown-right-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    height: 100%; /* Fill the grid cell */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .dropdown-right-content {
        grid-template-columns: repeat(3, minmax(200px, 1fr)); /* 3 columns */
    }
    .dropdown-right-content1 {
        grid-template-columns: repeat(3, minmax(200px, 1fr)); /* 3 columns */
    }
}

@media (max-width: 900px) {
    .dropdown-right-content {
        grid-template-columns: repeat(2, minmax(200px, 1fr)); /* 2 columns */
    }
    .dropdown-right-content1 {
        grid-template-columns: repeat(2, minmax(200px, 1fr)); /* 2 columns */
    }
}

@media (max-width: 600px) {
    .dropdown-right-content {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
    .dropdown-right-content1 {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
}
.dropdown-left img{
    height: 100%;
    width: 100%;
    background-color: #ffffffef;
}
