/********** Template CSS **********/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Font Rendering & Network Performance Optimization */
@font-face {
    font-display: swap;
}

:root {
    --primary: #2ECC71;
    --primary-light: #1B8F3A;
    --primary-dark: #27AE60;
    --primary-gradient: linear-gradient(135deg, #2ECC71 0%, #1B8F3A 100%);
    --light: #FFFFFF;
    --dark: #1A1A1A;
    --shiny-green: linear-gradient(145deg, #2ECC71, #1B8F3A, #27AE60);
    --bg-light: #F8FFFB;
    --bg-dark: #0D3D2D;
    --font-family: 'Poppins', sans-serif;
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: var(--font-family);
    background-color: var(--light);
    color: #333333;
}

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

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

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

.back-to-top {
    display: none !important;
}


/*** 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 ***/
.btn {
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    box-shadow: var(--shadow-sm);
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #FFFFFF;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #27AE60 0%, #2ECC71 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.btn-outline-light {
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    background: transparent;
    box-shadow: var(--shadow-sm);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 25px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 20px;
}

/* Mobile Responsive Buttons */
@media (max-width: 767.98px) {
    .btn {
        padding: 8px 16px !important;
        font-size: 14px !important;
        border-radius: 15px !important;
    }
    
    .btn-lg {
        padding: 10px 20px !important;
        font-size: 14px !important;
        border-radius: 18px !important;
    }
    
    .btn-sm {
        padding: 6px 12px !important;
        font-size: 12px !important;
        border-radius: 12px !important;
    }
    
    .btn-primary {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
    
    .btn-warning {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
    
    .btn-outline-light {
        padding: 6px 14px !important;
        font-size: 12px !important;
    }
    
    /* Project buttons */
    .project-card .btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    
    /* Service buttons */
    .service-item .btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    
    /* Form buttons */
    .form-control {
        font-size: 14px !important;
        padding: 10px 12px !important;
    }
    
    /* Navbar buttons */
    .navbar .btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 575.98px) {
    .btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
        border-radius: 12px !important;
    }
    
    .btn-lg {
        padding: 8px 16px !important;
        font-size: 12px !important;
        border-radius: 15px !important;
    }
    
    .btn-primary {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    
    .btn-warning {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    
    /* Extra small for very mobile */
    .project-card .btn {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }
    
    .service-item .btn {
        padding: 5px 10px !important;
        font-size: 11px !important;
    }
}

/* Modern Button Styles */
.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #eab308, #f59e0b);
    border: none;
    color: #FFFFFF;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #eab308, #f59e0b, #eab308);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

/* Modern Service Cards */
.service-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-sm);
    background: #FFFFFF;
    border: 1px solid rgba(46, 204, 113, 0.1);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-item img {
    transition: transform 0.6s ease;
    height: 200px;
    object-fit: cover;
}

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

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--shiny-green);
    border-radius: 100px;
    box-shadow: var(--shadow-md);
    transition: .5s;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.service-item:hover .service-icon::before {
    animation: shine 0.6s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.service-item:hover .service-icon {
    color: #FFFFFF;
    background: var(--primary-gradient);
    box-shadow: var(--shadow-lg);
    transform: scale(1.1);
}

/* Modern Project Cards */
.project-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 204, 113, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.project-img {
    position: relative;
    overflow: hidden;
}

.project-img img {
    transition: transform 0.6s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-overlay {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.8) 0%, rgba(27, 175, 96, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-meta .badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
}

.project-stats span {
    font-size: 14px;
    color: #666;
}

.project-stats i {
    font-size: 16px;
}

/* Modern Stats Section */
.btn-lg-square {
    background: var(--shiny-green);
    border: none;
    transition: all 0.3s ease;
}

.btn-lg-square:hover {
    background: var(--primary-gradient);
    transform: scale(1.1) rotate(180deg);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
}

/* Modern Text Effects */
.text-warning {
    color: #f59e0b !important;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

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

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

.btn-lg-square {
    width: 48px;
    height: 48px;
    background: var(--shiny-green);
    border: none;
    transition: all 0.3s ease;
}

.btn-lg-square:hover {
    background: var(--primary-gradient);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

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

.btn-square::before,
.btn-sm-square::before,
.btn-lg-square::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.4s;
}

.btn-square:hover::before,
.btn-sm-square:hover::before,
.btn-lg-square:hover::before {
    left: 100%;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: 0 !important;
    position: sticky;
    position: -webkit-sticky;
    transition: .3s;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.navbar {
    background: #FFFFFF;
    border-bottom: 1px solid rgba(46, 204, 113, 0.1);
}

.navbar .navbar-brand {
    transition: .5s;
    font-weight: 600;
    color: var(--dark);
}

.navbar .navbar-brand:hover {
    color: var(--primary);
}

.navbar .nav-link {
    color: #666666;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-link.active::after {
    width: 30px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 22px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    letter-spacing: 0.3px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

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

.navbar .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.navbar .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.15);
    padding: 10px 0;
    min-width: 220px;
    background: #FFFFFF;
}

.navbar .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    padding: 10px 20px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: #F8FFFB;
    color: var(--primary);
    padding-left: 25px;
}

.navbar .dropdown-item i {
    width: 22px;
    color: var(--primary);
    font-size: 14px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    .navbar .dropdown-menu {
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.05);
        background-color: #F8FFFB !important;
        margin-top: 5px;
        margin-bottom: 10px;
        padding-left: 10px;
    }
}

@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 ***/
.header-carousel .owl-carousel-item {
    height: 680px;
    min-height: 680px;
    max-height: 750px;
    overflow: hidden;
    position: relative;
}

.header-carousel .owl-carousel-item img {
    height: 680px;
    min-height: 680px;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 992px) {
    .header-carousel .owl-carousel-item {
        height: 680px;
        min-height: 680px;
    }

    .header-carousel .owl-carousel-item img {
        height: 680px;
        min-height: 680px;
    }

    .carousel .carousel-item {
        min-height: 680px;
    }
}

.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.55) 100%);
}

/* Modern Carousel Enhancements */
.carousel {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.carousel .carousel-item {
    min-height: 680px;
    position: relative;
    background: linear-gradient(135deg, var(--bg-light) 0%, #FFFFFF 100%);
}

.carousel .carousel-item img {
    filter: brightness(1);
    transition: all 0.5s ease;
    object-fit: cover;
}

.carousel .carousel-item:hover img {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.carousel .owl-nav .owl-prev,
.carousel .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 20px;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel .owl-nav .owl-prev:hover,
.carousel .owl-nav .owl-next:hover {
    background: var(--primary-gradient);
    color: #FFFFFF;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel .owl-dots .owl-dot {
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    width: 10px;
    height: 10px;
}

.carousel .owl-dots .owl-dot.active {
    background: var(--primary-gradient);
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

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

    .header-carousel .owl-carousel-item p {
        font-size: 16px !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: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.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 ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: all 0.3s ease;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
    border-color: var(--primary);
}

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--shiny-green);
    border-radius: 100px;
    box-shadow: 0 0 45px rgba(16, 185, 129, 0.3);
    transition: .5s;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.service-item:hover .service-icon::before {
    animation: shine 0.6s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.service-item:hover .service-icon {
    color: #FFFFFF;
    background: var(--primary-gradient);
    box-shadow: 0 0 60px rgba(16, 185, 129, 0.5);
    transform: scale(1.1);
}


/*** 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 ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-img::before,
.portfolio-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    background: var(--dark);
    transition: .5s;
}

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

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

.portfolio-item:hover .portfolio-img::before {
    width: 51%;
    left: 0;
}

.portfolio-item:hover .portfolio-img::after {
    width: 51%;
    right: 0;
}

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

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


/*** 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 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    border-radius: 8px 60px 0 0;
}

.team-item .team-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #FFFFFF;
    transition: .5s;
}


/*** 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: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 1;
    transition: .5s;
    z-index: 10;
    padding: 0 20px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(5px);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary-gradient);
    color: #FFFFFF;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}



.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

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


/*** 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 ***/
.footer {
    background: var(--bg-dark);
    color: #FFFFFF;
    padding: 60px 0 30px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: .3s;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .btn.btn-social:hover {
    color: #FFFFFF;
    background: var(--primary-gradient);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 10px 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    text-transform: capitalize;
    transition: .3s;
    position: relative;
    text-decoration: none;
}

.footer .btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    padding-left: 10px;
}

.footer .btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer .btn-link:hover::before {
    opacity: 1;
    left: 0;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.footer .copyright a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .copyright a:hover {
    color: var(--primary-light);
}

.footer h5 {
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: var(--font-family);
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #9B9B9B;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary-light);
    letter-spacing: 1px;
    box-shadow: none;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/* ==========================================================================
   NEW ENHANCED SECTIONS FOR NV SOLARIZE
   ========================================================================== */

/* Brand Partners Showcase */
.brand-partner-card {
    background: #FFFFFF;
    border: 1px solid rgba(46, 204, 113, 0.15);
    border-radius: var(--border-radius);
    padding: 20px 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.brand-partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.brand-partner-card h6 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.brand-partner-card span {
    font-size: 12px;
    color: #666;
}

/* Solar Packages & Pricing Cards */
.package-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 2px solid #E9ECEF;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.package-card.featured-package {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(46, 204, 113, 0.2);
}

.package-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: #FFF;
    padding: 4px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}

.package-price span {
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
}

.subsidy-tag {
    background-color: #E8F8F0;
    color: #1B8F3A;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    display: inline-block;
}

/* Interactive Solar Calculator Widget (Redesigned) */
.solar-calc-section {
    background: radial-gradient(circle at 10% 20%, rgba(46, 204, 113, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(27, 143, 58, 0.2) 0%, transparent 40%),
                linear-gradient(135deg, #092C1F 0%, #061910 100%);
    border-radius: 24px;
    border: 1px solid rgba(46, 204, 113, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.calc-badge {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: #2ECC71 !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.15);
}

.calc-title {
    background: linear-gradient(135deg, #FFFFFF 0%, #D1F2DF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.calc-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.05rem;
    line-height: 1.6;
}

.calc-input-panel {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.calc-bill-badge {
    background: linear-gradient(135deg, #2ECC71 0%, #1B8F3A 100%);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 4px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.35);
    letter-spacing: 0.5px;
}

.calc-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

.calc-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2ECC71;
    border: 3px solid #FFFFFF;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.8);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
    box-shadow: 0 0 18px rgba(46, 204, 113, 1);
}

.calc-range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2ECC71;
    border: 3px solid #FFFFFF;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.8);
    transition: transform 0.2s ease;
}

.calc-form-label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    font-size: 0.9rem;
}

.calc-form-select,
.calc-form-input {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #FFFFFF !important;
    border-radius: 12px !important;
    padding: 10px 16px !important;
    font-size: 0.95rem !important;
    transition: all 0.25s ease !important;
}

.calc-form-select:focus,
.calc-form-input:focus {
    background-color: rgba(255, 255, 255, 0.14) !important;
    border-color: #2ECC71 !important;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.25) !important;
    outline: none !important;
}

.calc-form-select option {
    background-color: #0A2619 !important;
    color: #FFFFFF !important;
}

.calc-form-input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* Metric Cards */
.calc-metric-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.25rem 1rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.calc-metric-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(46, 204, 113, 0.45);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(46, 204, 113, 0.15);
}

.calc-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.calc-metric-card:hover .calc-icon-circle {
    transform: scale(1.12);
}

.calc-icon-green {
    background: rgba(46, 204, 113, 0.18);
    color: #2ECC71;
}

.calc-icon-warning {
    background: rgba(255, 193, 7, 0.18);
    color: #FFC107;
}

.calc-icon-info {
    background: rgba(13, 202, 240, 0.18);
    color: #0DCAF0;
}

.calc-icon-primary {
    background: rgba(13, 110, 253, 0.18);
    color: #3B82F6;
}

.calc-metric-val {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.calc-val-green {
    color: #2ECC71 !important;
}

.calc-val-warning {
    color: #FFC107 !important;
}

.calc-val-info {
    color: #0DCAF0 !important;
}

.calc-val-primary {
    color: #60A5FA !important;
}

.calc-metric-label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.825rem;
    font-weight: 500;
    display: block;
}

/* Footer CTA Banner */
.calc-footer-banner {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
}

.calc-disclaimer {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.825rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.btn-calc-cta {
    background: linear-gradient(135deg, #2ECC71 0%, #1B8F3A 100%);
    color: #FFFFFF !important;
    font-weight: 700;
    padding: 12px 36px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-calc-cta:hover {
    background: linear-gradient(135deg, #34E883 0%, #22AD47 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.6);
}

/* Smart IoT Technology Features */
.tech-feature-card {
    background: #F8FFFB;
    border: 1px solid #D1F2DF;
    border-radius: 14px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
}

.tech-feature-card:hover {
    background: #FFFFFF;
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.tech-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* 5-Step Process Timeline */
.process-step-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E9ECEF;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.process-step-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #FFFFFF;
    border-radius: 50%;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.4);
}

/* Solar FAQ Accordion */
.solar-accordion .accordion-item {
    border: 1px solid #E2E8F0;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.solar-accordion .accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
    background-color: #FFFFFF;
    padding: 18px 24px;
}

.solar-accordion .accordion-button:not(.collapsed) {
    color: #1B8F3A;
    background-color: #F8FFFB;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.solar-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(46, 204, 113, 0.5);
}

.solar-accordion .accordion-body {
    padding: 20px 24px;
    color: #4A5568;
    line-height: 1.7;
    background-color: #FFFFFF;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp-btn:hover {
    color: #FFFFFF;
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.7);
}

.floating-whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulse-ring 2s infinite;
}

@media (max-width: 576px) {
    .floating-whatsapp-btn {
        bottom: 20px;
        right: 20px;
        left: auto;
        width: 54px;
        height: 54px;
        font-size: 28px;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Solar Component Card */
.component-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 24px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.component-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.component-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #F8FFFB;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

/* Solar Net Metering Diagram Flow */
.flow-box {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px dashed var(--primary);
}

/* Brand Logo Placeholder Area */
.brand-logo-area {
    background: #F8FFFB;
    border: 2px dashed #C3E6D0;
    border-radius: 16px;
    padding: 30px;
}

.brand-placeholder-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 15px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #718096;
    transition: all 0.3s ease;
}

.brand-placeholder-box:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Warranty & Support Card */
.warranty-card {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 24px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all 0.3s ease;
}

.warranty-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* Lead Quote Popup Modal Styles */
.solar-popup-modal .modal-dialog {
    max-width: 380px;
    margin: 1.75rem auto;
}

@media (max-width: 420px) {
    .solar-popup-modal .modal-dialog {
        max-width: 92%;
        margin: 1rem auto;
    }
}

.solar-popup-modal .modal-content {
    border-radius: 16px;
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.solar-popup-header {
    background: linear-gradient(135deg, #0D3D2D 0%, #1B8F3A 100%);
    color: #FFFFFF;
    padding: 16px 20px 14px;
    position: relative;
}

.solar-popup-header .btn-close {
    position: absolute;
    top: 14px;
    right: 14px;
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
    padding: 0.35rem;
    font-size: 0.75rem;
}

.solar-popup-header .btn-close:hover {
    opacity: 1;
}

.solar-popup-header .badge {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.solar-popup-header .modal-title {
    font-size: 1.15rem;
    margin-top: 2px;
}

.solar-popup-header p {
    font-size: 0.78rem;
    line-height: 1.35;
}

.solar-popup-body {
    padding: 16px 20px 20px;
    background-color: #FFFFFF;
}

.solar-popup-body label.form-label {
    font-size: 0.78rem;
    margin-bottom: 3px;
    color: #334155;
}

.popup-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #1B8F3A;
    font-size: 13px;
    z-index: 4;
}

.popup-input-group {
    position: relative;
}

.popup-input-group .form-control,
.popup-input-group .form-select {
    padding-left: 36px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    font-size: 13px;
}

.popup-input-group .form-control::placeholder {
    color: #94A3B8;
    font-size: 12px;
}

.popup-input-group .form-control:focus,
.popup-input-group .form-select:focus {
    border-color: #2ECC71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}

.solar-popup-body .btn-submit-quote {
    height: 42px;
    font-size: 0.88rem;
    border-radius: 25px;
    background: linear-gradient(135deg, #1B8F3A 0%, #2ECC71 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(27, 143, 58, 0.3);
}

.solar-popup-body .btn-submit-quote:hover {
    background: linear-gradient(135deg, #15732E 0%, #27AE60 100%);
    box-shadow: 0 6px 16px rgba(27, 143, 58, 0.4);
}

/* Net Metering Flow Diagram */
.net-metering-flow {
    background: #F8FFFB;
    border: 1px solid #D1F2DF;
    border-radius: 16px;
    padding: 18px 12px;
}

.net-metering-flow .flow-card {
    border: 1.5px dashed #2ECC71 !important;
    border-radius: 12px !important;
    background: #FFFFFF;
    transition: all 0.3s ease;
    padding: 14px 10px;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.net-metering-flow .flow-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.2) !important;
}

.net-metering-flow .flow-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.net-metering-flow .flow-title {
    font-size: 0.82rem;
    color: #1E293B;
    line-height: 1.2;
    margin-top: 4px;
}

.net-metering-flow .flow-arrow {
    font-size: 1.1rem;
    color: #2ECC71;
    flex-shrink: 0;
    padding: 0 8px;
}

@media (max-width: 575.98px) {
    .net-metering-flow {
        flex-direction: column;
        gap: 8px;
    }
    .net-metering-flow .flow-step {
        width: 100%;
    }
    .net-metering-flow .flow-arrow {
        transform: rotate(90deg);
        padding: 2px 0;
    }
}

/* ==========================================================================
   FINAL FULL RESPONSIVE UI/UX AUDIT ENHANCEMENTS & SAFEGUARDS
   ========================================================================== */

/* Prevent accidental horizontal overflow without hiding content */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Base Responsive Typography */
h1, .h1 { overflow-wrap: break-word; word-break: normal; }
h2, .h2 { overflow-wrap: break-word; word-break: normal; }
h3, .h3 { overflow-wrap: break-word; word-break: normal; }

/* Desktop Max Container Constraint (1400px+) */
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1320px;
    }
}

/* Tablet (768px - 991.98px) Breakpoint Adjustments */
@media (max-width: 991.98px) {
    .display-1 { font-size: 3rem !important; }
    .display-2 { font-size: 2.25rem !important; }
    .display-3 { font-size: 1.85rem !important; }
    .display-4 { font-size: 1.5rem !important; }
    
    .navbar .navbar-brand img {
        height: 38px !important;
    }

    .about-text, .quote-text, .feature-text, .contact-text {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* Prevent image cropping/cutting on Mobile & Tablet screens */
    .about [style*="min-height"],
    .feature [style*="min-height"],
    .service [style*="min-height"],
    .quote [style*="min-height"],
    .contact [style*="min-height"] {
        min-height: auto !important;
        height: auto !important;
        padding-top: 1rem !important;
        padding-bottom: 0.5rem !important;
    }

    .about .position-relative,
    .feature .position-relative,
    .service .position-relative,
    .quote .position-relative,
    .contact .position-relative {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        background: #F8FAF9 !important;
    }

    .about .position-relative img,
    .feature .position-relative img,
    .service .position-relative img,
    .quote .position-relative img,
    .contact .position-relative img,
    img[src*="nv_solarize_team.jpg"],
    img[src*="nv_solarize_office.jpg"] {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        max-height: 280px !important;
        object-fit: contain !important;
        border-radius: 12px !important;
        display: block !important;
        margin: 0 auto !important;
    }
}

/* Mobile & Small Tablet (< 767.98px) Responsive Adjustments */
@media (max-width: 767.98px) {
    /* Section Margins & Rhythm */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    .mt-5 {
        margin-top: 2rem !important;
    }

    /* Floating WhatsApp Button Positioning */
    .floating-whatsapp-btn {
        right: 18px !important;
        left: auto !important;
        bottom: 18px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 26px !important;
        z-index: 1000 !important;
    }
    .back-to-top {
        right: 14px !important;
        bottom: 70px !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
        z-index: 998 !important;
    }

    /* Hero Carousel Mobile Optimization */
    .header-carousel .owl-carousel-item {
        min-height: 380px !important;
        max-height: 420px !important;
    }
    .header-carousel .owl-carousel-inner {
        padding: 1.5rem 1rem 2.5rem 1rem !important;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.75) 100%) !important;
    }
    .header-carousel h1.display-2 {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.5rem !important;
        font-weight: 800 !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
    }
    .header-carousel p {
        font-size: 0.82rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.85rem !important;
        padding-bottom: 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-height: 2.7em !important;
    }
    .header-carousel .btn {
        padding: 7px 16px !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        border-radius: 25px !important;
        margin-bottom: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .header-carousel .d-flex {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .header-carousel .owl-dots {
        position: absolute !important;
        right: 15px !important;
        top: auto !important;
        bottom: 12px !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        flex-direction: row !important;
    }
    .header-carousel .owl-dots .owl-dot {
        width: 10px !important;
        height: 10px !important;
        margin: 0 4px !important;
        box-shadow: none !important;
    }
    .header-carousel .owl-dots .owl-dot.active {
        width: 24px !important;
        height: 10px !important;
        border-radius: 5px !important;
    }
    .header-carousel .owl-dots .owl-dot img {
        display: none !important;
    }

    /* Project Filters */
    #portfolio-flters li {
        padding: 6px 14px !important;
        font-size: 12px !important;
        margin: 3px !important;
    }

    /* Hide decorative corner icons on mobile stat cards */
    .stat-corner-icon,
    .stat-card-bg-shape {
        display: none !important;
    }

    /* Package Filter Strip & Portfolio Filters Icon Removal on Mobile */
    .btn-pkg-tab i,
    .package-tab-strip .btn i,
    #portfolio-flters li i {
        display: none !important;
    }

    .btn-pkg-tab,
    .package-tab-strip .btn {
        padding: 6px 14px !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        border-radius: 20px !important;
    }
}

/* Extra Small Mobile (< 575.98px) Responsive Adjustments */
@media (max-width: 575.98px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .container-fluid.p-0,
    .container-fluid.px-0,
    .container-fluid.px-lg-0,
    .header-carousel,
    .owl-carousel,
    .page-header {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .stat-card-custom {
        padding: 0.85rem 0.6rem !important;
    }

    .stat-icon-circle {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
    }

    .stat-bar {
        display: none !important;
    }

    .navbar-brand {
        border-right: none !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    .navbar-brand img {
        height: 40px !important;
    }
    .header-carousel .owl-carousel-item {
        min-height: 350px !important;
        max-height: 390px !important;
    }
    .header-carousel h1.display-2 {
        font-size: 1.25rem !important;
        margin-bottom: 0.4rem !important;
    }
    .header-carousel p {
        font-size: 0.78rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.75rem !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .header-carousel .d-flex {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        width: 100% !important;
    }
    .header-carousel .btn {
        flex: 1 1 auto !important;
        width: auto !important;
        padding: 6px 12px !important;
        font-size: 0.78rem !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    .display-1 { font-size: 2rem !important; }
    .display-2 { font-size: 1.5rem !important; }
    .display-3 { font-size: 1.35rem !important; }
    .display-4 { font-size: 1.25rem !important; }

    /* Feature Stats 2x2 Clean Mobile Layout */
    .feature-stat-card {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.9rem 0.5rem !important;
    }
    .feature-stat-card .btn-lg-square {
        width: 42px !important;
        height: 42px !important;
        font-size: 16px !important;
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
    }
    .feature-stat-card h2 {
        font-size: clamp(0.95rem, 3.8vw, 1.2rem) !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
    }
    .feature-stat-card h6 {
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
        margin-top: 2px !important;
    }

    /* Solar Calculator Widget (< 575.98px) */
    .calc-input-panel {
        padding: 1.25rem 1rem !important;
        border-radius: 16px !important;
    }
    .calc-title {
        font-size: 1.5rem !important;
    }
    .calc-subtitle {
        font-size: 0.85rem !important;
    }
    .calc-metric-card {
        padding: 0.85rem 0.4rem !important;
        border-radius: 12px !important;
    }
    .calc-metric-val {
        font-size: 1.1rem !important;
    }
    .calc-metric-label {
        font-size: 0.72rem !important;
    }
    .calc-icon-circle {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
        margin-bottom: 0.4rem !important;
    }
    .btn-calc-cta {
        padding: 10px 20px !important;
        font-size: 0.88rem !important;
        width: 100% !important;
    }

    /* Form control height on small screens */
    .form-control, .form-select {
        font-size: 13px !important;
    }

    /* Testimonials padding */
    .testimonial-carousel .owl-item .testimonial-text {
        padding: 1.25rem 1rem !important;
    }
}

/* Micro Mobile (320px - 360px) Adjustments */
@media (max-width: 360px) {
    .calc-metric-val {
        font-size: 0.95rem !important;
    }
}

/* ==========================================================================
   NV SOLARIZE - ULTRA PREMIUM UI ENHANCEMENTS
   ========================================================================== */

/* Navbar Brand & Logo Glow */
.navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s ease, filter 0.3s ease;
}
.navbar-brand:hover img {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 10px rgba(46, 204, 113, 0.25));
}

/* Glassmorphism & Modern Card Elevation */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(46, 204, 113, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(46, 204, 113, 0.15);
    border-color: var(--primary);
}

/* Hero Carousel Overlay & Badge */
.owl-carousel-item img {
    filter: brightness(0.92) contrast(1.05);
}
.hero-badge-pill {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.9) 0%, rgba(27, 143, 58, 0.9) 100%);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.35);
}

/* Hover Zoom on Project & Image Cards */
.img-zoom-wrapper {
    overflow: hidden;
    border-radius: 14px;
    position: relative;
}
.img-zoom-wrapper img {
    transition: transform 0.5s ease, filter 0.5s ease;
}
.img-zoom-wrapper:hover img {
    transform: scale(1.06);
    filter: brightness(1.02);
}

/* Floating Badge Accent */
.floating-brand-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    background: rgba(13, 61, 45, 0.88);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

/* Pulsing CTA Effect */
.btn-pulse {
    animation: pulse-glow 2.5s infinite;
}
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(46, 204, 113, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* Service Carousel Auto-Scrolling Styling */
.service-carousel .owl-stage {
    display: flex !important;
}
.service-carousel .owl-item {
    display: flex !important;
    height: auto !important;
}
.service-carousel .service-card-item {
    width: 100%;
    margin: 6px 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-carousel .service-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(46, 204, 113, 0.4) !important;
}
.service-carousel .owl-dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 24px !important;
}
.service-carousel .owl-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: #CBD5E0 !important;
    transition: all 0.3s ease !important;
    border: none !important;
}
.service-carousel .owl-dot.active {
    width: 28px !important;
    border-radius: 6px !important;
    background-color: var(--primary) !important;
}

/* Why Choose Us Split UI Styling */
.why-trust-badge {
    background: linear-gradient(135deg, #F8FAF9 0%, #FFFFFF 100%);
    border: 1px solid rgba(46, 204, 113, 0.25) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12) !important;
}
.why-feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.why-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(46, 204, 113, 0.45) !important;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.12) !important;
}

/* Package Tab Switcher Styling */
.btn-pkg-tab {
    background-color: #FFFFFF !important;
    color: #2D3748 !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 30px !important;
    padding: 8px 18px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
}
.btn-pkg-tab:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    transform: translateY(-2px);
}
.btn-pkg-tab.active {
    background-color: #10B981 !important;
    color: #FFFFFF !important;
    border-color: #10B981 !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
}

/* Brand Pill Strip Styling */
.brand-pill-strip .badge {
    transition: transform 0.25s ease, border-color 0.25s ease;
    font-size: 0.85rem !important;
}
.brand-pill-strip .badge:hover {
    transform: scale(1.04);
    border-color: var(--primary) !important;
}

/* Back to Top Arrow Removed */
.back-to-top {
    display: none !important;
}

/* Package Card Desktop Horizontal Rectangular Styling */
@media (min-width: 992px) {
    .border-start-lg {
        border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
}
.package-card {
    transition: all 0.3s ease;
}
.package-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Tier-1 Brand Partner Section UI & Animations */
.brand-partner-card {
    background: #FFFFFF;
    border: 1px solid rgba(46, 204, 113, 0.15);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.brand-partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0.8;
    transition: height 0.3s ease;
}

.brand-partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(16, 185, 129, 0.18);
    border-color: var(--primary);
}

.brand-partner-card:hover::before {
    height: 6px;
}

.brand-icon-wrapper {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.12) 0%, rgba(27, 143, 58, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    color: var(--primary);
    font-size: 28px;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 12px rgba(46, 204, 113, 0.15);
}

.brand-partner-card:hover .brand-icon-wrapper {
    background: var(--primary-gradient);
    color: #FFFFFF;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(46, 204, 113, 0.35);
}

.brand-chip {
    display: inline-block;
    background: #F3FBF6;
    color: #1A5336;
    border: 1px solid rgba(46, 204, 113, 0.25);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    margin: 3px;
    transition: all 0.25s ease;
}

.brand-chip:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Continuous Animated Brand Marquee Strip */
.brand-ticker-container {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brand-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    animation: brandMarquee 24s linear infinite;
}

.brand-ticker-container:hover .brand-ticker-track {
    animation-play-state: paused;
}

@keyframes brandMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-ticker-item {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    font-weight: 700;
    font-size: 0.9rem;
    color: #2C3E50;
    transition: all 0.3s ease;
}

.brand-ticker-item:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(46, 204, 113, 0.25);
    transform: translateY(-2px);
}

/* Image-Matched Counter Stat Cards (Blue, Green, Orange, Purple themes with organic corner gradients) */
.stat-card-custom {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 1.4rem 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    z-index: 1;
}

.stat-card-custom:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.stat-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
    transition: transform 0.3s ease;
}

.stat-card-custom:hover .stat-icon-circle {
    transform: scale(1.08);
}

/* Theme Icon Gradients */
.stat-icon-blue { background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%); }
.stat-icon-green { background: linear-gradient(135deg, #10B981 0%, #059669 100%); }
.stat-icon-orange { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }
.stat-icon-purple { background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%); }

/* Theme Accent Bar Lines */
.stat-bar {
    width: 36px;
    height: 3px;
    border-radius: 2px;
    margin-top: 10px;
}
.stat-bar-blue { background: #2563EB; }
.stat-bar-green { background: #10B981; }
.stat-bar-orange { background: #F59E0B; }
.stat-bar-purple { background: #6366F1; }

/* Right Corner Decorative Organic Gradient Overlay Waves */
.stat-card-bg-shape {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.85;
    transition: all 0.4s ease;
}

.stat-card-custom:hover .stat-card-bg-shape {
    transform: scale(1.15);
    opacity: 1;
}

.shape-blue {
    background: radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.4) 0%, rgba(59, 130, 246, 0.2) 50%, transparent 80%);
}
.shape-green {
    background: radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.4) 0%, rgba(52, 211, 153, 0.2) 50%, transparent 80%);
}
.shape-orange {
    background: radial-gradient(circle at 100% 100%, rgba(245, 158, 11, 0.4) 0%, rgba(251, 191, 36, 0.2) 50%, transparent 80%);
}
.shape-purple {
    background: radial-gradient(circle at 100% 100%, rgba(99, 102, 241, 0.4) 0%, rgba(129, 140, 248, 0.2) 50%, transparent 80%);
}

.stat-corner-icon {
    display: none !important;
}

/* Main Website Page White Background */
html, body {
    background-color: #FFFFFF !important;
    color: #2D3748;
}
.footer {
    background-color: #071E17 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.footer .copyright {
    padding: 20px 0 !important;
    margin-bottom: 0 !important;
}