/* ===================================================
   Noon Dijital - Custom Styles & Layout Fixes
   Brand Color: #cc0000 (Noon Signature Magenta/Pink)
=================================================== */

:root {
    --dl-primary-color: #cc0000;
    --noon-pink: #cc0000;
    --noon-pink-light: #e60000;
    --noon-pink-dark: #a80000;
    --noon-pink-glow: rgba(204, 0, 0, 0.25);
    --noon-dark: #111116;
}

/* Primary color contrast adjustments */
.default-btn {
    --dl-btn-bg: var(--dl-primary-color);
    --dl-btn-color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--noon-pink-glow);
    white-space: nowrap;
}

.default-btn:hover {
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
}

.circle-btn.fill {
    color: #ffffff !important;
}

.circle-btn.fill:hover {
    color: #ffffff !important;
}

/* Logo styling */
.site-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: var(--dl-transition);
}

/* ----------------------------------------------------
   CRITICAL FIX: HEADER NAVIGATION SPACING & NO-WRAP
---------------------------------------------------- */
.main-header .container {
    max-width: 1320px;
}

.header-menu-wrap {
    margin-right: 25px;
}

.main-header-wapper .nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-header-wapper .nav-menu > li {
    margin: 0 !important;
    padding: 0 !important;
}

.main-header-wapper .nav-menu > li > a {
    white-space: nowrap !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    padding: 10px 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
    letter-spacing: -0.2px;
    color: #191919 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.main-header-wapper .nav-menu > li > a:before {
    display: none !important;
    content: none !important;
}

.main-header-wapper .nav-menu > li > a span {
    opacity: 1 !important;
    visibility: visible !important;
    color: inherit !important;
}

/* ----------------------------------------------------
   CRITICAL FIX: HERO TITLE & TEXT COLLISION
---------------------------------------------------- */
.digital-agency-hero {
    padding-top: 150px !important;
    padding-bottom: 80px !important;
}

.digital-agency-hero .hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.digital-agency-hero .hero-content h1,
.digital-agency-hero .hero-title {
    font-size: clamp(36px, 4.4vw, 64px) !important;
    line-height: 1.18 !important;
    letter-spacing: -1px !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
    margin-top: 15px !important;
    margin-bottom: 25px !important;
}

.digital-agency-hero .hero-title span {
    color: var(--noon-pink) !important;
}

/* Ensure SplitType words don't break letters in half */
.digital-agency-hero .hero-title .word {
    display: inline-block !important;
    white-space: nowrap !important;
}

.digital-agency-hero .hero-title .char {
    display: inline-block !important;
}

.digital-agency-hero .hero-desc {
    max-width: 600px !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    margin-bottom: 25px !important;
    color: #4a4a4a !important;
}

.digital-agency-hero .hero-desc-2 {
    position: static !important;
    max-width: 500px !important;
    margin-top: 25px !important;
    padding: 14px 18px !important;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border-left: 4px solid var(--noon-pink);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Badges */
.boutique-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(204, 0, 0, 0.1);
    border: 1px solid rgba(204, 0, 0, 0.3);
    color: var(--noon-pink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.boutique-badge .dot-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cc0000;
    box-shadow: 0 0 10px #cc0000;
    animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

/* ----------------------------------------------------
   SITE LOGO DISPLAY & VISIBILITY (ABSOLUTE FIX)
---------------------------------------------------- */
.site-logo {
    display: flex !important;
    align-items: center !important;
    min-height: 44px;
}

.site-logo a {
    display: inline-flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.site-logo img {
    height: 38px !important;
    max-height: 42px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Service Item Card Enhancements */
.digital-agency-service .service-item {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 35px 25px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.digital-agency-service .service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #cc0000, #e60000);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.digital-agency-service .service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(204, 0, 0, 0.3);
}

.digital-agency-service .service-item:hover::before {
    opacity: 1;
}

.process-step-num {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: var(--noon-pink);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* LinkedIn Recommendation Cards */
.testimonial-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 30px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.testimonial-item p {
    font-size: 16px;
    line-height: 1.75;
    color: #333333;
    font-style: normal;
    margin-bottom: 20px;
}

.testimonial-meta li {
    font-size: 18px;
    font-weight: 700;
    color: #111116;
}

.testimonial-meta li.position {
    font-size: 13px;
    color: #777;
    font-weight: 500;
    margin-top: 4px;
}

.linkedin-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #0077b5;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Reference Showcase Grid */
.reference-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #ebebeb;
    padding: 30px;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reference-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    border-color: var(--noon-pink);
}

.reference-card .ref-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--noon-pink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.reference-card .ref-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.reference-card .ref-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.reference-card .ref-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--noon-pink);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.reference-card .ref-link:hover {
    text-decoration: underline;
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #ffffff !important;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    color: #ffffff !important;
}

.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: #1e1e1e;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

/* ----------------------------------------------------
   LOADER SAFETY & FAIL-SAFE RULES
---------------------------------------------------- */
.loader-wrap {
    transition: opacity 0.4s ease, visibility 0.4s ease;
    animation: autoDismissLoaderWrap 2.2s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes autoDismissLoaderWrap {
    0%, 75% {
        opacity: 1;
        pointer-events: all;
    }
    99% {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }
    100% {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        display: none !important;
        z-index: -999 !important;
    }
}

/* ----------------------------------------------------
   DIGITAL AGENCY CTA ENHANCEMENTS
---------------------------------------------------- */
.digital-agency-cta {
    background: #111116 !important;
    padding: 110px 0 !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.digital-agency-cta .cta-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.digital-agency-cta .cta-content h2 {
    color: #ffffff !important;
    font-size: clamp(38px, 5.5vw, 80px) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: -1.5px;
    margin-bottom: 25px !important;
}

.digital-agency-cta .cta-content h2 span {
    color: var(--noon-pink) !important;
    display: inline-block;
}

.digital-agency-cta .cta-content .btn-group {
    display: flex !important;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.digital-agency-cta .btn-white {
    background: #ffffff !important;
    color: #111116 !important;
    padding: 16px 36px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.digital-agency-cta .btn-white:hover {
    background: var(--noon-pink) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px var(--noon-pink-glow);
}

.digital-agency-cta .underline-btn {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.digital-agency-cta .underline-btn:hover {
    color: var(--noon-pink) !important;
    border-color: var(--noon-pink);
}

.digital-agency-cta .cta-img-wrap {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 991px) {
    .digital-agency-cta {
        padding: 80px 0 !important;
    }
    .digital-agency-cta .cta-img-wrap {
        display: none;
    }
    .digital-agency-cta .cta-content {
        max-width: 100%;
        text-align: center;
    }
    .digital-agency-cta .cta-content .btn-group {
        justify-content: center;
    }
}



