/* =========================================================
   CONSULTANCY PAGE — ADVANCED PREMIUM DESIGN
   Theme: Dark Navy + Deep Green + White
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --cx-navy:        #0a1628;
    --cx-navy-2:      #0f1f36;
    --cx-navy-3:      #152a45;
    --cx-green:       #539E10;
    --cx-green-bright:#6bc41a;
    --cx-green-dark:  #3d7a0c;
    --cx-green-soft:  rgba(83, 158, 16, 0.12);
    --cx-white:       #ffffff;
    --cx-off-white:   #f8fafc;
    --cx-text:        #e2e8f0;
    --cx-text-dim:    #94a3b8;
    --cx-border:      rgba(255, 255, 255, 0.08);
}


/* =========================================================
   HERO SECTION — Dramatic Dark Gradient
========================================================= */
.consultancy-hero {
    position: relative;
    padding: 180px 0 110px 0;
    background: linear-gradient(145deg, #06101f 0%, #0a1f3d 40%, #0f2d28 70%, #06101f 100%);
    overflow: hidden;
    isolation: isolate;
}

/* Grid pattern */
.consultancy-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(83, 158, 16, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(83, 158, 16, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
            mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

/* Ambient green glow */
.consultancy-hero::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    right: -200px;
    top: 30%;
    background: radial-gradient(circle, rgba(83, 158, 16, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.consultancy-hero .container {
    position: relative;
    z-index: 2;
}

.consultancy-hero-content {
    max-width: 780px;
    margin: 0 auto;
}

.consultancy-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px 8px 16px;
    border: 1px solid rgba(83, 158, 16, 0.35);
    border-radius: 40px;
    background: rgba(83, 158, 16, 0.1);
    color: #7ee787;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.consultancy-hero-tag::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #539E10;
    box-shadow: 0 0 10px #539E10;
}

.consultancy-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(40px, 5.5vw, 58px);
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.12;
    letter-spacing: -1.4px;
    margin-bottom: 22px;
}

.consultancy-hero-title span {
    background: linear-gradient(135deg, #7ee787, #539E10);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.consultancy-hero-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #94a3b8;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .consultancy-hero {
        padding: 140px 0 80px 0;
    }
    .consultancy-hero-title {
        font-size: 32px;
        letter-spacing: -0.8px;
    }
    .consultancy-hero-subtext {
        font-size: 15px;
    }
}


/* =========================================================
   CONTENT SECTION — Split Layout with Card Feel
========================================================= */
.consultancy-content {
    padding: 100px 0 110px 0;
    background: #f8fafc;
    position: relative;
}

.consultancy-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

/* Left side */
.consultancy-left {
    padding-right: 40px;
}

.consultancy-left h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 22px;
    letter-spacing: -0.8px;
    line-height: 1.2;
}

.consultancy-desc {
    font-family: 'Inter', sans-serif;
    font-size: 16.5px;
    line-height: 1.85;
    color: #475569;
    max-width: 95%;
    margin-bottom: 36px;
}

/* Premium Button */
.consultancy-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 42px;
    background: linear-gradient(135deg, #539E10 0%, #3d7a0c 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(83, 158, 16, 0.3);
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.consultancy-btn::after {
    content: "→";
    font-size: 18px;
    transition: transform 0.3s ease;
}

.consultancy-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(83, 158, 16, 0.4);
    background: linear-gradient(135deg, #63b916 0%, #539E10 100%);
}

.consultancy-btn:hover::after {
    transform: translateX(4px);
}

/* Right side — Calendly card */
.consultancy-right {
    padding-left: 20px;
}

.consultancy-right .calendly-inline-widget {
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 
        0 25px 60px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(15, 23, 42, 0.05);
    background: #ffffff;
    min-height: 700px;
}

@media (max-width: 991px) {
    .consultancy-content {
        padding: 70px 0 80px 0;
    }
    .consultancy-left {
        padding-right: 0;
        text-align: center;
        margin-bottom: 50px;
    }
    .consultancy-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .consultancy-right {
        padding-left: 0;
    }
    .consultancy-left h2 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .consultancy-content {
        padding: 50px 0 60px 0;
    }
    .consultancy-left h2 {
        font-size: 26px;
    }
    .consultancy-desc {
        font-size: 15px;
    }
    .consultancy-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
    }
    .consultancy-right .calendly-inline-widget {
        min-height: 620px !important;
        border-radius: 16px !important;
    }
}


/* =========================================================
   CTA SECTION — Dark Navy Band
========================================================= */
.consultancy-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, #0a1628 0%, #0f1f36 50%, #0a1f2e 100%);
    position: relative;
    overflow: hidden;
}

.consultancy-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(83, 158, 16, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(83, 158, 16, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
    pointer-events: none;
}

.consultancy-cta .container {
    position: relative;
    z-index: 2;
}

.consultancy-cta h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.consultancy-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: #539E10;
    color: #ffffff !important;
    border: 2px solid #539E10;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(83, 158, 16, 0.35);
    text-decoration: none !important;
}

.consultancy-cta-btn:hover {
    background: transparent;
    color: #7ee787 !important;
    border-color: #7ee787;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(83, 158, 16, 0.25);
}

@media (max-width: 991px) {
    .consultancy-cta {
        padding: 55px 0;
        text-align: center;
    }
    .consultancy-cta h3 {
        margin-bottom: 24px;
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .consultancy-cta {
        padding: 45px 0;
    }
    .consultancy-cta h3 {
        font-size: 22px;
        margin-bottom: 22px;
    }
    .consultancy-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 14px;
    }
}


/* =========================================================
   SCROLL TO TOP
========================================================= */
.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: #539E10;
    color: #FFFFFF;
    font-size: 20px;
    box-shadow: 0 8px 25px rgba(83, 158, 16, 0.35);
    z-index: 9999;
    transition: all 0.3s ease;
}

