:root {
    --primary: #7B0D2E;      /* Deep Burgundy / Maroon */
    --secondary: #D4A017;    /* Golden Amber / Yellow */
    --text-dark: #0B0F19;    /* Very dark blue/black for headings */
    --text-light: #64748B;   /* Slate gray for paragraphs */
    --bg-color: #FFFFFF;
    --theme-gradient: radial-gradient(circle at 15% 50%, rgba(212, 160, 23, 0.08) 0%, transparent 50%), radial-gradient(circle at 85% 30%, rgba(123, 13, 46, 0.08) 0%, transparent 50%), #ffffff;
    --border-color: #E2E8F0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ================= GLOBAL TEXT SELECTION (ROYAL GOLD HIGHLIGHTER) ================= */
::selection {
    background-color: #FDBB10;
    color: #0B0F19;
}

::-moz-selection {
    background-color: #FDBB10;
    color: #0B0F19;
}

mark, .marker-highlight {
    background: linear-gradient(120deg, rgba(253, 187, 16, 0.25) 0%, rgba(253, 187, 16, 0.35) 100%);
    color: inherit;
    padding: 2px 6px;
    border-radius: 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: var(--font-body);
    background: var(--theme-gradient);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.5;
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1920px; /* Prevents extreme stretching on ultrawide monitors */
    margin: 0 auto;
    padding: 0 5%; /* Fluid padding */
}

/* ================= HEADER ================= */
.header {
    margin: 0 auto;
    padding: 24px 5%;
    position: sticky;
    top: 0;
    background: var(--theme-gradient);
    background-attachment: fixed;
    z-index: 99990;
    box-shadow: none;
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.header.scrolled {
    padding: 14px 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header.scrolled::before {
    opacity: 1;
}

/* ================= STICKY NAVBAR SCROLL PROGRESS BAR (SOLUTION 2) ================= */
.header-scroll-progress {
    position: absolute !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: 3.5px !important;
    background: rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 5 !important;
}

.header-scroll-bar {
    height: 100% !important;
    width: 0%;
    background: linear-gradient(90deg, #7B0D2E 0%, #D4A017 50%, #FDBB10 100%) !important;
    box-shadow: 0 0 10px rgba(253, 187, 16, 0.75), 0 0 3px #FDBB10 !important;
    border-radius: 0 3px 3px 0 !important;
    transition: width 0.05s linear !important;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 20;
}

.logo img {
    width: 240px;
    height: auto;
    mix-blend-mode: multiply;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.nav-menu a i {
    font-size: 14px;
    color: #94A3B8;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

.nav-menu a:hover i {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 16px;
}

.icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(123, 13, 46, 0.1);
}

/* Header Dropdowns */
.nav-menu .dropdown {
    position: relative;
    z-index: 100;
}

.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000 !important;
}

.nav-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .dropdown-menu li {
    margin: 0;
}

.nav-menu .dropdown-menu a {
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
}

.nav-menu .dropdown-menu a:hover {
    background-color: #F8FAFC;
}

/* Header Buttons */
.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-phone:hover {
    border-color: var(--secondary);
    background-color: rgba(212, 160, 23, 0.05); /* Amber with opacity */
}

.btn-connect {
    padding: 12px 28px;
    background-color: var(--primary); /* Deep Burgundy */
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(123, 13, 46, 0.3);
}

.btn-connect:hover {
    background-color: #610a24; /* Darker Burgundy */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(123, 13, 46, 0.4);
}

/* ================= HERO SECTION ================= */
.hero {
    height: calc(100vh - 100px);
    min-height: 550px;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5vw;
}

.hero-content {
    flex: 1.2;
    padding-right: 40px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, min(5.5vw, 8vh), 110px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.5;
    font-weight: 500;
}

.title-line {
    display: flex;
    align-items: center;
}

.title-line-1 {
    gap: 24px;
}

.gradient-pill {
    display: inline-block;
    width: 160px;
    height: 60px;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--secondary) 0%, #FFC233 40%, #B81D47 80%, var(--primary) 100%);
    box-shadow: 0 10px 25px rgba(212, 160, 23, 0.4);
}

.title-line-2 {
    margin: 4px 0;
}

.title-line-3 {
    gap: 32px;
    margin: 4px 0;
}

.title-line-4 {
    margin-top: 4px;
}

.hero-desc {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 280px;
    letter-spacing: 0;
}

.highlight {
    color: var(--primary);
    text-transform: uppercase;
}

/* Search Bar */
.search-bar {
    background: #0B0F19;
    border-radius: 100px;
    padding: 8px 8px 8px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
    max-width: 580px;
    box-shadow: 0 20px 40px rgba(11, 15, 25, 0.15);
}

.search-bar input {
    background: transparent;
    border: none;
    color: white;
    flex: 1;
    font-size: 16px;
    outline: none;
    font-family: var(--font-body);
}

.search-bar input::placeholder {
    color: #64748B;
}

.btn-search {
    background: transparent;
    color: white;
    border: none;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    transition: opacity 0.3s ease;
}

.btn-search:hover {
    opacity: 0.9;
}

.search-icon-wrap {
    background: var(--theme-gradient);
    color: var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-search:hover .search-icon-wrap {
    transform: scale(1.05);
}

/* Experts Connect */
/* Hero Action Buttons */
.hero-action-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-hero-primary {
    padding: 16px 36px;
    background-color: var(--primary); /* Burgundy */
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(123, 13, 46, 0.3);
}

.btn-hero-primary:hover {
    background-color: #610a24;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(123, 13, 46, 0.4);
}

.btn-hero-outline {
    padding: 16px 36px;
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background-color: rgba(212, 160, 23, 0.05);
}

/* Hero Topics */
.hero-topics {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 10px;
    margin-bottom: 24px;
}

.hero-topics .topic-text {
    color: var(--secondary); /* Amber */
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 0.5px;
}

.hero-topics .divider {
    width: 1px;
    height: 24px;
    background-color: #CBD5E1; /* Light gray */
}

.avatars {
    display: flex;
}

.avatars img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -16px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.avatars img:first-child {
    margin-left: 0;
}

.connect-text {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
}

.btn-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(123, 13, 46, 0.2);
}

.btn-arrow:hover {
    transform: translateX(4px);
    background: #5E0A23;
}

/* Hero Image Right Side */
.hero-image-wrapper {
    flex: 1.5;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.svg-clip {
    position: absolute;
    width: 0;
    height: 0;
}

.image-mask {
    width: 100%;
    height: 75vh;
    max-height: 850px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-mask img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply; /* Blends white background into gradient */
    transform: scale(1.3);
    transform-origin: center center;
}

/* ================= FEATURES SECTION ================= */
.features {
    background-color: #060B19;
    padding: 60px 0;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
    min-width: 250px;
}

.feature-icon {
    font-size: 56px;
    color: white;
}

@keyframes floatIcon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

.feature-icon i {
    display: inline-block;
    animation: floatIcon 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.feature-item:nth-child(1) .feature-icon i { animation-delay: 0s; }
.feature-item:nth-child(2) .feature-icon i { animation-delay: 0.3s; }
.feature-item:nth-child(3) .feature-icon i { animation-delay: 0.6s; }
.feature-item:nth-child(4) .feature-icon i { animation-delay: 0.9s; }

.feature-item:hover .feature-icon i {
    color: var(--secondary);
    transform: scale(1.15) rotate(5deg);
}

.feature-text h3 {
    font-family: var(--font-heading);
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-text p {
    color: #94A3B8;
    font-size: 14px;
    line-height: 1.6;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 237, 237, 0.75) 100%);
    border: 1px solid rgba(123, 13, 46, 0.16);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(123, 13, 46, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.section-tag:hover {
    transform: translateY(-2px);
    border-color: rgba(123, 13, 46, 0.28);
    box-shadow: 0 8px 22px rgba(123, 13, 46, 0.1), inset 0 1px 0 #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, rgba(248, 237, 237, 0.9) 100%);
}

/* ================= WHY CHOOSE US ================= */
.why-choose-us {
    padding: 50px 0;
    background: var(--theme-gradient);
}

.section-header-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.header-left {
    flex: 1;
}

.subheading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 237, 237, 0.75) 100%);
    color: var(--primary);
    border: 1px solid rgba(123, 13, 46, 0.16);
    border-radius: 50px;
    padding: 5px 18px 5px 7px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.4px;
    margin-bottom: 18px;
    text-transform: none;
    box-shadow: 0 4px 14px rgba(123, 13, 46, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.subheading i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7B0D2E 0%, #9E1B42 100%);
    color: #ffffff;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(123, 13, 46, 0.32);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.subheading:hover {
    transform: translateY(-2px);
    border-color: rgba(123, 13, 46, 0.28);
    box-shadow: 0 8px 22px rgba(123, 13, 46, 0.1), inset 0 1px 0 #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, rgba(248, 237, 237, 0.9) 100%);
}

.subheading:hover i {
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 4px 12px rgba(123, 13, 46, 0.45);
}

.header-left h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.header-right {
    flex: 1;
    max-width: 500px;
}

.header-right p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 15px;
}

.link-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    font-size: 15px;
}

.link-more:hover {
    color: var(--secondary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.card p {
    font-size: 15px;
    line-height: 1.7;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

/* Card Variants */
.card-light {
    background-color: #F8FAFC;
    color: var(--text-dark);
}
.card-light p { color: var(--text-light); }
.card-light .card-icon {
    background-color: #E2E8F0;
    color: var(--primary);
}

.card-dark {
    background-color: #0B0F19;
    color: white;
}
.card-dark p { color: #94A3B8; }
.card-dark .card-icon {
    background-color: rgba(255,255,255,0.05);
    color: var(--secondary);
}

.card-accent {
    background-color: var(--primary);
    color: white;
}
.card-accent p { color: rgba(255,255,255,0.8); }
.card-accent .card-icon {
    background-color: rgba(255,255,255,0.15);
    color: white;
}

/* ================= SKILLS / TRANSPARENCY SECTION ================= */
.skills-section {
    padding: 50px 0;
    background: var(--theme-gradient);
}

.skills-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.skills-left {
    flex: 1;
    position: relative;
    max-width: 580px;
}

.tabs-header {
    display: flex;
    gap: 4px;
    margin-bottom: 0;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--text-light);
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 16px 16px 0 0;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #FDF2F5; /* Very light burgundy to match Praxisly brand */
    color: var(--primary);
}

.tab-btn:hover:not(.active) {
    color: var(--primary);
}

.tab-content {
    background: #FDF2F5;
    padding: 40px;
    border-radius: 0 16px 16px 16px;
}

.tab-content h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.tab-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.tab-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.skills-right {
    flex: 1;
    max-width: 550px;
}

.skills-right h2 {
    font-family: var(--font-heading);
    font-size: 46px;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.skills-right p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.btn-group {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 16px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--text-dark);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

/* ================= CATEGORIES SECTION ================= */
.categories-section {
    background-color: #060B19; /* Deep dark blue */
    padding: 50px 0;
    color: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.categories-intro {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
}

.text-amber {
    color: var(--secondary) !important;
}

.categories-intro .subheading.text-amber {
    margin-bottom: 16px;
}

.categories-intro h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.categories-intro p {
    color: #94A3B8;
    font-size: 16px;
    line-height: 1.7;
    max-width: 400px;
}

.category-card {
    background-color: #151E32;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 200px;
}

.category-card:hover {
    transform: translateY(-8px);
    background-color: #1A253D;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.cat-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.category-card:hover .cat-icon {
    background-color: var(--secondary);
    color: #060B19;
}

.cat-info h4 {
    font-family: var(--font-heading);
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 40px;
}

.cat-info span {
    color: #94A3B8;
    font-size: 14px;
    transition: color 0.3s ease;
}

.category-card:hover .cat-info h4 {
    color: var(--secondary);
}

/* ================= BENEFITS SECTION ================= */
.benefits-section {
    padding: 60px 0;
    background: transparent;
}

.benefits-container {
    display: flex;
    align-items: center;
    gap: 100px;
}

.benefits-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.benefits-image-wrapper {
    position: relative;
    max-width: 100%;
    width: 100%;
}

.main-img {
    width: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.float-card {
    position: absolute;
    background: var(--theme-gradient);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 16px;
    z-index: 10;
    animation: floatIcon 5s ease-in-out infinite;
}



.progress-card {
    right: -60px;
    bottom: -30px;
    text-align: center;
    padding: 30px;
    animation-delay: 1.5s;
    border-radius: 20px;
}

.progress-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 8px solid var(--primary); /* Praxisly Burgundy */
    border-top-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transform: rotate(45deg);
}

.progress-circle span {
    transform: rotate(-45deg);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
}

.progress-card p {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}

.decor-half-circle {
    display: none;
}

.decor-half-circle.top-right {
    top: 50px;
    right: -40px;
    border-radius: 40px 40px 0 0;
    transform: rotate(90deg);
}

.decor-half-circle.bottom-left {
    bottom: 50px;
    left: -40px;
    border-radius: 0 0 40px 40px;
}

.benefits-right {
    flex: 1;
    max-width: 550px;
}

.benefits-right h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.benefits-desc {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.benefit-number {
    background-color: var(--secondary);
    color: var(--text-dark);
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.benefit-text h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.benefit-text p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* ================= EMPOWERED SECTION ================= */
.empowered-section {
    padding: 60px 0;
    background: transparent;
}

.empowered-section .section-header-split {
    align-items: flex-end;
    margin-bottom: 80px;
}

.empowered-section .header-left h2 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--text-dark);
}

.empowered-section .header-left h2 .text-primary {
    color: var(--primary);
}

.empowered-section .header-right {
    padding-bottom: 10px;
}

.empowered-section .header-right p {
    margin-bottom: 24px;
}

.link-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-view-all .icon-circle {
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.link-view-all:hover {
    color: var(--primary);
}

.link-view-all:hover .icon-circle {
    transform: translateX(4px);
}

.empowered-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.empowered-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.folder-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background-color: #f1f5f9;
}



.folder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.empowered-card:hover .folder-image img {
    transform: scale(1.05);
}

.card-content h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.card-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* ================= TESTIMONIALS SECTION ================= */
.testimonials-section {
    position: relative;
    padding: 60px 0 0 0;
    background: var(--theme-gradient);
}

.rings-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.rings-bg {
    position: absolute;
    bottom: -150px; 
    left: 50%;
    transform: translate(-50%, 50%);
    width: 1200px;
    height: 1200px;
    pointer-events: none;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #F1F5F9;
    border-radius: 50%;
}

.ring-1 { width: 1200px; height: 1200px; }
.ring-2 { width: 900px; height: 900px; }
.ring-3 { width: 600px; height: 600px; }

.orbit-avatar {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    background: var(--theme-gradient);
    padding: 4px;
}

.avatar-1 { top: 20%; left: 15%; }
.avatar-2 { top: 25%; right: 10%; }
.avatar-3 { top: 10%; left: 35%; }
.avatar-4 { top: 15%; right: 30%; }
.avatar-5 { top: 0%; left: 50%; transform: translateX(-50%); }
.avatar-6 { top: 40%; left: 5%; }

.testimonials-container {
    position: relative;
    z-index: 2;
    margin-bottom: -150px; /* Pulls the section height up, forcing the card to overlap the boundary */
}

.testimonials-header.text-center {
    text-align: center;
    margin-bottom: 80px;
}

.testimonials-header h2 {
    font-family: var(--font-heading);
    font-size: 46px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.testimonials-header p {
    color: var(--text-light);
    font-size: 16px;
}

.testimonial-slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-main-card {
    background-color: #060B19;
    border-radius: 24px;
    padding: 60px 80px;
    text-align: center;
    color: white;
    position: relative;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.main-avatar {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 6px solid white;
    overflow: hidden;
    background: var(--theme-gradient);
}

.main-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 30px;
    font-size: 18px;
}

.quote-text {
    font-size: 17px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.quote-author h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 4px;
}

.quote-author span {
    font-size: 14px;
    color: #94A3B8;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: var(--theme-gradient);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-dark);
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.slider-btn:hover {
    background-color: var(--primary);
    color: white;
}

.prev-btn { left: -26px; }
.next-btn { right: -26px; }

/* ================= TRUSTED BY SECTION ================= */
.trusted-by-section {
    background: var(--theme-gradient);
    background-attachment: fixed;
    padding: 85px 0;
    overflow: hidden;
}

.trusted-container {
    display: flex;
    align-items: center;
    gap: 45px;
}

.trusted-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.trusted-logos-wrapper {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.trusted-logos-track {
    display: flex;
    align-items: center;
    gap: 70px;
    width: max-content;
    animation: scrollLogos 24s linear infinite;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 35px)); }
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    min-width: 140px;
}

.logo-item img {
    height: 62px;
    max-height: 68px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.04));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-item:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

@media (max-width: 768px) {
    .trusted-by-section {
        padding: 50px 0;
    }
    .trusted-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .logo-item img {
        height: 50px;
    }
}
/* ================= FACILITIES BENTO SECTION ================= */
.facilities-section {
    padding: 50px 0;
    background: var(--theme-gradient);
    background-attachment: fixed;
}

.bento-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 20px;
    align-items: stretch;
}

.bento-card {
    border-radius: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Left Column */
.bento-facilities {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent !important;
    box-shadow: none !important;
}

.bento-bg-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    mix-blend-mode: multiply;
    transform: scale(1.15);
    transform-origin: center center;
}

.bento-facilities-title {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 0 0 30px 0;
    display: inline-flex;
    align-items: flex-start;
    justify-content: space-between;
    width: max-content;
    gap: 40px;
}

.bento-facilities-title h3 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: #000B2A;
    margin: 0;
}

.bento-facilities-title i {
    font-size: 20px;
    color: #000B2A;
    margin-top: 5px;
}

/* Right Column rows */
.bento-right {
    position: relative;
    display: flex;
    flex-direction: column;
}

.bento-pagination-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    height: 140px; /* matches small images */
    display: flex;
    align-items: center;
}

.bento-slider {
    position: relative;
    width: 100%;
}

.bento-slide {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.bento-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Top Row */
.bento-top-row {
    display: flex;
    justify-content: space-between;
}

.bento-pagination-spacer {
    width: 240px;
    flex-shrink: 0;
}

.bento-pagination {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 20px;
}

.bento-line {
    height: 30px;
    width: 40px;
    position: relative;
    cursor: pointer;
    transition: width 0.3s ease;
    flex-shrink: 0;
}

.bento-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background-color: #E2E8F0;
    transition: background-color 0.3s ease;
}

.bento-line.active {
    width: 60px;
}

.bento-line.active::after {
    background-color: #000B2A;
}

.bento-active-num {
    font-size: 18px;
    font-weight: 700;
    color: #000B2A;
    transition: all 0.3s ease;
}

.bento-small-images {
    flex: 1;
    display: flex;
    gap: 20px;
    height: 140px;
}

.bento-small-img-wrapper {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

.bento-small-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Middle Row */
.bento-certificate {
    background: var(--primary);
    color: #ffffff;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 240px;
    overflow: hidden;
}

.cert-icon-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.cert-icon-wrapper i.ph-globe-hemisphere-west {
    font-size: 26px;
    color: white;
}
.cert-icon-wrapper i.ph-graduation-cap {
    position: absolute;
    top: -8px;
    right: -12px;
    font-size: 22px;
    color: #FBBF24;
    transform: rotate(15deg);
}

.bento-certificate h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.bento-certificate p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}

/* Bottom Row */
.bento-testimonial {
    background-color: #EFEFEF;
    padding: 40px 50px 40px 100px;
    display: flex;
    align-items: center;
    flex: 1;
    overflow: visible;
}

.testi-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #ffffff;
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-content {
    margin-left: 40px;
    position: relative;
}

.testi-content .ph-quotes {
    font-size: 30px;
    color: #5B45FF;
    position: absolute;
    left: -45px;
    top: 0;
}

.quote-text {
    font-size: 17px;
    font-style: italic;
    color: #000B2A;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;
}

.testi-author strong {
    display: block;
    font-size: 15px;
    color: #000B2A;
}

.testi-author span {
    font-size: 13px;
    color: #64748B;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-facilities {
        height: 500px;
    }
    .bento-top-row {
        grid-template-columns: 1fr;
    }
    .bento-pagination {
        justify-content: flex-start;
    }
    .testi-avatar {
        left: 20px;
        top: -60px;
        transform: none;
    }
    .bento-testimonial {
        padding: 80px 40px 40px 40px;
        margin-top: 60px;
    }
    .testi-content {
        margin-left: 0;
    }
}

/* ================= SERVICES SECTION ================= */
.services-section {
    background-color: transparent;
    padding: 60px 0;
    color: var(--text-dark);
}

.services-section .section-header-split {
    align-items: flex-start;
    margin-bottom: 100px;
}

.services-section .header-left {
    flex: 1.2;
}

.services-section .header-left h2 {
    font-size: 46px;
    line-height: 1.2;
    color: var(--text-dark);
}

.services-section .header-left .subheading {
    margin-bottom: 20px;
}

.services-section .header-right {
    flex: 1;
    padding-top: 10px; /* Align slightly down with the title */
}

.services-section .header-right p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-col {
    padding: 32px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.service-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    margin-bottom: 40px;
}

.service-col h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.3;
}

.read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--secondary); /* Praxisly Amber */
}

