:root {
    --primary-color: #2a5f8a; /* Navy Blue */
    --secondary-color: #4a9cc9; /* Sky Blue */
    --accent-color: #f8b400; /* Golden Yellow */
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --teal-color: #008080;
    --navy-color: #001f3f;
    --cool-gray: #f0f4f8;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Modern Header Styles */
.top-header {
    background-color: var(--navy-color);
    color: var(--light-color);
    padding: 12px 30px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1000;
}

.top-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,31,63,0.9) 0%, rgba(42,95,138,0.9) 100%);
    z-index: -1;
}
.info a {
    color: var(--cool-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.social-icons a {
    color: var(--light-color);
    margin-left: 15px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}
/* Modern Navigation */
.navbar {
  position: relative;
  z-index: 1040;
}
.main-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(222, 226, 230, 0.5);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}
.main-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.2rem;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: calc(100% - 2.4rem);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}
.dropdown-menu {
    max-height: 70vh;   
    overflow-y: auto; 
    overflow-x: hidden;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: none;
    z-index: 1050;
    position: absolute;
}

.dropdown-item {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--cool-gray);
    color: var(--primary-color);
}
/* Modern Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(42, 95, 138, 0.85) 0%, rgba(0, 31, 63, 0.85) 100%), 
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: white;
    transform: skewY(-3deg);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.hero-section .lead {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-section .btn {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Modern Services Section */
.service-section {
    background: linear-gradient(rgba(245, 248, 252, 0.95), rgba(245, 248, 252, 0.95)), 
                url('https://images.unsplash.com/photo-1600585152220-90363fe7e115?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding: 100px 0;
    position: relative;
}

.section-heading {
    margin-bottom: 70px;
    text-align: center;
}

.section-heading h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--navy-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-heading p {
    font-size: 1.2rem;
    color: var(--dark-color);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

/* General Service Card */
.service-card-advanced {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(222, 226, 230, 0.6);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow: hidden;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

/* Image */
.service-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-advanced:hover .service-image {
    transform: scale(1.05);
}

/* Icon Circle */
.service-icon-wrapper.icon-circle {
    width: 60px;
    height: 60px;
    margin: -30px auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(42, 95, 138, 0.3);
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.service-icon-wrapper.icon-circle {
    width: 60px;
    height: 60px;
    margin: -30px auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(42, 95, 138, 0.3);
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.service-icon-wrapper.icon-circle i {
    color: white;
    transition: color 0.3s ease;
}

.service-card-advanced:hover .icon-circle {
    background-color: white;
    transform: scale(1.1);
}

.service-card-advanced:hover .icon-circle i {
    color: var(--primary-color);
}

/* Content */
.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.service-card-advanced h5 {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.service-card-advanced p {
    color: var(--dark-color);
    margin-bottom: 25px;
    transition: color 0.3s ease;
    flex-grow: 1;
}

.service-card-advanced:hover h5,
.service-card-advanced:hover p {
    color: white !important;
}

.service-card-advanced:hover .btn-outline-primary {
    background: white;
    color: var(--primary-color) !important;
    border-color: white;
}

/* Overlay Gradient */
.service-card-advanced::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card-advanced:hover::after {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1199px) {
    .service-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 991px) {
    .service-image-wrapper {
        height: 180px;
    }

    .service-content {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .service-image-wrapper {
        height: 200px;
    }

    .service-icon-wrapper.icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin: -24px auto 10px;
    }
}

@media (max-width: 575px) {
    .service-image-wrapper {
        height: 180px;
    }

    .service-content {
        padding: 20px;
    }
}

/* Modern More Services Section */
.more-services-section {
    background: linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)), 
                url('https://images.unsplash.com/photo-1600121848594-d8644e57abab?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
}


.more-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(240, 244, 248, 0.95) 100%);
    z-index: 0;
}

.mini-service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(222, 226, 230, 0.6);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
}

.mini-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: height 0.3s ease;
}

.mini-service-card:hover::after {
    height: 6px;
}

.mini-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(42, 95, 138, 0.1);
}

.mini-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.mini-service-card h6 {
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
    margin: 0;
}

