/********** Template CSS **********/
:root {
    --primary: #65B530;
    --secondary: #ffffff;
    --light: #F8F9FA;
    --dark: #2C3E50;
    --soft-bg: #FAFBFC;
    --card-bg: #FFFFFF;
    --text-muted: #9b9b9b;
    --border-light: #E9ECEF;
}

.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: 20px;
    bottom: 20px;
    z-index: 99;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(101, 181, 48, 0.4);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(101, 181, 48, 0.5);
}

@media (max-width: 576px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
    }
}


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


/*** Mobile-First Base Styles ***/
body {
    background-color: var(--soft-bg);
    line-height: 1.6;
}

/* Mobile-first touch targets */
.btn, .nav-link, .dropdown-item, input, textarea {
    min-height: 44px;
    min-width: 44px;
}

/* Mobile typography and spacing */
@media (max-width: 576px) {
    h1 { font-size: 1.8rem; line-height: 1.3; margin-bottom: 1rem; }
    h2 { font-size: 1.5rem; line-height: 1.4; margin-bottom: 1rem; }
    h3 { font-size: 1.3rem; line-height: 1.4; margin-bottom: 0.8rem; }
    .lead { font-size: 1.1rem; line-height: 1.5; }
    
    /* Improved spacing for mobile */
    .container { padding: 0 20px; }
    .section { padding: 40px 0; }
    .mb-5 { margin-bottom: 2rem !important; }
    .pb-3 { padding-bottom: 1.5rem !important; }
    .py-5 { padding: 3rem 0 !important; }
    
    /* Better mobile readability */
    p { font-size: 1rem; line-height: 1.6; margin-bottom: 1rem; }
    .text-center { text-align: center !important; }
}

/* Tablet improvements */
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .row { margin: 0 -12px; }
    .col, [class*="col-"] { padding: 0 12px; }
}

/* Card backgrounds for better readability */
.card, .bg-light {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Global paragraph styling */
p {
    color: #ffffff;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
    border-radius: 8px;
    padding: 12px 24px;
}

.btn.btn-primary {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(101, 181, 48, 0.3);
}

.btn.btn-primary:hover {
    background-color: #5aa02a;
    border-color: #5aa02a;
    box-shadow: 0 4px 12px rgba(101, 181, 48, 0.4);
    transform: translateY(-1px);
}

/* Mobile-optimized button sizes */
.btn-square {
    width: 44px;
    height: 44px;
}

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

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

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

/* Form improvements for mobile */
.form-control, .form-select {
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(101, 181, 48, 0.25);
    background-color: var(--card-bg);
}

/* Specific white text for two paragraphs */
.section-title .lead.text-muted {
    color: #ffffff !important;
}

/* Target the specific paragraph about experience in section-title */
.section-title p.text-muted {
    color: #ffffff !important;
}

/* Service Card Layout Fix - Align buttons */
.service-card {
    display: flex;
    flex-direction: column;
}

.service-card .service-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card .service-content .d-flex.justify-content-between {
    margin-top: auto;
}

/* Enhanced Service Card Call-to-Action Buttons */
.service-card .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Primary CTA Button - Main Services */
.service-card .btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff4757 100%);
    color: white;
    border-radius: 25px;
    padding: 12px 24px;
    position: relative;
    z-index: 1;
}

.service-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 50%, #ff6b35 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.service-card .btn-primary:hover::before {
    left: 0;
}

.service-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    color: white;
}

/* Secondary CTA Button - Additional Services */
.service-card .btn-outline-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 12px 24px;
    position: relative;
    z-index: 1;
}

.service-card .btn-outline-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.service-card .btn-outline-secondary:hover::before {
    left: 0;
}

.service-card .btn-outline-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    border-color: transparent;
}

/* Button Icon Animation */
.service-card .btn i {
    transition: transform 0.3s ease;
}

.service-card .btn:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Pulse Animation for Primary Buttons */
@keyframes pulse-primary {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 53, 0.4);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    }
}

.service-card .btn-primary {
    animation: pulse-primary 3s ease-in-out infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .service-card .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .service-card .d-flex.justify-content-between {
        flex-direction: column;
        gap: 15px;
    }
    
    .service-card .btn {
        width: 100%;
        text-align: center;
    }
}

.form-floating > label {
    color: var(--text-muted);
}

@media (max-width: 576px) {
    .btn {
        padding: 14px 20px;
        font-size: 1rem;
        width: 100%;
        margin-bottom: 8px;
    }
    
    .form-control, .form-select {
        font-size: 1.1rem;
        padding: 16px;
    }
    
    .btn-lg-square {
        width: 56px;
        height: 56px;
    }
}

/*** Navbar ***/
.navbar {
    background-color: var(--card-bg) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 8px 0;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    height: 80px;
    padding: 8px 0;
}

.navbar .navbar-brand img {
    height: 100px;
    width: auto;
    margin-right: 10px;
}