.read-more:hover i {
    transform: translateX(4px);
}

/* ================= WORLD CLASS SECTION ================= */
.world-class-section {
    padding: 60px 0;
    background: transparent;
}

.world-class-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.header-content {
    flex: 1.5;
}

.header-content h2 {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.highlight-underline {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: -2%;
    width: 104%;
    height: 8px;
    background-color: var(--secondary);
    z-index: -1;
    border-radius: 10px;
    transform: rotate(-1deg);
}

.header-content p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    max-width: 600px;
}

.stats-cards {
    flex: 1;
    display: flex;
    gap: 24px;
}

.stat-card {
    flex: 1;
    padding: 40px 30px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.stat-card h3 {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 16px;
}

.stat-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.stat-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.stat-amber {
    background-color: #FFF8E7; /* Very light amber */
}
.stat-amber h3 {
    color: #F59E0B; /* Deep amber */
}

.stat-primary {
    background-color: #FDF2F5; /* Very light burgundy */
}
.stat-primary h3 {
    color: var(--primary); /* Burgundy */
}

/* Masonry Gallery */
.masonry-gallery {
    display: flex;
    gap: 20px;
    margin-top: 80px;
    height: 520px;
}

.gallery-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.col-tall {
    flex: 1;
}

.col-stacked {
    flex: 1.2;
}

.col-wide {
    flex: 2;
}

.gallery-img-wrap {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-img-wrap:hover img {
    transform: scale(1.1);
}

.col-tall .gallery-img-wrap { height: 100%; }
.col-stacked .gallery-img-wrap { height: calc(50% - 15px); }
.col-wide .gallery-img-wrap { height: 100%; }

/* ================= FLAGSHIP PSAP ACCELERATOR SECTION ================= */
.psap-flagship-section {
    padding: 70px 0;
    background: transparent;
}

.psap-flagship-card {
    background: linear-gradient(135deg, #7B0D2E 0%, #4D061B 100%);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 48px rgba(123, 13, 46, 0.28), 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.psap-flagship-content {
    flex: 1;
    padding: 55px 60px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psap-flagship-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.psap-flagship-badge .badge-pill {
    background: rgba(212, 160, 23, 0.2);
    color: #FFC233;
    border: 1px solid rgba(212, 160, 23, 0.45);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.psap-flagship-badge .badge-dot {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
}

.psap-flagship-title {
    font-size: 34px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 14px;
    color: #ffffff;
    line-height: 1.25;
}

.psap-flagship-desc {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 620px;
}

.psap-flagship-features {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.psap-flagship-features .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.psap-flagship-features .feature-item i {
    color: #FFC233;
    font-size: 18px;
}

.psap-flagship-action {
    display: flex;
    align-items: center;
}

.btn-psap-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #D4A017;
    color: #1E030B;
    padding: 14px 34px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-psap-gold:hover {
    background: #E5B226;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
    color: #1E030B;
}

.psap-flagship-mentor {
    width: 360px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    padding-right: 40px;
}

.psap-flagship-mentor img {
    height: 380px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(-10px 14px 24px rgba(0, 0, 0, 0.35));
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.psap-flagship-card:hover .psap-flagship-mentor img {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .psap-flagship-card {
        flex-direction: column;
        text-align: center;
        padding-bottom: 0;
    }

    .psap-flagship-content {
        padding: 45px 30px 25px 30px;
        align-items: center;
    }

    .psap-flagship-badge {
        justify-content: center;
    }

    .psap-flagship-features {
        justify-content: center;
    }

    .psap-flagship-action {
        justify-content: center;
    }

    .psap-flagship-mentor {
        width: 100%;
        padding-right: 0;
    }

    .psap-flagship-mentor img {
        height: 290px;
    }
}

@media (max-width: 576px) {
    .psap-flagship-section {
        padding: 40px 0;
    }

    .psap-flagship-card {
        border-radius: 20px;
    }

    .psap-flagship-content {
        padding: 35px 20px 20px 20px;
    }

    .psap-flagship-title {
        font-size: 24px;
    }

    .psap-flagship-desc {
        font-size: 14px;
    }

    .psap-flagship-features {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .psap-flagship-mentor img {
        height: 240px;
    }
}

/* ================= REVIEWS SECTION ================= */
.reviews-section {
    padding: 50px 0;
    background-color: transparent;
}

.testimonial-slider-container {
    display: block;
    width: 100%;
    overflow: hidden;
}

.nav-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-arrow:hover {
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #ffffff;
    border-color: var(--primary);
}

.testimonial-grid {
    display: flex;
    gap: 20px;
    width: calc(200% + 30px);
    flex-shrink: 0;
    animation: scrollTestimonials 20s linear infinite;
}

.testimonial-grid:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
    min-width: 0;
}

.t-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 24px;
}

.t-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
}

.t-author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 4px 0;
}

.t-author-info span {
    font-size: 13px;
    color: #64748B;
}

.t-quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: serif;
    font-size: 64px;
    line-height: 1;
    color: #F59E0B;
    opacity: 0.9;
}

.t-divider {
    height: 1px;
    width: 100%;
    background-color: #F1F5F9;
    margin-bottom: 24px;
}

.t-body {
    flex-grow: 1;
}

.t-body p {
    font-size: 15px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
}

.t-logo {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reviews-title {
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
}

.reviews-title h2 {
    color: var(--text-dark);
    font-size: 36px;
    font-weight: 700;
    margin-top: 10px;
}

.reviews-title .subheading {
    display: inline-flex;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ================= REVIEWS DUAL TAB & VIDEO CARDS ================= */
.reviews-tab-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin: 28px auto 40px auto;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.reviews-tab-btn {
    border: none;
    background: transparent;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reviews-tab-btn:hover {
    color: var(--primary);
}

.reviews-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(123, 13, 46, 0.25);
}

.reviews-tab-btn .tab-badge {
    background: #FFC233;
    color: #4D061B;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.reviews-tab-content {
    transition: opacity 0.25s ease;
}

/* Video Stories Grid (Main Page) */
.home-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.home-video-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(123, 13, 46, 0.12);
    border-color: rgba(123, 13, 46, 0.25);
}

.home-video-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #0f172a;
}

.home-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.5s ease;
}

.home-video-card:hover .home-video-thumb img {
    transform: scale(1.05);
}

.home-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.home-video-card:hover .home-video-overlay {
    background: linear-gradient(to top, rgba(77, 6, 27, 0.8) 0%, rgba(123, 13, 46, 0.3) 50%, rgba(0,0,0,0.2) 100%);
}

.home-play-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(123, 13, 46, 0.45);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.home-video-card:hover .home-play-btn {
    transform: scale(1.15);
    background: #9B123A;
}

.home-video-duration {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.home-video-info {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-video-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.home-video-header-row h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.home-video-badge {
    background: rgba(123, 13, 46, 0.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.home-video-badge.badge-green {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.home-video-quote {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    flex: 1;
}

.home-video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.home-video-meta .verified-label {
    font-size: 12px;
    color: #059669;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.home-video-meta .watch-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.home-video-card:hover .watch-text {
    gap: 9px;
}

/* Reviews Bottom CTA */
.reviews-bottom-action {
    text-align: center;
    margin-top: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.reviews-bottom-action p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

/* ================= INSTAGRAM / REELS STORY VIDEO PLAYER ================= */
body.story-player-open {
    overflow: hidden !important;
}

.praxisly-story-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.praxisly-story-modal.active {
    opacity: 1;
    visibility: visible;
}

.story-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 11, 24, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.story-modal-shell {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 410px;
}

.story-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 410px;
    height: 82vh;
    max-height: 740px;
    background: #000000;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.12);
    transform: scale(0.93);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.praxisly-story-modal.active .story-modal-dialog {
    transform: scale(1);
}

/* Floating Desktop Navigation Arrows */
.story-desktop-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.story-desktop-arrow.prev {
    left: -65px;
}

.story-desktop-arrow.next {
    right: -65px;
}

.story-desktop-arrow:hover {
    background: #fdbb10;
    color: #000B2A;
    border-color: #fdbb10;
    transform: translateY(-50%) scale(1.1);
}

/* Video Canvas */
.story-video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    outline: none;
}

/* Tap Zones for Touch/Desktop */
.story-tap-zone {
    position: absolute;
    top: 70px;
    bottom: 120px;
    z-index: 5;
}

.story-tap-zone.prev {
    left: 0;
    width: 28%;
    cursor: pointer;
}

.story-tap-zone.next {
    right: 0;
    width: 28%;
    cursor: pointer;
}

.story-tap-zone.center {
    left: 28%;
    right: 28%;
    cursor: pointer;
}

/* Play/Pause Pulse Indicator */
.story-play-state-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.65);
    z-index: 8;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.story-play-state-pulse.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Top Overlay: Progress Bars & Author */
.story-top-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 14px 16px 28px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 65%, transparent 100%);
    pointer-events: none;
}

.story-top-overlay * {
    pointer-events: auto;
}

.story-progress-row {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.story-bar-track {
    flex: 1;
    height: 3.5px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.story-bar-fill {
    height: 100%;
    width: 0%;
    background: #fdbb10;
    border-radius: 4px;
    transition: width 0.08s linear;
}

.story-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.story-author-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #fdbb10;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.story-author-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.story-author-details h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.story-author-details h4 .verified-check {
    color: #38bdf8;
    font-size: 14px;
}

.story-author-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1px 7px;
    border-radius: 10px;
    background: rgba(253, 187, 16, 0.2);
    color: #fdbb10;
    border: 1px solid rgba(253, 187, 16, 0.45);
    display: inline-block;
    align-self: flex-start;
}

.story-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.story-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.story-icon-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

/* Bottom Overlay: Quote & Conversion CTA */
.story-bottom-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 36px 16px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.65) 60%, transparent 100%);
    pointer-events: none;
}

.story-bottom-overlay * {
    pointer-events: auto;
}

.story-quote-box {
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 10px 12px;
}

.story-quote-box p {
    color: #f8fafc;
    font-size: 12.5px;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

.story-cta-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fdbb10 0%, #f59e0b 100%);
    color: #000B2A !important;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(253, 187, 16, 0.35);
    transition: all 0.25s ease;
}

.story-cta-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(253, 187, 16, 0.55);
    background: #ffffff;
    color: #000B2A !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .story-desktop-arrow {
        display: none !important;
    }
    .story-modal-dialog {
        max-width: 100%;
        height: 90vh;
        max-height: 90vh;
        border-radius: 20px;
    }
    .story-quote-box p {
        font-size: 12px;
    }
    .story-cta-action {
        padding: 11px 16px;
        font-size: 13px;
    }
}


