/********** Template CSS **********/
/* Solar Care Brand Colors - Based on Logo - Enhanced */
:root {
    --primary-teal: #1F6F73;
    --primary-teal-light: #2A8A8F;
    --primary-teal-dark: #18565A;
    --deep-blue: #143B4A;
    --deep-blue-light: #1A4F5F;
    --gold-accent: #C9A35D;
    --gold-accent-light: #D4B370;
    --gold-accent-dark: #B8924F;
    --soft-white: #F7FAFA;
    --soft-white-alt: #FFFFFF;
    --neutral-grey: #6B7280;
    --neutral-grey-light: #9CA3AF;
    --neutral-grey-dark: #4B5563;
    --primary: #1F6F73;
    --light: #F7FAFA;
    --dark: #143B4A;
    
    /* Gradient Colors */
    --gradient-teal: linear-gradient(135deg, #1F6F73 0%, #2A8A8F 100%);
    --gradient-blue: linear-gradient(135deg, #143B4A 0%, #1A4F5F 100%);
    --gradient-gold: linear-gradient(135deg, #C9A35D 0%, #D4B370 100%);
    --gradient-hero: linear-gradient(135deg, rgba(20, 59, 74, 0.85) 0%, rgba(31, 111, 115, 0.75) 100%);
}

/* Typography - Solar Care Brand Fonts - Enhanced */
body {
    font-family: 'Inter', 'Roboto', sans-serif;
    color: var(--neutral-grey);
    background-color: var(--soft-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--deep-blue);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

.text-primary {
    color: var(--primary-teal) !important;
}

/* Highlight keywords and numbers in gold */
.highlight-gold {
    color: var(--gold-accent) !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(201, 163, 93, 0.2);
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background: var(--gradient-gold) !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(201, 163, 93, 0.4);
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(201, 163, 93, 0.5);
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button - Solar Care Brand Style - Enhanced ***/
.btn {
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    padding: 12px 30px;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.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: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Primary CTA Button - Gold with Gradient */
.btn-primary {
    background: var(--gradient-gold) !important;
    border: none !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(201, 163, 93, 0.35), 0 2px 8px rgba(201, 163, 93, 0.2);
    position: relative;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    border-radius: 10px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B8924F 0%, #C9A35D 100%) !important;
    box-shadow: 0 8px 25px rgba(201, 163, 93, 0.45), 0 4px 12px rgba(201, 163, 93, 0.3);
    transform: translateY(-3px);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(201, 163, 93, 0.3);
}

/* Secondary CTA Button - Teal with Gradient */
.btn-outline-primary {
    border: 2px solid var(--primary-teal) !important;
    color: var(--primary-teal) !important;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-teal);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-outline-primary:hover::before {
    width: 100%;
}

.btn-outline-primary:hover {
    border-color: var(--primary-teal-light) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 111, 115, 0.25);
}

/* Teal Secondary Button */
.btn-teal {
    background: var(--gradient-teal) !important;
    border: none !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(31, 111, 115, 0.3);
}

.btn-teal:hover {
    background: linear-gradient(135deg, #18565A 0%, #1F6F73 100%) !important;
    box-shadow: 0 6px 20px rgba(31, 111, 115, 0.4);
    transform: translateY(-2px);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar - Solar Care Brand Style - Enhanced ***/
.navbar {
    background-color: #FFFFFF !important;
    box-shadow: 0 4px 20px rgba(20, 59, 74, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.sticky-top {
    top: -100px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.sticky-top.shadow-sm {
    box-shadow: 0 6px 30px rgba(20, 59, 74, 0.15);
    background-color: rgba(255, 255, 255, 0.98) !important;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
    transition: all 0.3s ease;
}

.navbar .navbar-brand:hover {
    transform: scale(1.05);
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--deep-blue);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary-teal);
    transform: translateY(-2px);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    /* Mobile Navbar Improvements */
    .navbar {
        padding: 10px 0 !important;
    }

    .navbar .navbar-brand {
        height: 60px !important;
        padding: 5px 15px !important;
    }

    .navbar .navbar-brand img {
        max-height: 50px !important;
    }

    .navbar-toggler {
        border: 2px solid var(--primary-teal);
        border-radius: 8px;
        padding: 8px 12px;
        margin-right: 15px;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(31, 111, 115, 0.25);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(31, 111, 115, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar .navbar-nav {
        border-top: 1px solid rgba(31, 111, 115, 0.15);
        margin-top: 10px;
        padding-top: 10px;
        background-color: #FFFFFF;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 15px rgba(20, 59, 74, 0.1);
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 20px !important;
        border-bottom: 1px solid rgba(31, 111, 115, 0.08);
        font-size: 14px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .navbar .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        background-color: rgba(31, 111, 115, 0.08);
        color: var(--primary-teal);
        padding-left: 25px;
        border-left: 3px solid var(--gold-accent);
    }

    .navbar .navbar-nav .nav-link::after {
        display: none; /* Hide desktop underline on mobile */
    }

    .navbar .navbar-nav .dropdown-menu {
        background-color: rgba(31, 111, 115, 0.05);
        border: none;
        border-radius: 8px;
        margin: 5px 20px;
        box-shadow: none;
    }

    .navbar .navbar-nav .dropdown-item {
        padding: 10px 25px;
        font-size: 13px;
    }

    .navbar .navbar-nav .dropdown-item:hover,
    .navbar .navbar-nav .dropdown-item.active {
        background-color: rgba(31, 111, 115, 0.1);
        color: var(--primary-teal);
    }

    /* Hide Get Special Discount button on mobile navbar */
    .navbar .btn-primary.d-none.d-lg-block {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header - Solar Care Brand Style - Enhanced ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
}

.owl-carousel-inner h1 {
    color: #FFFFFF;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.owl-carousel-inner p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Hero Subtitle - Professional Sub-line */
.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    margin-top: -8px;
    margin-bottom: 25px !important;
    font-family: 'Inter', 'Roboto', sans-serif;
    opacity: 0.95;
    line-height: 1.6;
    display: block;
}

/* Desktop Hero Subtitle Enhancement */
@media (min-width: 992px) {
    .hero-subtitle {
        font-size: 1.5rem;
        margin-top: -10px;
        margin-bottom: 30px !important;
    }
}

@media (max-width: 768px) {
    /* Increased Mobile Hero Height */
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 550px; /* Increased from 400px */
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Mobile Hero Section - Professional & Clean Look - Left Aligned - No Side Padding */
    .header-carousel {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .header-carousel .owl-carousel-item {
        margin: 0 !important;
        padding: 0 !important;
    }

    .owl-carousel-inner {
        padding: 40px 15px !important; /* Reduced side padding */
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .owl-carousel-inner .container {
        padding: 0 15px !important; /* Minimal side padding for text readability */
        width: 100% !important;
        max-width: 100% !important;
    }

    .owl-carousel-inner .row {
        margin: 0 !important;
        justify-content: flex-start !important; /* Left alignment */
    }

    .owl-carousel-inner .col-10 {
        padding: 0 !important;
        max-width: 100% !important;
        text-align: left !important; /* Left text alignment */
    }

    /* Remove container padding for hero carousel - Full Width */
    .container-fluid.p-0,
    .container-fluid.p-0.pb-5 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Hero carousel wrapper - full width */
    .header-carousel,
    .owl-carousel {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Mobile Heading - Professional Styling - Left Aligned with Animation */
    .owl-carousel-inner h1 {
        font-size: 2rem !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
        font-weight: 800 !important;
        letter-spacing: -0.02em !important;
        text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4) !important;
        text-align: left !important; /* Left alignment */
    }

    /* Ensure animations work on mobile */
    .owl-carousel-inner .animated {
        animation-fill-mode: both !important;
        animation-duration: 1s !important;
    }

    /* Mobile Subtitle - Professional Sub-line - Left Aligned with Animation */
    .owl-carousel-inner .hero-subtitle {
        font-size: 1rem !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
        margin-top: 0 !important;
        margin-bottom: 25px !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
        letter-spacing: 0.3px !important;
        opacity: 0.95 !important;
        display: block !important;
        text-align: left !important; /* Left alignment */
    }

    /* Mobile Paragraph - Hide Long Description */
    .owl-carousel-inner p:not(.hero-subtitle) {
        display: none !important; /* Hide long description on mobile */
    }

    /* Mobile Button - Professional Styling - Left Aligned with Animation */
    .owl-carousel-inner .btn {
        padding: 12px 30px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border-radius: 30px !important;
        margin-top: 10px !important;
        box-shadow: 0 6px 20px rgba(201, 163, 93, 0.4) !important;
        letter-spacing: 0.5px !important;
        text-transform: uppercase !important;
        text-align: center !important; /* Button text centered */
        display: inline-block !important; /* Left aligned button container */
    }

    /* Better spacing for mobile - minimal side padding */
    .owl-carousel-inner .col-10.col-lg-8 {
        padding: 0 15px !important; /* Minimal padding for text readability */
    }

    /* Left align content on mobile */
    .owl-carousel-inner .row.justify-content-start {
        justify-content: flex-start !important; /* Left alignment */
        text-align: left !important; /* Left text alignment */
    }

    /* Improve mobile carousel dots visibility */
    .header-carousel .owl-dots {
        right: 15px !important;
        width: 50px !important;
    }

    .header-carousel .owl-dots .owl-dot {
        width: 40px !important;
        height: 40px !important;
        margin: 4px 0 !important;
    }

    .header-carousel .owl-dots .owl-dot.active {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Tablet adjustments - Show some content but still reduced */
@media (min-width: 769px) and (max-width: 991px) {
    .owl-carousel-inner h1 {
        font-size: 2.25rem !important;
    }

    .owl-carousel-inner p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, .9);
    border-radius: 45px;
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
}

.page-header {
    background: var(--gradient-hero), url(../img/solar%20care/fully-automatic-solar-panel-cleaning-sprinkler-system-for-industrial-964.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(31, 111, 115, 0.3) 0%, rgba(20, 59, 74, 0.6) 100%);
}

.page-header h1 {
    color: #FFFFFF;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-weight: 800;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service - Solar Care Brand Style - Enhanced ***/
.service-item {
    box-shadow: 0 6px 25px rgba(20, 59, 74, 0.1);
    border-radius: 16px;
    background: #FFFFFF;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(31, 111, 115, 0.1);
    position: relative;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-teal);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    box-shadow: 0 12px 40px rgba(31, 111, 115, 0.2);
    transform: translateY(-8px);
    border-color: rgba(31, 111, 115, 0.3);
}

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    background: linear-gradient(135deg, #FFFFFF 0%, #F7FAFA 100%);
    border-radius: 100px;
    box-shadow: 0 6px 20px rgba(31, 111, 115, 0.25), 0 2px 8px rgba(31, 111, 115, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid var(--primary-teal);
    z-index: 2;
}

.service-item:hover .service-icon {
    color: #FFFFFF;
    background: var(--gradient-teal);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(31, 111, 115, 0.35);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio - Solar Care Brand Style - Enhanced ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 600;
    color: var(--deep-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-family: 'Poppins', sans-serif;
    padding: 8px 20px;
    margin: 0 5px;
    border-radius: 8px;
    position: relative;
    background: transparent;
}

#portfolio-flters li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

#portfolio-flters li:hover {
    color: var(--primary-teal);
    background: rgba(31, 111, 115, 0.05);
    transform: translateY(-2px);
}

#portfolio-flters li:hover::before {
    width: 80%;
}

#portfolio-flters li.active {
    color: var(--primary-teal);
    background: rgba(31, 111, 115, 0.1);
    border-bottom-color: var(--gold-accent);
}

#portfolio-flters li.active::before {
    width: 100%;
}

.portfolio-img {
    position: relative;
}

.portfolio-img::before,
.portfolio-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    background: rgba(31, 111, 115, 0.9);
    transition: .5s;
}

.portfolio-img::before {
    left: 50%;
}

.portfolio-img::after {
    right: 50%;
}

.portfolio-item:hover .portfolio-img::before {
    width: 51%;
    left: 0;
    background: rgba(31, 111, 115, 0.95);
}

.portfolio-item:hover .portfolio-img::after {
    width: 51%;
    right: 0;
    background: rgba(31, 111, 115, 0.95);
}

.portfolio-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(31, 111, 115, 0.1);
    backdrop-filter: blur(5px);
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    transition-delay: 0.2s;
}

.portfolio-btn .btn {
    background: var(--gradient-gold);
    border: none;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(201, 163, 93, 0.4);
    margin: 0 8px;
    transition: all 0.3s ease;
}

.portfolio-btn .btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(201, 163, 93, 0.5);
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 6px 25px rgba(20, 59, 74, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(31, 111, 115, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: #FFFFFF;
}

.team-item:hover {
    box-shadow: 0 12px 40px rgba(31, 111, 115, 0.2);
    transform: translateY(-8px);
    border-color: rgba(31, 111, 115, 0.3);
}

.team-item img {
    border-radius: 16px 16px 0 0;
    transition: all 0.4s ease;
}

.team-item:hover img {
    transform: scale(1.05);
}

.team-item .team-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(31, 111, 115, 0.05) 0%, #FFFFFF 100%);
    transition: all 0.4s ease;
}

.team-item:hover .team-social {
    background: linear-gradient(180deg, rgba(31, 111, 115, 0.1) 0%, #FFFFFF 100%);
}

.team-item .team-social .btn {
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    background: transparent;
    transition: all 0.3s ease;
}

.team-item .team-social .btn:hover {
    background: var(--gradient-teal);
    color: #FFFFFF;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(31, 111, 115, 0.3);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 6px 25px rgba(20, 59, 74, 0.12);
    transform: scale(.85);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    background: #FFFFFF;
    border: 1px solid rgba(31, 111, 115, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-carousel .owl-item .testimonial-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-gold);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
    box-shadow: 0 12px 40px rgba(31, 111, 115, 0.2);
    border-color: rgba(31, 111, 115, 0.3);
}

.testimonial-carousel .owl-item.center .testimonial-text::before {
    transform: scaleY(1);
}

/* Testimonial Text Styling - Enhanced */
.testimonial-text p {
    color: var(--neutral-grey);
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    padding: 0 10px;
}

.testimonial-text h5 {
    color: var(--deep-blue);
    font-weight: 700;
    margin-top: 15px;
    font-size: 1.1rem;
}

.testimonial-text .fst-italic {
    color: var(--primary-teal);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Testimonial Image Hover Effect */
.testimonial-img img {
    transition: all 0.4s ease;
    border: 3px solid rgba(31, 111, 115, 0.2);
}

.testimonial-item:hover .testimonial-img img {
    transform: scale(1.05);
    border-color: var(--gold-accent);
    box-shadow: 0 8px 25px rgba(201, 163, 93, 0.3);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer - Solar Care Brand Style - Enhanced ***/
.footer {
    background: linear-gradient(135deg, #0f2b36 0%, #143B4A 100%) !important; /* Darker deep blue */
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(201, 163, 93, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(31, 111, 115, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.footer h5 {
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 60px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.footer p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer .btn.btn-social {
    margin-right: 10px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.footer .btn.btn-social:hover {
    color: #FFFFFF;
    border-color: var(--gold-accent);
    background: var(--gradient-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(201, 163, 93, 0.3);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 12px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: capitalize;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    padding-left: 0;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--gold-accent);
    transition: margin-right 0.3s;
}

.footer .btn.btn-link:hover {
    color: var(--gold-accent);
    letter-spacing: 0.5px;
    box-shadow: none;
    padding-left: 5px;
}

.footer .copyright {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    font-size: 0.95rem;
}

.footer .copyright a {
    color: var(--gold-accent);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

.footer-brand-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 20px;
    display: block;
    letter-spacing: -0.5px;
}

.footer-brand-text span {
    color: var(--gold-accent);
}

/* Additional Solar Care Brand Styles */
.bg-light {
    background-color: var(--soft-white) !important;
}

.bg-dark {
    background-color: var(--deep-blue) !important;
}

.text-white {
    color: #FFFFFF !important;
}

/* Statistics Counter - Gold Highlight - Enhanced */
[data-toggle="counter-up"] {
    color: var(--gold-accent);
    font-weight: 800;
    font-size: 3rem;
    text-shadow: 0 3px 10px rgba(201, 163, 93, 0.3);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Icon Backgrounds - Teal - Enhanced */
.bg-primary {
    background: var(--gradient-teal) !important;
    box-shadow: 0 4px 15px rgba(31, 111, 115, 0.3);
    transition: all 0.3s ease;
}

.bg-primary:hover {
    box-shadow: 0 6px 20px rgba(31, 111, 115, 0.4);
    transform: scale(1.1);
}

/* Topbar Icons - Teal */
.text-primary {
    color: var(--primary-teal) !important;
}

/* Rounded Cards with Subtle Shadows */
.rounded {
    border-radius: 12px !important;
}

/* Modern Button Styles */
.btn-rounded {
    border-radius: 50px;
}

/* Section Backgrounds - Enhanced */
section {
    background-color: var(--soft-white);
    position: relative;
}

section:nth-child(even) {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--soft-white) 100%);
}

/* Add subtle pattern overlay */
.bg-light {
    background: linear-gradient(180deg, var(--soft-white) 0%, #FFFFFF 50%, var(--soft-white) 100%);
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(31, 111, 115, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 163, 93, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Text Colors */
.text-dark {
    color: var(--deep-blue) !important;
}

.text-muted {
    color: var(--neutral-grey) !important;
}

/* Card Styles - Modern Solar Tech - Enhanced */
.card, .team-item {
    border-radius: 16px;
    border: 1px solid rgba(31, 111, 115, 0.1);
    box-shadow: 0 6px 25px rgba(20, 59, 74, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FFFFFF;
    overflow: hidden;
}

.card::before, .team-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-teal);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover::before, .team-item:hover::before {
    transform: scaleX(1);
}

.card:hover, .team-item:hover {
    box-shadow: 0 12px 40px rgba(31, 111, 115, 0.2);
    transform: translateY(-8px);
    border-color: rgba(31, 111, 115, 0.3);
}

/* Form Styles - Enhanced */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid rgba(31, 111, 115, 0.2);
    transition: all 0.3s ease;
    padding: 12px 18px;
    font-size: 15px;
    background-color: #FFFFFF;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 0.25rem rgba(31, 111, 115, 0.15), 0 4px 12px rgba(31, 111, 115, 0.1);
    background-color: #FFFFFF;
    outline: none;
}

.form-control::placeholder {
    color: var(--neutral-grey-light);
    opacity: 0.7;
}

/* Topbar - Solar Care Brand - Enhanced */
.bg-dark {
    background: var(--gradient-blue) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(20, 59, 74, 0.2);
}

.bg-dark small {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
}

.bg-dark small:hover {
    color: var(--gold-accent);
}

.bg-dark .btn-square {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    background: transparent;
}

.bg-dark .btn-square:hover {
    background: var(--gold-accent);
    border-color: var(--gold-accent);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(201, 163, 93, 0.3);
}

.text-primary {
    color: var(--primary-teal) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--gold-accent);
    color: #FFFFFF;
}

::-moz-selection {
    background: var(--gold-accent);
    color: #FFFFFF;
}

/* Testimonial Quote Icon */
.testimonial-carousel .testimonial-img .btn-square {
    background: var(--gradient-teal) !important;
    box-shadow: 0 4px 15px rgba(31, 111, 115, 0.3);
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
}

.testimonial-carousel .testimonial-img .btn-square:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(31, 111, 115, 0.4);
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    color: var(--primary-teal);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--gold-accent);
}

/* Mobile Feature Section Adjustments - Slightly Bigger */
@media (max-width: 768px) {
    #feature-section .col-6 {
        padding: 0 6px; /* Slightly more horizontal padding */
    }

    #feature-section .btn-lg-square {
        width: 35px; /* Increased from 25px */
        height: 35px; /* Increased from 25px */
        margin-right: 0.5rem !important; /* Slightly more margin */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #feature-section .btn-lg-square i {
        font-size: 0.85rem; /* Increased from 0.7rem */
    }

    #feature-section h1.highlight-gold {
        font-size: 1.4rem !important; /* Increased from 1.0rem */
        font-weight: 700;
        margin-bottom: 0 !important;
        display: inline-flex;
        align-items: baseline;
        white-space: nowrap;
        line-height: 1.2;
        gap: 0;
    }

    /* Plus sign styling for mobile - perfect alignment with number */
    #feature-section h1.highlight-gold .plus-sign {
        font-size: 1.4rem !important;
        font-weight: 700;
        margin-left: 0 !important;
        padding-left: 0 !important;
        margin-right: 0 !important;
        padding-right: 0 !important;
        line-height: 1.2;
        display: inline-block;
        vertical-align: baseline;
        color: var(--gold-accent);
        position: relative;
        top: 0;
    }

    /* Counter number styling - perfect alignment */
    #feature-section h1.highlight-gold span[data-toggle="counter-up"] {
        display: inline-block;
        line-height: 1.2;
        margin-right: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    #feature-section h5 {
        font-size: 0.85rem; /* Increased from 0.7rem */
        margin-bottom: 0.2rem !important; /* Slightly more margin */
        line-height: 1.2;
    }

    #feature-section span {
        font-size: 0.75rem; /* Increased from 0.6rem */
        line-height: 1.2;
        display: block;
    }

    #feature-section .d-flex.align-items-center.mb-4 {
        margin-bottom: 0.5rem !important; /* Increased from 0.3rem */
    }
    
    /* Slightly more vertical gap between rows */
    #feature-section .row.g-5 {
        --bs-gutter-y: 1rem; /* Increased from 0.8rem */
        --bs-gutter-x: 0.5rem; /* Increased from 0.4rem */
    }

    /* Page Header Mobile Improvements */
    .page-header {
        min-height: 200px !important;
        padding: 40px 15px !important;
        background-attachment: scroll !important; /* Fix parallax on mobile */
    }

    .page-header h1 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
    }

    .page-header .breadcrumb {
        font-size: 0.85rem !important;
        flex-wrap: wrap;
        margin-bottom: 0 !important;
    }

    .page-header .breadcrumb-item {
        padding: 2px 0;
    }

    .page-header .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 8px;
    }

    /* Topbar Mobile - Hide on small screens for cleaner look */
    .bg-dark.d-none.d-lg-flex {
        display: none !important;
    }

    /* Container Mobile Padding - Full Width Sections */
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Inner containers with content padding */
    .container,
    .container-xxl {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Full-width sections on mobile */
    .container-fluid.bg-light,
    .container-fluid.bg-dark,
    .container-fluid.p-0 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* About, Feature, Quote sections - full width */
    .container.about,
    .container.feature,
    .container.quote,
    .container.contact {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .container.about .row,
    .container.feature .row,
    .container.quote .row,
    .container.contact .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Service items and cards - full width */
    .service-item,
    .team-item,
    .portfolio-item {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Section Spacing Mobile */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }

    /* Improve Mobile Typography */
    h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }

    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    h3 {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
    }

    h4 {
        font-size: 1.1rem !important;
    }

    h5 {
        font-size: 1rem !important;
    }

    /* Mobile Button Improvements */
    .btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
        white-space: nowrap;
    }

    .btn-lg {
        padding: 12px 25px !important;
        font-size: 15px !important;
    }

    /* Mobile Card/Service Item Improvements */
    .card,
    .service-item,
    .team-item {
        margin-bottom: 1.5rem;
    }

    .service-item img,
    .team-item img {
        width: 100%;
        height: auto;
    }

    /* Mobile Table Improvements */
    .table-responsive {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    /* Mobile Form Improvements */
    .form-control,
    .form-select {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 12px 15px !important;
    }

    /* Mobile Image Responsiveness */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Mobile Footer Improvements */
    .footer {
        padding: 2rem 0 !important;
    }

    .footer .row {
        margin-bottom: 1.5rem;
    }

    .footer h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    /* Mobile Portfolio/Project Grid */
    .portfolio-item {
        margin-bottom: 1.5rem;
    }

    /* Mobile Testimonial Improvements */
    .testimonial-carousel .testimonial-text {
        padding: 1.5rem 1rem !important;
        font-size: 0.9rem;
        margin-bottom: 20px !important;
    }

    .testimonial-text p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        padding: 0 5px !important;
    }

    .testimonial-text h5 {
        font-size: 1rem !important;
        margin-top: 12px !important;
    }

    .testimonial-text .fst-italic {
        font-size: 0.85rem !important;
    }

    .testimonial-img img {
        width: 80px !important;
        height: 80px !important;
    }

    .testimonial-carousel .testimonial-img .btn-square {
        width: 50px !important;
        height: 50px !important;
    }

    /* Mobile Quote Section */
    .quote-text,
    .about-text,
    .contact-text,
    .feature-text {
        padding: 2rem 1rem !important;
    }

    /* Mobile Spacing Utilities */
    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .mt-5 {
        margin-top: 2rem !important;
    }

    .px-lg-0 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Remove all side margins and padding for full-width sections */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .row > * {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Full-width background sections */
    .bg-light,
    .bg-dark,
    .bg-white {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Ensure overflow sections are full width */
    .overflow-hidden {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Page sections full width */
    section,
    .container-xxl.py-5,
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Inner content padding only */
    .container-xxl .container,
    .container-fluid .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Body and HTML - no side padding */
    body {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden;
    }

    html {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Navbar full width */
    .navbar {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .navbar .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Project Carousel Styles - Arrows Hidden */
.project-carousel.owl-carousel .owl-nav {
    display: none;
}



/* Project Reel Styles - Enhanced */
.project-carousel .item {
    padding: 10px;
}

.project-carousel .reel-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    height: 550px; /* Fixed height for consistent reel look */
    border: 1px solid rgba(201, 163, 93, 0.3); /* Subtle gold border */
}

.project-carousel .reel-item video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Fill the container */
    max-height: none !important;
    margin: 0 !important;
    display: block;
}

/* Reel Overlay Gradient */
.project-carousel .reel-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    pointer-events: none;
}

/* Project Carousel Item Animations */
.project-carousel .item {
    transition: all 0.3s ease-in-out;
    transform-origin: center center;
}

.project-carousel .item:hover {
    transform: translateY(-10px) scale(1.03);
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Auto-moving effect */
.project-carousel.owl-carousel .owl-item {
    transition: transform 0.3s ease;
}

.project-carousel.owl-carousel .owl-item.active {
    animation: floatEffect 2s ease-in-out infinite alternate;
}

@keyframes floatEffect {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

.project-carousel.owl-carousel .owl-dots {
    margin-top: 15px;
}

/* Responsive image adjustments for mobile */
@media (max-width: 768px) {
    .feature .position-relative.h-100 img {
        padding: 10px !important;
        object-fit: contain !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
    
    .feature .col-lg-6.pe-lg-0 {
        min-height: 400px !important;
    }
}

/* Spinner Styles for Buttons */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hide spinner by default */
.spinner.hidden {
    display: none;
}

/* Disable button during loading */
.btn-loading {
    pointer-events: none;
}

/* Simple Button Styles */
.btn-glossy-glass {
    position: relative;
    background: rgb(201, 163, 93);
    border: 2px solid rgb(180, 140, 70);
    border-radius: 50px;
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 15px 30px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-glossy-glass:hover {
    background: rgb(180, 140, 70);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-glossy-glass:active {
    transform: translateY(0);
}

.btn-glossy-glass:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Thank You Popup Styles */
.thank-you-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 80%;
    position: relative;
    animation: popupAppear 0.5s ease-out;
}

@keyframes popupAppear {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-icon {
    font-size: 60px;
    margin-bottom: 20px;
    color: #4CAF50;
}

.popup-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.popup-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.close-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.close-btn:hover {
    background: #45a049;
}

/* Celebration Bubbles */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: 9998;
}

/* Specific adjustment for service page feature image */
@media (max-width: 768px) {
    .container-fluid.bg-light.overflow-hidden.px-lg-0 .col-lg-6.pe-lg-0 img {
        padding: 5px !important;
        object-fit: contain !important;
        max-width: 98% !important;
        max-height: 95% !important;
    }
}

/* Adjust image padding on home page feature section */
.container-fluid.bg-light.my-5 .position-relative.h-100 img {
    padding-right: 10px !important;
}

@media (max-width: 768px) {
    .container-fluid.bg-light.my-5 .position-relative.h-100 img {
        padding-right: 5px !important;
    }
}

/* Video cover for mobile hero section */
.owl-carousel-item video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Fix video cover issue on mobile for hero section */
@media (max-width: 768px) {
    .owl-carousel-item video {
        object-fit: cover !important;
        width: 100% !important;
        height: 80vh !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: -1 !important;
    }
    
    .owl-carousel-item {
        height: 80vh !important;
    }
    
    .header-carousel .owl-stage-outer,
    .header-carousel .owl-stage,
    .header-carousel .owl-item {
        height: 80vh !important;
    }
    
    /* Center content in hero section for mobile */
    .owl-carousel-inner .container .row {
        justify-content: center !important;
        text-align: center !important;
    }
    
    .owl-carousel-inner .container .row .col-10.col-lg-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
    }
}

/* Desktop styles for header carousel */
@media (min-width: 769px) {
    .owl-carousel-item video {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: -1 !important;
    }
    
    .owl-carousel-item {
        height: 100vh !important;
    }
    
    .header-carousel .owl-stage-outer,
    .header-carousel .owl-stage,
    .header-carousel .owl-item {
        height: 100vh !important;
    }
    
    /* Desktop content alignment */
    .owl-carousel-inner .container .row {
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    .owl-carousel-inner .container .row .col-10.col-lg-8 {
        flex: 0 0 auto !important;
        max-width: 66.66667% !important;
        padding: 0 !important;
    }
}

/* Fix image cut-off issue on mobile for about section */
@media (max-width: 768px) {
    .container-fluid.bg-light.my-5 .position-relative.h-100 img {
        object-fit: contain !important;
        padding: 5px !important;
    }
    
    .about .position-relative.h-100 img {
        object-fit: contain !important;
        padding: 5px !important;
    }
}

/* Feature icons mobile adjustments */
@media (max-width: 768px) {
    .feature .btn-lg-square {
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .feature .btn-lg-square i {
        font-size: 20px !important;
        margin: 0 !important;
    }
    
    .feature .d-flex.align-items-center {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .feature .d-flex.align-items-center .ms-4 {
        margin-left: 0 !important;
        margin-top: 10px !important;
    }
    
    /* Apply same styles to home page feature section */
    .container-fluid.bg-light.my-5 .feature .btn-lg-square {
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .container-fluid.bg-light.my-5 .feature .btn-lg-square i {
        font-size: 20px !important;
        margin: 0 !important;
    }
    
    .container-fluid.bg-light.my-5 .feature .d-flex.align-items-center {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .container-fluid.bg-light.my-5 .feature .d-flex.align-items-center .ms-4 {
        margin-left: 0 !important;
        margin-top: 10px !important;
    }
}