/* Tablet responsive styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar .navbar-brand {
        justify-content: flex-start;
        width: auto;
        margin: 0;
    }
    
    .navbar .navbar-brand img {
        height: 70px;
        margin-right: 10px;
    }
    
    .navbar-toggler {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
    }
    
    .navbar .navbar-nav .nav-link {
        margin-right: 15px;
        padding: 10px 12px;
        font-size: 0.95rem;
    }
}

/* Mobile responsive styles */
@media (max-width: 767.98px) {
    .navbar .navbar-brand {
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }
    
    .navbar .navbar-brand img {
        height: 60px;
        margin-right: 0;
    }
    
    .navbar-toggler {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
}

.navbar .navbar-nav .nav-link {
    margin-right: 20px;
    padding: 12px 16px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background-color: rgba(101, 181, 48, 0.1);
}

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

/* Mobile navbar improvements */
@media (max-width: 767.98px) {
    .navbar {
        padding: 12px 0;
    }
    
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 16px 20px;
        margin: 4px 0;
        font-size: 1.1rem;
    }

    .navbar .navbar-nav {
        border-top: 1px solid var(--border-light);
        padding-top: 16px;
        background-color: var(--card-bg);
    }
    
    .navbar-toggler {
        border: none;
        padding: 8px 12px;
        font-size: 1.2rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
}

/* Tablet navbar improvements */
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar {
        padding: 10px 0;
    }
    
    .navbar .navbar-nav {
        padding: 8px 0;
    }
    
    .navbar-toggler {
        border: none;
        padding: 6px 10px;
        font-size: 1.1rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
}

/* Dropdown menu improvements */
.dropdown-menu {
    background-color: var(--card-bg);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 8px 0;
}

.dropdown-item {
    padding: 12px 20px;
    color: var(--dark);
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(101, 181, 48, 0.1);
    color: var(--primary);
}

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

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

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}

/* Service Cards Redesign */
.service-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
    border-color: var(--primary);
}

.service-image {
    overflow: hidden;
    position: relative;
}

.service-overlay {
    background: rgba(101, 181, 48, 0.9);
    opacity: 0;
    transition: all 0.4s ease;
}

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

