@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Apply modern premium font */
body, h1, h2, h3, h4, h5, h6, .nav-menu a, .btn, .form-control {
    font-family: 'Outfit', sans-serif !important;
}

/* Base Theme Color Overrides & UI Improvements */
:root {
    --primary: var(--primary-db, #f59e0b);       /* Rich Amber Gold */
    --primary-dark: var(--primary-db, #d97706);  /* Deep Amber */
    --secondary: var(--secondary-db, #1e293b);     /* Slate Dark Gray */
    --secondary-light: #334155;
    --background: #f8fafc;    /* Clean Off-white */
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --hover-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15), 0 8px 16px -2px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium Floating Buttons — fixed bottom-right, NEVER over hero */
.floating-btn-group {
    position: fixed;
    bottom: 130px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* ensure it stays below the fold — not overlapping hero */
    top: auto !important;
    left: auto !important;
}

.floating-btn-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: var(--secondary) !important;
    color: #ffffff !important;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.25);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.floating-btn-item i {
    font-size: 16px;
}

.floating-btn-item.estimate-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.floating-btn-item:hover {
    transform: translateY(-4px) scale(1.03);
    color: #ffffff !important;
}

.floating-btn-item.estimate-btn:hover {
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, var(--primary-dark), #b45309) !important;
}

.floating-btn-item.partner-btn:hover {
    box-shadow: 0 12px 30px rgba(30, 41, 59, 0.4);
    background: var(--secondary-light) !important;
}

@media (max-width: 768px) {
    .floating-btn-group {
        bottom: 115px;
        right: 15px;
        left: 15px;
        flex-direction: row;
        justify-content: space-between;
    }
    .floating-btn-item {
        flex: 1;
        justify-content: center;
        padding: 12px 10px;
        font-size: 12px;
        gap: 6px;
    }
}

/* ==============================================
   HERO SLIDER — PERFECT TEXT CENTERING (FIX)
   ============================================== */
.slider-item {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.slider-table {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.slider-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
    vertical-align: middle !important;
}

.slider-animated {
    width: 100% !important;
    text-align: center !important;
}

.slider-animated h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

.slider-animated p {
    text-align: center !important;
    margin: 0 auto 0 auto !important;
    max-width: 680px !important;
    width: 100% !important;
}

.slider-animated ul {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    list-style: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    width: 100% !important;
    text-align: center !important;
}

.slider-animated li {
    display: inline-flex !important;
    margin: 0 !important;
}


/* Premium Consultation Popup & Modals */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.custom-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.custom-modal-container {
    background: #ffffff;
    border-radius: 16px;
    max-width: 660px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-modal-overlay.active .custom-modal-container {
    transform: translateY(0);
}

.custom-modal-header {
    background: var(--secondary) !important;
    padding: 20px 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--primary);
}

.custom-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 19px;
}

.custom-modal-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.custom-modal-close-btn:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

.custom-modal-body {
    padding: 30px 40px !important;
}

.modal-logo-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 10px !important;
    margin-bottom: 25px !important;
    width: 100% !important;
}

.modal-logo-wrapper img {
    max-height: 55px !important;
    display: block !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

/* Premium Form Elements & Icons inside Inputs */
.premium-form .form-group {
    position: relative;
    margin-bottom: 20px !important;
}

.premium-form label {
    font-weight: 700;
    color: #334155 !important;
    font-size: 13px !important;
    margin-bottom: 6px !important;
    display: block;
    letter-spacing: 0.3px;
}

.input-icon-wrapper {
    position: relative;
    width: 100% !important;
}

.input-icon-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
    transition: var(--transition);
}

.input-icon-wrapper textarea + i {
    top: 20px;
    transform: none;
}

.premium-form .form-control,
.premium-form select.form-control,
.premium-form textarea.form-control {
    width: 100% !important;
    box-sizing: border-box !important;
    height: 46px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background-color: #f8fafc !important;
    transition: var(--transition) !important;
    color: #1e293b !important;
    padding: 10px 15px 10px 42px !important;
    box-shadow: none !important;
}

.premium-form select[name="budget"] {
    padding-left: 15px !important;
}

.premium-form textarea.form-control {
    height: 90px !important;
    padding-top: 12px !important;
    resize: none !important;
}

.premium-form .form-control:focus {
    border-color: var(--primary) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
}

.premium-form .form-control:focus + i {
    color: var(--primary) !important;
}

/* Bootstrap Modal Design Redesigns */
.modal-content {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.modal-header {
    border-bottom: 3px solid var(--primary) !important;
    padding: 20px 30px !important;
}

/* Custom Success/Error Alerts Overlay */
.custom-alert {
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeInDown 0.3s ease;
}

.custom-alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 5px solid #10b981;
}

.custom-alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 5px solid #ef4444;
}


