 /* ===== CSS Variables ===== */
:root {
    --navy: #0a1628;
    --navy-light: #132238;
    --gold: #c9a84c;
    --gold-light: #e8d5a3;
    --cream: #f5f0e8;
    --cream-dark: #e8e0d4;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #f0ece6;
    --shadow: 0 8px 40px rgba(10, 22, 40, 0.18);
    --radius: 16px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --deep: #162236;
    --warm-white: #faf8f4;
    --text: #2a2a2a;
    --muted: #7a7060;
    --border: rgba(200, 164, 90, 0.25);

    --psf-card-width: 280px;
    --psf-gap: 24px;

    /* Compatibility for old components */
    --text-primary: var(--text-dark);
    --text-secondary: #666;
    --bg-secondary: var(--cream);
    --bg-card: var(--white);
    --accent: var(--gold);
    --accent-hover: var(--gold-light);
    --footer-bg: var(--navy);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
html, body {
    height: 100%;
}
main,
.page-content {
    flex: 1;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    display: block;
}

/* ===== Scroll Progress Bar ===== */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    z-index: 1001;
    width: 0%;
    transition: width 0.1s linear;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--cream);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 12px;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 0;
    transition: background var(--transition), box-shadow 0.3s;
}
.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.navbar .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    /* justify-content: space-between; */
}
.navbar .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    position: relative;
}
.navbar .logo span {
    color: var(--gold);
    display: inline-block;
    transition: transform 0.4s ease;
}
.navbar .logo:hover span {
    transform: rotate(-5deg) scale(1.05);
}
.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    margin-top: 15px;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-links a:hover {
    color: var(--white);
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links .cta-btn {
    background: var(--gold);
    color: var(--navy);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background var(--transition), transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
   
}
.nav-links .cta-btn::before {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
    pointer-events: none;
}
.nav-links .cta-btn:hover::before {
    left: 100%;
}
.nav-links .cta-btn::after {
    display: none;
}
.nav-links .cta-btn:hover {
    background: #dfc06a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--navy);
    overflow: hidden;
    padding-top: 60px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    filter: brightness(1.1) saturate(1);
    transform: scale(1);
    will-change: transform;
    transition: transform 0.1s linear;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.75) 0%, rgba(10, 22, 40, 0.30) 100%);
}
.hero-content {
    padding-top: 130px;
    position: relative;
    z-index: 2;
    padding: 40px 24px;
    max-width: 60%;      
    margin-left: 3%;    
    margin-right: auto;
}
.hero-content .pre-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: left;
    color: var(--gold-light);
    margin-bottom: 16px;
    font-weight: 500;
    opacity: 0;
    animation: fadeUp 1s ease 0.4s forwards;
}
.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 6rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(30px);
    animation: textReveal 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
}
.hero-content h1 span {
    display: inline-block;
}
.hero-content .titles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    font-size: clamp(1rem, 2.2vw, 1.6rem);
    font-weight: 300;
    color: var(--gold-light);
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeUp 1s ease 1s forwards;
    padding-right: 170px;
}
.hero-content .titles span {
    position: relative;
    padding: 0 0px;
}
.hero-content .titles span:not(:last-child)::after {
    content: '•';
    color: var(--gold);
    margin-left: 20px;
    font-weight: 400;
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: floatDown 2.4s ease-in-out infinite;
}
.hero-scroll i {
    font-size: 1.4rem;
}
@keyframes floatDown {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(12px);
    }
}
@keyframes textReveal {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== Hero Particles ===== */
.particles-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite ease-in-out;
}
@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== Section Shared ===== */
section {
    padding: 45px 0;
    position: relative;
}
.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500; line-height: 1.15;
    color: var(--navy);
  }
  .section-title em { font-style: italic; color: var(--gold); }