.mini-service-card:hover .mini-icon {
    transform: rotate(15deg) scale(1.1);
    color: var(--secondary-color);
}
.mini-service-card a {
    color: var(--dark-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mini-service-card a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.mini-service-card a:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.mini-service-card a:hover::after {
    width: 100%;
}

/* Adding a subtle background on hover */
.mini-service-card a:hover {
    background-color: rgba(42, 95, 138, 0.1);
    border-radius: 4px;
}

 /* ===========================================
    =============================================
    ============================================*/
    /* Service Detail Section */
.service-detail-hero {
    background: linear-gradient(135deg, rgba(42, 95, 138, 0.85) 0%, rgba(0, 31, 63, 0.85) 100%),
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 80%);
}

.service-detail-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: white;
    transform: skewY(-3deg);
    z-index: 1;
}

.modern-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), inset 0 1px 3px rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
    font-size: 2.5rem;
    color: var(--primary-color, #2a5f8a);
    backdrop-filter: blur(10px);
}

.modern-service-icon:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, #2a5f8a, #001f3f);
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .modern-service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .modern-service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}


/* Service Content Section */
.service-content-section {
    padding: 100px 0;
    position: relative;
}

.service-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.service-image-container:hover {
    transform: perspective(1000px) rotateY(0);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

.service-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-image-container:hover .service-image {
    transform: scale(1.05);
}

.service-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-image-container:hover .service-image-overlay {
    opacity: 1;
}

.service-features {
    list-style-type: none;
    padding: 0;
}

.service-features li {
    margin-bottom: 18px;
    padding-left: 35px;
    position: relative;
    font-size: 1.1rem;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
    width: 28px;
    height: 28px;
    background: rgba(42, 95, 138, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Benefits Cards */
.service-benefit-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(222, 226, 230, 0.6);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
}

.service-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transition: height 0.4s ease;
}

.service-benefit-card:hover::before {
    height: 100%;
}

.service-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(42, 95, 138, 0.15);
}

.benefit-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-benefit-card:hover .benefit-icon {
    color: var(--secondary-color);
    transform: scale(1.1) rotate(5deg);
}

/* CTA Section */
.service-cta {
    background: linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)),
                url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
}

.cta-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .service-detail-hero {
        padding: 150px 0 100px;
    }

    .service-content-section {
        padding: 80px 0;
    }

    .service-image-container {
        transform: none;
        margin-bottom: 40px;
    }

    .cta-content {
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .service-detail-hero {
        padding: 120px 0 80px;
        background-attachment: scroll;
    }

    .service-detail-hero h1 {
        font-size: 2.2rem;
    }

    .service-image {
        height: 350px;
    }

    .service-cta {
        background-attachment: scroll;
        padding: 80px 0;
    }

    .cta-content {
        padding: 30px;
    }
}

@media (max-width: 575px) {
    .service-detail-hero {
        padding: 100px 0 60px;
    }

    .service-detail-hero h1 {
        font-size: 1.8rem;
    }

    .service-content-section {
        padding: 60px 0;
    }

    .service-image {
        height: 300px;
    }
}
.service-not-found {
    background: linear-gradient(to right, var(--cool-gray), var(--light-color));
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.not-found-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 50px 30px;
    max-width: 700px;
    width: 100%;
    margin: auto;
}