/* ================= INSTRUCTORS SECTION ================= */
.instructors-section {
    padding: 60px 0;
    background: transparent;
}

.instructors-section .section-title {
    margin-bottom: 80px;
    text-align: center;
}

.instructors-section .section-title h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: #000B2A;
    margin: 16px 0 24px;
}

.instructors-section .section-title p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.instructor-col {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.instructor-col:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.instructor-col:hover .instructor-image {
    transform: scale(1.05);
}

.instructor-image-container {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0;
    overflow: hidden;
}

.instructor-bg-shape {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 280px;
    background-color: #000B2A;
    /* Custom folder shape mask using SVG path */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 320' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M24,0 H200 A24,24 0 0,1 224,24 V40 A24,24 0 0,0 248,64 H276 A24,24 0 0,1 300,88 V296 A24,24 0 0,1 276,320 H24 A24,24 0 0,1 0,296 V24 A24,24 0 0,1 24,0 Z' fill='%23000'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 320' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M24,0 H200 A24,24 0 0,1 224,24 V40 A24,24 0 0,0 248,64 H276 A24,24 0 0,1 300,88 V296 A24,24 0 0,1 276,320 H24 A24,24 0 0,1 0,296 V24 A24,24 0 0,1 24,0 Z' fill='%23000'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    z-index: 1;
}

.instructor-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0;
    transition: transform 0.5s ease;
}