.section-title .highlight {
    color: var(--gold);
    display: inline-block;
}
.section-desc {
    font-size: 1.05rem;
    color: #4a4a4a;
    max-width: 640px;
    line-height: 1.7;
}
.text-center {
    text-align: center;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ===== Wave Dividers ===== */
.wave-divider {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}
.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}
.wave-divider .shape-fill {
    fill: var(--cream);
}
.wave-divider .shape-fill-dark {
    fill: var(--navy);
}

/* ===== About / Profile Grid ===== */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 48px;
}
.profile-card-wrap {
    perspective: 1200px;
    height: 100%;
}
.profile-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.profile-card:hover {
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.20);
}
.profile-card .img-wrap {
    height: 300px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background: var(--cream-dark);
}
.profile-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.profile-card:hover .img-wrap img {
    transform: scale(1.08);
}
.profile-card .img-wrap .overlay-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    background: linear-gradient(transparent, rgba(10, 22, 40, 0.8));
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-align: center;
    transform: translateY(10px);
    opacity: 0.9;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.profile-card:hover .img-wrap .overlay-title {
    transform: translateY(0);
    opacity: 1;
}
.profile-card .caption {
    padding: 18px 16px 20px;
    text-align: center;
    font-size: 0.95rem;
    color: #4a4a4a;
    font-weight: 400;
    transform: translateZ(20px);

     line-height: 1.4;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Book Section ===== */
.book-section {
    background: var(--white);
}
.book-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
    margin-top: 40px;
}
.book-cover {
    flex: 0 0 220px;
    text-align: center;
    perspective: 800px;
}
.book-cover img {
    border-radius: 8px;
    box-shadow: 0 12px 48px rgba(10, 22, 40, 0.20);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.book-cover img:hover {
    transform: rotateY(-8deg) scale(1.03);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.30);
}
.book-info {
    flex: 1;
    min-width: 260px;
}
.book-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 6px;
}
.book-info .sub {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 16px;
    font-weight: 400;
}
.book-info .review {
    background: var(--cream);
    padding: 20px 24px;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    font-style: italic;
    color: #333;
    font-size: 0.98rem;
    line-height: 1.7;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.book-info .review:hover {
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.08);
}
.book-info .review cite {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.85rem;
}
.book-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* ===== Executive Crisis Coach ===== */
.coach-section {
    background: var(--navy);
    color: var(--text-light);
    padding-top: 100px !important;
}
.coach-section .section-title {
    color: var(--white);
}
.coach-section .section-title .highlight {
    color: var(--gold);
}
.coach-section .section-desc {
    color: #4a4a4a;
}
.coach-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    margin: 36px 0 28px;
}
.coach-stats .stat {
    min-width: 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    padding: 24px 16px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}
.coach-stats .stat:hover {
    transform: translateY(-6px) scale(1.02);
    background: rgba(255, 255, 255, 0.10);
    border-color: var(--gold);
}
.coach-stats .stat .num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
    overflow-wrap: break-word;
    hyphens: auto;
}
.coach-stats .stat .label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
}
.coach-note {
    background: rgba(255, 255, 255, 0.05);
    padding: 18px 24px;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-top: 12px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.coach-note:hover {
    background: rgba(255, 255, 255, 0.08);
}
.coach-note strong {
    color: var(--gold-light);
}

/* ===== PSF ===== */
.psf-section {
    background: var(--cream);
}
.psf-carousel {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 40px;
}
.psf-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--psf-gap);
    width: max-content;
    animation: psfSlide 30s linear infinite;
}
.psf-carousel:hover .psf-grid {
    animation-play-state: paused;
}
.psf-carousel .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

@keyframes psfSlide {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-5 * (var(--psf-card-width) + var(--psf-gap)))); }
}

.PSF {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
}

.psf-card {
    flex: 0 0 var(--psf-card-width);
    width: var(--psf-card-width);
    height: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.06);
    border: 1px solid rgba(10, 22, 40, 0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.psf-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}
