/* =========================================
   1. VARIABLES & BASE STYLES
   ========================================= */
:root {
    --primary-dark: #000000;
    --primary-dark-lighter: #111111;
    --text-serif: 'Raleway', sans-serif;
    --text-sans: 'Raleway', sans-serif;
    --bg-white: #FFFFFF;
    --neutral-grey: #ECECEC;
    --neutral-warm: #F4F1EC;
    --accent-gold: #B8A977;

    /* Pathways Variables */
    --bg-color: #f5f2ed;
    --card-width: 380px;
    --card-height: 500px;
}

body {
    font-family: var(--text-sans);
    overflow-x: hidden;
    background-color: var(--primary-dark);
    color: white;
    line-height: 1.6;
}

body.light-theme {
    background-color: var(--bg-white);
    color: var(--primary-dark);
}

body.pathways-theme {
    background-color: var(--bg-color);
    color: var(--primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--text-serif);
    font-weight: 500;
    padding: 15px 0;
}

.navbar-custom {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    background: transparent !important;
    padding: 30px 0;
    transition: all 0.3s ease;
}

.navbar-custom.dark-mode {
    background: transparent !important;
    box-shadow: none !important;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav-link {
    font-size: 0.9rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s;
    margin: 0 15px;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.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(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Header Container */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1060;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1055;
}

.header-logo {
    height: 175px;
    width: auto;
    margin-top: 134px;
    transition: opacity 0.4s ease;


}

.btn-menu-pill {
    background: white;
    border-radius: 30px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s;
}

.btn-menu-pill:hover {
    transform: scale(1.05);
}

.menu-icon-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-line {
    width: 18px;
    height: 2px;
    background-color: black;
}

.header-text {
    font-family: var(--text-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
}

.btn-arrow-circle {
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-decoration: none;
    transition: transform 0.2s;
    border-radius: 30px;
    padding: 4px 20px;
}

.btn-arrow-circle:hover {
    transform: scale(1.1);
    color: black;
}

.navbar-custom.dark-mode .header-text {
    color: white;
}

/* =========================================
   3. HERO & SECTIONS
   ========================================= */
.section-padded {
    padding: 120px 0;
    position: relative;
}

/* Fade Overlays */
.fade-overlay-top {
    position: absolute;
    top: -1px;
    /* Overlap by 1px to prevent edge bleed */
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 3;
    pointer-events: none;

    /* The Fix: Multi-stop "stepped" gradient */
    /* Replace #000 with your --primary-dark color if not black */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.738) 19%,
            rgba(0, 0, 0, 0.541) 34%,
            rgba(0, 0, 0, 0.382) 47%,
            rgba(0, 0, 0, 0.278) 56.5%,
            rgba(0, 0, 0, 0.194) 65%,
            rgba(0, 0, 0, 0.126) 73%,
            rgba(0, 0, 0, 0.075) 80.2%,
            rgba(0, 0, 0, 0.042) 86.1%,
            rgba(0, 0, 0, 0.021) 91%,
            rgba(0, 0, 0, 0.008) 95.2%,
            rgba(0, 0, 0, 0.002) 98.2%,
            transparent 100%);

    /* Improves rendering on high-res screens */
    -webkit-backdrop-filter: blur(0px);
    transform: translateZ(0);
}

.fade-overlay-bottom {
    position: absolute;
    bottom: -1px;
    /* Overlap by 1px to prevent any thin light gaps at the very bottom */
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 3;
    pointer-events: none;

    /* The Fix: Smoothed multi-stop gradient */
    /* Replace '0, 0, 0' with your --primary-dark RGB values */
    background: linear-gradient(to top,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.738) 19%,
            rgba(0, 0, 0, 0.541) 34%,
            rgba(0, 0, 0, 0.382) 47%,
            rgba(0, 0, 0, 0.278) 56.5%,
            rgba(0, 0, 0, 0.194) 65%,
            rgba(0, 0, 0, 0.126) 73%,
            rgba(0, 0, 0, 0.075) 80.2%,
            rgba(0, 0, 0, 0.042) 86.1%,
            rgba(0, 0, 0, 0.021) 91%,
            rgba(0, 0, 0, 0.008) 95.2%,
            rgba(0, 0, 0, 0.002) 98.2%,
            transparent 100%);

    /* Force hardware acceleration for cleaner rendering */
    transform: translateZ(0);
}

/* Image Background Section */
.section-image-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    z-index: 2;
    overflow: hidden;
}