.service-icon {
    transform: scale(0.8);
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card:hover .service-icon {
    transform: scale(1);
}

.service-badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-features {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 1rem;
}

.service-price {
    text-align: left;
}

.service-price .h5 {
    font-size: 1.25rem;
    line-height: 1.2;
}

/* Modern Call to Action Styles */
.cta-modern {
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Gradient Background */
.cta-bg-gradient {
    background: linear-gradient(135deg, 
        #0066cc 0%, 
        #004499 25%, 
        #0077dd 50%, 
        #0055aa 75%, 
        #003388 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Background Pattern */
.cta-bg-pattern {
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: patternFloat 12s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(1deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

/* Floating Icons */
.cta-floating-elements {
    pointer-events: none;
}

.floating-icon {
    font-size: 2rem;
    animation: floatIcon 6s ease-in-out infinite;
}

.floating-icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-icon-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.2; }
    50% { transform: translateY(-20px) rotate(5deg); opacity: 0.4; }
}

/* CTA Badge */
.cta-badge {
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Text Shadow */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* CTA Buttons */
.btn-cta-primary {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border: none;
    color: white;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn-cta-primary:hover {
    background: linear-gradient(45deg, #e55a2b, #e8841a);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
    color: white;
}

.btn-cta-secondary {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    color: white;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn-cta-secondary:hover {
    background: linear-gradient(45deg, #218838, #1ba085);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.6);
    color: white;
}

/* Button Shine Effect */
.btn-shine {
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-cta-primary:hover .btn-shine,
.btn-cta-secondary:hover .btn-shine {
    transform: translateX(100%);
}

/* Feature Items */
.feature-item {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Trust Indicators */
.trust-item {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: scale(1.1);
}

/* Z-index utility */
.z-index-2 {
    z-index: 2;
}

/* Backdrop blur utility */
.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-modern {
        min-height: 350px;
        padding: 2rem 1rem !important;
    }
    
    .floating-icon {
        font-size: 1.5rem;
    }
    
    .cta-features .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .trust-item {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .display-5 {
        font-size: 1.8rem !important;
    }
}

/* Responsive Design for Service Cards */
@media (max-width: 1199.98px) {
    .service-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 991.98px) {
    .service-image img {
        height: 180px !important;
    }
    
    .service-content {
        padding: 1.5rem !important;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 767.98px) {
    .service-image img {
        height: 160px !important;
    }
    
    .service-content {
        padding: 1.25rem !important;
    }
    
    .service-content h4 {
        font-size: 1.1rem;
    }
    
    .service-content p {
        font-size: 0.9rem;
    }
    
    .service-features small {
        font-size: 0.8rem;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-price {
        text-align: center;
    }
    
    .btn.rounded-pill {
        width: 100%;
        justify-content: center;
    }
}


/*** Header ***/
.header-carousel .carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(22, 22, 22, .7);
}

@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 h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(22, 22, 22, .7), rgba(22, 22, 22, .7)), 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-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.service-item .btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 38px;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** 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-inner {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.portfolio-inner img {
    transition: .5s;
}

.portfolio-inner:hover img {
    transform: scale(1.1);
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.portfolio-inner:hover .portfolio-text {
    bottom: 0;
    opacity: 1;
}


/*** 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 {
    transition: .5s;
}

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

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 22, 22, .7);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    opacity: 0;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    border-radius: 60px;
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 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 .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    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);
    letter-spacing: 1px;
    box-shadow: none;
}

/* CTA Premium Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(405deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
}

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

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(125px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(125px) rotate(-360deg);
    }
}

/* CTA Premium Hover Effects */
.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255,193,7,0.4) !important;
}

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

/* Mobile-First CTA Design */
.cta-premium {
    min-height: 450px !important;
    padding: 1rem !important;
    background-attachment: scroll !important; /* Better performance on mobile */
}

.cta-premium .container-fluid {
    padding: 0 !important;
}

.cta-premium .col-lg-7 {
    padding: 2rem 1rem !important;
}

.cta-premium .col-lg-5 {
    display: none; /* Hide visual section on mobile by default */
}

/* Mobile Typography */
.cta-premium h1 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
}

.cta-premium .display-4 {
    font-size: 1.75rem !important;
}

.cta-premium h1 small {
    font-size: 0.9rem !important;
    margin-top: 0.5rem !important;
}

.cta-badge-new {
    font-size: 0.8rem !important;
    padding: 0.5rem 1rem !important;
}

/* Mobile Benefits */
.benefit-item {
    padding: 0.75rem !important;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background-color: rgba(255,255,255,0.15) !important;
    transform: translateY(-2px);
}

.benefit-icon {
    width: 40px !important;
    height: 40px !important;
    margin-right: 0.75rem !important;
    font-size: 1rem !important;
}

/* Mobile CTA Actions */
.cta-actions {
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-bottom: 1.5rem !important;
}

.cta-actions .btn {
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-actions .btn-warning {
    box-shadow: 0 4px 15px rgba(255,193,7,0.3) !important;
}

.cta-actions .btn-outline-light {
    border-width: 2px !important;
}

/* Mobile Trust Badges */
.trust-badges {
    justify-content: center !important;
    text-align: center;
    gap: 0.75rem !important;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    background-color: rgba(255,255,255,0.1);
    border-radius: 15px;
    white-space: nowrap;
}

/* Mobile Performance Optimizations */
.cta-shape-1, .cta-shape-2, .cta-shape-3 {
    display: none; /* Hide decorative elements on mobile for better performance */
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .benefit-item:hover {
        transform: none;
    }
    
    .cta-actions .btn:hover {
        transform: none;
    }
}

/* Tablet Design (768px and up) */
@media (min-width: 768px) {
    .cta-premium {
        min-height: 500px !important;
        padding: 2rem !important;
    }
    
    .cta-premium .col-lg-7 {
        padding: 3rem 2rem !important;
    }
    
    .cta-premium h1 {
        font-size: 2.25rem !important;
        line-height: 1.2 !important;
    }
    
    .cta-premium .display-4 {
        font-size: 2.25rem !important;
    }
    
    .cta-actions {
        flex-direction: row !important;
        gap: 1rem !important;
        justify-content: center;
    }
    
    .cta-actions .btn {
        padding: 1rem 2rem !important;
        font-size: 1.1rem !important;
    }
    
    .benefit-item {
        padding: 1rem !important;
    }
    
    .trust-badges {
        gap: 1.5rem !important;
    }
}

/* Desktop Design (992px and up) */
@media (min-width: 992px) {
    .cta-premium {
        min-height: 600px !important;
        padding: 3rem !important;
        background-attachment: fixed !important;
    }
    
    .cta-premium .col-lg-5 {
        display: block !important; /* Show visual section on desktop */
    }
    
    .cta-premium .col-lg-7 {
        padding: 4rem 3rem !important;
    }
    
    .cta-premium h1 {
        font-size: 3rem !important;
        line-height: 1.1 !important;
    }
    
    .cta-premium .display-4 {
        font-size: 3rem !important;
    }
    
    .cta-premium h1 small {
        font-size: 1.1rem !important;
    }
    
    .cta-badge-new {
        font-size: 0.9rem !important;
        padding: 0.75rem 1.5rem !important;
    }
    
    .benefit-item {
        padding: 1.25rem !important;
        margin-bottom: 1rem;
    }
    
    .benefit-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
    }
    
    .cta-actions .btn {
        padding: 1.25rem 2.5rem !important;
        font-size: 1.2rem !important;
    }
    
    .trust-item {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    /* Show decorative elements on desktop */
    .cta-shape-1, .cta-shape-2, .cta-shape-3 {
        display: block !important;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .cta-premium {
        min-height: 650px !important;
    }
    
    .cta-premium .col-lg-7 {
        padding: 5rem 4rem !important;
    }
    
    .cta-premium h1 {
        font-size: 3.5rem !important;
    }
    
    .cta-premium .display-4 {
        font-size: 3.5rem !important;
    }
    
    .benefit-item {
        padding: 1.5rem !important;
    }
    
    .benefit-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
}