:root {
            --primary-blue: #0d3d75;
            --secondary-blue: #0066cc;
            --accent-blue: #0078d8;
            --light-blue: #e6f2ff;
            --lighter-blue: #154a8f;
            --white: #ffffff;
            --light-gray: #f5f7fa;
            --dark-gray: #333333;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--dark-gray);
            background-color: var(--white);
            overflow-x: hidden;
            padding-top: 80px;
        }

        h1, h2, h3, h4 {
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
            color: var(--primary-blue);
        }

        p {
            margin-bottom: 1.5rem;
        }

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

        .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.09   );
    color: white;
    border: 1.5px solid white;
    border-radius: 999px; /* Oval shape */
    font-weight: 600;
    font-size: 1.3rem;
    text-decoration: none;
    transition: var(--transition);
    gap: 8px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid white;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.4), 0 0 20px rgba(0, 170, 255, 0.4);

}

.btn-outline {
    background: transparent;
    color: white;
    border: 1.5px solid white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.09);
    color: white;
    border: 1px solid white;
}

         /* Header Styles */

            header {
                background-color: rgba(255, 255, 255, 0.5); /* Add transparency */
                backdrop-filter: blur(10px); /* Add blur effect */
                -webkit-backdrop-filter: blur(10px); /* Safari support */
                box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
                position: fixed; /* Change from sticky to fixed */
                top: 0;
                left: 0; /* Add left positioning */
                right: 0; /* Add right positioning */
                width: 100%; /* Ensure full width */
                z-index: 1000;
                padding: 0.8rem 0;
                transition: all 0.3s ease;
            }

            .header-container {
                display: flex;
                justify-content: space-between;
                align-items: center;
                max-width: 1200px;
                margin: 0 auto;
                padding: 0 2rem;
            }
            /* Dropdown Styles */

            .dropdown {
                position: relative;
                display: inline-block;
            }

            .dropdown-content {
                display: none;
                position: absolute;
                background-color: var(--white);
                min-width: 220px;
                box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
                border-radius: 4px;
                z-index: 1;
                opacity: 0;
                visibility: hidden;
                transition: all 0.3s ease;
                transform: translateY(10px);
            }

            .dropdown-content a {
                color: var(--dark-gray);
                padding: 12px 16px;
                text-decoration: none;
                display: block;
                text-align: left;
                transition: all 0.2s ease;
            }

            .dropdown-content a:hover {
                background-color: var(--light-blue);
                color: var(--primary-blue);
                padding-left: 20px;
            }

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

            .dropdown .dropbtn i {
                margin-left: 5px;
                font-size: 0.8em;
                transition: transform 0.3s ease;
            }

            .dropdown:hover .dropbtn i {
                transform: rotate(180deg);
            }
            /* Mobile dropdown adjustments */

           /* Improved Mobile Dropdown Styles */
            @media (max-width: 768px) {
                .header-container {
                    padding: 0 1.5rem;
                }

                .mobile-toggle {
                    display: block;
                    z-index: 1001;
                    background: none;
                    border: none;
                    font-size: 1.5rem;
                    cursor: pointer;
                    color: var(--primary-blue);
                }

                nav {
                    position: fixed;
                    top: 80px;
                    left: 0;
                    width: 100%;
                    background: white;
                    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
                    max-height: 0;
                    overflow: hidden;
                    transition: max-height 0.4s ease;
                    z-index: 1000;
                }

                nav.active {
                    max-height: 500px;
                    overflow-y: auto;
                }

                nav ul {
                    flex-direction: column;
                    gap: 0;
                    padding: 0;
                    margin: 0;
                }

                nav li {
                    padding: 0;
                    border-bottom: 1px solid #f1f1f1;
                    position: relative;
                }

                nav a {
                    display: block;
                    padding: 1rem 2rem;
                    width: 100%;
                    text-align: left;
                    border: none;
                    background: none;
                    font-size: 1rem;
                    color: #333;
                    text-decoration: none;
                }

                nav a::after {
                    display: none;
                }

                /* Improved Dropdown styles for mobile */
                .dropdown-content {
                    position: static;
                    box-shadow: none;
                    display: none;
                    opacity: 1;
                    visibility: visible;
                    transform: none;
                    padding-left: 0;
                    background-color: #f8f9fa;
                    border-top: 1px solid #e9ecef;
                    max-height: 0;
                    overflow: hidden;
                    transition: max-height 0.3s ease;
                }

                .dropdown.active .dropdown-content {
                    display: block;
                    max-height: 300px;
                }

                .dropdown-content a {
                    padding: 0.8rem 3rem;
                    border-bottom: 1px solid #e9ecef;
                    color: #666;
                    font-size: 0.95rem;
                }

                .dropdown-content a:hover {
                    background-color: #e9ecef;
                    color: var(--primary-blue);
                    padding-left: 3.5rem;
                }

                .dropdown .dropbtn {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    width: 100%;
                }

                .dropdown .dropbtn i {
                    transition: transform 0.3s ease;
                    font-size: 0.8em;
                    margin-left: 10px;
                }

                .dropdown.active .dropbtn i {
                    transform: rotate(180deg);
                }

                /* Ensure dropdown links look different from main nav items */
                .dropdown-content a {
                    background-color: #f8f9fa;
                    font-weight: normal;
                }

                .dropdown-content a:last-child {
                    border-bottom: none;
                }
            }
            /* Reduce header logo sizes */
                .header-container .logo img {
                    height: 50px;
                    width: auto;
                    transition: transform 0.3s ease;
                }


                /* Fix mobile dropdown styles */