/* Why Choose Us & Process Cards */
.choose-right {
    position: relative;
    padding: 40px !important;
}

.choose-item ul li {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.choose-item ul li:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.1);
}

/* Modern Process Timeline Section */
.timeline-section {
    position: relative;
    padding: 80px 0;
    background: #f8fafc;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--card-shadow);
    position: relative;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-bottom-color: var(--primary);
}

.process-step-num {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.process-card h4 {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.process-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* Counter Up Redesign */
.counterup-area {
    padding: 80px 0 !important;
}

.counter-item {
    background: rgba(30, 41, 59, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.counter-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.counter-item h2 {
    color: var(--primary) !important;
    font-weight: 800 !important;
    font-size: 45px !important;
    margin-bottom: 10px;
}

.counter-item h4 {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 15px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonial Premium Upgrade */
.testimonial-item {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: var(--card-shadow) !important;
    margin: 15px;
    transition: var(--transition);
}

.testimonial-item:hover {
    box-shadow: var(--hover-shadow) !important;
}

.testimonial-detail {
    background: transparent !important;
    padding: 0 !important;
    margin-top: 20px;
}

.testimonial-detail p {
    font-style: italic;
    color: #475569 !important;
    font-size: 15px;
    line-height: 1.8;
}

.client-name h4 {
    font-weight: 700;
    color: var(--secondary) !important;
    margin-bottom: 5px;
}

/* Services and Portfolio Cards */
.services-item, .recent-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    border: 1px solid #f1f5f9;
}

.services-item:hover, .recent-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.services-text, .recent-text {
    border-top: none !important;
    padding: 25px !important;
    background: #ffffff !important;
}

.services-text h3 a, .recent-text h3 a {
    color: var(--secondary) !important;
    font-weight: 700;
    font-size: 20px;
    transition: var(--transition);
}

.services-text h3 a:hover, .recent-text h3 a:hover {
    color: var(--primary) !important;
}

.services-link a {
    display: inline-block;
    padding: 10px 20px !important;
    border-radius: 30px !important;
    background-color: var(--secondary) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: var(--transition);
}

.services-link a:hover {
    background-color: var(--primary) !important;
    transform: scale(1.05);
}

/* Footer Premium Design */
.footer-contact-area {
    background-color: var(--secondary-light) !important;
    padding: 40px 0 !important;
}

.footer-contact-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.footer-main {
    background-color: var(--secondary) !important;
    padding: 80px 0 50px !important;
}

.footer-col h3 {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 25px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.7;
}

.footer-col .news-title a {
    color: #94a3b8 !important;
    transition: var(--transition);
}

/* Footer Premium Design */
.footer-col .news-title a:hover {
    color: var(--primary) !important;
    padding-left: 5px;
}

/* Service Card Centering & Alignment Fix */
.services-area .row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}
.services-area .row > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
}

.services-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: var(--card-shadow) !important;
    transition: var(--transition) !important;
    margin-bottom: 30px !important;
}

.services-photo {
    height: 220px !important;
    background-size: cover !important;
    background-position: center !important;
    flex-shrink: 0 !important;
}

.services-text {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 25px !important;
}

.services-text h3 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.services-text p {
    flex-grow: 1 !important;
    color: #64748b !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

.services-link {
    margin-top: auto !important;
}

/* Testimonial Equal Height Alignment */
.testimonial-carousel.owl-carousel .owl-stage {
    display: flex !important;
}

.testimonial-carousel.owl-carousel .owl-item {
    display: flex !important;
}

.testimonial-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: var(--card-shadow) !important;
    margin: 15px 5px !important;
    transition: var(--transition) !important;
}

.testimonial-text {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.testimonial-detail {
    flex-grow: 1 !important;
    margin-top: 15px !important;
}

.testimonial-detail p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    font-style: italic !important;
    margin: 0 !important;
}

/* Partners Branding Logo Sizing & Centering - Redesigned to use Project Banners */
.brand-carousel.owl-carousel .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

.brand-carousel .brand-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 380px !important;
    width: 100% !important;
    margin: 15px auto !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
}