.scroll-top:hover {
    background: #0a1628;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10, 22, 40, 0.4);
}

@media (max-width: 600px) {
    .scroll-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* =========================================================
   ADVANCED CALENDLY CARD DESIGN
========================================================= */

.consultancy-right {
    position: relative;
    padding-left: 20px;
}

/* Outer premium card */
.consultancy-right .calendly-inline-widget {
    position: relative;
    border-radius: 24px !important;
    overflow: hidden;
    background: #ffffff;
    box-shadow:
        0 30px 60px -12px rgba(10, 22, 40, 0.18),
        0 18px 36px -18px rgba(10, 22, 40, 0.12),
        0 0 0 1px rgba(15, 23, 42, 0.06);
    min-height: 700px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Soft green top accent bar */
.consultancy-right .calendly-inline-widget::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3d7a0c, #539E10, #7ee787, #539E10, #3d7a0c);
    background-size: 200% 100%;
    z-index: 10;
    animation: calendlyBar 6s linear infinite;
}

@keyframes calendlyBar {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* Subtle inner glow on hover */
.consultancy-right:hover .calendly-inline-widget {
    transform: translateY(-6px);
    box-shadow:
        0 40px 80px -12px rgba(10, 22, 40, 0.22),
        0 20px 40px -18px rgba(83, 158, 16, 0.15),
        0 0 0 1px rgba(83, 158, 16, 0.12);
}

/* Decorative floating elements (pure CSS) */
.consultancy-right::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -40px;
    right: -30px;
    background: radial-gradient(circle, rgba(83, 158, 16, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.consultancy-right::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    bottom: 40px;
    left: -20px;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 991px) {
    .consultancy-right {
        padding-left: 0;
    }
    
    .consultancy-right .calendly-inline-widget {
        border-radius: 20px !important;
    }
}

@media (max-width: 767px) {
    .consultancy-right .calendly-inline-widget {
        min-height: 620px !important;
        border-radius: 16px !important;
    }
    
    .consultancy-right:hover .calendly-inline-widget {
        transform: none; /* mobile pe hover effect band */
    }
}

/* =========================================================
   CONTACT FORM — INDEX STYLE OVERRIDE
   ========================================================= */

/* Modal Background - White */
#contactUsModal .modal-content {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
    overflow: hidden !important;
}

/* Modal Header - Light Green */
#contactUsModal .modal-header {
    background: #e8f5e9 !important;
    border-bottom: 1px solid rgba(83, 158, 16, 0.15) !important;
    padding: 20px 30px 15px 30px !important;
    border-radius: 16px 16px 0 0 !important;
}

#contactUsModal .modal-header .modal-title {
    color: #1a1a2e !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

#contactUsModal .modal-header .btn-close {
    filter: none !important;
    opacity: 0.6 !important;
}

#contactUsModal .modal-header .btn-close:hover {
    opacity: 1 !important;
}

/* Modal Body - White */
#contactUsModal .modal-body {
    padding: 0 !important;
    background: #ffffff !important;
}

/* Row - Full Height */
#contactUsModal .modal-body .row {
    min-height: 450px;
    margin: 0 !important;
}

/* ======================================== */
/* IMAGE COLUMN - Left Side                */
/* ======================================== */

.contact-modal-image {
    position: relative;
    height: 100%;
    min-height: 100%;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
    margin-top: 0 !important;
    padding: 0 !important;
}

.contact-modal-img {
    width: 100%;
    height: 100%;
    min-height: 450px !important;
    object-fit: cover;
    display: block;
}

