/* ===================================
   NICHE NANNIES - FINAL FIXED CSS
   All slider issues resolved
   =================================== */

/* ===================================
   FONTS IMPORT
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

/* ===================================
   CSS CUSTOM PROPERTIES
   =================================== */
:root {
    /* PRIMARY BRAND COLORS */
    --primary-color: #2C5F5D;
    --primary-light: #8FAFA8;
    --primary-dark: #1E3837;
    --primary-muted: rgba(44, 95, 93, 0.12);
    
    /* SECONDARY COLORS */
    --secondary-color: #B8956A;
    --secondary-light: #D4C5A9;
    --secondary-dark: #997A4F;
    --secondary-muted: rgba(184, 149, 106, 0.15);
    
    /* ACCENT COLORS */
    --accent-color: #A0848F;
    --accent-light: #E8DFE2;
    --accent-dark: #7D6572;
    
    /* NEUTRALS & TEXT */
    --dark-color: #1E2726;
    --light-color: #FAFBF8;
    --text-color: #2A3635;
    --text-heading: #1E2726;
    --text-muted: #6B7A7A;
    --text-light: #94A5A4;
    --text-inverse: #FAFBF8;
    
    /* BACKGROUNDS */
    --body-bg: #F8FAF7;
    --section-bg-light: #FFFFFF;
    --section-bg-muted: #EFF3F1;
    --section-bg-warm: #F9F6F1;
    --card-bg: #FFFFFF;
    --muted-bg: #EFF3F1;
    
    /* OVERLAYS & GRADIENTS */
    --overlay-dark: rgba(30, 39, 38, 0.65);
    --overlay-light: rgba(255, 255, 255, 0.92);
    --overlay-gradient-primary: linear-gradient(135deg, rgba(44, 95, 93, 0.95), rgba(30, 56, 55, 0.98));
    --overlay-gradient-warm: linear-gradient(to bottom right, rgba(184, 149, 106, 0.08), rgba(184, 149, 106, 0.02));
    
    /* FUNCTIONAL COLORS */
    --success-color: #5A8B75;
    --success-bg: #EEF5F1;
    --success-border: #C5DCD1;
    
    --warning-color: #B8956A;
    --warning-bg: #F9F6F1;
    --warning-border: #E5D9C4;
    
    --error-color: #B76E6E;
    --error-bg: #F9F1F1;
    --error-border: #E8D4D4;
    
    --info-color: #6B8B9D;
    --info-bg: #F1F5F7;
    --info-border: #D4DFE5;
    
    /* SHADOWS */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 8px 24px rgba(44, 95, 93, 0.15);
    --shadow-focus: 0 0 0 3px rgba(184, 149, 106, 0.20);
    
    /* BORDERS */
    --border-color: #E5EAE8;
    --border-color-light: #F0F3F2;
    --border-color-dark: #C8D2D0;
    --border-color-accent: #D4C5A9;
    
    /* TRANSITIONS */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* TYPOGRAPHY */
    --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent: 'Montserrat', 'Nunito', sans-serif;
    --font-mono: 'SF Mono', 'Monaco', 'Courier New', monospace;
    
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.65;
    --leading-loose: 1.8;
    
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    
    /* RADIUS */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* SPACING */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Z-INDEX LAYERS */
    --z-base: 0;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* SLIDER-SPECIFIC */
    --slider-accent: #B8956A;
    --slider-accent-dark: #997A4F;
    --slider-accent-light: #D4C5A9;
    --slider-secondary: #8FAFA8;
    --slider-secondary-dark: #6B8B85;
    --slider-bg: #1E2726;
    --slider-bg-overlay: rgba(30, 39, 38, 0.75);
    --slider-text-primary: #FAFBF8;
    --slider-text-secondary: rgba(250, 251, 248, 0.85);
    --slider-text-muted: rgba(250, 251, 248, 0.65);
    --slider-card-border: 3px;
    --slider-card-border-color: rgba(184, 149, 106, 0.35);
    --slider-card-border-hover: rgba(184, 149, 106, 0.85);
    --slider-card-gap: 40px;
    --slider-card-width: 200px;
    --slider-card-height: 300px;
    --slider-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --slider-transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --slider-transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --slider-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --slider-shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --slider-shadow-hover: 0 12px 48px rgba(184, 149, 106, 0.25);
}

/* ===================================
   GLOBAL RESET & BASE STYLES
   =================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: #1E3837;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-color);
    font-weight: var(--weight-regular);
    background-color: var(--light-color);
    overflow-x: hidden;            /* fallback for very old browsers */
    overflow-x: clip;              /* clip horizontally WITHOUT making <body> a scroll container -> keeps native root scrolling reliable on iOS/iPad */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: var(--weight-semibold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; font-weight: var(--weight-bold); }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.65rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { 
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.text-white h1, 
.text-white h2, 
.text-white h3, 
.text-white h4, 
.text-white h5, 
.text-white h6,
.hero-slide h1, 
.hero-slide h2, 
.hero-slide h3, 
.hero-slide h4, 
.hero-slide h5, 
.hero-slide h6,
.cta-section h1, 
.cta-section h2, 
.cta-section h3, 
.cta-section h4, 
.cta-section h5, 
.cta-section h6 {
    color: var(--light-color);
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.lead {
    font-size: var(--text-lg);
    font-weight: var(--weight-light);
    line-height: var(--leading-relaxed);
    color: var(--text-muted);
}

.display-1, 
.display-2, 
.display-3, 
.display-4 {
    font-family: var(--font-heading);
    font-weight: var(--weight-bold);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ===================================
   CUSTOM SCROLLBAR
   =================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: var(--primary-dark);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-dark);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-family: var(--font-accent);
    font-weight: var(--weight-medium);
    color: var(--light-color) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-light) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-light);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    animation: fadeInDown 0.3s ease;
    border-top: 4px solid var(--secondary-light);
    background-color: var(--primary-dark);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: var(--light-color);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    font-family: var(--font-body);
    font-weight: var(--weight-regular);
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: var(--secondary-light);
    color: var(--primary-dark);
    padding-left: 2rem;
}