.psf-card:hover::before { transform: scaleX(1); }
.psf-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 16px 48px rgba(10, 22, 40, 0.12);
}
.psf-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #fff;
}
@media (max-width: 1200px) and (min-width: 901px) {
    :root { --psf-card-width: 240px; }
}
@media (max-width: 900px) and (min-width: 577px) {
    :root { --psf-card-width: 46vw; }
}
@media (max-width: 576px) {
    :root { --psf-card-width: 82vw; }
    .psf-card { height: 190px; }
}
.psf-card .icon {
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 12px;
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.psf-card:hover .icon {
    transform: scale(1.2) rotate(5deg);
}
.psf-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}
.psf-card p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;
}
.psf-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* fills the box, crops excess, no distortion */
    display: block;
    background: #ffffff;
}

/* ===== Corporate Leader ===== */
.corp-section {
    background: var(--white);
}
.corp-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 32px;
}
.corp-text {
    flex: 1;
    min-width: 260px;
}
.corp-text p {
    font-size: 1.02rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 810px;
}
.corp-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}
.corp-logos .logo-item {
     width: 160px;
    height: 160px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.corp-logos  img{
     width: 92px;
    height: 92px;
    object-fit: contain;
}
.corp-logos .logo-item:hover {
    /* background: var(--gold-light); */
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.25);
}
.corp-logos .logo-item i {
    margin-right: 8px;
    color: var(--gold);
}

/* ===== Subscribe ===== */
.subscribe-section {
    background: var(--navy);
    color: var(--text-light);
    padding-top: 55px !important;
}
.subscribe-section .section-title {
    color: var(--white);
}
.subscribe-section .section-title .highlight {
    color: var(--gold);
}
.subscribe-section .section-desc {
    color: rgba(255, 255, 255, 0.7);
}
.subscribe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 1120px;
    margin: 32px auto 0;
}
.subscribe-box {
    max-width: 580px;
    margin: 32px auto 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    padding: 36px 32px;
    border-radius: var(--radius);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.subscribe-grid .subscribe-box {
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.subscribe-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(201, 168, 76, 0.3);
}
.subscribe-box .box-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: transform 0.3s ease, background 0.3s ease;
}
.subscribe-box .box-icon i {
    color: var(--gold);
    font-size: 1.2rem;
}
.subscribe-box:hover .box-icon {
    transform: scale(1.08);
    background: rgba(201, 168, 76, 0.2);
}
.subscribe-box .box-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin-bottom: 6px;
}
.subscribe-box .box-subtitle {
    text-align: center;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 26px;
}
.subscribe-grid .subscribe-form {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.subscribe-form .form-footer {
    margin-top: auto;
    padding-top: 4px;
}
.subscribe-form .trust-note {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 14px;
}
.subscribe-form .trust-note i {
    color: var(--gold);
    margin-right: 4px;
}
.subscribe-form .form-group {
    margin-bottom: 16px;
}
.subscribe-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}
.subscribe-form input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 1rem;
    transition: border var(--transition), background var(--transition), transform 0.3s;
    outline: none;
}
.subscribe-form input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.10);
    transform: scale(1.01);
}
.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.subscribe-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border var(--transition), background var(--transition), transform 0.3s;
    outline: none;
}
.subscribe-form textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.10);
}
.subscribe-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.subscribe-form .form-response {
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
}
.subscribe-form .row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.subscribe-form .btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background var(--transition), transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.5px;
    margin-top: 4px;
    position: relative;
    overflow: hidden;
}
.subscribe-form .btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}
.subscribe-form .btn-submit:hover::before {
    left: 100%;
}
.subscribe-form .btn-submit:hover {
    background: #dfc06a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

/* ===== Connect ===== */
.connect-section {
    background: var(--cream);
    color: var(--text-light);
}
.connect-section .section-title {
    color: var(--navy);
}
.connect-section .section-title .highlight {
    color: var(--gold);
}
.connect-section .section-desc {
    color: rgba(255, 255, 255, 0.7);
}
.connect-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}
.connect-grid .social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--gold);
    color: var(--navy-light);
    font-weight: 500;
    font-size: 0.9rem;
    transition: background var(--transition), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border var(--transition), box-shadow 0.4s ease;
    cursor: pointer;
}
.connect-grid .social-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-6px) scale(1.05);
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.connect-grid .social-btn i {
    font-size: 1.2rem;
    color: var(--gold);
    transition: transform 0.4s ease;
}
.connect-grid .social-btn:hover i {
    transform: rotate(10deg) scale(1.1);
}
.connect-grid .social-btn.psf-btn i {
    color: #6ab0e6;
}