.instructor-info {
    padding: 32px;
}

.instructor-info h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #000B2A;
    margin-bottom: 6px;
    text-align: left;
}

.instructor-info .title {
    font-size: 14px;
    color: #64748B;
    display: block;
    margin-bottom: 12px;
    text-align: left;
    font-weight: 500;
}

.instructor-info .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.instructor-info .tags span {
    background: rgba(123, 13, 46, 0.08);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.instructor-info .desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    text-align: left;
}

/* ================= FAQ SECTION ================= */
.faq-section {
    padding: 60px 0;
    background: transparent;
}

.faq-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: flex-start;
}

.faq-header {
    display: block;
    margin-bottom: 40px;
}

.faq-header h2 {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.faq-header p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* FAQ Form Styles */
.faq-right {
    position: sticky;
    top: 120px;
}

.faq-form-card {
    background-color: white;
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.faq-form-card h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.faq-form-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 30px;
}
.faq-form .form-group {
    margin-bottom: 20px;
}
.faq-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.faq-form input, .faq-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background-color: #F8FAFC;
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s;
}
.faq-form input:focus, .faq-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(123, 13, 46, 0.1);
}
.faq-form .btn-primary {
    width: 100%;
    padding: 16px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.faq-form .btn-primary:hover {
    background-color: #060B19;
}

.faq-item {
    background-color: #F8FAFC;
    border-radius: 16px;
    padding: 30px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    background-color: #F1F5F9;
}

.faq-item.active {
    background-color: var(--primary); /* Praxisly Burgundy */
    color: white;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
    color: white;
}

.faq-icon {
    width: 44px;
    height: 44px;
    background: var(--theme-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 18px;
    flex-shrink: 0;
}

.faq-icon i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon i {
    transform: rotate(-180deg);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    margin-top: 20px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.faq-footer {
    margin-top: 80px;
}

.faq-footer h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.btn-dark {
    display: inline-block;
    padding: 16px 36px;
    background-color: #060B19;
    color: white;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(123, 13, 46, 0.2);
}

/* ================= FOOTER ================= */
.site-footer {
    background-color: var(--primary); /* Burgundy */
    position: relative;
    padding-top: 60px;
}

.footer-cta-section {
    background: var(--theme-gradient); /* Light beige gradient */
    border-radius: 40px;
    margin: 0 20px 60px; 
    padding: 50px 0;
}

.footer-cta-split {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer-cta-left {
    flex: 1.2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 40px;
}

.footer-logo i {
    font-size: 16px;
}

.footer-cta-left h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 400; 
    color: #1E293B; 
    line-height: 1.2;
    margin-bottom: 24px;
}

.footer-cta-left h2 span {
    font-weight: 500;
}

.footer-cta-left p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 40px;
}

.footer-btn-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-dark-pill {
    padding: 16px 32px;
    background-color: #060B19; /* Very dark blue */
    color: white;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-dark-pill:hover {
    background-color: var(--primary);
    color: white;
}

.btn-dark-circle {
    width: 52px;
    height: 52px;
    background-color: #060B19;
    color: var(--secondary); /* Amber arrow */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.btn-dark-circle:hover {
    background-color: var(--primary);
    color: white;
}

.footer-cta-right {
    flex: 0.8;
    padding-top: 100px;
}

.contact-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
    column-gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-grid .contact-item:last-child {
    grid-column: 1 / -1;
}

.contact-item span {
    font-size: 18px;
    color: var(--text-light);
}

.contact-item strong {
    font-size: 22px;
    color: #475569;
    font-weight: 500;
}

/* Bottom Links Section */
.footer-bottom-section {
    padding-bottom: 40px;
}

.footer-nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.footer-nav-links a {
    color: white; 
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-nav-links a:hover {
    color: var(--secondary);
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

.footer-copyright-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 175px;
}

.copyright-text a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 16px;
    transition: color 0.3s ease;
}

.copyright-text a:hover {
    color: white;
}

.copyright-text a.footer-admin-lock {
    opacity: 0.35;
    margin-left: 12px;
    font-size: 13px;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.copyright-text a.footer-admin-lock:hover {
    opacity: 1;
    color: var(--secondary);
    transform: scale(1.15);
}

.footer-social-minimal {
    display: flex;
    gap: 12px;
}

.footer-social-minimal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-minimal a:hover {
    background-color: white;
    color: var(--primary);
    border-color: white;
}

/* ================= FLOATING QUICK ACTION STACK ================= */
.floating-actions {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    z-index: 999;
}

.floating-btn-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

/* 1. Appointment: Praxisly Warm Amber/Gold */
.floating-btn.btn-appointment {
    background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
    color: #50071C;
}

.floating-btn.btn-appointment:hover {
    background: linear-gradient(135deg, #FCD34D 0%, #B45309 100%);
}

/* 2. WhatsApp: Official Vibrant Green */
.floating-btn.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
}

.floating-btn.btn-whatsapp:hover {
    background: linear-gradient(135deg, #2EE070 0%, #0F766A 100%);
}

/* 3. Scroll To Top: Praxisly Deep Maroon */
.floating-btn.btn-scroll-top,
.back-to-top {
    background: linear-gradient(135deg, #7B0D2E 0%, #50071C 100%);
    color: #ffffff;
}

.floating-btn.btn-scroll-top:hover,
.back-to-top:hover {
    background: linear-gradient(135deg, #9E1B42 0%, #3D0313 100%);
}

/* Tooltip Pill (matching Images 2 & 3) */
.floating-tooltip {
    position: absolute;
    right: 60px;
    background: #ffffff;
    color: #50071C;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(123, 13, 46, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 10;
}

.floating-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-top: 1px solid rgba(123, 13, 46, 0.1);
    border-right: 1px solid rgba(123, 13, 46, 0.1);
}

/* Back to Top wrapper scroll visibility */
.back-to-top-wrap {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.back-to-top-wrap.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* STRICT DESKTOP / MOUSE POINTER INTERACTION ONLY */
@media (hover: hover) and (pointer: fine) {
    .floating-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    }
    .floating-btn-wrap:hover .floating-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

/* STRICT MOBILE & TOUCH DEVICES ONLY */
@media (hover: none), (pointer: coarse), (max-width: 768px) {
    .floating-actions {
        right: max(16px, env(safe-area-inset-right, 16px));
        bottom: max(20px, env(safe-area-inset-bottom, 20px));
        gap: 10px;
    }
    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    /* Disable zoom on tap and eliminate sticky tooltips */
    .floating-btn:hover {
        transform: none;
    }
    .floating-tooltip {
        display: none !important;
    }
    /* Instant tactile tap feedback */
    .floating-btn:active {
        transform: scale(0.92);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
}

/* ================= WHY PRAXISLY SECTION ================= */
.why-praxisly-section {
    padding: 50px 0;
    background: transparent;
}



.why-praxisly-section .section-title {
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.why-praxisly-section .section-title h2 {
    font-size: clamp(36px, 4vw, 52px);
    margin: 16px 0 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.why-praxisly-section .section-desc {
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.6;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.why-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--secondary);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px rgba(212, 160, 23, 0.2);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    line-height: 1.3;
}

.why-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   Latest Blogs Section
   ========================================================================== */
.latest-blogs-section {
    padding: 40px 0;
    background: transparent;
}

.blogs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.blogs-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.view-all-link .arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #4F46E5;
    color: white;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.view-all-link:hover .arrow-btn {
    background-color: #4338ca;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.blog-date-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffffff;
    padding: 15px 20px 20px 15px;
    border-bottom-right-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

/* Inner curve magic using radial gradients */
.blog-date-badge::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at bottom right, transparent 20px, #ffffff 21px);
}

.blog-date-badge::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at bottom right, transparent 20px, #ffffff 21px);
}

.blog-date-badge .day {
    font-size: 24px;
    font-weight: 700;
    color: #000B2A;
    line-height: 1;
    margin-bottom: 5px;
}

.blog-date-badge .month-year {
    font-size: 12px;
    color: #64748b;
}

.blog-image-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.blog-meta .tag {
    font-size: 13px;
    color: #64748b;
}

.blog-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0 0 20px 0;
}

.read-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: var(--text-dark);
    transition: all 0.3s ease;
    margin-top: auto;
}

.read-more-btn:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
    .blogs-grid {
        grid-template-columns: 1fr;
    }
    .blogs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
/* ================= MEGA MENU ================= */
.header .container {
    position: static;
}

.nav-menu li.mega-menu-wrapper {
    position: static; 
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0; 
    right: 0;
    width: 100%;
    background: #ffffff !important;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000 !important;
    padding: 40px 5%;
    border-bottom: 1px solid var(--border-color);
}
.mega-menu-inner {
    max-width: 1920px;
    width: 100%;
    display: flex;
    margin: 0 auto;
    gap: 20px;
}

.nav-menu li.mega-menu-wrapper:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-col {
    padding: 0 20px;
}

/* Left Col */
.mega-left {
    width: 25%;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding-left: 0;
}

.mega-title {
    color: var(--text-dark);
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.mega-left p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.mega-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    text-decoration: underline;
    margin-bottom: auto;
}

.mega-social {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.mega-social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.mega-social a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Middle Col */
.mega-middle {
    width: 45%;
    display: flex;
    flex-direction: column;
}

.mega-middle-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex: 1;
}

.mega-subcol {
    flex: 1;
}

.mega-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega-feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    background: #fff;
}

.mega-feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.mega-feature-card img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.mega-list-title {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 700;
}

ul.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

ul.mega-list li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

ul.mega-list li a:hover {
    color: var(--primary);
}

.mega-footer-banner {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
}

.mega-footer-banner a {
    color: var(--text-dark);
    text-decoration: underline;
    font-weight: 600;
}

/* Right Col */
.mega-right {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mega-promo-card {
    border-radius: 8px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex: 1;
    min-height: 140px;
    transition: transform 0.3s ease;
}

.mega-promo-card:hover {
    transform: translateY(-5px);
}

.mega-promo-card.dark {
    background: #000;
    color: #fff;
}

.mega-promo-card.primary {
    background: var(--primary);
    color: #fff;
}

.promo-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.promo-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 700;
    color: #fff;
}

.promo-content p {
    font-size: 12px;
    opacity: 0.8;
    color: #fff;
}

.mega-promo-card img {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 140px;
    border-radius: 8px;
    box-shadow: -5px -5px 20px rgba(0,0,0,0.3);
    transition: transform 0.5s ease;
}

.mega-promo-card:hover img {
    transform: scale(1.05) translate(-5px, -5px);
}

/* NEW MEGA MENU STYLES */
.mega-right-full {
    width: 75%;
    display: flex;
    flex-direction: column;
}

.mega-cards-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
    flex: 1;
}

.mega-promo-card.horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 20px;
    min-height: 120px;
}

.mega-promo-card.horizontal .promo-img {
    flex: 0 0 100px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-promo-card.horizontal .promo-img img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.5s ease;
}

.mega-promo-card.horizontal:hover img {
    transform: scale(1.05);
}

.mega-promo-card.horizontal .promo-content {
    max-width: 100%;
    flex: 1;
}

.mega-promo-card.white-shadow {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.mega-promo-card.white-shadow h4 {
    color: var(--text-dark);
}

.mega-promo-card.white-shadow p {
    color: var(--text-light);
}

.mega-promo-card.dark-gradient {
    background: linear-gradient(135deg, #111 0%, #333 100%);
    color: #fff;
}

.mega-promo-card.secondary {
    background: var(--secondary);
    color: var(--text-dark);
}

/* MEGA MENU MIDDLE FEATURES */
.mega-middle-features {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.mega-right-60 {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding-right: 0;
}

.mega-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
}

.feature-pill {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease;
}

.feature-pill:hover {
    transform: translateX(5px);
}

.feature-pill img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.feature-pill .pill-text {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 20px 12px 36px;
    margin-left: -24px;
    z-index: 1;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
    white-space: nowrap;
}

/* Mega Menu Panels */
.mega-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.mega-panel.active {
    display: flex;
    flex-direction: column;
}

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

.feature-pill.active {
    transform: translateX(10px);
}

.feature-pill.active .pill-text {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(123, 13, 46, 0.1);
}




/* ==========================================================================
   PSAP PAGE STYLES
   ========================================================================== */

/* Hero */
.psap-hero {
    background: var(--theme-gradient); background-attachment: fixed;
    padding: 60px 0;
}
.psap-hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}
.psap-hero-content {
    flex: 1;
}
.breadcrumb {
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
}
.psap-title {
    font-size: 42px;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}
.psap-meta {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 20px;
}
.psap-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}
.psap-hero-image {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.psap-hero-image img {
    width: 100%;
    border-radius: 8px;
}

/* Description & Learnings */
.psap-description-section {
    padding: 40px 0;
    background: #fff;
}
.psap-desc-container {
    display: flex;
    gap: 60px;
}
.psap-desc-left, .psap-desc-right {
    flex: 1;
}
.section-subtitle {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.psap-learn-list {
    list-style: none;
    padding: 0;
}
.psap-learn-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--text-dark);
}
.psap-learn-list li i {
    color: var(--secondary);
    font-size: 20px;
    margin-top: 2px;
}

/* Journey & Form */
.psap-journey-section {
    padding: 40px 0;
    background: var(--theme-gradient); background-attachment: fixed;
}
.psap-journey-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}
.psap-timeline-wrapper {
    flex: 2;
}
.psap-form-wrapper {
    flex: 1;
    position: sticky;
    top: 120px;
}
.text-center { text-align: center; }
.mb-5 { margin-bottom: 40px; }

/* Zigzag Timeline */
.zigzag-timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 0;
}
.zigzag-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--text-light);
    transform: translateX(-50%);
    opacity: 0.2;
}
.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 40px;
}
.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}
.timeline-content {
    background: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 80%;
    position: relative;
    border: 2px solid var(--primary);
}
.timeline-item.left .timeline-content {
    margin-right: 30px;
}
.timeline-item.right .timeline-content {
    margin-left: 30px;
}
/* Dots */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.timeline-item.left::after {
    right: -10px;
}
.timeline-item.right::after {
    left: -10px;
}
.timeline-content h4 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 5px;
}
.timeline-content p {
    font-size: 13px;
    color: var(--text-dark);
    margin: 0;
}