.not-found-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.not-found-message {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.service-not-found .btn-primary {
    background-color: var(--accent-color);
    border: none;
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-not-found .btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}
.service-not-found {
            width: 100%;
            padding: 100px 20px;
            background: linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)), 
                        url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            position: relative;
        }

        .service-not-found::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
            z-index: 0;
        }

        .service-not-found .container {
            max-width: 900px;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 24px;
            box-shadow: 
                0 20px 60px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            text-align: center;
            padding: 60px 40px;
            position: relative;
            z-index: 2;
            transform: translateY(0);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
        }

        .service-not-found .container:hover {
            transform: translateY(-10px);
            box-shadow: 
                0 30px 80px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.9);
        }

        .service-not-found .container::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                45deg,
                transparent,
                rgba(42, 95, 138, 0.05),
                rgba(74, 156, 201, 0.1),
                rgba(42, 95, 138, 0.05),
                transparent
            );
            transform: rotate(45deg);
            z-index: -1;
            animation: shimmer 8s infinite linear;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%) rotate(45deg); }
            100% { transform: translateX(100%) rotate(45deg); }
        }

        .error-icon {
            font-size: 6rem;
            color: var(--primary-color);
            margin-bottom: 30px;
            display: inline-block;
            position: relative;
            animation: float 3s ease-in-out infinite;
        }

        .error-icon::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 8px;
            background: rgba(42, 95, 138, 0.2);
            border-radius: 50%;
            filter: blur(4px);
            z-index: -1;
            animation: shadow 3s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }

        @keyframes shadow {
            0%, 100% { 
                width: 60px;
                opacity: 0.2;
            }
            50% { 
                width: 70px;
                opacity: 0.3;
            }
        }

        .service-not-found h1 {
            font-size: 3.5rem;
            font-weight: 800;
            color: var(--navy-color);
            margin-bottom: 20px;
            line-height: 1.2;
            position: relative;
            display: inline-block;
        }

        .service-not-found h1::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--accent-color);
            border-radius: 2px;
        }

        .service-not-found .lead {
            font-size: 1.4rem;
            color: var(--dark-color);
            margin-bottom: 40px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            opacity: 0.9;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            border: none;
            padding: 16px 40px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 12px;
            box-shadow: 
                0 5px 15px rgba(42, 95, 138, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            position: relative;
            overflow: hidden;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 
                0 10px 25px rgba(42, 95, 138, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
            color: white;
            text-decoration: none;
        }

        .btn-primary:hover::before {
            left: 100%;
        }

        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 
                0 3px 10px rgba(42, 95, 138, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
        }

        /* Decorative elements */
        .decoration {
            position: absolute;
            z-index: 1;
            pointer-events: none;
        }

        .decoration-circle {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(42, 95, 138, 0.1) 0%, rgba(74, 156, 201, 0.05) 100%);
            top: -60px;
            right: -60px;
        }

        .decoration-square {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, rgba(248, 180, 0, 0.1) 0%, rgba(248, 180, 0, 0.05) 100%);
            bottom: -40px;
            left: -40px;
            transform: rotate(45deg);
        }

        /* Responsive styles */
        @media (max-width: 768px) {
            .service-not-found {
                padding: 60px 15px;
                background-attachment: scroll;
            }
            
            .service-not-found .container {
                padding: 40px 25px;
            }
            
            .error-icon {
                font-size: 4.5rem;
            }
            
            .service-not-found h1 {
                font-size: 2.5rem;
            }
            
            .service-not-found .lead {
                font-size: 1.2rem;
            }
            
            .btn-primary {
                padding: 14px 30px;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .service-not-found .container {
                padding: 30px 20px;
                border-radius: 20px;
            }
            
            .error-icon {
                font-size: 3.5rem;
                margin-bottom: 20px;
            }
            
            .service-not-found h1 {
                font-size: 2rem;
            }
            
            .service-not-found .lead {
                font-size: 1.1rem;
            }
            
            .decoration-circle,
            .decoration-square {
                display: none;
            }
        }
/* ===========================================
=============================================
============================================*/


/* Modern Features Section */
.features-section {
    background: linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)), 
                url('https://images.unsplash.com/photo-1605276374104-dee2a0ed3cd6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-attachment: fixed;
    padding: 120px 0;
    position: relative;
}

.feature-box {
    padding: 50px 40px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(222, 226, 230, 0.5);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transition: height 0.4s ease;
}

.feature-box:hover::before {
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 128, 128, 0.15);
    border-color: rgba(74, 156, 201, 0.3);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--teal-color), var(--secondary-color));
    color: white;
    font-size: 3rem;
    box-shadow: 0 10px 25px rgba(0, 128, 128, 0.3);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border-radius: 50%;
}

.feature-box:hover .feature-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--teal-color));
    box-shadow: 0 15px 35px rgba(74, 156, 201, 0.5);
    transform: rotate(15deg) scale(1.1);
}

.feature-title {
    font-weight: 700;
    color: var(--navy-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}
.features-section .btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50px;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.4s ease;
}