/* ===== Disclaimer ===== */
.disclaimer-section {
    background: var(--cream-dark);
    padding: 48px 0 40px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.8;
}
.disclaimer-section .container {
    max-width: 900px;
}
.disclaimer-section h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}
.disclaimer-section details {
    margin-top: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.disclaimer-section details summary {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
    padding: 6px 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.disclaimer-section details summary::-webkit-details-marker {
    display: none;
}
.disclaimer-section details summary::after {
    content: '▸';
    transition: transform 0.4s ease;
    font-size: 1.2rem;
    color: var(--gold);
}
.disclaimer-section details[open] summary::after {
    transform: rotate(90deg);
}
.disclaimer-section details .disclaimer-text {
    padding-top: 12px;
    border-top: 1px solid rgba(10, 22, 40, 0.06);
    margin-top: 8px;
    animation: fadeUp 0.5s ease forwards;
}
.disclaimer-section details .disclaimer-text p {
    margin-bottom: 10px;
}
.disclaimer-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(10, 22, 40, 0.04);
}
.disclaimer-check input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    cursor: pointer;
    flex-shrink: 0;
}
.disclaimer-check label {
    font-size: 0.85rem;
    color: #444;
    cursor: pointer;
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.5);
    padding-top: 24px;
    padding-bottom: 15px;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer a {
    color: var(--gold-light);
    transition: color 0.3s;
}
.footer a:hover {
    color: var(--gold);
}
.footer .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 576px) {
    .footer .container {
        flex-direction: column;
        gap: 8px;
    }

    .footer .container p {
        margin: 0;
        text-align: center !important;
    }
}