.navbar-toggler {
    border: 2px solid var(--secondary-light);
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 211, 213, 0.4);
    outline: 2px solid var(--secondary-light);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    padding: 0.75rem 2rem;
    font-family: var(--font-accent);
    font-weight: var(--weight-semibold);
    border-radius: var(--radius-full);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    font-size: 0.875rem;
    border: 2px solid transparent;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--light-color);
}

.btn-light {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--accent-dark);
    font-weight: var(--weight-medium);
}

.btn-light:hover {
    background-color: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--accent-dark);
    border-color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.btn-outline-accent {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}

.btn-outline-accent:hover {
    background: var(--accent-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: all 0.25s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-outline-primary:hover i {
    transform: translateX(4px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--light-color);
    border: 2px solid var(--accent-color);
}

.btn-accent:hover {
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--light-color);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
}

.btn-group-hero {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-group-hero .btn {
    min-width: 180px;
}

.btn-filter {
    border-radius: 50px;
    padding: 0.45rem 1.25rem;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: var(--weight-semibold);
    transition: all 0.25s ease;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-filter.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.btn:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===================================
   HERO SLIDER SECTION
   
   Z-INDEX STACKING ORDER:
   1. Cards/Tiles: z-index: 1
   2. Cover: z-index: 50
   3. Vignette ::before: z-index: 100
   4. Vignette ::after: z-index: 101
   5. Card content labels: z-index: 150
   6. Details text: z-index: 200
   7. Pagination: z-index: 200
   8. Indicator: z-index: 300
   =================================== */

.hero-slider-section .carousel,
.hero-slider-section .carousel-inner,
.hero-slider-section .carousel-item {
    display: none !important;
}

.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: var(--slider-bg);
}

/* VIGNETTES - BEHIND TEXT */
.hero-slider-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0) 20%),
        linear-gradient(0deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 25%);
}

.hero-slider-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 51;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.50) 0%,
            rgba(0,0,0,0.35) 20%,
            rgba(0,0,0,0.20) 40%,
            rgba(0,0,0,0.05) 60%,
            rgba(0,0,0,0.00) 75%
        ),
        radial-gradient(
            ellipse at center,
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,0.05) 50%,
            rgba(0,0,0,0.15) 100%
        );
}

/* TILES */
.hero-slider-section .card {
    position: absolute;
    left: 0;
    background-position: center center;
    background-size: cover;
    background-color: var(--primary-dark, #1E3837);
    box-shadow: 0 0 0 4px #E8A89A, 6px 6px 10px 2px rgba(0,0,0,0.6);
    transition: box-shadow var(--slider-transition-fast) ease;
    z-index: 1;
    backface-visibility: hidden;
    /* will-change pre-promotes every card to its own GPU compositing layer.
       Prevents the jerk caused by layer promotion happening mid-animation. */
    will-change: transform;
    /* GSAP owns all transforms via force3D:true — no static transform here */
}

.hero-slider-section .tile {
    cursor: pointer;
    transition: box-shadow 0.25s ease;
    z-index: 1;
}

.hero-slider-section .tile:hover,
.hero-slider-section .tile.active-tile {
    box-shadow: 0 0 0 2px var(--slider-accent), 6px 6px 10px 2px rgba(0,0,0,0.6);
    z-index: 50;
}

/* CARD CONTENT (TEXT OVER TILE) - ABOVE VIGNETTE */
.hero-slider-section .card-content {
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 16px;
    color: var(--slider-text-primary);
    z-index: 150;
    pointer-events: none;
}

.hero-slider-section .card-content a {
    pointer-events: auto;
    display: block;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
    color: rgba(255,255,255,0.85);
    transition: color 0.25s ease;
}

.hero-slider-section .tile:hover + .card-content a,
.hero-slider-section .card-content a:hover {
    color: #ffffff;
}

.hero-slider-section .content-place {
    margin-top: 6px;
    font-size: 13px;
    font-weight: var(--weight-medium);
    font-family: var(--font-accent);
}

.hero-slider-section .content-title-1,
.hero-slider-section .content-title-2 {
    font-weight: var(--weight-semibold);
    font-size: 20px;
    font-family: var(--font-heading);
}

.hero-slider-section .content-start {
    width: 30px;
    height: 5px;
    border-radius: 99px;
    background-color: var(--slider-text-primary);
}

/* DETAILS SECTION - ABOVE VIGNETTE */
.hero-slider-section .details {
    position: absolute;
    top: clamp(160px, 18vh, 260px); /* scales with screen height */
    left: 60px;
    z-index: 600;
    color: #ffffff;
    text-shadow:
        0 2px 8px rgba(0,0,0,0.6),
        0 4px 16px rgba(0,0,0,0.4),
        0 1px 2px rgba(0,0,0,0.8);
}

.hero-slider-section .details .place-box {
    height: 46px;
    overflow: hidden;
}

.hero-slider-section .details .place-box .text {
    padding-top: 16px;
    font-size: 20px;
    font-family: var(--font-accent);
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
    color: #ffffff;
}

.hero-slider-section .details .place-box .text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 4px;
    border-radius: 99px;
    background-color: var(--accent-color);
}

.hero-slider-section .details .title-1,
.hero-slider-section .details .title-2 {
    font-weight: var(--weight-bold);
    font-size: 72px;
    font-family: var(--font-heading);
    line-height: 1.1;
    color: #ffffff;
}

.hero-slider-section .details .title-box-1,
.hero-slider-section .details .title-box-2 {
    margin-top: 2px;
    height: 100px;
    overflow: hidden;
}

.hero-slider-section .details .desc {
    margin-top: 16px;
    width: min(500px, 55vw); /* never wider than 55% of viewport */
    font-size: 16px;
    line-height: 1.6;
    font-family: var(--font-body);
    color: #ffffff;
}

