 :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;
    }
}

/* Triple Nested Dropdown (Level 3 - Liability Insurance sub-items) */
        .dropdown-triple-nested {
            position: relative;
        }

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

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

        .dropdown-submenu-triple {
            display: none;
            position: absolute;
            left: 100%;
            top: 0;
            background-color: var(--white);
            min-width: 250px;
            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: 1003;
        }

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

        .dropdown-submenu-triple a {
            color: #333;
            padding: 10px 16px;
            text-decoration: none;
            display: block;
            transition: all 0.2s ease;
            font-size: 0.9rem;
        }

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

        /* Hover effects */
        .dropdown-nested:hover > .has-submenu,
        .dropdown-triple-nested:hover > .has-submenu-triple {
            background-color: var(--light-blue);
            color: var(--primary-blue);
        }

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

        /* Mobile Styles */
        @media (max-width: 768px) {
            .mobile-toggle {
                display: block;
                z-index: 1001;
            }

            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: 80vh;
                overflow-y: auto;
            }

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

            nav li {
                border-bottom: 1px solid #f1f1f1;
            }

            nav a {
                display: block;
                padding: 1rem 2rem;
            }

            .dropdown-content {
                position: static;
                box-shadow: none;
                display: none;
                opacity: 1;
                visibility: visible;
                transform: none;
                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: 500px;
            }

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

            /* Mobile Level 2 (General Insurance submenu) */
            .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;
            }

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

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

            /* Mobile Level 3 (Liability Insurance submenu) */
            .dropdown-submenu-triple {
                position: static;
                box-shadow: none;
                display: none;
                opacity: 1;
                visibility: visible;
                transform: none;
                background-color: #e8e8e8;
                border-top: 1px solid #d0d0d0;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
            }

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

            .dropdown-submenu-triple a {
                padding: 0.7rem 4.5rem;
                border-bottom: 1px solid #d0d0d0;
                color: #444;
                background-color: #e8e8e8;
                font-size: 0.9rem;
            }

            .dropdown-nested .has-submenu,
            .dropdown-triple-nested .has-submenu-triple {
                display: flex;
                justify-content: space-between;
                width: 100%;
            }

            .dropdown-nested .has-submenu i,
            .dropdown-triple-nested .has-submenu-triple i {
                transition: transform 0.3s ease;
            }

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

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

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

        /* Demo content */
        .content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .content h1 {
            color: var(--primary-blue);
            margin-bottom: 20px;
        }

        .content p {
            line-height: 1.6;
            color: #333;
        }
        /* Mobile Navigation Styles - COMPLETE FIX */