/* Image Column - White Background */
#contactUsModal .modal-body .col-md-5 {
    background: #ffffff !important;
}

/* ======================================== */
/* FORM COLUMN - Right Side                */
/* ======================================== */

#contactUsModal .modal-body .col-md-7 {
    display: flex;
    align-items: center;
    background: #f0f7e8 !important;
    border-radius: 0 0 16px 0 !important;
}

/* Modal Width */
#contactUsModal .modal-dialog {
    max-width: 1100px !important;
    width: 95% !important;
}

/* ======================================== */
/* FORM ROW - Two Column Layout            */
/* ======================================== */

#contactUsModal .cf-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
}

/* Last row (Comment) ke baad extra gap */
#contactUsModal .cf-row:last-of-type {
    margin-bottom: 20px;
}

/* Each column - 50% width */
#contactUsModal .cf-col {
    flex: 1 1 calc(50% - 9px);
    min-width: 0;
}

/* Form Group */
#contactUsModal .form-group-float {
    margin: 0 !important;
    width: 100%;
    position: relative;
}

/* ======================================== */
/* LABELS - Floating Effect                */
/* ======================================== */

#contactUsModal .form-label {
    color: #1a1a2e !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    letter-spacing: 0.3px !important;
    margin-bottom: 5px !important;
}

/* Input/Textarea ko upar se extra padding */
#contactUsModal .form-group-float .form-control {
    padding-top: 20px !important;
    padding-bottom: 8px !important;
}

/* Label ki default position - input ke andar */
#contactUsModal .form-group-float .form-label {
    position: absolute;
    left: 16px;
    top: 16px;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: rgba(0,0,0,0.4) !important;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
}

/* Textarea ka label */
#contactUsModal .form-group-float textarea ~ .form-label {
    top: 16px;
}

/* Focus ya content filled -> label upar chala jaye */
#contactUsModal .form-group-float .form-control:focus ~ .form-label,
#contactUsModal .form-group-float .form-control:not(:placeholder-shown) ~ .form-label {
    top: -9px;
    left: 12px;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #539E10 !important;
    background: #f0f7e8;
    padding: 0 6px;
    letter-spacing: 0.3px;
}

/* ======================================== */
/* INPUTS - Style                          */
/* ======================================== */

#contactUsModal .form-control {
    background: #ffffff !important;
    border: 1px solid #d4edda !important;
    color: #1a1a2e !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

/* Input Placeholder */
#contactUsModal .form-control::placeholder {
    color: rgba(0,0,0,0.35) !important;
    font-size: 13px !important;
}

/* Input Focus - Green Outline */
#contactUsModal .form-control:focus {
    background: #ffffff !important;
    border-color: #539E10 !important;
    box-shadow: 0 0 0 4px rgba(83, 158, 16, 0.15) !important;
    outline: none !important;
    color: #1a1a2e !important;
}

/* Textarea */
#contactUsModal textarea.form-control {
    resize: vertical !important;
    min-height: 80px !important;
}

/* ======================================== */
/* SUBMIT BUTTON - Green                   */
/* ======================================== */

#contactUsModal .Join_now {
    background: linear-gradient(135deg, #539E10, #3d7a0c) !important;
    border: none !important;
    color: #ffffff !important;
    padding: 14px 30px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    margin-top: 5px !important;
    width: 100% !important;
}

#contactUsModal .Join_now:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(83, 158, 16, 0.4) !important;
    background: linear-gradient(135deg, #3d7a0c, #2d5e09) !important;
}

#contactUsModal .Join_now:disabled {
    opacity: 0.7 !important;
    transform: none !important;
    cursor: not-allowed !important;
}

/* ======================================== */
/* STATUS MESSAGES                         */
/* ======================================== */

#formStatus .alert-success {
    background: rgba(83, 158, 16, 0.1) !important;
    color: #2d5e09 !important;
    border: 1px solid rgba(83, 158, 16, 0.2) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
}

#formStatus .alert-danger {
    background: rgba(255, 0, 0, 0.08) !important;
    color: #c62828 !important;
    border: 1px solid rgba(255, 0, 0, 0.15) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
}

/* ======================================== */
/* RESPONSIVE - Mobile                     */
/* ======================================== */

@media (max-width: 576px) {
    #contactUsModal .modal-body {
        padding: 0 !important;
    }
    #contactUsModal .modal-header {
        padding: 15px 20px 10px 20px !important;
    }
    #contactUsModal .modal-header .modal-title {
        font-size: 18px !important;
    }
    #contactUsModal .form-control {
        padding: 10px 14px !important;
        font-size: 13px !important;
    }
    #contactUsModal .Join_now {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
    #contactUsModal .cf-col {
        flex: 1 1 100%;
    }
}