/* CTA BUTTONS */
.hero-slider-section .details .cta {
    width: min(500px, 55vw);
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-slider-section .details .cta .bookmark {
    border: none;
    background-color: var(--accent-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all var(--slider-transition-fast) var(--slider-ease);
}

.hero-slider-section .details .cta .bookmark:hover {
    background-color: var(--accent-dark);
    transform: scale(1.1);
}

.hero-slider-section .details .cta .bookmark svg {
    width: 20px;
    height: 20px;
}

.hero-slider-section .details .cta .discover {
    border: 1px solid #ffffff;
    background: transparent;
    height: 36px;
    border-radius: 99px;
    color: #ffffff;
    padding: 4px 24px;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--slider-transition-fast) var(--slider-ease);
    font-family: var(--font-accent);
    letter-spacing: 1px;
}

.hero-slider-section .details .cta .discover:hover {
    background: #ffffff;
    color: var(--slider-bg);
}

/* PAGINATION - ABOVE VIGNETTE */
.hero-slider-section .pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 20px;
    z-index: 200;
}

.hero-slider-section .pagination .arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all var(--slider-transition-fast) var(--slider-ease);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.hero-slider-section .pagination .arrow:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.hero-slider-section .pagination .arrow svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    color: rgba(255,255,255,0.9);
}

.hero-slider-section .pagination .progress-sub-container {
    width: 200px;
    height: 50px;
    display: flex;
    align-items: center;
}

.hero-slider-section .pagination .progress-sub-background {
    width: 100%;
    height: 3px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 2px;
    overflow: hidden;
}

.hero-slider-section .pagination .progress-sub-foreground {
    height: 3px;
    background-color: var(--accent-color);
    transition: width var(--slider-transition-fast) ease;
}

/* FIX: Slide numbers - prevent cascading */
.hero-slider-section .pagination .slide-numbers {
    width: 50px;
    height: 50px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-section .pagination .slide-numbers .item {
    width: 50px;
    height: 50px;
    position: absolute;
    color: #ffffff;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    font-size: 32px;
    font-weight: var(--weight-bold);
    font-family: var(--font-heading);
}

/* ── KEN BURNS ────────────────────────────────────────────────────────
   Pure CSS @keyframes on transform:scale only.
   - CSS animations run on the compositor thread independently of GSAP.
   - No background-size / background-position changes (those trigger paint).
   - The card is already full-screen when this class is added, so scale
     from 1.0→1.055 gives a noticeable but not intrusive zoom.
   - Two variants (A/B) alternate direction per slide for visual variety.
   - 'forwards' fill keeps the end state so no snap-back on removal.
   ------------------------------------------------------------------ */
@keyframes kbZoomA {
  from { transform: scale(1.000) translate3d(0px,    0px,    0); }
  to   { transform: scale(1.04) translate3d(-0.8%,  -0.4%,  0); }
}
@keyframes kbZoomB {
  from { transform: scale(1.000) translate3d(0px,    0px,    0); }
  to   { transform: scale(1.04) translate3d( 0.5%,   0.4%,  0); }
}

.hero-slider-section .card.ken-burns-a {
  animation: kbZoomA 12s ease-in forwards;
  will-change: transform;
}
.hero-slider-section .card.ken-burns-b {
  animation: kbZoomB 12s ease-in forwards;
  will-change: transform;
}

/* MOBILE: Disable Ken Burns entirely.
   The active card has BOTH a CSS @keyframes animation (Ken Burns scale) AND
   GSAP-managed inline transforms on the same element. When the mobile browser
   chrome (URL bar) shows/hides on scroll, the dvh viewport changes and the
   two transform sources fight — image visibly stretches/jumps. 4% zoom isn't
   noticeable on a phone screen anyway; smoothness > flourish. */
@media (max-width: 768px) {
  .hero-slider-section .card.ken-burns-a,
  .hero-slider-section .card.ken-burns-b {
    animation: none !important;
    will-change: auto;
  }
}

/* Respect users who've asked OS to reduce motion */
@media (prefers-reduced-motion: reduce) {
  .hero-slider-section .card.ken-burns-a,
  .hero-slider-section .card.ken-burns-b {
    animation: none !important;
  }
}

/* INDICATOR */
.hero-slider-section .indicator {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    z-index: 300;
    background-color: var(--accent-color);
}

/* COVER */
.hero-slider-section .cover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: var(--slider-bg);
    background-image: url('assets/images/newslider/jpeg/montessori_play_color.jpg');
    background-size: cover;
    background-position: center 40%;
    z-index: 50;
}

/* MOBILE TOUCH */
@media (hover: none) and (pointer: coarse) {
    .hero-slider-section .tile:active,
    .hero-slider-section .tile.tile-preview {
        box-shadow: 0 0 0 2px var(--slider-accent), 6px 6px 10px 2px rgba(0,0,0,0.6);
        z-index: 50;
    }
    
    .hero-slider-section .tile:active + .card-content,
    .hero-slider-section .tile.tile-preview + .card-content {
        opacity: 1 !important;
    }
}

/* ── MOBILE SLIDER FIXES ───────────────────────────────────────────
   Fixes for all phones and small tablets.
   ------------------------------------------------------------------ */

/* Tablet landscape / small desktop — details panel nudge */
@media (max-width: 1024px) {
    .hero-slider-section .details {
        left: 32px;
        top: 180px;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    /* Smaller title so it doesn't clash with tiles */
    .hero-slider-section .details {
        left: 16px;
        top: 130px;
        right: 120px; /* keep clear of the single tile on right */
    }

    .hero-slider-section .details .title-1,
    .hero-slider-section .details .title-2 {
        font-size: 38px;
    }

    .hero-slider-section .details .title-box-1,
    .hero-slider-section .details .title-box-2 {
        height: 58px;
    }

    .hero-slider-section .details .desc {
        width: 100%;
        max-width: 320px;
        font-size: 13px;
        margin-top: 10px;
    }

    .hero-slider-section .details .cta {
        width: 100%;
        max-width: 320px;
        margin-top: 14px;
        gap: 10px;
        flex-wrap: wrap;
    }

    /* Hero flanking arrows — smaller on tablet */
    .hero-arrow-left,
    .hero-arrow-right {
        width: 40px !important;
        height: 40px !important;
    }

    /* Toggle button — keep clear of tile, move up slightly on mobile */
    #tile-toggle-btn {
        right: 70px !important;
        top: 50% !important;
    }
}