.section-image-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.section-image-bg.bg-doorways {
    background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?q=80&w=2070&auto=format&fit=crop');
}

.section-image-bg.bg-return {
    background-image: url('https://images.unsplash.com/photo-1472214103451-9374bd1c798e?q=80&w=2070&auto=format&fit=crop');
}

.section-image-bg.bg-testimonial {
    background-image: url('https://images.unsplash.com/photo-1534796636912-3b95b3ab5986?q=80&w=2072&auto=format&fit=crop');
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Video Background */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;

    background-color: var(--bg-white);
}

.pathway-card .text-muted {
    color: #ffffffba !important;
    font-size: 15px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.pathway_p {
    color: #ffffff82 !important;
    font-size: 13px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.pathway-card:hover .text-muted {
    opacity: 1;
    max-height: 100px;
    margin-bottom: 1rem;
    transform: translateY(0);
}

.pathway-card:hover .pathway_p {
    opacity: 1;
    max-height: 150px;
    margin-bottom: 1rem;
    transform: translateY(0);
}

.pathway-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    height: 100%;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s;
    background: #00000066;
    color: white;
}

.pathway-card:hover {
    transform: translateY(-10px);
    background: #1a1a1a;
}

.hero-bg-layer {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('images/herobg.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    /*height: auto;*/
    min-height: 100vh;
    object-fit: cover;
    transform: scale(1.1);
    transform-origin: bottom center;
}

.hero-bg-layer-pathway {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 85vh;
    background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?q=80&w=2560&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    width: 100%;
    /*height: auto;*/
    min-height: 70vh;
    object-fit: cover;
    transform: scale(1.1);
    transform-origin: bottom center;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 50%, var(--primary-dark) 100%);
    z-index: 8;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    margin-bottom: 0;
    top: -14%;
}

.hero-headline {
    font-family: var(--text-serif);
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1a1a1a;
    margin-top: 25px;
}

.hero-subtext {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

/* Sub-page Hero Overrides */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
}

.hero-bg-about {
    background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?q=80&w=2560&auto=format&fit=crop');
}

.hero-bg-connect {
    background-image: url('https://images.unsplash.com/photo-1506126613408-eca07ce68773?q=80&w=2670&auto=format&fit=crop');
}

.hero-bg-thoughts {
    background-image: url('https://images.unsplash.com/photo-1499728603963-bc157d5c7165?q=80&w=2574&auto=format&fit=crop');
}

/* Dark Features Section */
.dark-features-section {
    background-color: var(--primary-dark);
    color: white;
    min-height: 35vh;
    padding: 0;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 60vh;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.feature-text {
    font-family: var(--text-sans);
    font-size: 1.1rem;
    font-weight: 300;
}

.pathway-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

/* What We Offer */
.section-what-we-offer {
    background-color: var(--bg-white);
    color: white;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.offer-lead {
    margin-bottom: 2rem;
    font-size: 28px;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 50px;
}

.offer-sub {
    font-size: 20px;
    color: rgb(4 17 44);
    max-width: 627px;
    margin: 0 auto;
    background-color: #dbdbdb;
    font-family: 'Philosopher', sans-serif;
    padding: 10px;
    display: ruby;
    border-radius: 6px;
    font-weight: 600;
}

/* Pathways Overview */
.section-pathways {
    background-color: var(--primary-dark);
    color: white;
    min-height: 10vh;
    display: flex;
    align-items: center;
    height: 60vh;
}

.pathway-card:hover {
    transform: translateY(-10px);
    background: #1a1a1a;
}

/* Doorways */
.section-doorways {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Buttons */
.btn-primary-custom {

    font-family: var(--text-serif);
    font-size: 1.2rem;
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid #333;
    padding: 10px 40px;
    border-radius: 50px;
    transition: all 0.3s;
    margin-top: 10px;
    display: inline-block;
    background-color: #ffffff;

}

.btn-primary-custom:hover {
    background-color: transparent;
    color: white;
    border: 1px solid #fff;

}

.btn-appointment {
    background-color: #7f9183;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--text-serif);
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn-appointment:hover {
    background-color: #6a7a6d;
    color: white;
}

.btn-link-custom {
    color: var(--primary-dark);
    text-decoration: none;
    border-bottom: 1px solid black;
    padding-bottom: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-link-custom:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* =========================================
   4. FOOTER & MENU
   ========================================= */
/* Custom Footer */
.footer-custom {
    background-color: var(--primary-dark);
    ;
    color: white;
    padding: 80px 0;

}

.footer-logo-text {

    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.footer-logo-text img {
    width: 150px;
}

.footer-tagline {
    font-size: 13px;
    opacity: 0.8;
    max-width: 300px;
    font-family: 'Raleway', sans-serif!important;
}

.footer-heading {

    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-email {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon-circle:hover {
    background: white;
    color: #1a3c2f;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 60px 0 30px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-right: 20px;
    font-size: 0.9rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    text-align: right;
}

/* Full Screen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.fullscreen-menu.show {
    opacity: 1;
    visibility: visible;
}

.menu-close-btn {
    position: absolute;
    top: 30px;
    left: 40px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    color: #333;
    transition: transform 0.2s;
}

.menu-close-btn:hover {
    transform: scale(1.1);
}

.menu-logo {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    height: 50px;
    width: auto;
}

.fullscreen-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

.fullscreen-nav-link {
    font-family: var(--text-serif);
    font-size: 2.5rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
}

.fullscreen-nav-link:hover {
    color: var(--accent-gold);
}

/* =========================================
   5. PAGE SPECIFIC (Pathways 3D, IP, etc.)
   ========================================= */
/* Pathways 3D Slider */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

.header-banner {
    background: #fdfaf5;
    font-size: 11px;
    padding: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.slider-viewport {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    perspective: 1200px;
}

.bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    font-size: 25vw;
    opacity: 0.03;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.cards-container {
    display: flex;
    gap: 32px;
    padding: 0 15vw;
    height: 600px;
    align-items: center;
    will-change: transform;
    cursor: grab;
}

.cards-container:active {
    cursor: grabbing;
}

.pathway-card-3d {
    width: var(--card-width);
    height: var(--card-height);
    flex-shrink: 0;
    perspective: 1500px;
    position: relative;
    border-radius: 40px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.pathway-card-3d:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.card-back {
    transform: rotateY(180deg);
    background: white;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease-out;
}

.pathway-card-3d:hover .card-front img {
    transform: scale(1.08);
}

.front-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
}

.progress-wrap {
    position: fixed;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    width: 200px;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    position: relative;
}

.progress-fill {
    position: absolute;
    height: 100%;
    background: #000;
    width: 0%;
}

/* IP Tracker Styles */
.ip-tracker-wrapper {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.ip-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.ip-card h2 {
    margin-top: 0;
    color: #333;
}

.ip-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    font-weight: 500;
}

.ip-btn:hover {
    background: #0056b3;
}

.ip-btn:disabled {
    background: #ccc;
    cursor: default;
}

.ip-result {
    margin-top: 20px;
    text-align: left;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid #e9ecef;
    display: none;
}

.ip-row {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.ip-label {
    font-weight: 600;
    color: #555;
}

.ip-val {
    color: #000;
    text-align: right;
}

.ip-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.ip-badge.gps {
    background: #d4edda;
    color: #155724;
}

.ip-badge.ip {
    background: #e2e3e5;
    color: #383d41;
}

/* =========================================
   6. FIXED BRACKET & ANIMATIONS
   ========================================= */
#fixed-bracket-container {
    position: fixed;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 45px;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
}

.bracket-images-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bracket-center-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    margin-top: 30px;
}

.scroll-down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    animation: bounce 2s infinite;
    z-index: 11;
    cursor: pointer;
    pointer-events: auto;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Enhancements */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.highlight-text-strip {
    background-color: #e6f0e6;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    padding: 5px 20px;
    display: inline-block;
}

/* =========================================
   PATHWAYS TABBED SECTION
   ========================================= */
.pathways-tabs-section {
    background-color: var(--primary-dark);
    background-image: url('images/pathways-tab.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 0;
    min-height: 80vh;
    position: relative;
}

.pathways-tabs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.about-tabs-section::before {
    background: rgba(0, 0, 0, 0) !important;
}

.about-tabs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.pathways-tabs .nav-link {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--text-serif);
    font-size: 1.2rem;
    padding: 15px 30px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.pathways-tabs .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.pathways-tabs .nav-link.active {
    color: var(--accent-gold);
    background: transparent;
    border-bottom: 2px solid var(--accent-gold);
}

.pathways-tabs,
.tab-content {
    position: relative;
    z-index: 2;
}

.pathway-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px 40px;
    animation: fadeIn 0.8s ease-out;
}

.pathway-heading {
    font-family: var(--text-serif);
    font-size: 28px;
    color: white;
    margin-bottom: 1rem;
    font-weight: 300;
}

.pathway-block {
    margin-bottom: 2.5rem;
    text-align: center;
}

.pathway-subheading {
    font-family: var(--text-sans);
    font-size: 0.9rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0;
    font-weight: 600;
}

.pathway-text {
    font-family: var(--text-sans);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-weight: 300;
}

.btn-explore {
    display: inline-block;
    margin-top: 2rem;
    padding: 12px 30px;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.btn-explore:hover {
    background: var(--accent-gold);
    color: black;
    box-shadow: 0 0 20px rgba(184, 169, 119, 0.2);
}

/* Carousel Customization */
.carousel-indicators [data-bs-target] {
    background-color: var(--accent-gold);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    margin: 0 6px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.carousel-indicators .active {
    opacity: 1;
}

.fade-overlay-bottom.hidden-by-default,
.fade-overlay-top.hidden-by-default {
    display: none;
}

.hero-content .header-logo {
    margin-top: -360px;
}

.navbar .header-logo {
    visibility: hidden;
    opacity: 0;
}

.scrolled-body .navbar .header-logo {
    height: 50px;
    width: auto;
    margin-top: 0px;
    visibility: visible;
    opacity: 1;
}

.scrolled-body .fade-overlay-bottom.hidden-by-default,
.scrolled-body .fade-overlay-top.hidden-by-default {
    display: block;
    height: 210px;
}

.testimonial {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.testimonial.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 28px;
    padding: 10px 25px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-arrow.prev {
    left: -80px;
}

.slider-arrow.next {
    right: -80px;
}

/* Dots */
.slider-dots {
    margin-top: 30px;
}

.slider-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
}

.slider-dots span.active {
    background: #fff;
}

/* Read More Feature */
.read-more-text {
    font-family: var(--text-serif);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff5e;
    margin-top: auto;
    opacity: 1;
    max-height: 50px;
    transition: all 0.5s ease;
    text-decoration: underline;
}

.pathway-card:hover .read-more-text {
    opacity: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
}

.read-more-text {
    margin-top: 0;
}

.btn-menu-discover {
    font-family: var(--text-serif);
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid #333;
    padding: 10px 40px;
    border-radius: 50px;
    transition: all 0.3s;
    margin-top: 10px;
    display: inline-block;
    background-color: #333;
}

.btn-menu-discover:hover {
    background-color: #ffffff;
    color: #333;
}

/* New Page Styles */
.hero-section.hero-short {
    height: 60vh;
    min-height: 60vh;
}

.hero-section.hero-short .hero-bg-layer {
    min-height: 70vh;
    height: 100%;
    background-image: url('images/aboutus-hero.jpg');
}

.section-black {
    background-color: var(--primary-dark);
    color: white;
    padding: 120px 0;
    height: 60vh;
    display: flex;
    align-items: center;
    /* vertical center */
    justify-content: center;
    /* horizontal center */

    padding: 0 15px;
    /* optional, keeps mobile spacing */
}

.logo_inner_pages {
    height: 110px !important;
    margin-top: -250px !important;
}

.section-pathways h3 {
    text-align: center;
    font-size: 28px;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 50px;
}

/* =========================================
   TESTIMONIAL SPLIT LAYOUT (Restored Visuals)
   ========================================= */
.testimonial-split-section {
    position: relative;
    overflow: hidden;
}

.testimonial-visual-side {
    height: 100%;
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spirograph SVG Animation */
.spirograph-svg {
    width: 80%;
    height: auto;
    max-width: 500px;
    display: block;
    margin: 0 auto;
    animation: rotateComplex 60s linear infinite;
    margin-right: -2%;
}

.pathways-tabs {
    margin-left: 75px;
}

#aboutTab.pathways-tabs {
    margin-left: 20px;
}

.spiro-group ellipse {
    fill: none;
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 1;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawComplex 5s ease-out infinite alternate;
}

.spiro-group ellipse:nth-child(odd) {
    animation-delay: 0.5s;
}

.spiro-group ellipse:nth-child(even) {
    animation-delay: 1s;
}

@keyframes rotateComplex {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes drawComplex {
    to {
        stroke-dashoffset: 0;
    }
}

.progress-ring {
    fill: none;
    stroke: var(--accent-gold);
    stroke-width: 4;
    stroke-dasharray: 1445;
    stroke-dashoffset: 1445;
    transform: rotate(-90deg);
    transform-origin: center;
}

.modal-content {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.modal-body p {
    line-height: 1.7;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}

.site-developed {
    text-decoration: none;
    color: #fff;
}

.height_adj {
    padding-top: 100px;
    padding-bottom: 100px;
}