/* ==========================================================================
   SRH WORLD — SERVICES PAGE STYLES
   Extracted from the master stylesheet + form styles required by this page
   ========================================================================== */

/* --- CSS VARIABLES & RESET --- */
:root {
    --primary-dark: #0f172a;
    --primary-navy: #1e293b;
    --accent-green: #10b981;
    --accent-green-hover: #059669;
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --bg-light: #f8f9fa;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-sub: #64748b;
    --border-color: #e2e8f0;
    --border-subtle: #cbd5e1;
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.06);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- HEADER & NAVIGATION --- */
.header-sticky-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.header-sticky-wrapper.header-visible { transform: translateY(0); }
.main-header { background-color: #ffffff; border-bottom: 1px solid var(--border-color); width: 100%; }
.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.logo-area .client-logo { height: 48px; width: auto; object-fit: contain; display: block; }
.header-right-actions { display: flex; align-items: center; gap: 14px; z-index: 1050; }
.header-calc-pill {
    background-color: #64748b;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.header-calc-pill:hover {
    background-color: var(--accent-green) !important;
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}
.mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 24px;
    cursor: pointer;
    padding: 6px;
}
.nav-bar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.09);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.nav-bar.mobile-open { max-height: 85vh; overflow-y: auto; }
.nav-list { list-style: none; display: flex; flex-direction: column; padding: 8px 0; }
.nav-item { border-bottom: 1px solid #f1f5f9; }
.nav-item:last-child { border-bottom: none; }
.nav-link {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    transition: 0.2s ease;
}
.nav-link:hover, .nav-link.active { background-color: #f8fafc; color: var(--accent-green); }
.mobile-arrow { margin-left: 8px; font-size: 12px; transition: transform 0.25s ease; }
.rotate-arrow { transform: rotate(180deg); }
.horizontal-dropdown {
    list-style: none;
    background-color: #f8fafc;
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: max-height 0.3s ease-out;
}
.horizontal-dropdown.submenu-visible { max-height: 800px; border-top: 1px solid var(--border-color); }
.horizontal-dropdown li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 40px;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 600;
    transition: 0.2s ease;
}
.horizontal-dropdown li a:hover { background-color: #edf2f7; color: var(--primary-dark); }
.dropdown-icon { font-size: 15px; color: var(--accent-green); width: 18px; text-align: center; }

/* --- SERVICES STACKING DECK --- */
.products-stack-deck { position: relative; width: 100%; padding-top: 75px; }
.stack-slide {
    position: sticky;
    top: 75px;
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-out;
}
.stack-slide:nth-child(1) { background-color: #ffffff; z-index: 1; }
.stack-slide:nth-child(2) { background-color: #f8fafc; z-index: 2; }
.stack-slide:nth-child(3) { background-color: #ffffff; z-index: 3; }
.stack-slide:nth-child(4) { background-color: #f8fafc; z-index: 4; }

.service-slide-container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.service-content-card { display: flex; flex-direction: column; gap: 16px; }
.service-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    width: fit-content;
    background: #f1f5f9;
    color: var(--text-muted);
}
.service-tag-chip.chip-blue { background: #e0f2fe; color: #0284c7; }
.service-tag-chip.chip-amber { background: #fef3c7; color: #d97706; }
.service-tag-chip.chip-purple { background: #f3e8ff; color: #9333ea; }
.service-main-heading { font-size: 38px; font-weight: 800; color: var(--primary-dark); line-height: 1.2; }
.service-body-copy p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.service-pill-list { display: flex; flex-direction: column; gap: 10px; margin: 10px 0; }
.service-pill-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
}
.service-pill-list span i { color: var(--accent-green); }
.service-action-bar { display: flex; gap: 15px; margin-top: 10px; flex-wrap: wrap; }

.admin-btn-primary, .admin-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
}
.admin-btn-primary { background: var(--primary-dark); color: #ffffff; }
.admin-btn-primary:hover { background: var(--accent-green); }
.admin-btn-secondary { background: #f1f5f9; color: var(--primary-dark); border: 1px solid var(--border-color); }
.admin-btn-secondary:hover { background: var(--border-color); }

.visual-glass-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 35px;
    border: 1px solid #334155;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    color: #ffffff;
}
.visual-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 800;
    color: #f8fafc;
    border-bottom: 1px solid #334155;
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.visual-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    justify-content: center;
}
.allocation-bars { display: flex; flex-direction: column; gap: 18px; }
.alloc-item { display: flex; flex-direction: column; gap: 8px; }
.alloc-labels { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: #cbd5e1; }
.alloc-progress { height: 8px; background: #334155; border-radius: 4px; overflow: hidden; }
.alloc-progress span { display: block; height: 100%; border-radius: 4px; }
.metrics-two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.metric-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.metric-label { font-size: 12px; color: #94a3b8; font-weight: 600; text-transform: uppercase; }
.metric-val { font-size: 16px; font-weight: 800; color: #ffffff; }
.derivative-heatmap { display: flex; flex-direction: column; gap: 12px; }
.fno-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.03);
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    font-size: 13.5px;
}
.fno-row span { color: #cbd5e1; font-weight: 600; }
.fno-row strong { color: #fff; font-weight: 800; }
.chart-mockup {
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.candlestick-strip {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    padding-bottom: 20px;
}
.candle { width: 14px; position: relative; border-radius: 2px; }
.candle.green { background: #10b981; }
.candle.red { background: #ef4444; }
.wick {
    position: absolute;
    width: 2px;
    background: rgba(255,255,255,0.5);
    left: 50%;
    transform: translateX(-50%);
    height: calc(100% + 20px);
    top: -10px;
    z-index: -1;
}
.trend-line-indicator { position: absolute; bottom: 20px; left: 0; width: 100%; border-top: 2px dashed #38bdf8; }
.trend-label {
    position: absolute;
    right: 10px;
    top: -25px;
    font-size: 11px;
    color: #38bdf8;
    font-weight: 700;
    background: #0f172a;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #38bdf8;
}

/* --- SIDE QUICK-JUMP NAV --- */
.services-anchor-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}
.anchor-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: 0.3s;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}
.anchor-dot.active { background: var(--accent-green); transform: scale(1.3); }
.anchor-dot span {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-dark);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    white-space: nowrap;
    pointer-events: none;
}
.anchor-dot:hover span { opacity: 1; visibility: visible; }

/* --- CONTACT / INQUIRY SECTION ---
   These styles are intentionally included here because the master stylesheet
   did not contain the classes used by this page's form. */
.contact-master-section {
    width: 100%;
    background: #f8fafc;
    padding: 80px 20px;
    border-top: 1px solid var(--border-color);
}
.contact-grid-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: stretch;
}
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.office-location-card,
.direct-connect-card,
.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.office-location-card { padding: 30px; }
.office-header { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.office-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #ecfdf5;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex: 0 0 auto;
}
.office-title {
    color: var(--primary-dark);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
}
.office-badge {
    display: inline-flex;
    margin-top: 5px;
    padding: 4px 9px;
    border-radius: 20px;
    background: #ecfdf5;
    color: #059669;
    font-size: 11px;
    font-weight: 800;
}
.office-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.office-address i { color: var(--accent-green); margin-top: 4px; }
.office-contact-links { display: flex; flex-direction: column; gap: 10px; }
.contact-link-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: var(--primary-dark);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 9px 13px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    transition: 0.2s ease;
}
.contact-link-pill i { color: var(--accent-green); width: 16px; text-align: center; }
.contact-link-pill:hover { border-color: var(--accent-green); transform: translateY(-1px); }
.direct-connect-card {
    padding: 22px 24px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    border-color: #334155;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.direct-connect-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.direct-connect-card p { color: #cbd5e1; font-size: 13px; line-height: 1.5; }
.contact-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff !important;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: 0.2s ease;
}
.contact-whatsapp-btn:hover { transform: translateY(-2px); background: #20bd5a; }

.contact-form-column { display: flex; }
.contact-form-card {
    width: 100%;
    padding: 35px;
    position: relative;
    overflow: hidden;
}
.form-card-header { margin-bottom: 25px; }
.form-card-header h2 {
    color: var(--primary-dark);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 7px;
}
.form-card-header p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
#exim-inquiry-form { width: 100%; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--primary-dark);
    font-size: 13.5px;
    font-weight: 700;
}
.required-star { color: #ef4444; }
.form-control {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    color: var(--primary-dark);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-control::placeholder { color: #94a3b8; }
.form-control:hover { border-color: #94a3b8; }
.form-control:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
    background: #ffffff;
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: flex; gap: 16px; }
.flex-1 { flex: 1; min-width: 0; }
.full-width-btn { width: 100%; justify-content: center; min-height: 48px; }
.form-success-flip-card {
    display: none;
    text-align: center;
    padding: 35px 15px;
}
.big-tick-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #ecfdf5;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

/* --- FOOTER --- */
.site-footer-compact {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    padding-top: 45px;
    margin-top: 60px;
    border-top: 1px solid var(--primary-navy);
}
.footer-custom-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px 35px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.footer-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 25px;
}
.footer-brand-wrap .footer-main-logo {
    height: 75px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
}
.footer-social-icons { display: flex; align-items: center; gap: 14px; }
.footer-social-icons .social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #1e293b;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    border: 1px solid #334155;
    transition: transform 0.2s ease;
}
.footer-social-icons .social-icon:hover { transform: translateY(-3px); }
.social-icon.social-fb:hover { background-color: #1877F2 !important; }
.social-icon.social-insta:hover { background-color: #d6249f !important; }
.social-icon.social-li:hover { background-color: #0A66C2 !important; }
.social-icon.social-x:hover { background-color: #000000 !important; }
.social-icon.social-yt:hover { background-color: #FF0000 !important; }
.social-icon.social-wa:hover { background-color: #25D366 !important; }
.footer-offices-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; }
.footer-office-col { display: flex; flex-direction: column; gap: 10px; }
.footer-office-heading {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.footer-office-heading i { color: var(--accent-green); }
.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.55;
}
.footer-label { color: #ffffff; font-weight: 700; min-width: 75px; }
.footer-info-item a { color: #ffffff; font-weight: 600; }
.footer-info-item a:hover { color: var(--accent-green); text-decoration: underline; }
.footer-bottom-bar {
    border-top: 1px solid var(--primary-navy);
    padding: 18px 0;
    background-color: #0b1120;
}
.footer-bottom-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: #64748b;
}
.footer-legal-links { display: flex; gap: 18px; }
.footer-legal-links a { color: #64748b; }
.footer-legal-links a:hover { color: #ffffff; }

/* --- FLOATING ACTIONS --- */
.whatsapp-float {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    background-color: #25d366 !important;
    color: #ffffff !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
    z-index: 99999 !important;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.whatsapp-float.hide-floating-btn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.back-to-catalogue-btn {
    position: fixed;
    bottom: 145px;
    right: 25px;
    background-color: var(--primary-dark);
    color: #ffffff !important;
    padding: 9px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    border: 1px solid #334155;
    cursor: pointer;
}
.back-to-catalogue-btn.show-catalogue-btn { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-catalogue-btn:hover { background-color: var(--accent-green); }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .stack-slide {
        position: relative;
        top: auto;
        min-height: auto;
        padding: 50px 20px;
        box-shadow: none;
    }
    .products-stack-deck { padding-top: 0; }
    .service-slide-container,
    .contact-grid-container,
    .footer-offices-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .services-anchor-nav { display: none; }
    .form-row { flex-direction: column; gap: 0; }
    .direct-connect-card { flex-direction: column; align-items: flex-start; }
    .contact-whatsapp-btn { width: 100%; }
}

@media (max-width: 768px) {
    .service-main-heading { font-size: 31px; }
    .visual-glass-card { padding: 25px; }
    .metrics-two-col-grid { grid-template-columns: 1fr; }
    .contact-master-section { padding: 55px 15px; }
    .contact-form-card { padding: 25px 20px; }
    .office-location-card { padding: 24px 20px; }
    .footer-top-row { align-items: flex-start; }
    .footer-bottom-container { flex-direction: column; gap: 12px; text-align: center; }
    .footer-legal-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
    .header-container { padding-left: 15px; padding-right: 15px; }
    .calc-btn-text { display: none; }
    .header-calc-pill { padding: 9px 12px; }
    .stack-slide { padding: 40px 15px; }
    .service-main-heading { font-size: 27px; }
    .visual-glass-card { padding: 20px 16px; }
    .fno-row { flex-direction: column; align-items: flex-start; gap: 5px; }
    .footer-social-icons { gap: 8px; flex-wrap: wrap; }
    .footer-social-icons .social-icon { width: 40px; height: 40px; font-size: 17px; }
}