/* Phone portrait */
@media (max-width: 480px) {
    .hero-slider-section .details {
        left: 14px;
        top: 110px;
        right: 108px; /* clear of 88px tile + 14px margin + 6px breathing room */
    }

    .hero-slider-section .details .place-box .text {
        font-size: 13px;
    }

    .hero-slider-section .details .title-1,
    .hero-slider-section .details .title-2 {
        font-size: 28px;
    }

    .hero-slider-section .details .title-box-1,
    .hero-slider-section .details .title-box-2 {
        height: 44px;
    }

    .hero-slider-section .details .desc {
        font-size: 12px;
        max-width: 100%;
        line-height: 1.5;
        margin-top: 8px;
    }

    .hero-slider-section .details .cta {
        margin-top: 10px;
        gap: 8px;
    }

    /* Arrows smaller on phone */
    .hero-arrow-left,
    .hero-arrow-right {
        width: 36px !important;
        height: 36px !important;
        left: 8px !important;
    }

    .hero-arrow-right {
        right: 8px !important;
        left: auto !important;
    }

    /* Toggle button tucked just left of right arrow on small phones */
    #tile-toggle-btn {
        right: 52px !important;
        padding: 5px 8px 5px 7px !important;
        font-size: 8px !important;
    }

    /* Hide toggle label text on very small screens — icon only */
    #tile-toggle-btn .tile-toggle-label {
        display: none;
    }
}

/* Very small phones (iPhone SE etc) */
@media (max-width: 375px) {
    .hero-slider-section .details {
        top: 95px;
    }

    .hero-slider-section .details .title-1,
    .hero-slider-section .details .title-2 {
        font-size: 24px;
    }

    .hero-slider-section .details .title-box-1,
    .hero-slider-section .details .title-box-2 {
        height: 38px;
    }
}

/* ===================================
   CARDS (Unified Styles)
   =================================== */
.service-card,
.process-card,
.value-card,
.feature-box,
.testimonial-card,
.why-card,
.obligation-card,
.impact-card,
.next-step-card,
.info-badge,
.stat-card-charity,
.childcare-type-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--secondary-color);
    transition: var(--transition);
    contain: layout style paint;
    will-change: transform;
}

.service-card:hover,
.process-card:hover,
.value-card:hover,
.feature-box:hover,
.testimonial-card:hover,
.why-card:hover,
.obligation-card:hover,
.impact-card:hover,
.next-step-card:hover,
.info-badge:hover,
.stat-card-charity:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
    will-change: auto;
}

.service-card,
.process-card {
    border: 2px solid var(--secondary-color);
}

.service-icon i,
.process-icon i {
    transition: var(--transition);
    color: var(--primary-dark);
}

.service-card:hover .service-icon i,
.process-card:hover .process-icon i {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-dark);
}

.feature-box {
    background: white;
    box-shadow: var(--shadow-sm);
}

.feature-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.testimonial-card-carousel {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 800px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--secondary-color);
}

.quote-icon {
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.quote-icon-small {
    font-size: 2.5rem;
    color: var(--accent-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-text-small {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1;
}

.childcare-type-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.type-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--muted-bg) 0%, var(--secondary-light) 100%);
    border-bottom: 2px solid var(--secondary-color);
}

.type-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.childcare-type-card:hover .type-icon {
    transform: rotate(360deg) scale(1.1);
}

/* ===================================
   FORMS
   =================================== */
.form-label {
    font-weight: var(--weight-semibold);
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-label.required::after {
    content: " *";
    color: var(--error-color);
}

.form-control,
.form-select {
    border: 2px solid var(--secondary-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(210, 175, 233, 0.25);
}

.form-control:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--secondary-color);
    margin-top: 0.15rem;
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.form-check-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(210, 175, 233, 0.25);
}

#searchInput {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    border: 1px solid #e6e9f0;
    transition: all 0.3s ease;
}

#searchInput:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ===================================
   FOOTER
   =================================== */

.footer-section {
    background: var(--primary-dark);
    max-width: 100%;
    margin: 0;
    padding: 20px;
}

.footer-section h5 {
    font-family: var(--font-accent);
    font-weight: var(--weight-bold);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-light);
    opacity: 0.8;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
}

.footer-links li {
    margin-bottom: 0.25rem;
}

.footer-links a {
    text-decoration: none;
    transition: color 0.18s, padding-left 0.18s;
    display: inline-flex;
    align-items: center;
    font-size: 0.8375rem;
    color: rgba(255, 255, 255, 0.40) !important;
    padding: 4px 0;
}

.footer-links a i {
    opacity: 0.35;
    transition: opacity 0.18s;
    font-size: 0.7rem;
}

.footer-links a:hover {
    color: var(--accent-light) !important;
    padding-left: 6px;
}

.footer-links a:hover i {
    opacity: 0.75;
}

/* Copyright / bottom bar */
.footer-section hr.border-secondary {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Social icons in bottom bar */
.footer-section .bi-journal-text,
.footer-section .bi-facebook,
.footer-section .bi-linkedin,
.footer-section .bi-instagram {
    transition: color 0.18s, transform 0.18s;
    display: inline-block;
}

.footer-section a:hover .bi-journal-text,
.footer-section a:hover .bi-facebook,
.footer-section a:hover .bi-linkedin,
.footer-section a:hover .bi-instagram {
    color: var(--accent-light) !important;
    transform: translateY(-2px);
}

/* Partner cards — white card, logo fills box cleanly */
.footer-partner-card {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    aspect-ratio: 16 / 7;
    opacity: 0.78;
    transition: opacity 0.22s ease, transform 0.22s ease;
    text-decoration: none;
}

.footer-partner-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 5px 9px;
    display: block;
}

.footer-partner-card:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Partner image hover — supplements inline opacity */
.footer-section .rounded {
    transition: filter 0.2s;
    filter: grayscale(0.2);
}

.footer-section a:hover .rounded {
    filter: grayscale(0);
}

/* -----------------------------------
   FOOTER — extracted inline styles
   (logo, about copy, bottom/legal bar)
   Moved out of footer.php so all footer
   styling lives here in one place.
   ----------------------------------- */