@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: 80vh;
        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;
    }

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

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

    .dropdown-content a,
    .dropdown-content > .dropdown-nested > .has-submenu {
        padding: 0.8rem 3rem;
        border-bottom: 1px solid #e9ecef;
        color: #666;
        font-size: 0.95rem;
        display: block;
    }

    .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;
    }

    /* Level 2: General Insurance submenu */
    .dropdown-nested {
        position: relative;
    }

    .dropdown-nested .has-submenu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.8rem 3rem;
        background: none;
        border: none;
        color: #666;
        text-align: left;
        cursor: pointer;
        font-size: 0.95rem;
        border-bottom: 1px solid #e9ecef;
    }

    .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: 0;
    }

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

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

    .dropdown-submenu a,
    .dropdown-submenu > .dropdown-triple-nested > .has-submenu-triple {
        padding: 0.8rem 3.5rem;
        border-bottom: 1px solid #e0e0e0;
        color: #555;
        background-color: #f0f0f0;
        display: block;
    }

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

    /* Level 3: Liability Insurance submenu */
    .dropdown-triple-nested {
        position: relative;
    }

    .dropdown-triple-nested .has-submenu-triple {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.8rem 3.5rem;
        background: none;
        border: none;
        color: #555;
        text-align: left;
        cursor: pointer;
        font-size: 0.9rem;
        border-bottom: 1px solid #e0e0e0;
        background-color: #f0f0f0;
    }

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

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

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

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

    .dropdown-submenu-triple a {
        padding: 0.7rem 4.5rem;
        border-bottom: 1px solid #d0d0d0;
        color: #444;
        background-color: #e8e8e8;
        font-size: 0.9rem;
        display: block;
    }

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

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

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




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

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


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

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

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

        .hero-tci-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-tci-image:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 70px rgba(13, 61, 117, 0.3);
        }

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

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

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

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

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

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

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

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

            .hero-tci-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;
            }
        }






        /* MTO Insurance Section Styles */
        .hero-mto-section {
            padding: 80px 0;
            background: radial-gradient(circle at center,
                #f7e9c6 30%,     /* light golden */
                #fdf7e8 80%,    /* softer gold */
                #ffffff 100%     /* white edges */
            );
        }


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

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

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

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

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

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

        /* MTO Benefits Section */
        .mto-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/service-page-images/mto-services.webp') no-repeat center center;
            background-size: cover; /* or use 'contain' depending on your preference */
            background-attachment: fixed; /* Optional: for parallax effect */
            position: relative;
        }

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

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

        .mto-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);
        }

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

        .mto-benefit-card {
            background: radial-gradient(circle at center, #faeac5 20%, #fff7e9 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);
        }


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

        .mto-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);
        }

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

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

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

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

        .mto-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;
        }

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

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

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

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

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

        .mto-benefit-list span {
            flex: 1;
        }

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

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

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

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

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

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

            .mto-benefits-section {
                padding: 60px 0;
            }

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

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

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

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

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

        @media (max-width: 576px) {
            .hero-mto-content h1 {
                font-size: 2rem;
            }

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

            .mto-benefits-title h2 {
                font-size: 2rem;
            }

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

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

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






        /* Surety Bonds Section Styles */
        .hero-surety-section {
            padding: 80px 0;
            background: radial-gradient(circle at center,
                #d9f7e5 30%,    /* soft mint/light green center */
                #e9fcee 60%,    /* lighter green */
                #ffffff 100%    /* white edges */
            );
        }


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

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

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

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

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

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

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

        .surety-process-title {
            text-align: center;
            margin-bottom: 60px;
        }

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

        .surety-process-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);
        }

        /* Replace the existing surety-process-card styles with this: */

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

        .surety-process-card {
            background: radial-gradient(circle at center,
                #d9f7e5 20%,    /* soft mint/light green center */
                #e9fcee 60%,    /* lighter green */
                #ffffff 100%    /* white edges */
            );
            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);
        }

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

        .surety-process-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);
        }

        .surety-process-image {
            width: 100%;
            height: 250px;
            overflow: hidden;
        }

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

        .surety-process-card:hover .surety-process-image img {
            transform: scale(1.1);
        }

        .surety-process-content {
            padding: 30px;
        }

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

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

        .surety-process-content p {
            font-size: 1.1rem;
            color: var(--dark-gray);
            line-height: 1.7;
            margin: 0;
            text-align: center;
        }




        /* General Insurance Section Styles */
        .hero-general-section {
            padding: 80px 0;
            background: radial-gradient(circle at center,
                #e9d9ff 20%,    /* soft lavender/purple center */
                #f3eaff 80%,    /* lighter purple */
                #ffffff 100%    /* white edges */
            );
        }


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

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

        .hero-subtitle {
            font-size: 1.5rem;
            color: var(--secondary-blue);
            font-weight: 600;
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .cta-text {
            font-size: 1.3rem;
            color: var(--dark-gray);
            font-weight: 500;
            margin-bottom: 0;
            font-style: italic;
        }

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

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

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

        /* General Products Section */
        .general-products-section {
            padding: 80px 0;
            background:
                linear-gradient(rgba(240, 240, 240, 0.8), rgba(240, 240, 240, 0.8)),
                url('../media/service-page-images/general-insurance-services.webp') no-repeat center center;
            background-size: cover;
            background-attachment: fixed;
            position: relative;
        }

        .general-products-title {
            text-align: center;
            margin-bottom: 60px;
            font-weight: 500;
        }

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

        .general-products-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);
        }

       /* General Products Grid - Fixed Layout */