/* ===== Staggered Reveal (Enhanced) ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1), transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: clamp(2.6rem, 8vw, 4.2rem);
    }
    .book-wrap {
        flex-direction: column;
        text-align: center;
    }
    .book-cover {
        flex: 0 0 auto;
    }
    .corp-content {
        flex-direction: column;
    }
    /* .comic-grid {
        grid-template-columns: repeat(2, 1fr);
    } */
}
@media (max-width: 991px) and (min-width: 481px) {
    .hero-content {
        max-width: 85%;
        margin-right: auto;
    }
    .hero-content .titles {
        padding-right: 0;
        font-size: clamp(0.9rem, 2vw, 1.3rem);
        gap: 8px 14px;
    }
    .psf-card {
        flex: 0 0 calc(100vw - 48px);
    }
    /* .comic-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    } */
}
@media(max-width: 1200px) and (min-width: 900px)
{
    .hero-content .titles {
        padding-right: 190px;
    }
    .psf-card {
        flex: 0 0 calc((100vw - 48px) / 2);
    }
}
@media (max-width: 768px) {
    .navbar .container {
        display: flex; 
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        /* height: 100vh; */
        background: var(--navy);
        flex-direction: column;
        padding: 80px 32px 40px;
        gap: 20px;
        transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
        align-items: stretch;
    }
    .nav-links.open {
        right: 0;
    }
    .nav-links a {
        font-size: 1.05rem;
        padding: 8px 0;
    }
    .nav-links .cta-btn {
        text-align: center;
        padding: 14px;
    }
    .hamburger {
        display: flex;
    }
    .hero-content .titles span:not(:last-child)::after {
        margin-left: 12px;
    }
    section {
        padding: 56px 0;
    }
    .profile-grid {
        grid-template-columns: 1fr 1fr;
    }
    .psf-grid {
        grid-template-columns: 1fr 1fr;
    }
    .coach-stats {
        grid-template-columns: 1fr 1fr;
    }
    .subscribe-form .row-2 {
        grid-template-columns: 1fr;
    }
    .subscribe-grid {
        grid-template-columns: 1fr;
        max-width: 580px;
    }
    .corp-logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
        width: 100%;
        padding: 0 10px;
    }
    .corp-logos .logo-item {
       width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 8px;
        line-height: 1.3;
    }
    .corp-logos .logo-item img {
        width: 100px;
        height: 70px;
        object-fit: contain;
    }
      .corp-text p {
        text-align: center;
        padding: 0 15px;
    }
    .connect-grid .social-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    .disclaimer-check {
        flex-direction: column;
        align-items: flex-start;
    }
    .wave-divider svg {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    .psf-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .hero-content .titles {
        /* font-size: 0.95rem;
        gap: 4px 12px; */
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: end;
        justify-content: center;
        gap: 0px 10px;
        font-size: 0.75rem;
        white-space: nowrap;
        padding-left: 105px;
    }
    .hero-content .titles span:not(:last-child)::after {
        margin-left: 8px;
    }
    .subscribe-box {
        padding: 24px 16px;
    }
    .corp-logos {
        gap: 12px 16px;
    }
    .corp-logos .logo-item {
        width: 100px;
        height: 100px;
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    .corp-logos .logo-item img {
        width: 58px;
        height: 58px;
        object-fit: contain;
    }
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--navy);
    color: var(--white);
    padding: 16px 28px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(10, 22, 40, 0.30);
    z-index: 9999;
    transform: translateY(120px) scale(0.9);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
    font-size: 0.95rem;
    border-left: 4px solid var(--gold);
    max-width: 360px;
}
.toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.conversion-btn {
background:  #c9a84c;
color: #0a1628;
padding: 10px 24px;
border-radius: 50px;
font-weight: 600;
font-size: small;
transition: background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
overflow: hidden;
display: inline-block;
flex-shrink: 0;
}
.conversion-btn::before {
    position: absolute;
    top: 0;
    width: 16%;
    height: 85%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: right 0.6s;
    pointer-events: none;
}
.conversion-btn:hover::before {
    right: 100%;
}
.conversion-btn::after {
    display: block;
}
.conversion-btn:hover {
    background: #dfc06a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}
@media (max-width: 768px) {
    .coach-note {
        flex-direction: column;
        align-items: flex-start;
    }

    .conversion-btn {
        align-self: flex-end;
    }
}
/* =========================================================
COACHING MODAL
========================================================= */

.coaching-modal {
    --modal-navy: var(--navy, #0a1628);
    --modal-gold: var(--gold, #c9a84c);
    --modal-gold-light: var(--gold-light, #e8d5a3);
    --modal-cream: var(--cream, #f5f0e8);

    padding: 20px;
}

.coaching-modal .modal-dialog {
    width: 100%;
    max-width: 850px;
    margin: 1.75rem auto;
}

.coaching-modal-content {
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.35) !important;
    border-radius: 18px !important;
    background: var(--modal-cream);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   HEADER
   ========================================================= */

.coaching-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding: 28px 32px;

    background: var(--modal-navy);
    color: var(--modal-gold-light);

    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.coaching-eyebrow {
    display: block;
    margin-bottom: 6px;

    color: var(--modal-gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.coaching-header .modal-title {
    margin: 0;

    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;

    color: #fff;
}

.coaching-subtitle {
    margin: 8px 0 0;

    max-width: 600px;

    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    line-height: 1.5;
}

.coaching-close {
    flex-shrink: 0;

    margin-left: 20px;

    filter: brightness(0) invert(1);
    opacity: 0.7;

    transition: all 0.25s ease;
}

.coaching-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}


/* =========================================================
BODY
========================================================= */

.coaching-body {
    padding: 28px 32px;

    background: var(--modal-cream);
    color: #4a4a4a;
}


/* Intro */

.coaching-intro {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 18px;
    padding: 17px 18px;

    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 12px;
}

.coaching-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    border-radius: 50%;

    background: var(--modal-navy);
    color: var(--modal-gold);

    font-size: 17px;
}

.coaching-intro strong {
    display: block;

    margin-bottom: 3px;

    color: var(--modal-navy);
    font-size: 0.95rem;
}

.coaching-intro p {
    margin: 0;

    font-size: 0.88rem;
    line-height: 1.5;
}


/* Read note */

.read-note {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 18px;

    color: var(--modal-navy);
    font-size: 0.82rem;
    font-weight: 600;
}

.read-note i {
    color: var(--modal-gold);
}


/* Disclaimer content */

.disclaimer-text {
    max-height: 380px;

    overflow-y: auto;

    padding: 20px;

    background: rgba(255, 255, 255, 0.72);

    border: 1px solid rgba(10, 22, 40, 0.08);
    border-radius: 12px;

    scrollbar-width: thin;
    scrollbar-color: var(--modal-gold) transparent;
}

.disclaimer-text::-webkit-scrollbar {
    width: 6px;
}

.disclaimer-text::-webkit-scrollbar-track {
    background: transparent;
}

.disclaimer-text::-webkit-scrollbar-thumb {
    background: var(--modal-gold);
    border-radius: 10px;
}

.disclaimer-text p {
    margin: 0 0 15px;

    color: #555;

    font-size: 0.84rem;
    line-height: 1.7;
}

.disclaimer-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
CHECKBOX / AGREEMENT
========================================================= */

.disclaimer-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 20px;
    padding: 16px 18px;

    background: var(--modal-navy);
    color: var(--cream);
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 12px;
}

.disclaimer-check input {
    flex: 0 0 auto;

    width: 19px;
    height: 19px;

    margin-top: 2px;

    accent-color: var(--modal-gold);

    cursor: pointer;
}

.disclaimer-check label {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--cream);
    cursor: pointer;
}

.check-title {
    color: var(--modal-gold-light);
    font-size: 0.88rem;
    font-weight: 700;
}

.check-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    line-height: 1.5;
}


/* =========================================================
FOOTER
========================================================= */

.modal_footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;

    padding: 18px 28px;

    background: var(--modal-navy);

    border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.coaching-cancel {
    padding: 11px 18px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;

    background: transparent;
    color: rgba(255, 255, 255, 0.7);

    font-size: 0.84rem;

    transition: all 0.25s ease;
}

.coaching-cancel:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.coaching-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 11px 18px;

    border-radius: 8px;

    background: var(--modal-gold);
    color: var(--modal-navy);

    font-size: 0.84rem;
    font-weight: 700;

    text-decoration: none;

    transition: all 0.25s ease;
}

.coaching-email:hover {
    background: var(--modal-gold-light);
    color: var(--modal-navy);

    transform: translateY(-1px);
}

.coaching-email i {
    font-size: 13px;
}


/* =========================================================
MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .coaching-modal {
        padding: 10px;
    }

    .coaching-modal .modal-dialog {
        max-width: 100%;
        margin: 0.5rem auto;
    }

    .coaching-modal-content {
        border-radius: 14px !important;
    }

    .coaching-header {
        padding: 22px 20px;
    }

    .coaching-header .modal-title {
        font-size: 1.65rem;
    }

    .coaching-subtitle {
        font-size: 0.78rem;
    }

    .coaching-body {
        padding: 20px;
    }

    .coaching-intro {
        padding: 14px;
    }

    .coaching-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .disclaimer-text {
        max-height: 300px;
        padding: 16px;
    }

    .disclaimer-text p {
        font-size: 0.8rem;
        line-height: 1.65;
    }

    .disclaimer-check {
        padding: 14px;
    }

    .modal_footer {
        flex-direction: column;
        align-items: stretch;

        padding: 15px 20px;
    }

    .coaching-cancel,
    .coaching-email {
        width: 100%;
        text-align: center;
    }
}


/* =========================================================
VERY SMALL SCREENS
========================================================= */

@media (max-width: 400px) {

    .coaching-header {
        padding: 18px 16px;
    }

    .coaching-body {
        padding: 16px;
    }

    .coaching-header .modal-title {
        font-size: 1.45rem;
    }

    .coaching-eyebrow {
        font-size: 0.62rem;
        letter-spacing: 2px;
    }

    .disclaimer-text {
        max-height: 260px;
        padding: 13px;
    }

    .disclaimer-text p {
        font-size: 0.77rem;
    }
}
    #author { 
        background: var(--white);
    }