.footer-logo {
    max-width: 130px;
    opacity: 0.85;
}

.footer-about-lead {
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55) !important;
}

.footer-about-note {
    color: rgba(255, 255, 255, 0.35) !important;
    font-style: italic;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.35);
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.40) !important;
    text-decoration: none;
}

.footer-bottom-sep {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.12);
}

.footer-section .footer-bottom-social {
    color: rgba(255, 255, 255, 0.50) !important;
}


/* ===================================
   FOOTER — 2026 ADDITIONS  (.nnf-*)
   Subscribe band, live Instagram strip, latest-Journal strip.
   Every selector is .nnf- prefixed, so nothing here collides
   with the .footer-* / #sticky-social / #back-to-top rules
   above; they only share the .footer-section shell.
   =================================== */

/* -- Shared -- */
.nnf-eyebrow {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--secondary-light);
}

.nnf-rule {
    border: 0;
    border-top: 1px solid rgba(184, 149, 106, 0.22);
    opacity: 1; /* override Bootstrap's hr opacity:.25 so the gold line is visible */
    margin: 0;
}

/* -- Subscribe band -- */
.nnf-subscribe {
    position: relative;
    margin: 0 0 2.75rem;
    padding: 2rem 2.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(44, 95, 93, 0.55), rgba(30, 56, 55, 0.25));
    border: 1px solid rgba(184, 149, 106, 0.28);
    overflow: hidden;
}

.nnf-subscribe::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: linear-gradient(var(--secondary-color), var(--secondary-light));
}

.nnf-sub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}

.nnf-sub-lead h3 {
    margin: 0.35rem 0 0.5rem;
    font-family: var(--font-accent);
    font-size: 1.4rem;
    color: #fff;
}

.nnf-sub-lead p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.nnf-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.nnf-field {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.6rem;
}

/* Two-step email → name (both occupy the same slot) */
.nnf-slot {
    position: relative;
    flex: 1 1 240px;
    min-width: 0;
    min-height: 46px;
}
.nnf-step {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.nnf-step.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.nnf-step .nnf-input {
    width: 100%;
    height: 100%;
}
.nnf-step-email .nnf-input { padding-right: 38px; }
.nnf-step-email.is-valid .nnf-input { border-color: #9fd6b0; }
.nnf-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 34px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4C5A9' stroke-width='3'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
}
.nnf-select.is-placeholder { color: rgba(255, 255, 255, 0.45); }
.nnf-select option { color: #1E3837; }
.nnf-tick {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) scale(0.5);
    color: #9fd6b0;
    font-size: 16px;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}
.nnf-step-email.is-valid .nnf-tick {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}
.nnf-asname {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.5);
}
.nnf-asname[hidden] { display: none; }
.nnf-asname-email { color: var(--secondary-light); }
.nnf-edit {
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 0.74rem;
    color: var(--secondary-light);
    text-decoration: underline;
    cursor: pointer;
}

.nnf-input {
    flex: 1 1 240px;
    min-width: 0;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    transition: border-color 0.18s, background 0.18s;
}

.nnf-input::placeholder { color: rgba(255, 255, 255, 0.45); }

.nnf-input[readonly] { cursor: text; opacity: 1; color: #fff; background: rgba(255, 255, 255, 0.06); }

.nnf-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

.nnf-btn {
    flex: 0 0 auto;
    padding: 0.8rem 1.6rem;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.18s, transform 0.12s;
}

.nnf-btn:hover { background: var(--secondary-dark); transform: translateY(-1px); }
.nnf-btn:disabled { opacity: 0.6; cursor: default; transform: none; }

.nnf-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
}

.nnf-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
}

.nnf-check input { width: 16px; height: 16px; accent-color: var(--secondary-color); }

.nnf-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
    margin: 0;
    padding: 0.4rem 0 0;
}

.nnf-cats[hidden] { display: none; }
.nnf-cats .nnf-check { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }

.nnf-consent {
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.4);
}

.nnf-consent a { color: var(--secondary-light); }

.nnf-sub-status {
    margin: 0;
    min-height: 1.1em;
    font-family: var(--font-body);
    font-size: 0.82rem;
}

.nnf-sub-status.is-ok { color: #9fd6b0; }
.nnf-sub-status.is-err { color: #e7a9a0; }
.nnf-sub-status.is-info { color: #D4C5A9; }

.nnf-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* -- Instagram + Journal layout -- */
.nnf-strips {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin: 2.5rem 0 0.5rem;
}

.nnf-strip-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.nnf-follow {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.18s;
}

.nnf-follow:hover { color: var(--secondary-light); }
.nnf-follow i { font-size: 0.85rem; vertical-align: -1px; }

/* -- Instagram grid -- */
.nnf-ig-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.nnf-ig-tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 7px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.nnf-ig-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nnf-ig-ov {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    background: rgba(30, 56, 55, 0);
    opacity: 0;
    transition: opacity 0.25s, background 0.25s;
}

.nnf-ig-tile:hover img { transform: scale(1.08); }
.nnf-ig-tile:hover .nnf-ig-ov { opacity: 1; background: rgba(30, 56, 55, 0.45); }

/* -- Journal cards -- */
.nnf-blog-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.nnf-blog-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.5rem;
    border-radius: 9px;
    text-decoration: none;
    transition: background 0.18s;
}

.nnf-blog-card:hover { background: rgba(255, 255, 255, 0.04); }

.nnf-blog-thumb {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    border-radius: 7px;
    background-color: rgba(255, 255, 255, 0.06);
    background-size: cover;
    background-position: center;
}

.nnf-blog-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.nnf-blog-cat {
    font-family: var(--font-accent);
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.nnf-blog-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.18s;
}

.nnf-blog-card:hover .nnf-blog-title { color: #fff; }

/* -- Journal "all articles" link inside the widget column -- */
.nnf-journal-all { display: inline-block; margin-top: 0.9rem; }

/* -- Our Partners: single responsive line below the break -- */
.nnf-partners { margin-top: 0.5rem; }
.nnf-partners--spaced { margin-top: 2.25rem; }
.nnf-partners-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    align-items: center;
}

/* -- Footer additions: desktop layout -- */
@media (min-width: 576px) {
    .nnf-partners-row { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
    .nnf-ig--full .nnf-ig-grid { grid-template-columns: repeat(8, 1fr); }
}

@media (min-width: 992px) {
    .nnf-sub-grid { grid-template-columns: 1fr 1.15fr; gap: 2.5rem; }
    .nnf-strips   { grid-template-columns: 7fr 5fr; gap: 3rem; }
}


/* ===================================
   STICKY ELEMENTS
   =================================== */

#sticky-social {
    position: fixed;
    top: 50%;
    right: -44px;
    transform: translateY(-50%);
    z-index: var(--z-sticky);
    transition: right 0.4s ease;
}

#sticky-social.show,
#sticky-social:hover {
    right: 0;
}

#sticky-social ul {
    margin: 0;
    padding: 0;
}