.features-section .btn:hover::after {
    left: 110%;
}
/* Modern About Section */
.about-section {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), 
                url('https://images.unsplash.com/photo-1600607688969-a5bfcd646154?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    position: relative;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--navy-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.about-section img {
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.about-section img:hover {
    transform: scale(1.02);
}

/* Modern Stats Section */
.stats-section {
    background: linear-gradient(135deg, rgba(42, 95, 138, 0.9) 0%, rgba(0, 31, 63, 0.9) 100%), 
                url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: white;
    text-align: center;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 95, 138, 0.85) 0%, rgba(0, 31, 63, 0.85) 100%);
    z-index: 1;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stat-card {
    padding: 50px 30px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: white;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    transition: all 1s ease-out;
}

.stat-card h5 {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}
/* Stats Section Button Styles */
.stats-section .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 10px 24px;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    cursor: pointer;
    border: 2px solid white;
    color: white;
    background: transparent;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stats-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: all 0.4s ease;
    z-index: -1;
}

.stats-section .btn:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.stats-section .btn:hover::before {
    left: 0;
}

/* Optional: Add arrow icon */
.stats-section .btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.stats-section .btn:hover i {
    transform: translateX(3px);
}
/* Modern Why Choose Us Section */
.why-us-section {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), 
                url('https://images.unsplash.com/photo-1600607688969-a5bfcd646154?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-attachment: fixed;
    padding: 120px 0;
    position: relative;
}

.why-us-heading {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--navy-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.why-us-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Modern Quote Section */
.quote-section {
    background: linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)), 
                url('https://images.unsplash.com/photo-1600607688969-a5bfcd646154?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    position: relative;
}

.quote-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    padding: 60px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(222, 226, 230, 0.6);
    transition: all 0.4s ease;
}

.quote-form:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.quote-form h3 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.quote-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}

.form-control {
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(222, 226, 230, 0.8);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(42, 95, 138, 0.2);
}