.brand-carousel .brand-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border-color: var(--primary) !important;
}

.brand-carousel .brand-item .premium-partner-card {
    width: 100% !important;
    height: 270px !important;
    overflow: hidden !important;
    position: relative !important;
    border-bottom: 3px solid var(--primary) !important;
    padding: 0px !important;
    display: block !important;
}

.brand-carousel .brand-item .partner-project-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease !important;
}

.brand-carousel .brand-item:hover .partner-project-img {
    transform: scale(1.08) !important;
}

.brand-carousel .brand-item .partner-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--secondary) !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 22px 15px 15px 15px !important;
    width: 100% !important;
    white-space: normal !important;
    overflow: hidden;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    transition: color 0.3s ease !important;
}

.brand-carousel .brand-item:hover .partner-name {
    color: var(--primary) !important;
}


/* Ensure Portfolio photo serves as position relative context for overlay centering */
.recent-photo {
    position: relative !important;
}

/* Portfolio Video Play Button Overlays */
.portfolio-video-overlay-btn {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 12 !important;
    color: #ffffff !important;
    font-size: 56px !important;
    opacity: 0.9 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

.portfolio-video-overlay-btn:hover {
    color: #ef4444 !important;
    transform: translate(-50%, -50%) scale(1.15) !important;
    opacity: 1 !important;
}

.portfolio-video-overlay-btn i {
    animation: pulse-red 2s infinite !important;
    border-radius: 50% !important;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.lightbox-video-play-icon {
    display: inline-block !important;
    margin-left: 12px !important;
    background: #ef4444 !important;
    color: #fff !important;
    width: 34px !important;
    height: 34px !important;
    line-height: 34px !important;
    border-radius: 50% !important;
    text-align: center !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.lightbox-video-play-icon:hover {
    background: #b91c1c !important;
    color: #fff !important;
    transform: scale(1.1) !important;
}

/* Payment Details Card Styles */
.payment-card {
    transition: all 0.3s ease !important;
}
.payment-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;
}
.qr-placeholder-box:hover {
    border-color: var(--primary) !important;
    background: #fffbeb !important;
}
.qr-placeholder-box:hover .placeholder-qr-icon {
    color: var(--primary) !important;
    transform: scale(1.05) !important;
}

/* News Cards Equal Height Alignment */
.blog-carousel.owl-carousel .owl-stage {
    display: flex !important;
}

.blog-carousel.owl-carousel .owl-item {
    display: flex !important;
}

.blog-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: var(--card-shadow) !important;
    transition: var(--transition) !important;
    margin: 15px 5px !important;
}

.blog-photo {
    height: 200px !important;
    background-size: cover !important;
    background-position: center !important;
    flex-shrink: 0 !important;
}

.blog-text {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 25px !important;
}

.blog-text h3 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.blog-text p {
    flex-grow: 1 !important;
    color: #64748b !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

/* Force Modals to display above backdrop and all fixed overlays */
.modal {
    z-index: 100001 !important;
}
.modal-backdrop {
    z-index: 100000 !important;
}
/* Custom Modal overlay (Consultation Popup) */
.custom-modal-overlay {
    z-index: 100002 !important;
}

/* Portfolio Card Equal Heights and Uniform Layout */

.recent-item {
    height: 480px !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: var(--card-shadow) !important;
    transition: var(--transition) !important;
    border: 1px solid #f1f5f9 !important;
    margin-bottom: 30px !important;
}

.lightbox-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    flex-grow: 1 !important;
}

.recent-photo {
    height: 240px !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative !important;
}

.recent-text {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 25px !important;
    background: #ffffff !important;
    height: calc(100% - 240px) !important;
    justify-content: space-between !important;
}

.recent-text h3 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    height: 50px !important;
    overflow: hidden !important;
}