#sticky-social li {
    list-style: none;
    margin-bottom: 2px;
}

#sticky-social .social-link {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
    position: relative;
}

#sticky-social .social-link:hover {
    width: 60px;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
}

#sticky-social .blog { background: #ff6b6b; }
#sticky-social .facebook { background: #3b5998; }
#sticky-social .linkedin { background: #0077b5; }
#sticky-social .twitter { background: #1da1f2; }
#sticky-social .instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}


/* ===================================
   BACK TO TOP
   =================================== */

#back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 38px;
    height: 38px;
    padding: 0;
    display: grid;
    place-items: center;
    background: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 3px !important;
    color: rgba(255, 255, 255, 0.50);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s, background 0.18s, border-color 0.18s;
    z-index: 800;
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

#back-to-top:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}
/* ===================================
   UTILITY CLASSES
   =================================== */

.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.bg-muted { background-color: var(--muted-bg) !important; }

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-lg) !important;
}

.border-accent { border-color: var(--accent-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }

section {
    padding: 5rem 0;
}

section.bg-light {
    background-color: var(--muted-bg) !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ===================================
   PAGE-SPECIFIC COMPONENTS
   =================================== */

.trust-bar {
    background: linear-gradient(to bottom, #ffffff, #fafafa);
    padding: 1.5rem 0 !important;
    margin: 0 !important;
}

.trust-item {
    padding: 0.5rem;
}

.divider-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

.content-card {
    padding: 2rem;
}

.icon-wrapper i {
    font-size: 3rem;
    display: inline-block;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.feature-list i {
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.image-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    max-height: 450px;
}

.image-card:hover img {
    transform: scale(1.02);
}

.webcard-img-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1rem;
}

.webcard-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--accent-dark);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.page-header {
    padding: 4rem 0 1rem;
    margin-top: 76px;
}

.cta-section {
    background: var(--primary-color);
    color: var(--light-color);
}

.cta-section a {
    color: var(--light-color);
    font-weight: var(--weight-semibold);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    text-underline-offset: 3px;
}

.cta-section a:hover {
    text-decoration-color: var(--light-color);
    color: var(--light-color);
}

.process-number {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #000000;
    color: var(--light-color);
    width: 70px;
    height: 50px;
    border-radius: 10%;
    display: flex;
    line-height: 20px;
    align-items: center;
    justify-content: center;
    font-weight: var(--weight-semibold);
    font-size: 1rem;
    font-family: var(--font-accent);
    box-shadow: var(--shadow-md);
}

.step-number-large {
    width: 100px;
    height: 100px;
    border-radius: 10%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--light-color);
    font-size: 2.5rem;
    font-weight: var(--weight-bold);
    font-family: var(--font-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--light-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: var(--weight-bold);
    font-family: var(--font-accent);
    box-shadow: var(--shadow-md);
    margin: 0 auto;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 100px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--accent-light) 100%);
}

.timeline-item {
    display: flex;
    align-items: center;
    position: relative;
}

.timeline-badge {
    position: absolute;
    left: -100px;
    width: 100px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--light-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--weight-bold);
    font-size: 0.9rem;
    font-family: var(--font-accent);
    box-shadow: var(--shadow-md);
    text-align: center;
    padding: 0.5rem;
}

.timeline-badge::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid var(--accent-dark);
}

.timeline-content {
    background: var(--card-bg);
    border: 2px solid var(--secondary-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    margin-left: 30px;
    flex: 1;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.accordion-item {
    border: 1px solid var(--secondary-color);
    margin-bottom: 1rem;
    border-radius: var(--radius-md) !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--muted-bg);
    color: var(--primary-color);
    font-weight: var(--weight-semibold);
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--light-color);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(210, 175, 233, 0.25);
}

.calculator-wrapper {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    border-top: 4px solid var(--accent-color);
}

.result-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.result-value {
    font-size: 2.5rem;
    font-weight: var(--weight-bold);
    font-family: var(--font-accent);
    margin: 0.5rem 0;
}

.explore-btn {
    width: 70px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding: 0;
    border-radius: 0.75rem;
    flex-shrink: 0;
}

.explore-btn:hover {
    transform: translateX(3px);
    transition: 0.2s ease;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: var(--weight-bold);
    font-size: 2rem;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

.section-subtitle {
    max-width: 750px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

#resultsInfo {
    font-weight: var(--weight-medium);
    letter-spacing: 0.4px;
}

#loadMoreBtn {
    border-radius: 50px;
    padding: 0.7rem 2rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 1px;
}

#loadMoreBtn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.alert-info {
    background: #f4f7ff;
    border: 1px solid #e0e6ff;
    color: #334155;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
}

#calendar {
    max-width: 900px;
    margin: 50px auto;
    height: 700px;
}

.selected-slot {
    border: 3px solid #000 !important;
}

.quill-editor {
    background: #fff;
    min-height: 180px;
}