@media (max-width: 768px) {
    .dropdown.active .dropdown-content {
        display: block !important;
        max-height: 300px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .dropdown .dropbtn i {
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropbtn i {
        transform: rotate(180deg) !important;
    }

    /* Ensure proper spacing for dropdown items */
    .dropdown-content a {
        padding: 0.8rem 3rem !important;
        border-bottom: 1px solid #e9ecef !important;
        color: #666 !important;
        font-size: 0.95rem !important;
        background-color: #f8f9fa !important;
    }

    .dropdown-content a:hover {
        background-color: #e9ecef !important;
        color: var(--primary-blue) !important;
        padding-left: 3.5rem !important;
    }
}
            /* Navigation Styles */

            nav ul {
                display: flex;
                gap: 1.8rem;
                list-style: none;
                margin: 0;
                padding: 0;
            }

            nav a {
                color: #333;
                text-decoration: none;
                font-weight: 500;
                font-size: 1.1rem;
                position: relative;
                padding: 0.5rem 0;
                transition: color 0.3s ease;
            }

            nav a:hover {
                color: #0066cc;
            }
            /* Animated underline effect */

            nav a::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 0;
                height: 2px;
                background-color: #0066cc;
                transition: width 0.3s ease;
            }

            nav a:hover::after {
                width: 100%;
            }

            body.menu-open {
                overflow: hidden; /* Optional: prevents scrolling when menu is open */
            }


            /* Mobile Toggle */

            .mobile-toggle {
                display: none;
                cursor: pointer;
                font-size: 1.5rem;
            }
            /* Responsive Design */

            @media (max-width: 768px) {
                .header-container {
                    padding: 0 1.5rem;
                }
                .mobile-toggle {
                    display: block;
                }
                nav {
                    position: absolute;
                    top: 100%;
                    left: 0;
                    width: 100%;
                    background: white;
                    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
                    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
                    transition: clip-path 0.4s ease;
                }
                nav.active {
                    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
                }
                nav ul {
                    flex-direction: column;
                    gap: 0;
                    padding: 1rem 0;
                }
                nav li {
                    padding: 0.8rem 2rem;
                    border-bottom: 1px solid #f1f1f1;
                }
                nav a::after {
                    display: none;
                }
            }

/* Nested Dropdown Styles */
.dropdown-nested {
    position: relative;
}

.dropdown-nested .has-submenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-nested .has-submenu i {
    margin-left: 10px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--white);
    min-width: 280px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateX(10px);
    z-index: 1001;
}

.dropdown-nested:hover .dropdown-submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-submenu a {
    color: var(--dark-gray);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.dropdown-submenu a:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding-left: 20px;
}