.recent-text h3 a {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--secondary) !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: var(--transition) !important;
}

.recent-text h3 a:hover {
    color: var(--primary) !important;
}

.portfolio-desc {
    height: 65px !important;
    overflow: hidden !important;
    margin-bottom: 15px !important;
}

.portfolio-desc, .portfolio-desc p {
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.services-link {
    margin-top: auto !important;
}

/* Consultation Popup Submit and Call Us Centering */
.premium-form button[type="submit"] {
    display: block !important;
    margin: 30px auto 0 auto !important;
    max-width: 320px !important;
    width: 100% !important;
    height: 50px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: var(--transition) !important;
}

.modal-call-us {
    text-align: center !important;
    margin-top: 20px !important;
    width: 100% !important;
    display: block !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

/* Premium Photo Gallery Styling & Hover Zoom */
.caption-item {
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: var(--card-shadow) !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 30px !important;
    transition: var(--transition) !important;
}

.caption-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--hover-shadow) !important;
    border-color: var(--primary) !important;
}

.caption-photo {
    height: 220px !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    overflow: hidden !important;
    transition: var(--transition) !important;
}

.caption-photo:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.caption-item:hover .caption-photo:after {
    opacity: 1;
}

.caption-item:hover .caption-photo {
    transform: scale(1.06) !important;
}

.caption-bg {
    z-index: 2 !important;
}

.caption-box {
    z-index: 3 !important;
}

.caption-text {
    padding: 18px 15px !important;
    background: #ffffff !important;
    text-align: center !important;
    border-top: 3px solid #f1f5f9 !important;
    transition: var(--transition) !important;
}

.caption-item:hover .caption-text {
    border-top-color: var(--primary) !important;
}