[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

body [data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
}

/* ===================================
   RESPONSIVE - HERO SLIDER
   =================================== */

@media (max-width: 1200px) {
    .hero-slider-section .details {
        left: 40px;
        top: 200px;
    }
    
    .hero-slider-section .details .title-1,
    .hero-slider-section .details .title-2 {
        font-size: 60px;
    }
    
    .hero-slider-section .details .desc,
    .hero-slider-section .details .cta {
        width: 450px;
    }
}

@media (max-width: 991px) {
    .hero-slider-section {
        height: 100vh;
        height: 100dvh;
    }
    
    .hero-slider-section .details {
        left: 30px;
        top: 180px;
    }
    
    .hero-slider-section .details .title-1,
    .hero-slider-section .details .title-2 {
        font-size: 48px;
    }
    
    .hero-slider-section .details .title-box-1,
    .hero-slider-section .details .title-box-2 {
        height: 80px;
    }
    
    .hero-slider-section .details .desc {
        width: min(400px, 52vw);
    }
    
    .hero-slider-section .pagination {
        bottom: 24px;
    }
    
    .hero-slider-section .pagination .progress-sub-background {
        width: 150px;
    }
}

@media (max-width: 767px) {
    /* top/left/right overridden by index.php portrait layout — do not set here */
    .hero-slider-section .details {
        font-size: inherit;
    }
    
    .hero-slider-section .details .title-1,
    .hero-slider-section .details .title-2 {
        font-size: 36px;
    }
    
    .hero-slider-section .details .title-box-1,
    .hero-slider-section .details .title-box-2 {
        height: 60px;
    }
    
    .hero-slider-section .details .desc {
        font-size: 14px;
        width: 100%;
        max-width: 350px;
    }
    
    .hero-slider-section .pagination {
        bottom: 16px;
        gap: 12px;
    }
    
    .hero-slider-section .pagination .arrow {
        width: 40px;
        height: 40px;
    }
    
    .hero-slider-section .pagination .arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .hero-slider-section .pagination .progress-sub-background {
        width: 100px;
    }
    
    .hero-slider-section .pagination .slide-numbers {
        width: 40px;
        height: 40px;
    }
    
    .hero-slider-section .pagination .slide-numbers .item {
        font-size: 24px;
    }
}

@media (max-width: 575px) {
    /* top/left/right set in index.php — do not override here */
    .hero-slider-section .details {
        font-size: inherit;
    }
    
    .hero-slider-section .details .title-1,
    .hero-slider-section .details .title-2 {
        font-size: 28px;
    }
    
    .hero-slider-section .details .title-box-1,
    .hero-slider-section .details .title-box-2 {
        height: 48px;
    }
    
    .hero-slider-section .details .place-box .text {
        font-size: 16px;
    }
    
    .hero-slider-section .details .desc {
        font-size: 13px;
        margin-top: 12px;
    }
    
    .hero-slider-section .details .cta {
        margin-top: 16px;
    }
    
    .hero-slider-section .details .cta .discover,
    .hero-slider-section .details .cta .bookmark {
        height: 32px;
        font-size: 11px;
    }
    
    .hero-slider-section .details .cta .bookmark {
        width: 32px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
.page-wrapper {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .navbar,
    .footer-section,
    #sticky-social,
    #back-to-top,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    a {
        text-decoration: underline;
    }
    
    * {
        box-shadow: none !important;
    }
}






/* ===================================
   NICHE NANNIES - HERO SLIDER v3.0
   CORRECTED MAIN STYLES
   Z-index audit + clean tile/pagination layout
   =================================== */

/*
  Z-INDEX CONTRACT:
  ─────────────────
   1   tile (CSS base, unstyled)
  10   previous card fading out           [JS]
  20   active card expanding              [JS]
  30   resting thumbnail tiles            [JS]
  40   .card-content labels               [JS]
  50   ::before vignette                  [CSS]
  51   ::after  vignette                  [CSS]
  60   .card-content on hover             [CSS :hover rule]
 200   .pagination                        [CSS + JS]
 300   .indicator                         [CSS]
 500   .cover (removed after load)        [CSS]
 600   .details panels (active:22→600)   [JS]
*/

/* Hide Bootstrap carousel if present */
.hero-slider-section .carousel,
.hero-slider-section .carousel-inner,
.hero-slider-section .carousel-item {
    display: none !important;
}

/* ============================================================
   HERO SECTION BASE
   ============================================================ */

.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: var(--slider-bg);
}

/* Vignettes — always pointer-events: none so they don't block clicks */
.hero-slider-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0) 20%),
        linear-gradient(0deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 25%);
}

.hero-slider-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 51;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.50) 0%,
            rgba(0,0,0,0.35) 20%,
            rgba(0,0,0,0.20) 40%,
            rgba(0,0,0,0.05) 60%,
            rgba(0,0,0,0.00) 75%
        ),
        radial-gradient(
            ellipse at center,
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,0.05) 50%,
            rgba(0,0,0,0.15) 100%
        );
}

/* ============================================================
   TILES — cleared of all old styling
   Sizing/positioning is handled 100% by JavaScript
   CSS only handles hover feedback and card-content
   ============================================================ */

.hero-slider-section .card {
    position: absolute;
    background-position: center;
    background-size: cover;
    box-shadow: none !important;      /* clear old shadows */
    z-index: 1;
    backface-visibility: hidden;
    transform: translateZ(0);
    opacity: 0;                       /* hidden until JS sizes & positions */
    width: 0;
    height: 0;
}

.hero-slider-section .tile {
    cursor: pointer;
    outline: 2px solid transparent;
    outline-offset: 0px;
    filter: drop-shadow(0px 0px 0px rgba(0,0,0,0));
    transition:
        outline-color 0.22s ease,
        filter        0.22s ease,
        opacity       0.22s ease;
    z-index: 1;
}

.hero-slider-section .tile:hover {
    outline-color: var(--secondary-color);
    filter: drop-shadow(3px 6px 14px rgba(0, 0, 0, 0.65));
}

.hero-slider-section .tile.active-tile {
    outline-color: transparent;
    filter: none;
}

/* ============================================================
   CARD-CONTENT (thumbnail labels)
   Child inside .tile — fills tile 100% via position:absolute inset:0
   No separate GSAP positioning needed
   ============================================================ */