/* Form Card */
.inquiry-form-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.form-title {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
}
.form-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}
.full-width {
    width: 100%;
}

/* Mentors */
.psap-mentors-section { padding: 40px 0; background: transparent; }
.mentor-card-large {
    display: flex;
    background: var(--primary);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}
.mentor-img {
    flex: 0 0 350px;
}
.mentor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mentor-info {
    flex: 1;
    padding: 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mentor-info h3 {
    font-size: 28px;
    margin-bottom: 5px;
}
.mentor-title {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 14px;
}
.mentor-bio {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}
.mentor-credential {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
}

/* Quote */
.psap-quote-section {
    padding: 40px 0;
    background-color: #060B19;
    text-align: center;
}
.huge-quote {
    color: #ffffff;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.quote-sub {
    font-size: 18px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing */
.psap-pricing-section {
    padding: 40px 0;
    background: #fff;
}
.pricing-card-psap {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    border: 1px solid #eee;
}
.pricing-left {
    flex: 1;
    padding: 40px;
    border-right: 1px solid #eee;
}
.pricing-right {
    flex: 1;
    padding: 40px;
}
.pricing-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.pricing-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 30px;
}
.pricing-tax {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}
.early-bird-box {
    background: #fffbeb;
    border-left: 4px solid var(--secondary);
    padding: 15px;
    border-radius: 4px;
}
.early-bird-box strong {
    color: var(--secondary);
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
}
.early-bird-box p {
    font-size: 13px;
    color: var(--text-dark);
    margin: 0;
}
.includes-title {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 20px;
}
.includes-list {
    list-style: none;
    padding: 0;
}
.includes-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.includes-list li i {
    color: var(--secondary);
    font-size: 18px;
}
.pricing-footer {
    width: 100%;
    padding: 20px 40px 40px;
    text-align: center;
}
.seats-left {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Audience */
.psap-audience-section { padding: 40px 0; background: transparent; }
.audience-list {
    display: flex;
    flex-direction: column;
}
.audience-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}
.aud-title {
    flex: 0 0 200px;
    font-weight: 700;
    color: var(--text-dark);
}
.aud-desc {
    flex: 1;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}


/* PSAP Feature Grid Layout */
.psap-features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .psap-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .psap-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.psap-feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.psap-feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
}