.general-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

/* Remove all the nth-child grid-column positioning */
.general-product-card {
    background: radial-gradient(circle at center,
        #e9d9ff 20%,
        #f3eaff 70%,
        #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);
}

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

/* Responsive Design for General Insurance Cards */
@media (max-width: 1200px) {
    .general-products-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on medium screens */
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .general-products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .general-products-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 20px;
        margin-bottom: 50px;
    }

    .general-product-content {
        padding: 25px;
    }

    .general-product-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .general-product-image {
        height: 200px;
    }

    .general-product-content {
        padding: 20px;
    }

    .general-product-content h3 {
        font-size: 1.1rem;
    }

    .general-products-grid {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .general-product-image {
        height: 180px;
    }

    .general-product-content h3 {
        font-size: 1rem;
    }

    .general-product-content {
        padding: 15px;
    }
}

        .general-product-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);
        }

        .general-product-image {
            width: 100%;
            height: 250px;
            overflow: hidden;
        }

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


        .general-product-card:hover .general-product-image img {
            transform: scale(1.1);
        }

        .general-product-content {
            padding: 30px;
            text-align: center;
        }

        .general-product-content h3 {
            font-size: 1.1rem;
            color: var(--primary-blue);
            margin-bottom: 0;
            font-weight: 500;
            position: relative;
            padding-bottom: 0;
        }

        /* Remove the underline from h3 since we don't need it for single-line titles */
        .general-product-content h3::after {
            display: none;
        }

        /* Responsive Design for General Insurance Cards */
        @media (max-width: 1200px) {
            .general-products-grid {
                grid-template-columns: repeat(3, 1fr); /* 3 columns on medium screens */
                gap: 25px;
            }

            /* Reset grid column positions for 3-column layout */
            .general-product-card:nth-child(5),
            .general-product-card:nth-child(6),
            .general-product-card:nth-child(7) {
                grid-column: auto;
            }
        }


        /* General Product Card Arrow Button */
.general-product-card {
    position: relative;
    transition: all 0.3s ease;
}

.general-product-content {
    padding: 30px;
    text-align: center;
    position: relative;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.general-product-content h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-weight: 500;
    padding: 0 20px;
    transition: color 0.3s ease;
}

       /* Alternative: Subtle version when not hovered */
.product-arrow-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 204, 0.1); /* More subtle background */
    border: 2px solid var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-blue); /* Blue icon instead of white */
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateX(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.general-product-card:hover .product-arrow-btn {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--accent-blue) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(13, 61, 117, 0.3);
}

.product-arrow-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    transform: scale(1.1);
    color: white;
}

.product-arrow-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.product-arrow-btn:hover i {
    transform: translateX(3px);
}

/* Make entire card clickable on hover */
.general-product-card:hover {
    cursor: pointer;
}

.general-product-card:hover .general-product-content h3 {
    color: var(--secondary-blue);
}