.author-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: center;
}

.book-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-card {
    width: 220px;
    height: 300px;
    background: linear-gradient(
        145deg,
        var(--navy) 0%,
        #1e3355 100%
    );
    border-radius: 4px 8px 8px 4px;
    box-shadow:
        -6px 0 0 #0a1520,
        0 20px 50px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 60%;
    background: radial-gradient(
        circle at top right,
        rgba(200,164,90,0.15),
        transparent 70%
    );
}

.book-card-title {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.3;
    z-index: 1;
}

.book-card-author {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    margin-top: 0.5rem;
    z-index: 1;
    letter-spacing: 0.06em;
}

.author-text .section-label {
    margin-bottom: 0.4rem;
}

.author-text .section-title {
    margin-bottom: 1.2rem;
}

.author-text p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #4a3f30;
    margin-bottom: 1rem;
}

.author-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.8rem;
    border: 2px solid var(--navy);
    color: var(--navy);
    text-decoration: none !important;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.2s;
}

.author-cta:hover {
    background: var(--navy);
    color: #fff;
    text-decoration: none !important;
}
#social {
    padding: 6rem 5vw;
    background: var(--cream);
}

.social-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.compassion-quote {
    background: var(--navy);
    padding: 2.5rem 3rem;
    border-radius: 4px;
    margin-bottom: 3rem;
    position: relative;
}