/* ================= S-CURVE ROADMAP ================= */
.psap-snake-road {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    position: relative;
    padding-bottom: 20px;
}

.road-segment {
    width: 50%;
    height: 120px;
    position: relative;
}

.road-segment.right {
    margin-left: 50%;
    border: 36px solid #232b38;
    border-left: none;
    border-radius: 0 60px 60px 0;
}
.road-segment.left {
    border: 36px solid #232b38;
    border-right: none;
    border-radius: 60px 0 0 60px;
}
.road-segment + .road-segment {
    margin-top: -36px;
}

/* Dashed Center Line */
.road-segment::before {
    content: '';
    position: absolute;
    z-index: 1;
}
.road-segment.right::before {
    top: -20px; bottom: -20px; right: -20px; left: 0;
    border: 4px dashed #fff;
    border-left: none;
    border-radius: 0 42px 42px 0;
}
.road-segment.left::before {
    top: -20px; bottom: -20px; left: -20px; right: 0;
    border: 4px dashed #fff;
    border-right: none;
    border-radius: 42px 0 0 42px;
}

/* End Dot */
.road-end-dot {
    width: 36px;
    height: 36px;
    background: #232b38;
    border-radius: 50%;
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    z-index: 5;
}

/* Module Cards */
.road-card {
    position: absolute;
    background: #fff;
    border: 3px solid var(--primary);
    border-radius: 4px;
    padding: 12px 15px;
    text-align: center;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    width: 250px;
    z-index: 10;
}
.road-card h4 {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.road-card p {
    font-size: 12px;
    color: #555;
    margin: 0;
    font-weight: 500;
}

/* Connection Pin */
.road-card .pin {
    position: absolute;
    width: 8px;
    height: 35px;
    background: #94a3b8;
    border-radius: 2px;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    box-shadow: inset 0 0 4px rgba(0,0,0,0.2);
}

/* Positioning the Cards */
.card-1 { top: -60px; left: -100%; margin-left: -50px; }
.card-2 { bottom: -60px; right: -50px; }
.card-3 { bottom: -60px; left: -50px; }
.card-4 { bottom: -60px; right: -50px; }
.card-5 { bottom: -60px; left: -50px; }
.card-6 { bottom: -60px; right: -50px; }
.card-7 { bottom: -60px; left: -50px; }
.card-8 { bottom: -60px; right: -50px; }
.card-9 { bottom: -60px; left: -50px; }
.card-10 { bottom: -60px; right: -50px; }

/* Mobile Fallback - Flattening the snake slightly */
@media (max-width: 768px) {
    .psap-snake-road {
        margin-left: 20px;
        max-width: 100%;
        width: 10px; /* Compress the road to a straight line */
    }
    .road-segment { width: 10px; border-radius: 0 !important; border-right: none !important; border-left: none !important; }
    .road-segment.right { margin-left: 0; }
    .road-segment::before { display: none; }
    
    .road-card {
        width: 280px;
        left: 30px !important;
        right: auto !important;
        margin-left: 0 !important;
    }
    .card-1 { top: -30px; }
    .road-card .pin {
        left: -15px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%) rotate(90deg);
    }
}