/* Hover effect for parent item with submenu */
.dropdown-nested:hover > .has-submenu {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.dropdown-nested:hover .has-submenu i {
    transform: translateX(3px);
}

/* Mobile Nested Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-nested {
        position: relative;
    }

    .dropdown-nested .has-submenu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1rem 2rem;
        background: none;
        border: none;
        color: #333;
        text-align: left;
        cursor: pointer;
    }

    .dropdown-nested .has-submenu i {
        transition: transform 0.3s ease;
        margin-left: auto;
    }

    .dropdown-submenu {
        position: static;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #f0f0f0;
        border-top: 1px solid #e0e0e0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding-left: 0;
    }

    .dropdown-nested.active .dropdown-submenu {
        display: block;
        max-height: 500px;
    }

    .dropdown-nested.active .has-submenu i {
        transform: rotate(90deg);
    }

    .dropdown-submenu a {
        padding: 0.8rem 3.5rem;
        border-bottom: 1px solid #e0e0e0;
        color: #555;
        font-size: 0.9rem;
        background-color: #f0f0f0;
    }

    .dropdown-submenu a:hover {
        background-color: #e0e0e0;
        color: var(--primary-blue);
        padding-left: 4rem;
    }

    .dropdown-submenu a:last-child {
        border-bottom: none;
    }

    /* Prevent desktop hover on mobile */
    .dropdown-nested:hover .dropdown-submenu {
        display: none;
    }

    .dropdown-nested.active:hover .dropdown-submenu {
        display: block;
    }
}




             /* Hero liability Section - Add this to your services.css file */

        .hero-liability-section {
            padding: 80px 0;
            background: radial-gradient(circle at center,
                #b8dcff 30%,      /* light blue center */
                #e4f2ff 60%,     /* softer blue */
                #ffffff 100%      /* white edges */
            );
        }


        .hero-liability-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 40px;
        }

        .hero-liability-content h1 {
            font-size: 3rem;
            color: var(--primary-blue);
            margin-bottom: 30px;
            line-height: 1.2;
            font-weight: 500;
        }

        .hero-liability-content p {
            font-size: 1.15rem;
            color: var(--dark-gray);
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .hero-liability-image {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 25px 70px rgba(13, 61, 117, 0.3);
            transition: transform 0.3s ease;
        }

        .hero-liability-image:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 70px rgba(13, 61, 117, 0.3);
        }

        .hero-liability-image img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        /* Responsive Design for Hero liability Section */
        @media (max-width: 968px) {
            .hero-liability-container {
                grid-template-columns: 1fr;
                gap: 40px;
                padding: 0 30px;
            }

            .hero-liability-content h1 {
                font-size: 2.5rem;
                text-align: center;
            }

            .hero-liability-content p {
                text-align: center;
            }

            .hero-liability-image {
                max-width: 500px;
                margin: 0 auto;
            }
        }

        @media (max-width: 576px) {
            .hero-liability-section {
                padding: 60px 0;
            }

            .hero-liability-container {
                padding: 0 20px;
            }

            .hero-liability-content h1 {
                font-size: 2rem;
            }

            .hero-liability-content p {
                font-size: 1rem;
            }
        }



        /* Key Benefits Section - Add this to your services.css file */

        .key-benefits-section {
            padding: 80px 0;
            background:
                linear-gradient(rgba(240, 240, 240, 0.8), rgba(240, 240, 240, 0.8)), /* Light grey overlay */
                url('../media/backgrounds/about-background.webp') no-repeat center center;
            background-size: cover; /* or use 'contain' depending on your preference */
            background-attachment: fixed; /* Optional: for parallax effect */
            position: relative;
        }

        .key-benefits-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .key-benefits-title h2 {
            font-size: 3rem;
            color: var(--primary-blue);
            font-weight: 500;
            position: relative;
            display: inline-block;
            padding-bottom: 20px;
        }

        .key-benefits-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #0066cc, #00aaff, #0066cc);
            box-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
        }

        .key-benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .key-benefit-card {
            background: radial-gradient(circle at center, #d8ebff 20%, #eaf4ff 80%, #ffffff 100%);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(30px) scale(0.98);
        }


        .key-benefit-card.animate {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .key-benefit-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 40px rgba(0, 102, 204, 0.4), 0 0 20px rgba(0, 170, 255, 0.4);
        }

        .key-benefit-image {
            width: 100%;
            height: 250px;
            overflow: hidden;
        }

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

        .key-benefit-card:hover .key-benefit-image img {
            transform: scale(1.1);
        }

        .key-benefit-content {
            padding: 30px;
        }

        .key-benefit-content h3 {
            font-size: 1.8rem;
            color: var(--primary-blue);
            margin-bottom: 25px;
            font-weight: 500;
            text-align: center;
            position: relative;
            padding-bottom: 15px;
        }

        .key-benefit-content h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--secondary-blue);
        }

        .benefit-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .benefit-list li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
            color: var(--dark-gray);
            font-size: 1rem;
            line-height: 1.6;
        }

        .benefit-list li:last-child {
            margin-bottom: 0;
        }

        .benefit-list i {
            color: var(--secondary-blue);
            margin-right: 12px;
            margin-top: 5px;
            font-size: 0.9rem;
            flex-shrink: 0;
        }

        .benefit-list span {
            flex: 1;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .key-benefits-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 30px;
            }
        }

        @media (max-width: 768px) {
            .key-benefits-section {
                padding: 60px 0;
            }

            .key-benefits-title h2 {
                font-size: 2.5rem;
            }

            .key-benefits-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .key-benefit-content {
                padding: 25px;
            }

            .key-benefit-content h3 {
                font-size: 1.5rem;
            }

            .benefit-list li {
                font-size: 0.95rem;
            }
        }

        @media (max-width: 576px) {
            .key-benefits-title h2 {
                font-size: 2rem;
            }

            .key-benefit-image {
                height: 200px;
            }

            .key-benefit-content {
                padding: 20px;
            }

            .key-benefit-content h3 {
                font-size: 1.3rem;
            }
        }











             /* Footer */
        footer {
            background: linear-gradient(rgba(0, 51, 102, 0.96)), url('../media/backgrounds/footer-background.webp') no-repeat center center;
            color: var(--primary-blue);
            background-size: cover;
            color: white;
            padding: 60px 0 30px;
        }

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

        .footer-logo {
            height: 40px;
            margin-bottom: 20px;
        }

        .footer-about p {
            opacity: 0.8;
            margin-bottom: 20px;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .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%;
            color: var(--white);
            transition: var(--transition);
        }

        .social-links a:hover {
            background: var(--accent-blue);
            transform: translateY(-5px);
        }

        .footer-links h3 {
            color: var(--white);
            margin-bottom: 25px;
            font-size: 1.3rem;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: var(--transition);
            white-space: nowrap;
        }

        .footer-links a:hover {
            color: var(--accent-blue);
            padding-left: 5px;
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0.7;
        }

        /* Mobile dropdown adjustments */
        @media (max-width: 768px) {
            .dropdown-content {
                position: static;
                box-shadow: none;
                display: none;
                opacity: 1;
                visibility: visible;
                transform: none;
                padding-left: 20px;
                background-color: transparent;
            }

            .dropdown.active .dropdown-content {
                display: block;
            }

            .dropdown .dropbtn i {
                float: right;
                margin-top: 5px;
            }

            .dropdown:hover .dropdown-content {
                display: none;
            }

            .dropdown.active .dropbtn i {
                transform: rotate(180deg);
            }

            .header-container {
                padding: 0 1.5rem;
            }

            .mobile-toggle {
                display: block;
            }

            nav {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: white;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
                clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
                transition: clip-path 0.4s ease;
            }

            nav.active {
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            }

            nav ul {
                flex-direction: column;
                gap: 0;
                padding: 1rem 0;
            }

            nav li {
                padding: 0.8rem 2rem;
                border-bottom: 1px solid #f1f1f1;
            }

            nav a::after {
                display: none;
            }

            .page-title h1 {
                font-size: 2.5rem;
            }

            .service-container {
                padding: 40px 30px;
            }

            .service-header h2 {
                font-size: 2rem;
            }

            .service-content p {
                font-size: 1rem;
            }
        }

        @media (max-width: 576px) {
            .page-title h1 {
                font-size: 2.2rem;
            }

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

            .btn {
                width: 100%;
                text-align: center;
            }
        }

/* Scroll to Top Button */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #0d3d75 0%, #0066cc 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 9997;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#scrollToTop:hover {
    background: linear-gradient(135deg, #0066cc 0%, #0078d8 100%);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.5);
}

#scrollToTop.show {
    display: flex;
}

/* Responsive sizing for mobile */
@media (max-width: 768px) {
    #scrollToTop {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
        font-size: 20px;
    }
}