.compassion-quote::before {
    content: '"';
    font-family: 'Cormorant Garamond', serif;
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.3;
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    line-height: 1;
}

.compassion-quote p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    max-width: 700px;
}

.psf-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.psf-pillar {
    text-align: center;
    padding: 2rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--warm-white);
    transition: border-color 0.2s, transform 0.2s;
}

.psf-pillar:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.psf-pillar-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.psf-pillar h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 500;
}

.psf-pillar p {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.4rem;
    line-height: 1.5;
}
@media (max-width: 991.98px) {

    .navbar-collapse {
        background: #fff;
        padding: 15px;
        margin-top: 10px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        align-items: stretch;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        display: block;
        width: 100%;
        padding: 10px 15px;
    }
}

/* Small mobile */
@media (max-width: 575.98px) {

    .navbar-brand {
        max-width: 70%;
    }

    .navbar-brand img {
        max-width: 150px;
        height: auto;
    }

    .navbar-toggler {
        padding: 5px 8px;
    }

    .navbar-collapse {
        margin-left: 0;
        margin-right: 0;
    }
}
@media (max-width: 1024px) {
    .hero-content .titles{
        display: flex;
        flex-wrap: nowrap;       /* force single line, no wrapping */
        justify-content: center; /* center as a group instead of padding-hack */
        padding-right: 150px;        /* remove the offset hack entirely */
        white-space: nowrap;     /* prevent individual span text from breaking */
        gap: 8px 16px;
        font-size: clamp(0.8rem, 2vw, 1.2rem); 
    }
    
}
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    margin-top: 0;
    right: 0 !important;
    left: auto !important;
}