/* Animated Car */
.animated-car {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    /* Initial starting pos off-screen or top left */
    transform: translate(-14px, -14px);
    opacity: 0; 
    transition: opacity 0.5s ease;
}

/* ================= HORIZONTAL ROADMAP ================= */
.roadmap-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 120px 20px;
    -ms-overflow-style: none;  
    scrollbar-width: thin; 
}
.roadmap-scroll-wrapper::-webkit-scrollbar {
    height: 10px;
}
.roadmap-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary); 
    border-radius: 5px;
}

.horizontal-road-track {
    position: relative;
    width: 3200px; /* 10 nodes * ~320px spacing */
    height: 350px;
    display: flex;
    align-items: center;
}

/* The actual road */
.road-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 44px;
    background: #232b38;
    transform: translateY(-50%);
    border-radius: 22px;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.road-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 0;
    border-top: 4px dashed #fff;
    transform: translateY(-50%);
}

/* The Animated Car */
.animated-car-horizontal {
    position: absolute;
    top: 50%;
    left: 0;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    opacity: 0; 
    transition: opacity 0.5s ease;
    transform: translate(0, -50%);
}

/* Nodes Container */
.roadmap-nodes {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.road-node {
    width: 240px;
    position: relative;
}

/* Nodes position: using top and bottom for absolute placement */
.node-top {
    transform: translateY(-110px);
}
.node-bottom {
    transform: translateY(110px);
}

/* Cards */
.roadmap-nodes .road-card {
    background: #fff;
    border: 3px solid var(--primary);
    border-radius: 8px;
    padding: 18px 20px;
    text-align: center;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    width: 100%;
    position: relative;
    z-index: 5;
}
.roadmap-nodes .road-card h4 {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.roadmap-nodes .road-card p {
    font-size: 12px;
    color: #555;
    margin: 0;
    font-weight: 500;
}

/* Connecting Pins */
.roadmap-nodes .pin {
    position: absolute;
    width: 10px;
    background: #94a3b8;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1; /* Underneath the road line which is z-index 5 */
    border-radius: 5px;
    box-shadow: inset 0 0 4px rgba(0,0,0,0.2);
}
.node-top .pin {
    top: 50%;
    height: 140px; /* reaches down into the road */
}
.node-bottom .pin {
    bottom: 50%;
    height: 140px; /* reaches up into the road */
}

/* Scroll Hint Animation */
@keyframes bounceLeftRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}
.scroll-hint i {
    display: inline-block;
    animation: bounceLeftRight 2s infinite;
    margin-right: 5px;
}

/* ================= SYLLABUS SPLIT LAYOUT ================= */
.syllabus-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.syllabus-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.syllabus-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.syllabus-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: var(--primary);
}

.syllabus-number {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
    margin-right: 25px;
    transition: background 0.3s ease, color 0.3s ease;
}

.syllabus-item:hover .syllabus-number {
    background: var(--primary);
    color: #fff;
}

.syllabus-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.syllabus-text h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.syllabus-text p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

@media (max-width: 992px) {
    .syllabus-split-layout {
        gap: 30px;
    }
}

.who-we-are-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}
.who-we-are-text {
    flex: 1;
}
.who-we-are-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.who-we-are-image img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.08));
    transition: transform 0.4s ease;
}

.who-we-are-image img:hover {
    transform: translateY(-4px);
}
@media (max-width: 768px) {
    .who-we-are-grid {
        flex-direction: column;
    }
}

.why-praxisly-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.why-praxisly-layout .why-grid-left .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.why-text-right {
    text-align: left;
}
.why-text-right h2 {
    font-size: clamp(36px, 4vw, 52px);
    margin: 16px 0 24px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
}

.why-image-wrapper {
    margin-top: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.why-praxisly-img {
    width: 100%;
    max-width: 520px;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.08));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-praxisly-img:hover {
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .why-praxisly-layout {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    .why-image-wrapper {
        justify-content: center;
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .why-praxisly-layout .why-grid-left .why-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .why-card {
        padding: 24px 20px;
        width: 100%;
    }
}


/* ================= NEWSLETTER CTA ================= */
.newsletter-box {
    background-color: #FCF8F9; 
    border-radius: 24px;
    padding: 60px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-left h2 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
}

.newsletter-left p {
    font-size: 16px;
    color: #7A5362; 
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 90%;
}

.newsletter-checks {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 20px 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.newsletter-checks li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
    font-size: 15px;
}

.newsletter-checks li i {
    font-size: 18px;
}

.newsletter-right {
    display: flex;
    justify-content: flex-end;
}

.newsletter-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 8px 8px 8px 25px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 15px 35px rgba(90, 18, 46, 0.05);
}

.newsletter-form input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
}

.newsletter-form input::placeholder {
    color: #94a3b8;
}

