/* ==========================================================================
   Study Abroad Manuel — Premium Bespoke Design System & Stylesheet (2026)
   ========================================================================== */

:root {
    --sam-midnight: #061A2E;
    --sam-navy: #092B4C;
    --sam-navy-secondary: #0C365B;
    --sam-blue: #0866C6;
    --sam-blue-light: #1684FB;
    --sam-orange: #F28A00;
    --sam-orange-hover: #D97706;
    --sam-soft-bg: #EDF5FC;
    --sam-alt-light-bg: #E8F1F8;
    --sam-light-text: #F7FAFC;
    --sam-secondary-text: #AFC3D7;
    --sam-dark-text: #102A43;
    --sam-muted-text: #64748B;
    --sam-card-border: rgba(255, 255, 255, 0.1);
    --sam-glass-bg: rgba(12, 54, 91, 0.65);
    --sam-radius-sm: 10px;
    --sam-radius-md: 16px;
    --sam-radius-lg: 24px;
    --sam-radius-xl: 32px;
    --sam-font-heading: 'Plus Jakarta Sans', 'Sora', sans-serif;
    --sam-font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--sam-font-body);
    background-color: var(--sam-midnight);
    color: var(--sam-dark-text);
    overflow-x: hidden;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6, .sam-heading {
    font-family: var(--sam-font-heading);
    letter-spacing: -0.02em;
    font-weight: 800;
}

/* ==========================================================================
   Section Backgrounds & Visual Rhythm
   ========================================================================== */
.sam-section-midnight {
    background-color: var(--sam-midnight);
    color: var(--sam-light-text);
    position: relative;
    padding: 110px 0;
}
.sam-section-navy {
    background-color: var(--sam-navy);
    color: var(--sam-light-text);
    position: relative;
    padding: 110px 0;
}
.sam-section-soft {
    background-color: var(--sam-soft-bg);
    color: var(--sam-dark-text);
    position: relative;
    padding: 110px 0;
}
.sam-section-gradient {
    background: linear-gradient(135deg, var(--sam-navy) 0%, var(--sam-blue) 100%);
    color: var(--sam-light-text);
    position: relative;
    padding: 110px 0;
}

@media (max-width: 991px) {
    .sam-section-midnight,
    .sam-section-navy,
    .sam-section-soft,
    .sam-section-gradient {
        padding: 75px 0;
    }
}
@media (max-width: 575px) {
    .sam-section-midnight,
    .sam-section-navy,
    .sam-section-soft,
    .sam-section-gradient {
        padding: 60px 0;
    }
}

/* Section Title Typography */
.sam-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.sam-eyebrow.orange {
    color: var(--sam-orange);
}
.sam-eyebrow.blue {
    color: var(--sam-blue-light);
}

.sam-title-light {
    font-size: clamp(28px, 4vw, 42px);
    color: #ffffff !important;
    line-height: 1.25;
    margin-bottom: 16px;
    font-weight: 800;
}
.sam-title-dark {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--sam-dark-text);
    line-height: 1.25;
    margin-bottom: 16px;
    font-weight: 800;
}
.sam-subtitle-light {
    font-size: 16px;
    color: #94a3b8 !important;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}
.sam-subtitle-dark {
    font-size: 16px;
    color: var(--sam-muted-text);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   Button System
   ========================================================================== */
.sam-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}
.sam-btn-orange {
    background-color: var(--sam-orange);
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(242, 138, 0, 0.35);
}
.sam-btn-orange:hover {
    background-color: var(--sam-orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(242, 138, 0, 0.45);
    color: #ffffff !important;
}
.sam-btn-blue {
    background-color: var(--sam-blue-light);
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(22, 132, 251, 0.35);
}
.sam-btn-blue:hover {
    background-color: #0d6efd;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(22, 132, 251, 0.45);
    color: #ffffff !important;
}
.sam-btn-glass {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}
.sam-btn-glass:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
    color: #ffffff !important;
}
.sam-btn i {
    transition: transform 0.25s ease;
}
.sam-btn:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   Hero Section (Approved Visual Reference Canvas)
   ========================================================================== */
.sam-white-hero-wrapper {
    position: relative;
    background: #f8fbff;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.sam-hero-bg-canvas {
    width: 100%;
    position: relative;
    line-height: 0;
}

.sam-hero-master-bg-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Interactive Overlay Hotspots & Layer */
.sam-hero-interactive-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    line-height: normal;
}

.sam-hero-overlay-left {
    position: absolute;
    top: 49.5%;
    left: 7.5%;
    width: 32%;
    height: 10%;
    pointer-events: auto;
}