.caption-text p {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--secondary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* ==============================================
   FINAL ALIGNMENT SYSTEM — ALL SECTIONS UNIFORM
   ============================================== */

/* ── Services Section ── */
.services-area .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}
.services-area .row > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
}
.services-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 440px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    background: #fff !important;
    margin-bottom: 30px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.services-item:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.14) !important;
}
.services-photo {
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    flex-shrink: 0 !important;
    display: block !important;
}
.services-text {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 24px !important;
    background: #fff !important;
}
.services-text h3 {
    margin: 0 0 10px 0 !important;
    min-height: 48px !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
}
.services-text > p, .services-text > .short_content p {
    flex-grow: 1 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: #64748b !important;
    margin-bottom: 18px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.services-text .services-link {
    margin-top: auto !important;
    padding-top: 10px !important;
}

/* ── Portfolio / Our Projects Cards ── */
.filtr-container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}
.filtr-container > .filtr-item,
.filtr-container > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
}
.recent-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 500px !important;
    max-height: 500px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    background: #fff !important;
    margin-bottom: 30px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.recent-item:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.14) !important;
}
.recent-photo {
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    flex-shrink: 0 !important;
    position: relative !important;
}
.lightbox-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    flex-grow: 1 !important;
}
.recent-text {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 22px !important;
    background: #fff !important;
    overflow: hidden !important;
}
.recent-text h3 {
    margin: 0 0 8px 0 !important;
    min-height: 50px !important;
    max-height: 50px !important;
    overflow: hidden !important;
}
.recent-text h3 a {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.portfolio-desc {
    flex-grow: 1 !important;
    height: 70px !important;
    max-height: 70px !important;
    overflow: hidden !important;
    margin-bottom: 15px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #64748b !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}
.recent-text .services-link {
    margin-top: auto !important;
}

/* ── News / Recent Posts Carousel ── */
.blog-carousel.owl-carousel .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}
.blog-carousel.owl-carousel .owl-item {
    display: flex !important;
    flex-direction: column !important;
}
.blog-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 420px !important;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    margin: 10px 8px !important;
}
.blog-item:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.14) !important;
}
.blog-photo {
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    flex-shrink: 0 !important;
    display: block !important;
}
.blog-author {
    padding: 10px 20px 0 20px !important;
    flex-shrink: 0 !important;
}
.blog-text {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 15px 20px 20px 20px !important;
}
.blog-text h3 {
    margin: 0 0 8px 0 !important;
    min-height: 46px !important;
    max-height: 46px !important;
    overflow: hidden !important;
}
.blog-text h3 a {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.blog-text > p {
    flex-grow: 1 !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #64748b !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 15px !important;
}
.blog-text .services-link {
    margin-top: auto !important;
}

/* ── News List Page ── */
.blog-area.blog-clear .blog-item {
    margin: 0 0 30px 0 !important;
}
.blog-area.blog-clear .blog-photo {
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
}

/* ── Gallery Items — Equal Height ── */
.caption-photo-area .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}
.caption-photo-area [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
}
.caption-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 300px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 28px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.caption-photo {
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
}
.caption-text {
    flex-grow: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    min-height: 54px !important;
    border-top: 3px solid #f1f5f9 !important;
    background: #fff !important;
    text-align: center !important;
}

/* ── Service Detail Page Banner ── */
.services-area .col-md-4 {
    margin-bottom: 30px !important;
}

/* ── Global Row Stretch Fix ── */
.services-area .row,
.blog-area .row,
.caption-photo-area .row {
    align-items: stretch !important;
}

/* ==============================================
   PHOTO GALLERY HEADING — PERFECT CENTER FIX
   ============================================== */

/* The heading row must center its content */
.caption-photo-area > .container > .row:first-child {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}

/* The .headline wrapper itself */
.caption-photo-area .headline {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin: 0 auto 20px auto !important;
    float: none !important;
}

/* The inline-block shadow element must be centered */
.caption-photo-area .headline-shadow {
    display: block !important;
    text-align: center !important;
    margin: 0 auto !important;
    float: none !important;
    width: auto !important;
    max-width: 700px !important;
}

/* Heading text */
.caption-photo-area .headline h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Subtitle text */
.caption-photo-area .headline p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ==========================================================================
   Live Visitor Activity Popup (Enterprise Business Style)
   ========================================================================== */