.newsletter-form button {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 12px 24px 12px 30px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.newsletter-form button:hover {
    background: #4a0d24; 
}

.newsletter-form button .icon-circle {
    background: #ffffff;
    color: var(--primary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

@media (max-width: 992px) {
    .newsletter-box {
        grid-template-columns: 1fr;
        padding: 50px 40px;
        gap: 40px;
    }
    .newsletter-right {
        justify-content: flex-start;
    }
    .newsletter-form {
        max-width: 100%;
    }
}
@media (max-width: 576px) {
    .newsletter-checks {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .newsletter-form {
        flex-direction: column;
        padding: 15px;
        border-radius: 20px;
    }
    .newsletter-form input {
        padding: 10px 0;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .newsletter-form button {
        width: 100%;
        justify-content: center;
        padding: 15px;
    }
}


/* ================= MODERN LEADER CARDS ================= */
.leaders-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.leader-card-modern {
    display: flex;
    flex-direction: column;
}

.leader-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
}

.leader-img-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    /* Optional: To make it blend like the screenshot, maybe mask or blend mode */
}

/* The cut-out effect */
.leader-socials-cutout {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ffffff; /* Page background color */
    padding: 12px 0 0 16px; /* Offset the padding */
    border-top-left-radius: 24px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

/* The smooth corners for the cut-out */
.leader-socials-cutout::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -20px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-bottom-right-radius: 20px;
    box-shadow: 10px 0 0 0 #ffffff; 
}

.leader-socials-cutout::after {
    content: '';
    position: absolute;
    top: -20px;
    right: 0;
    width: 20px;
    height: 20px;
    background: transparent;
    border-bottom-right-radius: 20px;
    box-shadow: 0 10px 0 0 #ffffff; 
}

.leader-socials-cutout a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #181935; /* Dark blue/black */
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.leader-socials-cutout a:hover {
    transform: translateY(-2px);
    background: var(--primary);
}

.leader-info-modern {
    padding: 0 10px;
}

.leader-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #475569;
    margin-bottom: 12px;
    font-weight: 500;
}

.leader-rating i {
    color: #F97316; /* Orange star */
    font-size: 18px;
}

.leader-info-modern h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: #181935;
    margin-bottom: 6px;
}

.leader-title-modern {
    font-size: 15px;
    color: #64748b;
}

@media (max-width: 768px) {
    .leaders-modern-grid {
        grid-template-columns: 1fr;
    }
}


/* ================= COMBINED FOOTER CTA ================= */
.footer-combined-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.newsletter-compact h2 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.compact-desc {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 90%;
}

.newsletter-compact .newsletter-form {
    max-width: 100%;
}

.compact-checks {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 24px;
    gap: 12px 20px;
}

.contact-compact {
    border-left: 1px solid rgba(0,0,0,0.06);
    padding-left: 60px;
    height: 100%;
}

.compact-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-label {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 4px;
}

.contact-val {
    color: var(--text-dark);
    display: block;
    font-size: 14px;
}

@media (max-width: 992px) {
    .footer-combined-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-compact {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(0,0,0,0.06);
        padding-top: 40px;
    }
}
@media (max-width: 576px) {
    .compact-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER & RESPONSIVE HEADER
   ========================================================================== */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--primary);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s ease;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-toggle:hover {
    background: rgba(123, 13, 46, 0.06);
}

.mobile-drawer-header,
.mobile-drawer-footer {
    display: none;
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99990;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.nav-locked {
    overflow: hidden !important;
    touch-action: none;
}

@media (max-width: 991px) {
    .header {
        padding: 12px 4%;
        z-index: 99995;
    }

    .header.scrolled {
        padding: 10px 4%;
    }

    .logo img {
        width: 155px;
    }

    .header-actions {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    /* Responsive Hero and Sections to prevent horizontal expansion */
    .hero {
        height: auto;
        min-height: unset;
        padding: 30px 0 50px 0;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-content {
        padding-right: 0;
        width: 100%;
        flex: unset;
    }

    .hero-title {
        font-size: clamp(32px, 8.5vw, 54px);
        align-items: center;
    }

    .hero-subtitle {
        margin: 0 auto 30px auto;
    }

    .hero-topics {
        justify-content: center;
    }

    .hero-action-buttons {
        justify-content: center;
    }

    .world-class-header {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .world-class-header h2 {
        font-size: 32px;
    }

    /* Off-canvas Navigation Drawer */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: 0 !important;
        transform: translateX(105%);
        width: 310px;
        max-width: 86vw;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        z-index: 99999;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 20px 20px 28px 20px;
        display: flex;
        flex-direction: column;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        margin-bottom: 12px;
        border-bottom: 1px solid #F1F5F9;
    }

    .mobile-drawer-header .drawer-logo {
        width: 135px;
        height: auto;
        mix-blend-mode: multiply;
    }

    .mobile-drawer-close {
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        color: var(--text-dark);
        font-size: 20px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-drawer-close:hover {
        background: var(--primary);
        color: #ffffff;
        border-color: var(--primary);
    }

    .nav-menu ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-menu > ul > li {
        width: 100%;
        border-bottom: 1px solid #F8FAFC;
    }

    .nav-menu > ul > li > a {
        padding: 13px 0;
        font-size: 16px;
        font-weight: 600;
        color: var(--text-dark);
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        text-decoration: none;
    }

    .nav-menu > ul > li > a i {
        font-size: 16px;
        transition: transform 0.3s ease;
        color: #64748B;
    }

    .nav-menu .dropdown.open > a i {
        transform: rotate(180deg);
        color: var(--primary);
    }

    /* Accordion Dropdown Menus */
    .nav-menu .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #F8FAFC;
        border-radius: 10px;
        padding: 8px 12px;
        margin-bottom: 12px;
        box-shadow: none;
        min-width: unset;
        flex-direction: column;
        gap: 4px;
    }

    .nav-menu .dropdown.open .dropdown-menu {
        display: flex;
    }

    .nav-menu .dropdown-menu a {
        padding: 8px 12px;
        font-size: 14px;
        font-weight: 500;
        color: var(--text-dark);
        border-radius: 6px;
        text-decoration: none;
        display: block;
    }

    .nav-menu .dropdown-menu a:hover {
        background: rgba(123, 13, 46, 0.08);
        color: var(--primary);
    }

    /* Mega Menu on Mobile */
    .nav-menu .mega-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #F8FAFC;
        border-radius: 10px;
        padding: 14px;
        margin-bottom: 12px;
        box-shadow: none;
        width: 100%;
    }

    .nav-menu .dropdown.mega-menu-wrapper.open .mega-menu {
        display: block;
    }

    .mega-menu-inner {
        display: flex;
        flex-direction: column;
        gap: 10px !important;
        padding: 0 !important;
    }

    .mega-col.mega-left {
        width: 100% !important;
        border-right: none !important;
        padding: 0 !important;
    }

    .mega-col:nth-child(2) {
        display: none !important;
    }

    .mega-menu .mega-contact-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        background: rgba(123, 13, 46, 0.1);
        border-radius: 6px;
        color: var(--primary);
        font-size: 13px;
        font-weight: 700;
        margin-top: 8px;
        text-decoration: none;
    }

    /* Mobile Drawer Footer CTAs */
    .mobile-drawer-footer {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid #F1F5F9;
    }

    .drawer-btn-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 11px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        color: var(--text-dark);
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .drawer-btn-connect {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
        background: linear-gradient(135deg, #7B0D2E 0%, #50071C 100%);
        color: #ffffff;
        border-radius: 8px;
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(123, 13, 46, 0.25);
    }
}

/* ==========================================================================
   PAGE SECTIONS MASTER MOBILE RESPONSIVENESS (<= 991px & <= 768px)
   ========================================================================== */

@media (max-width: 991px) {
    /* Universal Section Headers */
    .section-header-split {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 36px;
    }

    .section-header-split .header-right {
        padding-bottom: 0;
        width: 100%;
    }

    /* Who We Are */
    .who-we-are-section {
        padding: 50px 0 !important;
    }

    .who-we-are-grid {
        flex-direction: column;
        gap: 36px;
    }

    .who-we-are-text h2 {
        font-size: clamp(26px, 5.5vw, 38px);
    }

    .who-we-are-image img {
        max-height: 360px;
    }

    .who-action-row {
        flex-wrap: wrap;
        gap: 14px;
    }

    /* Empowered Section (Target Audience Cards - Freshers, Managers, Teams) */
    .empowered-section {
        padding: 50px 0;
    }

    .empowered-section .section-header-split {
        margin-bottom: 36px;
    }

    .empowered-section .header-left h2 {
        font-size: clamp(28px, 6vw, 42px);
    }

    .empowered-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .empowered-card {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }

    .folder-image {
        aspect-ratio: 3/4;
        border-radius: 20px;
    }

    .folder-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    /* World Class Section (Impact Stats & Masonry Gallery) */
    .world-class-section {
        padding: 50px 0;
    }

    .world-class-header {
        flex-direction: column;
        gap: 28px;
        text-align: left;
    }

    .world-class-header h2 {
        font-size: clamp(28px, 6vw, 42px);
    }

    .stats-cards {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .stat-card {
        padding: 28px 24px;
    }

    .stat-card h3 {
        font-size: 38px;
        margin-bottom: 8px;
    }

    .masonry-gallery {
        flex-direction: column;
        height: auto;
        gap: 16px;
        margin-top: 36px;
    }

    .gallery-col {
        width: 100%;
    }

    .gallery-col .gallery-img-wrap,
    .col-tall .gallery-img-wrap,
    .col-stacked .gallery-img-wrap,
    .col-wide .gallery-img-wrap {
        height: 220px !important;
        border-radius: 20px;
    }

    /* FAQ Section */
    .faq-section {
        padding: 50px 0;
    }

    .faq-split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .faq-right {
        position: static;
        width: 100%;
    }

    .faq-header h2 {
        font-size: clamp(28px, 6vw, 40px);
    }

    .faq-form-card {
        padding: 30px 22px;
    }

    /* Shared Grids */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .categories-intro {
        grid-column: span 2;
        padding-right: 0;
        margin-bottom: 12px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Why Praxisly Section (Cards 01, 02, 03, 04) */
    .why-praxisly-section {
        padding: 40px 0;
    }

    .why-praxisly-layout {
        display: flex;
        flex-direction: column;
        gap: 36px;
    }

    .why-praxisly-layout .why-grid-left,
    .why-praxisly-layout .why-text-right {
        width: 100%;
    }

    .why-praxisly-layout .why-grid-left .why-grid,
    .why-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .why-card {
        padding: 24px 20px;
        width: 100%;
        border-radius: 16px;
    }

    .why-number {
        width: 52px;
        height: 52px;
        font-size: 20px;
        margin-bottom: 16px;
        border-radius: 12px;
    }

    .why-card h3 {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .why-text-right h2 {
        font-size: clamp(26px, 6vw, 36px);
    }

    .why-image-wrapper {
        margin-top: 24px;
        justify-content: center;
    }

    .why-praxisly-img {
        max-width: 100%;
        height: auto;
    }

    /* Testimonials Marquee on Mobile */
    .reviews-section {
        padding: 40px 0;
    }

    .reviews-title h2 {
        font-size: clamp(26px, 6vw, 36px);
    }

    .reviews-tab-nav {
        width: 100%;
        max-width: 360px;
        justify-content: center;
        margin: 20px auto 30px auto;
    }

    .reviews-tab-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .home-video-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        gap: 24px;
    }

    .home-video-card {
        border-radius: 16px;
    }

    .home-video-info {
        padding: 18px 20px;
    }

    .home-play-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .p-modal-dialog {
        max-width: 360px;
    }

    .p-modal-video-wrap {
        max-height: 78vh;
    }

    .testimonial-slider-container {
        overflow: hidden;
        width: 100%;
        padding: 10px 0 20px 0;
    }

    .testimonial-grid {
        width: max-content;
        animation: scrollTestimonialsMobile 25s linear infinite;
    }

    .testimonial-card {
        width: 290px;
        min-width: 290px;
        max-width: 290px;
        flex: 0 0 290px;
        padding: 24px 20px;
    }

    /* FAQ Items */
    .faq-item {
        padding: 20px 18px;
    }

    .faq-question h3 {
        font-size: 17px;
    }

    /* Category & Services & Instructor Grids */
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .categories-intro {
        grid-column: span 1;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .instructors-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .syllabus-split-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer Mobile */
    .footer-bottom-section {
        padding-bottom: 90px;
    }

    .footer-copyright-row {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }

    .copyright-text {
        padding-left: 0 !important;
    }

    .copyright-text a {
        display: inline-block;
        margin: 6px 8px 0 8px;
    }

    .footer-nav-links {
        gap: 16px 20px;
        justify-content: center;
        margin-bottom: 30px;
    }

    .newsletter-left h2 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .merged-contact-info .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
}

@media (max-width: 480px) {
    .hero-action-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    .hero-topics {
        gap: 16px;
    }

    .hero-topics .topic-text {
        font-size: 18px;
    }
}

@keyframes scrollTestimonialsMobile {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); }
}