.sam-cta-hotspot {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sam-cta-hotspot:hover {
    background: rgba(9, 87, 203, 0.08);
    transform: scale(1.015);
}

/* Country Cards Clickable Hotspots */
.sam-hero-cards-hotspots {
    position: absolute;
    top: 1.5%;
    right: 5%;
    width: 52%;
    height: 63%;
    display: flex;
    gap: 1.5%;
    pointer-events: auto;
}

.sam-card-hotspot {
    flex: 1;
    height: 100%;
    border-radius: 16px;
    display: block;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.25s ease;
}

.sam-card-hotspot:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

/* Service Hotspots */
.sam-hero-service-hotspots {
    position: absolute;
    top: 63.5%;
    left: 20.5%;
    width: 63%;
    height: 15.5%;
    display: flex;
    gap: 1.5%;
    pointer-events: auto;
}

.sam-svc-hotspot {
    flex: 1;
    height: 100%;
    border-radius: 14px;
    display: block;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.25s ease;
}

.sam-svc-hotspot:hover {
    background: rgba(9, 87, 203, 0.06);
    transform: translateY(-3px);
}

/* Contact Hotspots */
.sam-hero-contact-hotspots {
    position: absolute;
    top: 80%;
    left: 27%;
    width: 46%;
    height: 10.5%;
    display: flex;
    pointer-events: auto;
}

.sam-contact-hotspot {
    flex: 1;
    height: 100%;
    border-radius: 50px;
    display: block;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sam-contact-hotspot:hover {
    background: rgba(9, 87, 203, 0.08);
}

/* Mobile Responsive Hotspots */
@media (max-width: 767px) {
    .sam-hero-overlay-left {
        top: 20%;
        left: 5%;
        width: 90%;
    }
    .sam-counselling-cta-btn {
        max-width: 100%;
        padding: 5px 5px 5px 18px;
        font-size: 12px;
    }
    .sam-hero-cards-hotspots {
        top: 27%;
        left: 4%;
        width: 92%;
        height: 31%;
    }
    .sam-hero-service-hotspots {
        top: 60%;
        left: 6%;
        width: 88%;
        height: 21%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 6px;
    }
    .sam-hero-contact-hotspots {
        top: 82%;
        left: 12%;
        width: 76%;
        height: 10.5%;
    }
}

.sam-hero-artwork-col {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sam-hero-artwork-frame {
    position: relative;
    border-radius: var(--sam-radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(22, 132, 251, 0.18);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--sam-navy-secondary);
    transition: transform 0.3s ease;
    max-width: 480px;
    width: 100%;
}
.sam-hero-artwork-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 991px) {
    .sam-hero-wrapper {
        padding: 130px 0 70px 0;
    }
    .sam-hero-artwork-col {
        margin-top: 45px;
    }
    .sam-hero-artwork-frame {
        max-width: 380px;
    }
}

/* ==========================================================================
   Bento Grid for Services
   ========================================================================== */
.sam-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}
.sam-bento-card {
    background: var(--sam-navy-secondary);
    border: 1px solid var(--sam-card-border);
    border-radius: var(--sam-radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none !important;
    color: var(--sam-light-text) !important;
}
.sam-bento-card:hover {
    transform: translateY(-6px);
    border-color: var(--sam-blue-light);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), 0 0 30px rgba(22, 132, 251, 0.15);
}
.sam-bento-card.span-8 {
    grid-column: span 8;
}
.sam-bento-card.span-4 {
    grid-column: span 4;
}
.sam-bento-card.span-6 {
    grid-column: span 6;
}
.sam-bento-card.span-12 {
    grid-column: span 12;
}

.sam-bento-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(22, 132, 251, 0.15);
    border: 1px solid rgba(22, 132, 251, 0.3);
    color: var(--sam-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.sam-bento-card:hover .sam-bento-icon {
    background: var(--sam-blue-light);
    color: #ffffff;
    transform: scale(1.08);
}
.sam-bento-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}
.sam-bento-desc {
    font-size: 14px;
    color: var(--sam-secondary-text);
    line-height: 1.65;
    margin-bottom: 20px;
}
.sam-bento-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--sam-orange);
}
.sam-bento-card:hover .sam-bento-arrow i {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .sam-bento-card.span-8,
    .sam-bento-card.span-4,
    .sam-bento-card.span-6 {
        grid-column: span 12;
    }
}

/* ==========================================================================
   Destinations Grid
   ========================================================================== */
.sam-dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.sam-dest-card {
    position: relative;
    border-radius: var(--sam-radius-md);
    overflow: hidden;
    height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.sam-dest-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}
.sam-dest-card:hover .sam-dest-card-bg {
    transform: scale(1.06);
}
.sam-dest-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(6, 26, 46, 0.15) 0%, rgba(6, 26, 46, 0.85) 75%, var(--sam-midnight) 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}
.sam-dest-card:hover .sam-dest-card-overlay {
    background: linear-gradient(180deg, rgba(6, 26, 46, 0.05) 0%, rgba(6, 26, 46, 0.9) 65%, var(--sam-navy) 100%);
}
.sam-dest-card-content {
    position: relative;
    z-index: 3;
    transition: transform 0.3s ease;
}
.sam-dest-card:hover .sam-dest-card-content {
    transform: translateY(-4px);
}
.sam-dest-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}
.sam-dest-name {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}
.sam-dest-tagline {
    font-size: 12.5px;
    color: var(--sam-secondary-text);
    line-height: 1.5;
    margin-bottom: 12px;
}
.sam-dest-cta {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--sam-orange);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   Consultation / Lead Form (Dark Glassmorphism)
   ========================================================================== */