.hero-slider-section .card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 14px 14px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.82) 0%,
        rgba(0,0,0,0.40) 45%,
        rgba(0,0,0,0.00) 100%
    );
    border-radius: inherit;
    opacity: 1;
    transition: opacity 0.22s ease;
}

.hero-slider-section .tile:hover .card-content {
    opacity: 1;
}

.hero-slider-section .card-content .content-start {
    width: 22px;
    height: 3px;
    border-radius: 99px;
    background: var(--secondary-color);
    margin-bottom: 7px;
    flex-shrink: 0;
}

.hero-slider-section .card-content .tile-link {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s ease;
}

.hero-slider-section .tile:hover .card-content .tile-link {
    opacity: 1;
}

.hero-slider-section .card-content .content-place {
    display: block;
    font-family: var(--font-accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--secondary-light, rgba(255,255,255,0.7));
    margin-bottom: 4px;
}

.hero-slider-section .card-content .content-title-1,
.hero-slider-section .card-content .content-title-2 {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.hero-slider-section .tile:hover .card-content .content-title-1,
.hero-slider-section .tile:hover .card-content .content-title-2 {
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.5);
    text-underline-offset: 3px;
}

/* ============================================================
   DETAILS PANELS — z-index: 600
   Always above vignettes and pagination
   ============================================================ */

.hero-slider-section .details {
    position: absolute;
    top: clamp(110px, 20vh, 230px);
    left: clamp(20px, 5vw, 65px);
    z-index: 600;
    color: #ffffff;
    max-width: min(540px, 88vw);
    text-shadow:
        0 1px 6px rgba(0,0,0,0.55),
        0 3px 14px rgba(0,0,0,0.30);
    pointer-events: auto;
}

.hero-slider-section .details .place-box {
    height: 46px;
    overflow: hidden;
}

.hero-slider-section .details .place-box .text {
    padding-top: 16px;
    font-size: 15px;
    font-family: var(--font-accent);
    letter-spacing: 0.8px;
    font-weight: 600;
    color: #fff;
    position: relative;
}

.hero-slider-section .details .place-box .text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 26px;
    height: 3px;
    border-radius: 99px;
    background: var(--secondary-color);
}

.hero-slider-section .details .title-box-1,
.hero-slider-section .details .title-box-2 {
    height: clamp(44px, 7.5vw, 84px);
    overflow: hidden;
    margin-top: 2px;
}

.hero-slider-section .details .title-1,
.hero-slider-section .details .title-2 {
    font-weight: 800;
    font-size: clamp(28px, 4.8vw, 58px);
    font-family: var(--font-heading);
    line-height: 1.05;
    color: #fff;
}

.hero-slider-section .details .desc {
    margin-top: 12px;
    font-size: clamp(12.5px, 1.35vw, 15.5px);
    line-height: 1.65;
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.90);
    max-width: 480px;
}

.hero-slider-section .details .cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    width: clamp(260px, 52vw, 500px);
    margin-top: 22px;
}

/* ============================================================
   SLIDER CTA BUTTONS
   ============================================================ */

.slider-cta-btn {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.70);
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    transition:
        background  0.22s ease,
        border-color 0.22s ease,
        color        0.22s ease,
        transform    0.18s ease;
    white-space: nowrap;
}

.slider-cta-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.95);
    color: #fff;
    transform: translateY(-2px);
}

.slider-cta-btn:first-child {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.slider-cta-btn:first-child:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
}

/* ============================================================
   PAGINATION — two-row layout
   Row 1: progress bar
   Row 2: left arrow | slide number | right arrow
   JS positions via GSAP with calculated left/top
   ============================================================ */

.hero-slider-section .pagination {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 200;
    width: 330px;
    
}

.hero-slider-section .pag-progress {
    width: 100%;
}

.hero-slider-section .progress-sub-background {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 2px;
    overflow: hidden;
}

.hero-slider-section .progress-sub-foreground {
    height: 100%;
    background: var(--secondary-color);
    border-radius: 2px;
}

.hero-slider-section .pag-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-slider-section .pagination .arrow {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.50);
    transition: color 0.18s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.hero-slider-section .pagination .arrow:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: scale(1.2);
}

.hero-slider-section .pagination .arrow svg {
    width: 15px;
    height: 15px;
    stroke-width: 1.5;
}

.hero-slider-section .slide-numbers {
    flex: 1;
    height: 24px;
    overflow: hidden;
    position: relative;
    opacity: 0.3;
}

.hero-slider-section .slide-numbers .item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    font-family: var(--font-accent);
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.50);
}

/* ============================================================
   INDICATOR — top progress bar
   ============================================================ */

.hero-slider-section .indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 300;
    background: linear-gradient(
        90deg,
        var(--secondary-color) 0%,
        var(--secondary-light) 100%
    );
    transform-origin: left center;
}

/* ============================================================
   COVER — wipe-in animation removed by GSAP
   ============================================================ */

.hero-slider-section .cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* Slide 0 placeholder — cover never looks flat black before GSAP wipes it away */
    background-color: var(--primary-dark, #1E3837);
    background-image: url('assets/images/newslider/jpeg/montessori_play_color.jpg');
    background-size: cover;
    background-position: center 40%;
    z-index: 500;
    will-change: transform;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .hero-slider-section .card-content {
        padding: 0 8px 10px;
    }

    .hero-slider-section .card-content .content-start {
        width: 14px;
        margin-bottom: 4px;
    }

    .hero-slider-section .card-content .content-place {
        font-size: 7px;
        letter-spacing: 1px;
        margin-bottom: 2px;
    }

    .hero-slider-section .card-content .content-title-1,
    .hero-slider-section .card-content .content-title-2 {
        font-size: 12px;
        line-height: 1.1;
    }

    .hero-slider-section .pagination {
        width: 180px;
        gap: 10px;
    }

    .hero-slider-section .details .cta {
        gap: 8px;
    }

    .slider-cta-btn {
        height: 32px;
        padding: 0 14px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    /* desc + desktop cta hidden on mobile — mobile-cta handles buttons (index.php) */
    .hero-slider-section .details .desc,
    .hero-slider-section .details .cta { display: none !important; }
}