/* Add a subtle overlay effect on card hover */
.general-product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 61, 117, 0.05);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.general-product-card:hover::after {
    opacity: 1;
}

        @media (max-width: 992px) {
            .general-products-grid {
                grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
                gap: 20px;
            }
        }

        @media (max-width: 768px) {
            .general-products-grid {
                grid-template-columns: 1fr; /* 1 column on mobile */
                gap: 20px;
                margin-bottom: 50px;
            }

            .general-product-content {
                padding: 25px;
            }

            .general-product-content h3 {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 576px) {
            .general-product-image {
                height: 200px;
            }

            .general-product-content {
                padding: 20px;
            }

            .general-product-content h3 {
                font-size: 1.1rem;
            }

            .general-products-grid {
                gap: 15px;
            }
        }

        @media (max-width: 480px) {
            .general-product-image {
                height: 180px;
            }

            .general-product-content h3 {
                font-size: 1rem;
            }

            .general-product-content {
                padding: 15px;
            }
        }





        /* CTA Section */
               /* CTA Section */
        .cta-section {
            padding: 0;
        }

        .cta-background-container {
            background: transparent; /* Remove blue gradient background */
            padding: 80px 0;
            position: relative;
        }

        /* Remove the pseudo-element that was creating the blue layer */
        .cta-background-container::before {
            display: none;
        }

        .cta-container {
            background: radial-gradient(circle at center,
                #e9d9ff 20%,    /* soft lavender/purple center */
                #f3eaff 60%,    /* lighter purple */
                #ffffff 100%    /* white edges */
            );
            backdrop-filter: blur(20px);
            border: 2px solid rgba(255, 255, 255, 0.8);
            border-radius: 20px;
            padding: 60px 40px;
            box-shadow: 0 15px 50px rgba(0, 102, 204, 0.2);
            text-align: center;
            transition: all 0.4s ease;
            position: relative;
            z-index: 2;
        }

        .cta-container:hover {
            background: radial-gradient(circle at center,
                #e9d9ff 20%,    /* soft lavender/purple center */
                #f3eaff 60%,    /* lighter purple */
                #ffffff 100%    /* white edges */
            );
            transform: translateY(-5px);
            box-shadow: 0 20px 60px rgba(0, 102, 204, 0.3);
            border: 2px solid rgba(255, 255, 255, 0.9);
        }

        .cta-content h2 {
            font-size: 2.5rem;
            color: var(--primary-blue) !important;
            margin-bottom: 1.5rem;
            font-weight: 500;
        }

        .cta-content p {
            color: var(--dark-gray) !important;
            font-size: 1.2rem;
            margin-bottom: 2.5rem;
            opacity: 0.9;
        }

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

        /* CTA Button Styles */
        .cta-container .btn {
            background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--accent-blue) 100%);
            color: white;
            border: none;
            padding: 16px 35px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
        }

        .cta-container .btn:hover {
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(0, 102, 204, 0.4);
            color: white;
        }

        /* Responsive Design for CTA Section */
        @media (max-width: 768px) {
            .cta-background-container {
                padding: 60px 0;
            }

            .cta-container {
                padding: 40px 25px;
                margin: 0 15px;
            }

            .cta-content h2 {
                font-size: 2rem;
            }

            .cta-content p {
                font-size: 1.1rem;
            }

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

            .cta-container .btn {
                width: 100%;
                max-width: 280px;
            }
        }

        @media (max-width: 576px) {
            .cta-background-container {
                padding: 50px 0;
            }

            .cta-container {
                padding: 30px 20px;
            }

            .cta-content h2 {
                font-size: 1.8rem;
            }

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


        /* 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;
            }
        }

         /* Chatbot Styles */
        .hidden {
            display: none !important;
        }

        #chatbot-toggle {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(135deg, #0061ff 0%, #60efff 100%);
            color: white;
            font-size: 0; /* Hide emoji text */
            padding: 0; /* Remove padding since we're using image */
            border-radius: 50%;
            cursor: pointer;
            z-index: 9999;
            box-shadow: 0 6px 15px rgba(0, 97, 255, 0.4);
            border: none;
            width: 100px; /* Adjust this to change size */
            height: 100px; /* Adjust this to change size */
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            overflow: hidden; /* Ensures image doesn't overflow */
        }

        #chatbot-toggle img {
            width: 100%; /* Makes image fill the button */
            height: 100%;
            object-fit: cover; /* Ensures image covers the area properly */
            border-radius: 50%; /* Makes image circular */
        }

        #chatbot-toggle:hover {
            transform: scale(1.1) rotate(10deg);
            box-shadow: 0 8px 20px rgba(0, 97, 255, 0.6);
        }

        /* Responsive sizing for mobile */
        @media (max-width: 768px) {
            #chatbot-toggle {
                width: 60px; /* Smaller on mobile */
                height: 60px;
                bottom: 20px;
                right: 20px;
            }
        }

        @media (max-width: 480px) {
            #chatbot-toggle {
                width: 50px; /* Even smaller on very small screens */
                height: 50px;
                bottom: 15px;
                right: 15px;
            }
        }

        #chatbot-overlay {
            position: fixed;
            top: 100px;
            right: 20px;
            bottom: 20px;
            width: 400px;
            background-color: white;
            border-radius: 20px;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
            display: none;
            z-index: 9998;
            opacity: 0;
            transform: translateX(20px);
            transition: all 0.4s ease;
            padding: 20px;
            box-sizing: border-box;
            overflow: hidden;
            border: 1px solid #e0e0e0;
        }

        #chatbot-overlay.show {
            display: block;
            opacity: 1;
            transform: translateX(0);
        }

        .chatbot-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: white;
            border: none;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            cursor: pointer;
            font-size: 22px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            color: #666;
            transition: all 0.2s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .chatbot-close:hover {
            background: #f0f0f0;
            color: #000;
            transform: rotate(90deg);
        }

        .integrated-chatbot-container {
            height: 100%;
            display: flex;
            flex-direction: column;
            background: white;
            border-radius: 12px;
            overflow: hidden;
        }

        .chatbot-header {
            background: linear-gradient(135deg, #0d3d75 0%, #0066cc 100%);
            color: white;
            padding: 20px;
            text-align: center;
        }

        .chatbot-header h2 {
            font-size: 1.7em;
            margin-bottom: 5px;
            font-weight: 700;
            background: linear-gradient(90deg, #0066cc, #00aaff, #0066cc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            background-size: 200% auto;
        }

        .chatbot-header p {
            font-size: 1.1em;
            opacity: 0.9;
            margin: 0;
        }

        .chat-messages {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            background: #f8f9fa;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .message {
            max-width: 85%;
            padding: 12px 16px;
            border-radius: 18px;
            font-size: 1.05em;
            line-height: 1.4;
            animation: slideIn 0.3s ease-out;
        }

        .bot-message {
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
            color: #1565c0;
            align-self: flex-start;
            border-bottom-left-radius: 4px;
        }

        .user-message {
            background: linear-gradient(135deg, #0d3d75 0%, #0066cc 100%);
            color: white;
            align-self: flex-end;
            border-bottom-right-radius: 4px;
        }

        .options-container {
            margin-top: 10px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .option-btn {
            background: white;
            border: 2px solid #0066cc;
            color: #0066cc;
            padding: 10px 15px;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9em;
            text-align: left;
            font-weight: 500;
        }

        .option-btn:hover {
            background: #0066cc;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,102,204,0.3);
        }

        .typing-indicator {
            display: none;
            align-self: flex-start;
            background: #e9ecef;
            padding: 12px 16px;
            border-radius: 18px;
            border-bottom-left-radius: 4px;
        }

        .typing-dots {
            display: flex;
            gap: 4px;
        }

        .typing-dot {
            width: 8px;
            height: 8px;
            background: #6c757d;
            border-radius: 50%;
            animation: typing 1.4s infinite ease-in-out;
        }

        .typing-dot:nth-child(1) { animation-delay: -0.32s; }
        .typing-dot:nth-child(2) { animation-delay: -0.16s; }

        @keyframes typing {
            0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
            40% { transform: scale(1); opacity: 1; }
        }

        @keyframes slideIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .chat-messages::-webkit-scrollbar {
            width: 6px;
        }

        .chat-messages::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }

        .chat-messages::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 3px;
        }

        .chat-messages::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }


        /* 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;
    }
}