.sam-form-glass-card {
    background: var(--sam-glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: var(--sam-radius-xl);
    padding: 45px 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}
.sam-form-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--sam-light-text);
    margin-bottom: 8px;
    display: block;
}
.sam-form-control {
    width: 100%;
    background: rgba(6, 26, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 14px 18px;
    color: #ffffff;
    font-size: 14.5px;
    transition: all 0.25s ease;
}
.sam-form-control:focus {
    outline: none;
    border-color: var(--sam-orange);
    background: rgba(6, 26, 46, 0.85);
    box-shadow: 0 0 0 3px rgba(242, 138, 0, 0.25);
    color: #ffffff;
}
.sam-form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
select.sam-form-control option {
    background: var(--sam-navy);
    color: #ffffff;
}

@media (max-width: 767px) {
    .sam-form-glass-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   4-Step Process Timeline
   ========================================================================== */
.sam-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.sam-process-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--sam-radius-md);
    padding: 30px 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(16, 42, 67, 0.05);
    transition: all 0.3s ease;
}
.sam-process-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(22, 132, 251, 0.12);
    border-color: var(--sam-blue-light);
}
.sam-process-num-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--sam-navy) 0%, var(--sam-blue-light) 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.sam-process-step-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--sam-dark-text);
    margin-bottom: 10px;
}
.sam-process-step-desc {
    font-size: 13.5px;
    color: var(--sam-muted-text);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .sam-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .sam-process-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Why Choose SAM (Numbered Feature Cards)
   ========================================================================== */
.sam-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.sam-why-card {
    background: var(--sam-navy);
    border: 1px solid var(--sam-card-border);
    border-radius: var(--sam-radius-lg);
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.sam-why-card:hover {
    transform: translateY(-4px);
    border-color: var(--sam-orange);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}
.sam-why-big-num {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 64px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    font-family: var(--sam-font-heading);
    pointer-events: none;
}
.sam-why-title {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}
.sam-why-desc {
    font-size: 14px;
    color: var(--sam-secondary-text);
    line-height: 1.65;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Testimonials / Success Stories (Masonry Grid)
   ========================================================================== */
.sam-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.sam-story-card {
    background: var(--sam-navy-secondary);
    border: 1px solid var(--sam-card-border);
    border-radius: var(--sam-radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}
.sam-story-card:hover {
    transform: translateY(-4px);
    border-color: var(--sam-blue-light);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}
.sam-story-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.sam-story-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sam-blue-light);
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.sam-story-author-name {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}
.sam-story-author-meta {
    font-size: 12.5px;
    color: var(--sam-secondary-text);
}
.sam-story-quote {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.sam-story-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px;
    font-size: 12.5px;
    color: var(--sam-secondary-text);
}

/* ==========================================================================
   FAQ Accordion (Deep Midnight)
   ========================================================================== */
.sam-faq-accordion {
    max-width: 860px;
    margin: 0 auto;
}
.sam-faq-item {
    background: var(--sam-navy);
    border: 1px solid var(--sam-card-border);
    border-radius: var(--sam-radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.sam-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.25);
}
.sam-faq-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 26px;
    text-align: left;
    color: #ffffff;
    font-size: 16.5px;
    font-weight: 700;
    font-family: var(--sam-font-heading);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    cursor: pointer;
}
.sam-faq-btn i {
    color: var(--sam-orange);
    transition: transform 0.3s ease;
    font-size: 14px;
}
.sam-faq-btn:not(.collapsed) i {
    transform: rotate(180deg);
}
.sam-faq-body {
    padding: 0 26px 22px 26px;
    color: var(--sam-secondary-text);
    font-size: 14.5px;
    line-height: 1.75;
}

/* ==========================================================================
   Footer Polish (Deep Midnight)
   ========================================================================== */
.footer-section.footer-bg {
    background-color: #040F1D !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-info-area-5 {
    background: rgba(12, 54, 91, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(14px);
    border-radius: var(--sam-radius-lg);
}
.contact-info-area-5 .contact-info-items .content p {
    color: var(--sam-secondary-text) !important;
}
.contact-info-area-5 .contact-info-items .content h3 a {
    color: #ffffff !important;
}
.footer-widgets-wrapper {
    background: transparent !important;
}
.footer-bottom {
    background: #020810 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   Reduced Motion Accessibility Rule
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-delay: 0s !important;
        transition-duration: 0s !important;
    }
}