textarea.form-control {
    min-height: 150px;
}

 /* ===========================================
        =============================================
        ============================================*/
        /* Hero Section */
        .contact-hero {
            background: linear-gradient(rgba(42, 95, 138, 0.8), rgba(42, 95, 138, 0.8)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: white;
            padding: 150px 0;
            position: relative;
            overflow: hidden;
        }

        .contact-hero::after {
            content: '';
            position: absolute;
            bottom: -50px;
            left: 0;
            right: 0;
            height: 100px;
            background: white;
            transform: skewY(-3deg);
            z-index: 1;
        }

        .contact-hero .container {
            position: relative;
            z-index: 2;
        }
        .contact-hero h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .contact-hero .lead {
            font-size: 1.25rem;
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* Contact Form Section */
        .contact-form {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 30px rgba(0,0,0,0.1);
            padding: 40px;
            height: 100%;
        }
        
        .contact-form h2 {
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            font-weight: 600;
        }
        
        .form-control {
            padding: 12px 15px;
            border-radius: 8px;
            border: 1px solid #dee2e6;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(42, 95, 138, 0.25);
        }
        
        textarea.form-control {
            min-height: 150px;
        }
        
        /* Contact Info Box */
        .contact-info-box {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 30px rgba(0,0,0,0.1);
            padding: 40px;
            height: 100%;
        }
        
        .contact-info-box h3 {
            color: var(--primary-color);
            margin-bottom: 2rem;
            font-weight: 600;
            text-align: center;
        }
        
        .contact-icon {
            color: var(--primary-color);
            font-size: 2rem;
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .contact-info-item {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .contact-info-item p {
            margin-bottom: 0.25rem;
            font-size: 1.1rem;
        }
        
        .contact-info-item .highlight {
            font-weight: 600;
            color: var(--primary-color);
            font-size: 1.25rem;
        }
        
        hr.divider {
            border-color: rgba(0,0,0,0.1);
            width: 80%;
            margin: 2rem auto;
        }
        
        /* Buttons */
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            padding: 12px 24px;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .btn-primary:hover {
            background-color: var(--secondary-color);
            border-color: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        
        .btn-accent {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
            color: var(--dark-color);
            font-weight: 500;
            padding: 12px 24px;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .btn-accent:hover {
            background-color: #e0a800;
            border-color: #e0a800;
            color: var(--dark-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        /* ===========================================
        =============================================
        ============================================*/
         /* Privacy Policy Content */
        .privacy-header {
            background-color: var(--light-color);
            padding: 60px 0 40px;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .privacy-content {
            padding: 60px 0;
        }
        
        .privacy-section {
            margin-bottom: 40px;
        }
        
        .privacy-section h2 {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-weight: 600;
        }
        
        .privacy-section h3 {
            color: var(--dark-color);
            margin: 25px 0 15px;
            font-weight: 600;
        }
        
        .privacy-section p {
            margin-bottom: 15px;
        }
        
        .privacy-section ul {
            margin-bottom: 15px;
            padding-left: 20px;
        }
        
        .effective-date {
            font-style: italic;
            color: #666;
            margin-bottom: 30px;
        }

        /* ===========================================
        =============================================
        ============================================*/
        /* Terms and Conditions Content */
        .terms-header {
            background-color: var(--light-color);
            padding: 60px 0 40px;
            border-bottom: 1px solid #e0e0e0;
        }

        .terms-content {
            padding: 60px 0;
        }

        .terms-section {
            margin-bottom: 40px;
        }

        .terms-section h2 {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-weight: 600;
        }

        .terms-section h3 {
            color: var(--dark-color);
            margin: 25px 0 15px;
            font-weight: 600;
        }

        .terms-section h4 {
            color: var(--dark-color);
            margin: 25px 0 15px;
            font-weight: 600;
        }

        .terms-section p {
            margin-bottom: 15px;
        }

        .terms-section ul {
            margin-bottom: 15px;
            padding-left: 20px;
            list-style-type: disc;
        }

        .effective-date {
            font-style: italic;
            color: #666;
            margin-bottom: 30px;
        }

        /* ===========================================
        =============================================
        ============================================*/
        /* California Privacy Policy same style of Terms & Conditions */
        /* ===========================================
        =============================================
        ============================================*/

/* Modern Footer */
footer {
    background: linear-gradient(135deg, var(--navy-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 100px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

.footer-links h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}
.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

 .footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent-color);
}
.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -5px;
}

.social-icons a {
    color: white;
    font-size: 1.3rem;
    margin-right: 20px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 60px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* Modern Buttons */
.btn {
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(42, 95, 138, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(42, 95, 138, 0.2);
}

.btn-outline-light {
    color: white;
    border: 2px solid white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(42, 95, 138, 0.3);
    border: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(42, 95, 138, 0.4);
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .section-heading h2 {
        font-size: 2.5rem;
    }
    
    .feature-icon {
        width: 90px;
        height: 90px;
        font-size: 2.8rem;
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-heading h2 {
        font-size: 2.3rem;
    }
    
    .service-card-advanced,
    .feature-box {
        padding: 40px 25px;
    }
    
    .quote-form {
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 100px 0;
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .section-heading h2 {
        font-size: 2rem;
    }
    
    .section-heading p {
        font-size: 1.1rem;
    }
    
    .service-section,
    .features-section,
    .stats-section,
    .why-us-section,
    .quote-section,
    .about-section,
    .more-services-section {
        padding: 80px 0;
        background-attachment: scroll !important;
    }
    
    .service-card-advanced,
    .feature-box,
    .stat-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .quote-form {
        padding: 30px;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .section-heading h2 {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .service-card-advanced,
    .feature-box,
    .stat-card {
        padding: 25px 15px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mt-n5 {
    margin-top: -3rem !important;
}

.z-1 {
    position: relative;
    z-index: 1;
}

.overflow-hidden {
    overflow: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Scroll Buttons Styling */
  .scroll-to-top,
  .scroll-to-bottom {
    position: fixed;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    cursor: pointer;
    border: none;
    outline: none;
  }

  .scroll-to-top {
    bottom: 30px;
  }

  .scroll-to-bottom {
    bottom: 90px;
  }

  .scroll-to-top.active,
  .scroll-to-bottom.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .scroll-to-top:hover,
  .scroll-to-bottom:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  }

  .scroll-to-top svg,
  .scroll-to-bottom svg {
    width: 24px;
    height: 24px;
  }

  /* Preloader Styling */
  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .scroll-to-top,
    .scroll-to-bottom {
      width: 45px;
      height: 45px;
      right: 20px;
    }
    
    .scroll-to-top {
      bottom: 20px;
    }
    
    .scroll-to-bottom {
      bottom: 75px;
    }
  }