/* ===== Hero: overlay name/titles on the face area (phones and portrait
   tablets; landscape tablets keep the default desktop-style layout) ===== */
@media (orientation: portrait) {
    .hero-content {
        position: absolute;
        top: 15%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 480px;
        margin: 0;
        text-align: center;
        padding: 56px 24px;
        background: radial-gradient(ellipse 65% 60% at center, rgba(6, 14, 26, 0.75) 0%, rgba(6, 14, 26, 0.42) 50%, rgba(6, 14, 26, 0) 78%);
    }
    .hero-content h1 {
        text-align: center;
        text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
    }
    .hero-content .titles {
        padding: 0;
        justify-content: center;
        text-shadow: 0 1px 14px rgba(0, 0, 0, 0.8);
    }
   .nav-links .dropdown-menu {
        position: static !important;
        transform: none !important;
    }
}

.comics-section {
        background: var(--cream);
        padding: 90px 0 70px;
    }
    .comic-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
        gap: 28px;
        margin-top: 40px;
    }
    .comic-card {
        background: var(--white);
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(10, 22, 40, 0.06);
        border: 1px solid rgba(10, 22, 40, 0.06);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
        display: flex;
        flex-direction: column;
    }
    .comic-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(10, 22, 40, 0.12);
    }
    .comic-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }
    .comic-card-body {
        padding: 20px 22px 24px;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    .comic-card-title {
        font-family: 'Playfair Display', serif;
        font-size: 1.2rem;
        color: var(--navy);
        margin-bottom: 10px;
    }
    .comic-card-excerpt {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 18px;
        flex: 1;
    }
    .comic-card-link {
        align-self: flex-start;
        color: var(--gold);
        font-weight: 600;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }
    .comic-card-link:hover {
        color: var(--navy);
    }
    .comics-pagination .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }
    .comics-pagination .page-item.active .page-link {
        background-color: var(--gold) !important;
        border-color: var(--gold) !important;
        color: var(--navy) !important;
    }
    .comics-pagination .page-link {
        color: var(--navy);
    }
    .nav.nav-tabs {
    gap: 6px;
    width: fit-content;
    margin: 35px 30px;
    padding: 6px;

    border: 1px solid var(--border);
    border-radius: 50px;

    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 6px 25px rgba(10, 22, 40, 0.10);

    /* Remove Bootstrap border */
    border-bottom: none;
}


/* Individual tab item */
.nav.nav-tabs .nav-item {
    margin: 0;
}


/* Tab button */
.nav.nav-tabs .nav-link {
    position: relative;

    border: none !important;
    border-radius: 40px !important;

    padding: 11px 28px;

    background: transparent;

    color: var(--navy);

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;

    transition: var(--transition);

    cursor: pointer;
}


/* Remove Bootstrap focus/outline */
.nav.nav-tabs .nav-link:focus {
    outline: none;
    box-shadow: none;
}


/* Hover */
.nav.nav-tabs .nav-link:hover {
    color: var(--gold);
    background: var(--cream);
}


/* Active tab */
.nav.nav-tabs .nav-link.active {
    color: var(--white);
    background: var(--navy);
    border-color: transparent !important;
    box-shadow: 0 5px 15px rgba(10, 22, 40, 0.22);
}


/* Gold line under active tab */
.nav.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    background: var(--gold);
    border-radius: 10px;
}
/* TAB CONTENT */

#seasonTabContent {
    width: 100%;
    margin-top: 10px;
}

/* Smooth tab transition */
#seasonTabContent .tab-pane {
    animation: seasonTabFade 0.35s ease;
}

@keyframes seasonTabFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {

    .nav.nav-tabs {
        margin: 25px auto 25px;
        padding: 5px;

        max-width: calc(100% - 30px);
    }

    .nav.nav-tabs .nav-link {
        padding: 9px 18px;
        font-size: 14px;
    }

}