.live-activity-popup {
    position: fixed;
    bottom: 165px;
    left: 25px;
    z-index: 9998;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    padding: 14px 18px;
    max-width: 320px;
    width: calc(100% - 50px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(30px);
    opacity: 0;
    pointer-events: none;
    font-family: inherit;
}
.live-activity-popup.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.live-activity-content {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}
.live-activity-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f59e0b;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #f8fafc;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}
.live-activity-details {
    flex-grow: 1;
    min-width: 0;
    text-align: left;
}
.live-activity-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
}
.live-activity-name {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.live-activity-badge {
    color: #10b981;
    font-size: 13px;
    flex-shrink: 0;
}
.live-activity-service {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 3px;
    line-height: 1.3;
}
.live-activity-meta {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}
.live-activity-close {
    position: absolute;
    top: -8px;
    right: -8px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    padding: 2px 6px;
    line-height: 1;
    transition: color 0.2s;
}
.live-activity-close:hover {
    color: #0f172a;
}

@media (max-width: 768px) {
    .live-activity-popup {
        bottom: 130px;
        left: 15px;
    }
}

@media (max-width: 576px) {
    .live-activity-popup {
        bottom: 130px;
        left: 15px;
        right: 15px;
        max-width: calc(100% - 30px);
        width: auto;
    }
}

/* =========================================
   TASK 1: NAVBAR REFINEMENTS
   ========================================= */
.header-area {
    padding: 10px 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background: #ffffff !important;
}
.logo img {
    max-height: 50px !important;
    margin-top: 5px;
    transition: var(--transition);
}
.nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.nav-menu li {
    list-style: none;
}
ul.nav-menu li a {
    color: var(--secondary) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 10px 5px !important;
    position: relative;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    transition: color 0.3s ease;
}
ul.nav-menu li a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary) !important;
    transition: width 0.3s ease;
}
ul.nav-menu li a:hover,
ul.nav-menu li a.active {
    color: var(--primary) !important;
}
ul.nav-menu li a:hover:after,
ul.nav-menu li a.active:after {
    width: 100%;
}

/* =========================================
   TASK 2: HERO SECTION REFINEMENTS
   ========================================= */
.slider-item {
    height: 70vh !important;
    min-height: 500px !important;
}
.slider-text h1 {
    font-size: 48px !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
}
.slider-text p {
    font-size: 18px !important;
    margin-bottom: 30px !important;
}
.slider-animated .btn {
    padding: 12px 30px !important;
    font-size: 15px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}
/* Slider Arrows */
.owl-nav .owl-prev,
.owl-nav .owl-next {
    width: 40px !important;
    height: 40px !important;
    line-height: 38px !important;
    font-size: 18px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--secondary) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease !important;
}
.owl-nav .owl-prev:hover,
.owl-nav .owl-next:hover {
    background: var(--primary) !important;
    color: #fff !important;
    transform: scale(1.1);
}

/* =========================================
   TASK 3: FLOATING ACTION BUTTONS (ALL)
   ========================================= */
.floating-comm-group,
.floating-btn-group {
    position: fixed !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    top: auto !important;
}
.floating-comm-group {
    bottom: 30px !important;
    left: 30px !important;
}
.floating-btn-group {
    bottom: 30px !important;
    right: 30px !important;
}

.floating-comm-item,
.floating-btn-item {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    background: var(--secondary) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
    box-sizing: border-box !important;
    transition: background-color 0.3s, transform 0.3s !important;
    white-space: nowrap !important;
    border: none !important;
}
.floating-comm-item i,
.floating-btn-item i {
    font-size: 18px !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}
.floating-comm-item span,
.floating-btn-item span {
    opacity: 1 !important;
    display: inline-block !important;
    max-width: none !important;
}

/* Specific colors */
.whatsapp-btn { background: #25D366 !important; }
.phone-btn { background: #0284c7 !important; }
.estimate-btn { background: var(--primary) !important; }
.partner-btn { background: var(--secondary) !important; }

.floating-comm-item:hover,
.floating-btn-item:hover {
    transform: translateY(-3px) !important;
}

/* =========================================
   TASK 4: CHATBOT STYLING (JS HANDLED)
   ========================================= */

/* =========================================
   TASK 5: GLOBAL POLISH
   ========================================= */
.services-area, .team-area, .blog-area, .portfolio-area {
    padding: 80px 0 !important;
}
.services-item, .team-item, .blog-item {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: var(--card-shadow) !important;
    transition: var(--hover-shadow) 0.3s ease !important;
}
.services-item:hover, .team-item:hover, .blog-item:hover {
    box-shadow: var(--hover-shadow) !important;
    transform: translateY(-5px) !important;
}

