/* =============================================
   Minister Joy Ifeanyi - Main Stylesheet
   ============================================= */

/* CSS Variables */
:root {
    --primary-color: #241B4E;
    --primary-dark: #180F38;
    --primary-light: #2F2266;
    --secondary-color: #F0B429;
    --secondary-dark: #D49E1E;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #FBF3E7;
    --bg-white: #ffffff;
    --bg-dark: #180F38;
    --border-color: #e0d5c9;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #3FA7A0;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 5px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 17px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
}

/* =============================================
   Header
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: var(--shadow);
}

.header-top {
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

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

.header-top-left a {
    color: white;
    margin-right: 20px;
}

.header-top-left a i {
    margin-right: 5px;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-top-right .social-links a {
    color: white;
    margin-left: 15px;
    font-size: 14px;
}

.header-top-right .social-links a:hover {
    color: var(--secondary-color);
}

.main-nav {
    padding: 15px 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-brand img {
    height: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu li a {
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
    background: rgba(139, 34, 82, 0.05);
}

/* --- Dropdown Menus --- */
.has-dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(36, 27, 78, 0.08);
    padding: 8px 0;
    z-index: 1000;
    list-style: none;
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.has-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}
.dropdown-menu li a:hover {
    background: rgba(139, 34, 82, 0.06);
    color: var(--primary-color);
}

.cart-nav-item {
    margin-left: 10px;
}

.cart-link {
    position: relative;
    padding: 10px 15px !important;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 5px;
    background: var(--secondary-color);
    color: white;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.currency-select-nav {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    outline: none;
}

.currency-select-nav option {
    color: #333;
    background: #fff;
}

.currency-switcher-mobile {
    display: flex;
    gap: 2px;
}

.currency-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 28px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.2s ease;
}

.currency-link:hover,
.currency-link.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.currency-dropdown {
    position: relative;
    display: inline-block;
}

.currency-dropbtn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s;
}

.currency-dropbtn:hover {
    background: rgba(255,255,255,0.1);
}

.currency-dropmenu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 4px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    min-width: 100px;
    z-index: 10000;
    overflow: hidden;
}

.currency-dropmenu.show {
    display: block;
}

.currency-dropitem {
    display: block;
    padding: 8px 14px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s;
}

.currency-dropitem:hover {
    background: #f0f0f0;
}

.currency-dropitem.active {
    background: var(--primary-color, #241B4E);
    color: #fff;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* =============================================
   Hero / Slider
   ============================================= */
.hero-slider, .hero-default {
    position: relative;
    height: 55vh;
    min-height: 350px;
    margin-top: 110px;
    overflow: hidden;
}

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

.slide, .hero-default {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-bg, .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-color);
}

.slide-bg::after, .hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.slide-content, .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.slide-content h1, .hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    color: white;
}

.slide-content p, .hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

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

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* =============================================
   Page Banner
   ============================================= */
.page-banner {
    position: relative;
    padding: 180px 0 80px;
    background: var(--primary-color);
    text-align: center;
    color: white;
}

.page-banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,192L48,176C96,160,192,128,288,128C384,128,480,160,576,186.7C672,213,768,235,864,213.3C960,192,1056,128,1152,128C1248,128,1344,192,1392,224L1440,256L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.page-banner .banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: white;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: var(--secondary-color);
}

/* =============================================
   Section Headers
   ============================================= */
.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   About Section
   ============================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(36, 27, 78, 0.2);
    position: relative;
    z-index: 2;
}

.about-image-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: 12px;
    transform: translate(15px, -15px);
    z-index: 1;
}

.about-experience-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 20px 24px;
    border-radius: 12px;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(36, 27, 78, 0.35);
    text-align: center;
}

.home-family-photo-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 20px 24px;
    border-radius: 12px;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(36, 27, 78, 0.35);
    text-align: center;
}

.home-family-photo-badge .exp-number {
    color: var(--primary-dark);
}

.home-family-photo-badge .exp-text {
    color: var(--primary-dark);
    opacity: 0.85;
}

.exp-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    line-height: 1;
}

.exp-text {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.4;
    margin-top: 4px;
    opacity: 0.9;
}

.about-content-col {
    padding-left: 10px;
}

.about-header .section-subtitle {
    display: inline-block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.about-content-col h2 {
    font-size: 38px;
    margin-bottom: 0;
    line-height: 1.2;
    color: var(--primary-dark);
}

.about-divider {
    margin: 20px 0 25px;
}

.about-divider span {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 3px;
}

.about-lead {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.about-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 28px;
}

.about-highlights {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-light);
    border-radius: 10px;
    flex: 1;
    border: 1px solid rgba(240, 180, 41, 0.15);
    transition: var(--transition);
}

.highlight-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(36, 27, 78, 0.08);
    transform: translateY(-2px);
}

.highlight-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 16px;
    flex-shrink: 0;
}

.highlight-text strong {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
}

.highlight-text span {
    font-size: 12px;
    color: var(--text-light);
}

.about-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.about-cta .btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.about-cta .btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* =============================================
   About Page
   ============================================= */

/* Bio Grid */
.about-bio-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 70px;
    align-items: start;
}

/* Photo */
.about-bio-image {
    position: relative;
}

.about-photo-frame {
    position: relative;
}

.about-page-photo {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    position: relative;
    z-index: 2;
}

.about-photo-border {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    z-index: 1;
}

.about-bio-image .about-experience-badge {
    position: absolute;
    bottom: -24px;
    left: -16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 22px 28px;
    border-radius: 12px;
    z-index: 3;
    box-shadow: 0 12px 35px rgba(36, 27, 78, 0.4);
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 40px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.5;
    margin-top: 6px;
    opacity: 0.9;
    font-weight: 500;
}

/* Bio Content */
.about-bio-content {
    padding-top: 10px;
}

.about-label {
    display: inline-block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.about-name {
    font-size: 38px;
    margin-bottom: 0;
    line-height: 1.2;
    color: var(--primary-dark);
}

.about-bio-content .about-divider {
    margin: 20px 0 28px;
}

.about-bio-content .about-divider span {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 3px;
}

.about-lead-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 400;
}

.about-body-text {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-light);
}

.about-body-text p {
    margin-bottom: 16px;
}

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

/* Statistics Section */
.about-stats-section {
    background: var(--bg-light);
    padding: 70px 0;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-stat-card {
    background: white;
    border-radius: 12px;
    padding: 36px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(240, 180, 41, 0.1);
    transition: var(--transition);
}

.about-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(36, 27, 78, 0.1);
    border-color: var(--secondary-color);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--secondary-color);
    font-size: 20px;
}

.stat-value {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 8px;
}

.about-stat-card .stat-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    font-weight: 500;
}

/* Quote Section */
.about-quote-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 80px 0;
}

.about-quote-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.quote-icon {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 28px;
    opacity: 0.8;
}

.about-quote-inner blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    line-height: 1.7;
    font-style: italic;
    color: white;
    margin-bottom: 32px;
    border: none;
    padding: 0;
}

.quote-attribution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.quote-dash {
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.image-placeholder {
    width: 100%;
    height: 460px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 80px;
}

.image-placeholder.large {
    height: 500px;
    font-size: 100px;
}

/* =============================================
   Book Cards
   ============================================= */
.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.book-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.book-cover {
    position: relative;
    height: 350px;
    overflow: hidden;
}

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

.book-cover .image-placeholder {
    height: 350px;
    font-size: 60px;
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 34, 82, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.book-overlay .btn {
    background: var(--secondary-color, #F0B429);
    color: #fff;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 6px;
    border: 2px solid #fff;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.book-info {
    padding: 20px;
}

.book-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.book-author {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.book-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.book-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.book-meta i {
    margin-right: 5px;
}

.book-price .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.book-price .free {
    color: var(--success-color);
}

/* =============================================
   Program Cards
   ============================================= */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.program-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-image .image-placeholder {
    height: 220px;
    font-size: 50px;
}

.program-type {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.program-info {
    padding: 20px;
}

.program-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.program-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.program-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.program-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* =============================================
   Event Cards
   ============================================= */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.event-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.event-card.past {
    opacity: 0.7;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    text-align: center;
    z-index: 5;
}

.event-date-badge .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.event-date-badge .month {
    font-size: 12px;
    text-transform: uppercase;
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-image .image-placeholder {
    height: 200px;
    font-size: 50px;
}

.event-info {
    padding: 20px;
}

.event-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.event-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.event-meta i {
    margin-right: 5px;
    color: var(--primary-color);
    width: 16px;
}

.event-status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.event-status-badge.upcoming {
    background: #e6f7ed;
    color: var(--success-color);
}

.event-status-badge.past {
    background: #f0f0f0;
    color: var(--text-muted);
}

.event-status-badge.today {
    background: #fff3cd;
    color: var(--warning-color);
}

/* =============================================
   Business Cards
   ============================================= */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.business-grid.large {
    grid-template-columns: 1fr;
    gap: 40px;
}

.business-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.business-card.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.business-image {
    height: 250px;
    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-image .image-placeholder {
    height: 250px;
    font-size: 60px;
}

.business-card.featured .business-image {
    height: 100%;
    min-height: 300px;
}

.business-info {
    padding: 25px;
}

.business-category {
    display: inline-block;
    background: rgba(139, 34, 82, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.business-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.business-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.business-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.business-meta i {
    margin-right: 5px;
}

.business-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* =============================================
   Product Cards
   ============================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image .image-placeholder {
    height: 250px;
    font-size: 50px;
}

.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--danger-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.out-of-stock-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--text-dark);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 20px;
}

.product-category {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.product-info p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.product-price {
    margin-bottom: 15px;
}

.product-price .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price .old-price {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 10px;
}

.product-price .sale-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--danger-color);
}

/* =============================================
   Filter Bar
   ============================================= */
.filter-bar {
    margin-bottom: 40px;
}

.filter-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group input,
.filter-group select {
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    min-width: 200px;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-tabs {
    display: flex;
    gap: 10px;
}

.tab {
    padding: 10px 25px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.tab:hover, .tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* =============================================
   Detail Pages
   ============================================= */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.detail-image img,
.detail-image .image-placeholder {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.detail-info h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.detail-info .author {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.category-badge,
.program-type-badge,
.product-type-badge {
    display: inline-block;
    background: rgba(139, 34, 82, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.book-meta-detail,
.event-details-meta,
.program-details-meta,
.business-details-meta,
.product-meta-detail {
    margin: 20px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.book-meta-detail div,
.product-meta-detail div {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.book-meta-detail div:last-child,
.product-meta-detail div:last-child {
    border-bottom: none;
}

.detail-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-meta-item:last-child {
    border-bottom: none;
}

.detail-meta-item i {
    width: 20px;
    color: var(--primary-color);
    margin-top: 3px;
}

.detail-meta-item strong {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-meta-item p {
    margin: 0;
    font-size: 15px;
}

.price-section {
    margin: 20px 0;
}

.price-large {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price-large {
    font-size: 22px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 15px;
}

.price-large.sale {
    color: var(--danger-color);
}

.price-large.free {
    color: var(--success-color);
}

.description {
    margin: 25px 0;
}

.description h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.description p {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* =============================================
   Detail Pages (Books, Products, etc.)
   ============================================= */
.detail-page {
    max-width: 100%;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
    align-items: center;
}

.action-buttons .btn {
    white-space: nowrap;
}

.wishlist-toggle-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #fff;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-toggle-btn:hover,
.wishlist-toggle-btn.in-wishlist {
    border-color: #e74c3c;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

/* =============================================
   Share Section
   ============================================= */
.share-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.share-section .share-label {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.share-buttons {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    color: #fff;
    text-decoration: none;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0077b5; }

/* =============================================
   Reviews Section
   ============================================= */
.reviews-section {
    margin-top: 40px;
}

.reviews-section h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #eee;
}

.reviews-summary .avg-rating-box {
    text-align: center;
    min-width: 120px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.reviews-summary .avg-number {
    font-size: 42px;
    font-weight: 700;
    color: #241B4E;
    line-height: 1;
}

.reviews-summary .avg-stars {
    color: #F0B429;
    font-size: 18px;
    margin: 8px 0;
}

.reviews-summary .avg-count {
    color: #999;
    font-size: 13px;
}

.reviews-summary .rating-bars {
    flex: 1;
}

.reviews-summary .rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.reviews-summary .rating-bar-label {
    font-size: 13px;
    min-width: 15px;
    text-align: right;
    color: #666;
}

.reviews-summary .rating-bar-track {
    flex: 1;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.reviews-summary .rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #F0B429, #f0c040);
    border-radius: 5px;
    transition: width 0.4s ease;
}

.reviews-summary .rating-bar-pct {
    font-size: 12px;
    color: #999;
    min-width: 35px;
}

.reviews-list {
    margin-top: 20px;
}

.review-item {
    padding: 20px;
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: box-shadow 0.2s, border-color 0.2s;
    cursor: default;
}

.review-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-item .review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.review-item .review-stars {
    color: #F0B429;
    margin-bottom: 6px;
}

.review-item .review-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #333;
}

.review-item .review-meta {
    color: #999;
    font-size: 13px;
    margin: 0;
}

.review-item .review-body {
    margin: 10px 0 0;
    line-height: 1.7;
    color: #555;
}

.no-reviews-msg {
    color: #999;
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 2px dashed #e0e0e0;
    font-size: 15px;
}

/* =============================================
   Write a Review Form
   ============================================= */
.write-review-form {
    margin-top: 35px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #eee;
}

.write-review-form h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.write-review-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #444;
}

.write-review-form input[type="text"],
.write-review-form input[type="email"],
.write-review-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.write-review-form input[type="text"]:focus,
.write-review-form input[type="email"]:focus,
.write-review-form textarea:focus {
    outline: none;
    border-color: #241B4E;
    box-shadow: 0 0 0 3px rgba(36, 27, 78, 0.1);
}

.write-review-form textarea {
    resize: vertical;
    min-height: 100px;
}

.write-review-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.write-review-form .form-group {
    margin-bottom: 15px;
}

.star-rating-selector {
    display: flex;
    gap: 6px;
}

.star-rating-selector i {
    font-size: 28px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
}

.star-rating-selector i:hover {
    transform: scale(1.2);
}

.review-form-message {
    display: none;
    margin-bottom: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.review-form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.review-form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* =============================================
   Payment Card
   ============================================= */
.payment-card-wrap {
    background: #f4f6f9;
    padding: 60px 20px;
}

.payment-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 40px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

/* =============================================
   Cart & Checkout
   ============================================= */
.cart-page {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cart-table th {
    background: var(--bg-light);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.cart-thumb-placeholder {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: var(--bg-light);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

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

.quantity-selector input {
    width: 50px;
    height: 35px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}

.btn-remove {
    background: none;
    border: none;
    color: var(--danger-color);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.btn-remove:hover {
    transform: scale(1.2);
}

.cart-summary {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    position: sticky;
    top: 150px;
}

.cart-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 16px;
}

.summary-row.total {
    border-top: 2px solid var(--border-color);
    margin-top: 10px;
    padding-top: 15px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-summary .btn {
    margin-top: 20px;
}

.empty-cart {
    padding: 80px 0;
}

.empty-cart i {
    font-size: 80px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* =============================================
   Checkout
   ============================================= */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.checkout-info h2 {
    margin-bottom: 25px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 34, 82, 0.1);
}

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

.payment-methods {
    margin-bottom: 25px;
}

.payment-option {
    display: block;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover,
.payment-option input:checked + .payment-label {
    border-color: var(--primary-color);
    background: rgba(139, 34, 82, 0.05);
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.payment-label i {
    font-size: 20px;
    color: var(--primary-color);
}

.checkout-summary {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    position: sticky;
    top: 150px;
}

.checkout-summary h2 {
    margin-bottom: 20px;
    font-size: 22px;
}

.summary-items {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
}

.summary-item-info {
    display: flex;
    gap: 10px;
    align-items: center;
}

.item-name {
    font-weight: 500;
}

.item-qty {
    color: var(--text-muted);
}

.summary-totals .summary-row {
    font-size: 15px;
}

.secure-text {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 15px;
}

/* =============================================
   Order Success
   ============================================= */
.order-success {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    font-size: 80px;
    color: var(--success-color);
    margin-bottom: 20px;
}

.order-success h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.order-number {
    font-size: 18px;
    margin-bottom: 20px;
}

.order-details {
    text-align: left;
    margin: 40px 0;
}

.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.order-info-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius);
}

.order-info-box h3 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.order-table {
    width: 100%;
    border-collapse: collapse;
}

.order-table th,
.order-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.order-table th {
    background: var(--bg-light);
    font-size: 13px;
}

.order-tracker {
    margin-bottom: 30px;
    padding: 20px 10px;
}

.order-tracker .tracker-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.order-tracker .tracker-track {
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

.order-tracker .tracker-progress {
    position: absolute;
    top: 18px;
    left: 0;
    height: 4px;
    background: var(--primary-color, #241B4E);
    border-radius: 2px;
    transition: width 0.5s;
}

.order-tracker .tracker-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.order-tracker .tracker-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

.order-tracker .tracker-dot.active {
    background: var(--primary-color, #241B4E);
    color: #fff;
}

.order-tracker .tracker-dot.inactive {
    background: #e0e0e0;
    color: #999;
}

.order-tracker .tracker-label {
    font-size: 12px;
    font-weight: 400;
    color: #999;
}

.order-tracker .tracker-label.active {
    font-weight: 600;
    color: var(--primary-color, #241B4E);
}

.order-product {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.total-row {
    font-weight: 700;
    font-size: 16px;
}

.payment-instructions {
    background: #fff3cd;
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    text-align: left;
}

.payment-instructions h3 {
    margin-bottom: 15px;
}

.bank-details {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 15px 0;
}

.bank-details p {
    margin-bottom: 8px;
    font-size: 15px;
}

.payment-instructions .note {
    font-size: 14px;
    color: #856404;
}

/* =============================================
   Contact Page
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: rgba(139, 34, 82, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-light);
}

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

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn.facebook { background: #1877f2; }
.social-btn.twitter { background: #1da1f2; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.youtube { background: #ff0000; }
.social-btn.tiktok { background: #000; }

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
}

/* =============================================
   Cards
   ============================================= */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 25px;
}

.card-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.card-body {
    padding: 25px;
}

/* =============================================
   Alerts
   ============================================= */
.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    font-size: 15px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* =============================================
   Registration Form
   ============================================= */
.registration-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.registration-section h3 {
    margin-bottom: 20px;
}

.ticket-info {
    font-size: 16px;
    margin: 15px 0;
}

/* =============================================
   Pagination
   ============================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-link {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.page-link:hover, .page-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* =============================================
   No Results
   ============================================= */
.no-results {
    text-align: center;
    padding: 80px 0;
}

.no-results i {
    font-size: 80px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
    background: var(--primary-color);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
    background: var(--bg-dark);
    color: #ccc;
}

.footer-main {
    padding: 60px 0;
}

.footer-main .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: white;
    font-size: 17px;
    margin-bottom: 20px;
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-col .contact-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-col .contact-info li i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-col .social-links {
    margin-top: 15px;
}

.footer-col .social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: white;
    transition: var(--transition);
}

.footer-col .social-links a:hover {
    background: var(--secondary-color);
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-form h4 {
    margin-bottom: 15px;
}

.newsletter-form form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-form input[type="email"],
.newsletter-form input[type="text"],
.newsletter-form input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #555;
    border-radius: var(--border-radius);
    background: #1E1445;
    color: #fff;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
}

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

.newsletter-form .newsletter-captcha-row {
    display: flex;
    gap: 8px;
}

.newsletter-form .newsletter-captcha-row input {
    flex: 1;
}

.newsletter-form .newsletter-captcha-row button {
    white-space: nowrap;
    min-width: 110px;
}

.newsletter-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* =============================================
   Related Products
   ============================================= */
.related-products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.related-products h2 {
    margin-bottom: 30px;
    font-size: 26px;
}

/* =============================================
   Quantity Section
   ============================================= */
.quantity-cart-section {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
}

.quantity-cart-section .quantity-selector input {
    width: 60px;
}

/* =============================================
   Responsive & Mobile Optimization
   ============================================= */

/* Touch-friendly targets - all devices */
button, .btn, a, input, select, textarea {
    touch-action: manipulation;
}

/* Tablet */
@media (max-width: 1024px) {
    .books-grid,
    .programs-grid,
    .events-grid,
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-main .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Mobile */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-toggle {
        display: flex;
        padding: 10px;
        min-height: 44px;
        min-width: 44px;
        align-items: center;
        justify-content: center;
    }

    .header-top {
        display: flex;
        padding: 6px 0;
        font-size: 12px;
    }

    .header-top .container {
        display: flex;
        justify-content: flex-end;
    }

    .header-top-left {
        display: none;
    }

    .main-nav {
        padding: 10px 0;
    }

    .main-nav .container {
        padding: 0 15px;
    }

    .nav-brand a {
        font-size: 20px;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        flex-direction: column;
        padding: 15px;
        box-shadow: var(--shadow);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: flex;
        align-items: center;
        padding: 14px 15px;
        min-height: 48px;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li a:active {
        background: rgba(36, 27, 78, 0.05);
    }

    /* Mobile dropdown */
    .has-dropdown .dropdown-menu {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        opacity: 1;
        transform: none;
        padding: 0 0 0 20px;
    }
    .has-dropdown .dropdown-menu li a {
        font-size: 15px;
        border-bottom: 1px solid #f5f5f5;
    }

    .cart-nav-item {
        margin-left: 0;
    }

    .currency-switcher-mobile {
        gap: 4px;
    }

    .currency-link {
        width: 32px;
        height: 28px;
        font-size: 13px;
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 4px;
    }

    .currency-link.active {
        background: var(--primary-color, #241B4E);
        color: #fff;
        border-color: var(--primary-color, #241B4E);
    }

    .cart-link {
        min-height: 48px;
    }

    /* Hero */
    .hero-slider, .hero-default {
        height: 60vh;
        min-height: 350px;
        margin-top: 60px;
    }

    .slide-content h1,
    .hero-content h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .slide-content p,
    .hero-content p {
        font-size: 15px;
        line-height: 1.4;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 20px;
    }

    .hero-buttons .btn {
        width: 100%;
        min-height: 48px;
        font-size: 16px;
    }

    .slider-controls {
        bottom: 15px;
    }

    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 15px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    /* Page Banner */
    .page-banner {
        padding: 120px 0 50px;
    }

    .page-banner h1 {
        font-size: 26px;
    }

    .page-banner p {
        font-size: 15px;
    }

    /* Grids */
    .about-grid,
    .detail-grid,
    .checkout-grid,
    .contact-grid,
    .cart-page {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-photo {
        height: 400px;
    }

/* About Experience Badge */
.about-experience-badge {
        left: 10px;
        bottom: 20px;
        padding: 14px 18px;
    }

    .exp-number {
        font-size: 28px;
    }

    .about-content-col {
        padding-left: 0;
    }

    .about-content-col h2 {
        font-size: 28px;
    }

    .about-highlights {
        flex-direction: column;
        gap: 12px;
    }

    .about-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .about-cta .btn {
        text-align: center;
    }

    .about-bio-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-bio-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-page-photo {
        height: 420px;
    }

    .about-bio-image .about-experience-badge {
        bottom: -20px;
        left: 10px;
        padding: 16px 22px;
    }

    .badge-number {
        font-size: 32px;
    }

    .about-bio-content {
        text-align: center;
    }

    .about-bio-content .about-divider span {
        margin: 0 auto;
    }

    .about-name {
        font-size: 30px;
    }

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

    .stat-value {
        font-size: 32px;
    }

    .about-quote-inner blockquote {
        font-size: 20px;
    }

    .books-grid,
    .programs-grid,
    .events-grid,
    .business-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .business-card.featured {
        grid-template-columns: 1fr;
    }

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

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 14px;
    }

    /* Cards */
    .book-cover,
    .book-cover .image-placeholder {
        height: 280px;
    }

    .program-image,
    .program-image .image-placeholder {
        height: 180px;
    }

    .event-image,
    .event-image .image-placeholder {
        height: 160px;
    }

    .business-image,
    .business-image .image-placeholder {
        height: 200px;
    }

    /* Detail Pages */
    .detail-info h1 {
        font-size: 24px;
    }

    .price-large {
        font-size: 26px;
    }

    /* Cart */
    .cart-table {
        font-size: 13px;
    }

    .cart-table th,
    .cart-table td {
        padding: 10px 8px;
    }

    .cart-product-info span {
        font-size: 13px;
    }

    .cart-thumb {
        width: 50px;
        height: 50px;
    }

    .cart-summary {
        padding: 20px;
    }

    /* Checkout */
    .payment-option {
        padding: 12px 15px;
    }

    /* Forms */
    .filter-form {
        flex-direction: column;
        gap: 10px;
    }

    .filter-group input,
    .filter-group select {
        min-width: 100%;
        min-height: 44px;
        font-size: 16px;
    }

    .filter-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }

    .tab {
        padding: 8px 15px;
        font-size: 13px;
        min-height: 40px;
        display: flex;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents iOS zoom */
        min-height: 44px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    /* Buttons */
    .btn {
        min-height: 44px;
        font-size: 15px;
        padding: 12px 20px;
    }

    .btn-lg {
        min-height: 52px;
        font-size: 16px;
        padding: 14px 25px;
    }

    .btn-sm {
        min-height: 36px;
        font-size: 13px;
        padding: 8px 14px;
    }

    /* Order Info */
    .order-info-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-section {
        padding: 50px 0;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-content p {
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons .btn {
        width: 100%;
        min-height: 48px;
    }

    /* Footer */
    .footer-main {
        padding: 40px 0;
    }

    .footer-main .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col h3,
    .footer-col h4 {
        font-size: 16px;
    }

    .newsletter-form .newsletter-captcha-row {
        flex-direction: column;
        gap: 8px;
    }

    .newsletter-form .newsletter-captcha-row button {
        width: 100%;
        min-height: 44px;
    }

    .social-links-large {
        gap: 10px;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Pagination */
    .pagination {
        gap: 5px;
    }

    .page-link {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    /* No Results */
    .no-results {
        padding: 50px 0;
    }

    .no-results i {
        font-size: 60px;
    }

    /* Toast notifications */
    .toast {
        left: 15px;
        right: 15px;
        bottom: 20px;
    }

    /* =============================================
       Mobile Fixes — Payment Card
       ============================================= */
    .payment-card-wrap {
        padding: 30px 15px;
    }

    .payment-card {
        padding: 25px 20px;
    }

    /* =============================================
       Mobile Fixes — Cart Table (card layout)
       ============================================= */
    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        display: block;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        margin-bottom: 15px;
        padding: 15px;
        background: #fff;
    }

    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .cart-table td:last-child {
        border-bottom: none;
    }

    /* =============================================
       Mobile Fixes — Reviews Summary
       ============================================= */
    .reviews-summary {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
    }

    .reviews-summary .avg-rating-box {
        min-width: auto;
    }

    /* =============================================
       Mobile Fixes — Sticky Summaries
       ============================================= */
    .checkout-summary,
    .cart-summary {
        position: static;
        margin-top: 20px;
    }

    /* =============================================
       Mobile Fixes — Forms
       ============================================= */
    .contact-form-wrapper {
        padding: 25px 15px;
    }

    .write-review-form {
        padding: 20px 15px;
    }

    .write-review-form .form-row {
        grid-template-columns: 1fr;
    }

    .star-rating-selector i {
        font-size: 32px;
        padding: 6px;
    }

    /* =============================================
       Mobile Fixes — Detail Grid
       ============================================= */
    .detail-grid {
        gap: 20px;
    }

    .book-meta-detail,
    .product-meta-detail {
        padding: 15px;
    }

    /* =============================================
       Mobile Fixes — Social Buttons Touch Target
       ============================================= */
    .social-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    /* =============================================
       Mobile Fixes — Empty Cart Padding
       ============================================= */
    .empty-cart {
        padding: 40px 0;
    }

    .empty-cart i {
        font-size: 50px;
    }

    /* =============================================
       Mobile Fixes — Newsletter iOS Zoom
       ============================================= */
    .newsletter-form input[type="email"],
    .newsletter-form input[type="text"],
    .newsletter-form input[type="number"] {
        font-size: 16px;
        min-height: 44px;
    }

    /* =============================================
       Mobile Fixes — Product Overlay Touch
       ============================================= */
    .product-card .product-image a {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 3;
    }

    .book-card .book-image a {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 3;
    }

    /* =============================================
       Mobile Fixes — Hero Slider Controls
       ============================================= */
    .slider-controls {
        bottom: 10px;
        gap: 10px;
    }

    .slider-dots {
        gap: 5px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    /* Safe area for notched phones */
    @supports (padding: env(safe-area-inset-bottom)) {
        .site-footer {
            padding-bottom: env(safe-area-inset-bottom);
        }

        .nav-menu {
            padding-bottom: env(safe-area-inset-bottom);
        }
    }


}

/* Small phones */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .header-top {
        display: flex !important;
    }

    .header-top-left {
        display: none !important;
    }

    .product-image {
        height: 220px;
    }

    .about-content-col h2 {
        font-size: 24px;
    }

    .about-bio-grid {
        gap: 40px;
    }

    .about-page-photo {
        height: 340px;
    }

    .about-bio-image .about-experience-badge {
        padding: 14px 18px;
        bottom: -16px;
        left: 0;
    }

    .badge-number {
        font-size: 28px;
    }

    .badge-text {
        font-size: 11px;
    }

    .about-name {
        font-size: 26px;
    }

    .about-lead-text {
        font-size: 16px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .about-stat-card {
        padding: 28px 14px;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 17px;
        margin-bottom: 14px;
    }

    .about-quote-section {
        padding: 60px 0;
    }

    .about-quote-inner blockquote {
        font-size: 18px;
    }

    .quote-icon {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .exp-number {
        font-size: 24px;
    }

    .exp-text {
        font-size: 11px;
    }

    .book-cover,
    .book-cover .image-placeholder {
        height: 240px;
    }

    .slide-content h1,
    .hero-content h1 {
        font-size: 22px;
    }

    .cart-page {
        gap: 20px;
    }

    .quantity-selector input {
        width: 40px;
        font-size: 14px;
    }

    .summary-row {
        font-size: 14px;
    }

    .payment-label small {
        font-size: 11px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    .testimonial-card {
        padding: 20px;
    }

}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-slider, .hero-default {
        height: 100vh;
        min-height: 300px;
    }

    .slide-content h1,
    .hero-content h1 {
        font-size: 24px;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .hero-slider,
    .hero-default,
    .cta-section,
    .cart-nav-item,
    .mobile-toggle,
    .btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .section {
        padding: 20px 0;
    }
}

/* Legal Pages (Privacy Policy, Terms of Service) */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-dark);
}

.legal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.legal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 10px;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.legal-content em {
    color: var(--text-muted);
    font-size: 0.9em;
}

/* =============================================
   Wishlist Styles
   ============================================= */
.wishlist-link {
    position: relative;
}

.wishlist-link .fa-heart {
    color: var(--danger-color);
    transition: var(--transition);
}

.wishlist-heart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    font-size: 16px;
    color: #ccc;
}

.wishlist-heart-btn:hover,
.wishlist-heart-btn.in-wishlist {
    color: var(--secondary-color);
    background: rgba(255,255,255,1);
    transform: scale(1.1);
}

.wishlist-heart-btn.in-wishlist .fa-heart {
    color: var(--secondary-color);
}

.wishlist-toggle-btn {
    background: transparent;
    border: 2px solid #ddd;
    color: #ccc;
    transition: var(--transition);
}

.wishlist-toggle-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.wishlist-toggle-btn.in-wishlist {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: rgba(240, 180, 41, 0.1);
}

.wishlist-toggle-btn .fa-heart {
    transition: var(--transition);
}

.wishlist-toggle-btn:hover .fa-heart,
.wishlist-toggle-btn.in-wishlist .fa-heart {
    color: var(--secondary-color);
}

/* =============================================
   Reviews Section Styles
   ============================================= */
.reviews-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.reviews-section h2 i {
    margin-right: 8px;
}

.reviews-summary {
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.review-item h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
}

.review-item p {
    color: var(--text-light);
}

.write-review-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.star-rating-selector {
    display: inline-flex;
    gap: 4px;
}

.star-rating-selector i {
    transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating-selector i:hover {
    transform: scale(1.15);
}

.no-results i.fa-heart {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.wishlist-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .wishlist-heart-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .wishlist-actions {
        flex-direction: column;
    }

    .wishlist-actions .btn {
        width: 100%;
    }
}

/* PWA Install Banner */
.pwa-install-banner {
    display: none;
    position: fixed;
    z-index: 99998;
    animation: pwaSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.pwa-install-banner.visible {
    display: block;
}

/* Desktop: floating card bottom-right */
@media (min-width: 769px) {
    .pwa-install-banner {
        bottom: 24px;
        right: 24px;
        left: auto;
    }

    .pwa-install-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        background: #fff;
        color: #1a1a2e;
        padding: 16px 20px;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(36, 27, 78, 0.08);
        min-width: 340px;
        max-width: 400px;
    }

    .pwa-install-info {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1;
        min-width: 0;
    }

    .pwa-install-icon-wrap {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(36, 27, 78, 0.15);
    }

    .pwa-install-app-icon {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pwa-install-text {
        min-width: 0;
    }

    .pwa-install-text strong {
        font-size: 14px;
        font-weight: 700;
        color: #1a1a2e;
        display: block;
        line-height: 1.3;
    }

    .pwa-install-text p {
        margin: 2px 0 0;
        font-size: 12px;
        color: #6b7280;
        line-height: 1.4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pwa-install-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .pwa-install-btn {
        background: linear-gradient(135deg, #241B4E 0%, #6a1b9a 100%);
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .pwa-install-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(36, 27, 78, 0.35);
    }

    .pwa-install-btn:active {
        transform: translateY(0);
    }

    .pwa-install-btn:disabled {
        opacity: 0.7;
        cursor: default;
        transform: none;
        box-shadow: none;
    }

    .pwa-dismiss-btn {
        background: transparent;
        color: #9ca3af;
        border: none;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        padding: 0;
    }

    .pwa-dismiss-btn:hover {
        background: #f3f4f6;
        color: #4b5563;
    }
}

/* Mobile: bottom bar */
@media (max-width: 768px) {
    .pwa-install-banner {
        bottom: 0;
        left: 0;
        right: 0;
    }

    .pwa-install-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        background: linear-gradient(135deg, #241B4E 0%, #3a0066 100%);
        color: #fff;
        padding: 14px 16px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }

    .pwa-install-info {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
        min-width: 0;
    }

    .pwa-install-icon-wrap {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .pwa-install-app-icon {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pwa-install-text {
        min-width: 0;
    }

    .pwa-install-text strong {
        font-size: 13px;
        font-weight: 700;
        color: #fff;
        display: block;
        line-height: 1.3;
    }

    .pwa-install-text p {
        margin: 2px 0 0;
        font-size: 11px;
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pwa-install-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .pwa-install-btn {
        background: #F0B429;
        color: #1a1a2e;
        border: none;
        padding: 10px 18px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .pwa-install-btn:active {
        transform: scale(0.96);
    }

    .pwa-install-btn:disabled {
        opacity: 0.7;
        cursor: default;
        transform: none;
    }

    .pwa-dismiss-btn {
        background: rgba(255, 255, 255, 0.15);
        color: rgba(255, 255, 255, 0.8);
        border: none;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 11px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        padding: 0;
    }

    .pwa-dismiss-btn:active {
        background: rgba(255, 255, 255, 0.25);
    }
}

/* =============================================
   PROFESSIONAL UPGRADES
   ============================================= */

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.reveal-left {
    transform: translateX(-40px);
}
.reveal.reveal-right {
    transform: translateX(40px);
}
.reveal.reveal-scale {
    transform: scale(0.9);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
/* --- Header Compact on Scroll --- */
.site-header {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.scrolled .header-top {
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
}
.site-header.scrolled .main-nav {
    padding: 10px 0;
}
.site-header.scrolled .nav-brand a {
    font-size: 20px;
}
.site-header.scrolled .nav-brand img {
    height: 40px;
}
.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

/* --- Hero Slider Crossfade + Ken Burns + Text Reveal --- */
.hero-slider, .hero-default {
    height: 70vh;
    min-height: 500px;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s 1.2s;
    display: block !important;
}
.slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s 0s;
}

/* Ken Burns - 6 directions */
.slide-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}
.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(36,27,78,0.7) 0%, rgba(0,0,0,0.5) 100%);
}

/* Ken Burns Direction 1: Zoom In + Pan Right */
.kb-zoom-in .slide-bg {
    animation: kbZoomIn 12s ease-out forwards;
}
@keyframes kbZoomIn {
    0% { transform: scale(1.15) translate(-2%, -1%); }
    100% { transform: scale(1) translate(0, 0); }
}

/* Ken Burns Direction 2: Zoom Out + Pan Left */
.kb-zoom-out .slide-bg {
    animation: kbZoomOut 12s ease-out forwards;
}
@keyframes kbZoomOut {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(2%, 1%); }
}

/* Ken Burns Direction 3: Pan Left */
.kb-pan-left .slide-bg {
    animation: kbPanLeft 12s ease-out forwards;
}
@keyframes kbPanLeft {
    0% { transform: scale(1.08) translate(3%, 0); }
    100% { transform: scale(1.08) translate(-3%, 0); }
}

/* Ken Burns Direction 4: Pan Right */
.kb-pan-right .slide-bg {
    animation: kbPanRight 12s ease-out forwards;
}
@keyframes kbPanRight {
    0% { transform: scale(1.08) translate(-3%, 0); }
    100% { transform: scale(1.08) translate(3%, 0); }
}

/* Ken Burns Direction 5: Pan Up */
.kb-pan-up .slide-bg {
    animation: kbPanUp 12s ease-out forwards;
}
@keyframes kbPanUp {
    0% { transform: scale(1.08) translate(0, 2%); }
    100% { transform: scale(1.08) translate(0, -2%); }
}

/* Ken Burns Direction 6: Zoom In Slow */
.kb-zoom-slow .slide-bg {
    animation: kbZoomSlow 12s ease-out forwards;
}
@keyframes kbZoomSlow {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

/* Text Reveal - Character by Character */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
    max-width: 800px;
}
.slide-content h1 {
    font-size: 48px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    overflow: hidden;
}
.slide-content p {
    font-size: 20px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
}
.slide.active .slide-content p {
    opacity: 1;
    transform: translateY(0);
}
.slide-content .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 1.2s, transform 0.8s ease 1.2s;
}
.slide.active .slide-content .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Text Reveal Characters */
.reveal-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-80deg);
    transform-origin: bottom center;
    animation: none;
}
.slide.active .reveal-char {
    animation: charReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes charReveal {
    0% {
        opacity: 0;
        transform: translateY(100%) rotateX(-80deg);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
        filter: blur(0);
    }
}

/* Word reveal for subtitle */
.reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: none;
}
.slide.active .reveal-word {
    animation: wordReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes wordReveal {
    0% { opacity: 0; transform: translateY(20px); filter: blur(3px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Scripture Slider */
.scripture-slider {
    background: linear-gradient(135deg, #180F38 0%, #241B4E 50%, #180F38 100%);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}
/* Scripture as Hero */
.scripture-hero {
    height: 42vh;
    min-height: 300px;
    margin-top: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}
@media(max-width:720px){
    .scripture-hero {
        margin-top: 70px;
        min-height: 260px;
        height: auto;
        padding: 40px 15px;
    }
    .scripture-hero .scripture-container {
        min-height: auto;
    }
}
.scripture-hero .scripture-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding-top: 10px;
}
.scripture-slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 400px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="rgba(240,180,41,0.08)" stroke-width="0.8" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/><line x1="12" y1="6" x2="12" y2="14"/><line x1="8" y1="10" x2="16" y2="10"/></svg>') center/contain no-repeat;
    pointer-events: none;
    z-index: 0;
}
.scripture-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    width: 280px;
    height: 350px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="rgba(240,180,41,0.06)" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/><line x1="12" y1="6" x2="12" y2="14"/><line x1="8" y1="10" x2="16" y2="10"/></svg>') center/contain no-repeat;
    pointer-events: none;
    z-index: 0;
    animation: bibleFloat 15s ease-in-out infinite;
}
@keyframes bibleFloat {
    0%, 100% { transform: translate(-50%, -50%) rotate(-5deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(-3deg) scale(1.02); }
}
.scripture-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.scripture-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: rgba(251, 243, 231, 0.5);
    letter-spacing: 1px;
    margin-top: 25px;
    margin-bottom: 5px;
}
.home-family-tagline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #241B4E;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}
.scripture-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F0B429;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
}
.scripture-label::before,
.scripture-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: #F0B429;
}
.scripture-verses {
    position: relative;
    min-height: 180px;
}
.scripture-verse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0s 0.8s;
}
.scripture-verse.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0s 0s;
}
.scripture-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-style: italic;
    color: #FBF3E7;
    line-height: 1.6;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.scripture-hero .scripture-text {
    font-size: 24px;
    max-width: 650px;
}
.scripture-hero .scripture-reference {
    font-size: 13px;
}
.scripture-text::before {
    content: '\201C';
    font-size: 60px;
    color: #F0B429;
    line-height: 0;
    vertical-align: -20px;
    margin-right: 8px;
    opacity: 0.6;
}
.scripture-text::after {
    content: '\201D';
    font-size: 60px;
    color: #F0B429;
    line-height: 0;
    vertical-align: -20px;
    margin-left: 8px;
    opacity: 0.6;
}
.scripture-hero .scripture-text::before,
.scripture-hero .scripture-text::after {
    font-size: 50px;
    vertical-align: -15px;
}

/* Floating particles behind scripture */
.scripture-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(240,180,41,0.15), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(240,180,41,0.1), transparent),
        radial-gradient(2px 2px at 60% 20%, rgba(240,180,41,0.12), transparent),
        radial-gradient(2px 2px at 80% 60%, rgba(240,180,41,0.08), transparent),
        radial-gradient(1px 1px at 10% 80%, rgba(240,180,41,0.1), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(240,180,41,0.12), transparent);
    animation: scriptureFloat 20s ease-in-out infinite;
    pointer-events: none;
}
@keyframes scriptureFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(0.5deg); }
    50% { transform: translateY(5px) rotate(-0.3deg); }
    75% { transform: translateY(-5px) rotate(0.2deg); }
}
.scripture-reference {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #F0B429;
    font-weight: 500;
    letter-spacing: 1px;
}
.scripture-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}
.scripture-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(240, 180, 41, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}
.scripture-hero .scripture-dot {
    width: 10px;
    height: 10px;
}
.scripture-dot.active {
    background: #F0B429;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(240, 180, 41, 0.5);
}
.scripture-dot:hover {
    background: rgba(240, 180, 41, 0.6);
}

/* Scripture verse entrance animation */
.scripture-verse.active .scripture-text {
    animation: scriptureTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.scripture-verse.active .scripture-reference {
    animation: scriptureFadeIn 0.8s ease 0.5s forwards;
    opacity: 0;
}
@keyframes scriptureTextReveal {
    0% { opacity: 0; transform: translateY(30px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes scriptureFadeIn {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- Section Headers Decorative --- */
.section-header {
    position: relative;
}
.section-subtitle {
    position: relative;
    display: inline-block;
}
.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.revealed .section-subtitle::before {
    width: 100%;
}
.section-header h2 {
    position: relative;
}
.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin-top: 15px;
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.text-center .section-header h2::after {
    margin-left: auto;
    margin-right: auto;
}
.revealed .section-header h2::after {
    width: 80px;
}

/* --- Card Hover Enhancements --- */
.book-card, .program-card, .event-card, .product-card, .business-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
}
.book-card::before, .program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
    z-index: 5;
    pointer-events: none;
}
.book-card:hover::before, .program-card:hover::before {
    left: 100%;
}
.book-card:hover, .program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(36, 27, 78, 0.15);
}
.book-cover img, .program-image img, .product-image img, .event-image img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.book-card:hover .book-cover img,
.program-card:hover .program-image img,
.product-card:hover .product-image img,
.event-card:hover .event-image img {
    transform: scale(1.08);
}
.book-cover, .program-image, .product-image, .event-image {
    overflow: hidden;
}

/* --- Button Enhancements --- */
.btn-primary {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 4px 15px rgba(36, 27, 78, 0.3);
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before {
    left: 100%;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(36, 27, 78, 0.4);
}
.btn-outline {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}
.btn-outline:hover::before {
    width: 100%;
}
.btn-outline:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(36, 27, 78, 0.25);
}
.btn-lg {
    border-radius: 50px;
    padding: 16px 44px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.btn-sm {
    border-radius: 50px;
}

/* --- CTA Section Upgrade --- */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, #241B4E 0%, #1C0A3D 50%, #12082A 100%);
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(240,180,41,0.1) 0%, transparent 60%);
    animation: ctaGlow 8s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30%, 20%); }
}
.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,128C672,107,768,85,864,90.7C960,96,1056,128,1152,138.7C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}
.cta-content {
    position: relative;
    z-index: 2;
}
.cta-content h2 {
    font-size: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* --- Social Proof Counter Animation --- */
.social-proof-bar {
    position: relative;
    overflow: hidden;
}
.social-proof-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240,180,41,0.1), transparent);
    animation: socialShine 4s ease-in-out infinite;
}
@keyframes socialShine {
    0% { left: -50%; }
    100% { left: 150%; }
}
.social-proof-item {
    transition: transform 0.3s ease, background 0.3s ease;
}
.social-proof-item:hover {
    transform: translateY(-2px);
    background: rgba(240, 180, 41, 0.2);
}
.social-proof-item .count {
    display: inline-block;
}

/* --- Testimonials Upgrade --- */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(36, 27, 78, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 80px;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    opacity: 0.08;
    line-height: 1;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(36, 27, 78, 0.1);
}

/* --- Page Banner Enhancement --- */
.page-banner {
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(240, 180, 41, 0.08);
    pointer-events: none;
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

/* --- Wave Divider Between Sections --- */
.wave-divider {
    position: relative;
    margin-top: -1px;
}
.wave-divider svg {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Footer Enhancement --- */
.site-footer {
    position: relative;
}
.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}
.footer-col h4 {
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
}
.footer-col .social-links a {
    transition: all 0.3s ease;
}
.footer-col .social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* --- Image Placeholder Enhancement --- */
.image-placeholder {
    background: linear-gradient(135deg, #F0E6FF 0%, #E8D5F5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    opacity: 0.8;
}

/* --- Newsletter Form Enhancement --- */
.newsletter-form form input[type="email"],
.newsletter-form form input[type="text"],
.newsletter-form form input[type="number"] {
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.newsletter-form form input:focus {
    border-color: var(--secondary-color);
    background: rgba(255,255,255,0.15);
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.2);
}

/* --- Smooth Section Transitions --- */
.section {
    position: relative;
}
.bg-light {
    background: linear-gradient(180deg, var(--bg-light) 0%, #f3ede4 100%);
}

/* --- Scroll Progress Indicator --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    z-index: 10001;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* --- Back to Top Enhancement --- */
.back-to-top-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 4px 15px rgba(36, 27, 78, 0.3);
    transition: all 0.3s ease;
}
.back-to-top-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    box-shadow: 0 8px 25px rgba(36, 27, 78, 0.4);
    transform: translateY(-3px);
}

/* --- Loading Shimmer (for future use) --- */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

/* --- Responsive Enhancements --- */
@media (max-width: 768px) {
    .hero-slider, .hero-default {
        height: 60vh;
        min-height: 400px;
    }
    .slide-content h1 {
        font-size: 32px;
    }
    .slide-content p {
        font-size: 16px;
    }
    .section-header h2 {
        font-size: 28px;
    }
    .cta-content h2 {
        font-size: 28px;
    }
    .btn-lg {
        padding: 14px 32px;
        font-size: 15px;
    }
}

/* =============================================
   FUN ANIMATIONS
   ============================================= */

/* --- 3D Tilt Card --- */
.tilt-card {
    transition: transform 0.15s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.tilt-card:hover {
    box-shadow: 0 20px 60px rgba(36, 27, 78, 0.15), 0 0 0 1px rgba(240, 180, 41, 0.1);
}

/* --- Magnetic Button --- */
.btn-primary, .cta-buttons .btn {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    will-change: transform;
}
.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(36, 27, 78, 0.3);
}

/* --- Hero Letter Animation --- */
.hero-text-animated .hero-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-90deg);
    animation: heroLetterIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes heroLetterIn {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* --- Floating Particles Canvas --- */
.hero-particles {
    image-rendering: pixelated;
}

/* --- Card Hover Glow --- */
.book-card:hover, .event-card:hover, .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(36, 27, 78, 0.12);
}

/* --- Button Ripple Effect --- */
.btn {
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}
.btn:active::after {
    width: 300px;
    height: 300px;
}

/* --- Bouncy Scroll Indicator --- */
.hero-default::after, .hero-slider::after {
    content: '\f063';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    z-index: 10;
    animation: bounceScroll 2s ease-in-out infinite;
}
@keyframes bounceScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 1; }
}

/* --- Section Background Parallax Float --- */
.about-image-wrapper, .slide-bg, .hero-bg {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* --- Social Proof Bar Shimmer --- */
.social-proof-item {
    position: relative;
    overflow: hidden;
}
.social-proof-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 180, 41, 0.08), transparent);
    animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* --- Testimonial Card Float --- */
.testimonial-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: 0 16px 40px rgba(36, 27, 78, 0.1);
}

/* --- Event Date Badge Bounce --- */
.event-date-badge {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.event-card:hover .event-date-badge {
    transform: scale(1.1) rotate(-3deg);
}

/* --- Book Cover Shine Sweep --- */
.book-cover {
    position: relative;
    overflow: hidden;
}
.book-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
    z-index: 2;
}
.book-card:hover .book-cover::after {
    left: 150%;
}

/* --- CTA Section Animated Gradient --- */
.cta-section {
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- Smooth Image Load --- */
img {
    opacity: 0;
    transition: opacity 0.5s ease;
}
img.loaded, img[src] {
    opacity: 1;
}


/* === School of Purpose Page Styles === */

:root{--navy:#241B4E;--navy-deep:#180F38;--panel:#2F2266;--gold:#F0B429;--gold-soft:#F6CE6C;--teal:#3FA7A0;--cream:#FBF3E7;--cream-dim:#D9D0EA;--serif:"Fraunces",serif;--sans:"Inter",sans-serif;}
.sop-page{background:var(--navy-deep);color:var(--cream);font-family:var(--sans);overflow-x:hidden;position:relative;}
.sop-page *{margin:0;padding:0;box-sizing:border-box;}
.sop-page ::selection{background:var(--gold);color:var(--navy-deep);}
.sop-page h1,.sop-page h2,.sop-page h3{font-family:var(--serif);font-weight:700;letter-spacing:-0.01em;}
.sop-section{position:relative;padding:100px 8vw;}
@media(max-width:720px){.sop-section{padding:74px 6vw;}}
.sop-eyebrow{font-family:var(--sans);font-size:0.72rem;letter-spacing:0.22em;text-transform:uppercase;color:var(--gold);font-weight:600;display:inline-flex;align-items:center;gap:10px;}
.sop-eyebrow::before{content:"";width:22px;height:1px;background:var(--gold);display:inline-block;}
.sop-eyebrow.center{justify-content:center;}
.sop-eyebrow.center::before{display:none;}
.sop-note-bar{background:var(--navy-deep);border-bottom:1px solid rgba(255,255,255,0.08);padding:12px 8vw;font-size:0.78rem;color:var(--cream-dim);text-align:center;}
.sop-note-bar strong{color:var(--gold-soft);font-weight:600;}
.sop-hero{min-height:88vh;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:radial-gradient(1000px 640px at 50% 0%,rgba(240,180,41,0.15),transparent 60%),linear-gradient(180deg,var(--navy) 0%,var(--navy-deep) 82%);overflow:hidden;}
.sop-compass{position:absolute;top:50%;left:50%;width:900px;height:900px;transform:translate(-50%,-50%);z-index:0;opacity:0.5;animation:sop-spin 160s linear infinite;}
@keyframes sop-spin{to{transform:translate(-50%,-50%) rotate(360deg);}}
.sop-hero-inner{position:relative;z-index:1;max-width:800px;padding:0 6vw;}
.sop-hero h1{font-size:clamp(2.4rem,7vw,4.6rem);line-height:1.02;color:var(--cream);margin-top:22px;}
.sop-hero h1 em{font-style:italic;color:var(--gold);font-weight:500;}
.sop-hero .sub{margin-top:22px;font-size:clamp(1rem,2vw,1.2rem);color:var(--cream-dim);max-width:56ch;margin-left:auto;margin-right:auto;}
.sop-hero .parent{margin-top:34px;font-size:0.82rem;letter-spacing:0.08em;color:var(--cream-dim);}
.sop-hero .parent strong{color:var(--gold-soft);font-weight:600;}
.sop-why{background:var(--navy-deep);}
.sop-why-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start;}
@media(max-width:860px){.sop-why-grid{grid-template-columns:1fr;gap:36px;}}
.sop-why h2{font-size:clamp(1.8rem,4vw,2.5rem);color:var(--cream);margin:14px 0 20px;}
.sop-why p{color:var(--cream-dim);font-size:1.03rem;max-width:52ch;}
.sop-why p+p{margin-top:16px;}
.sop-why-card{background:linear-gradient(160deg,var(--panel),rgba(47,34,102,0.4));border:1px solid rgba(240,180,41,0.18);border-radius:22px;padding:36px;}
.sop-why-card .q{font-family:var(--serif);font-style:italic;font-size:1.3rem;color:var(--gold-soft);line-height:1.4;}
.sop-why-card .a{margin-top:16px;color:var(--cream-dim);font-size:0.95rem;}
.sop-pillars{background:var(--navy);}
.sop-pillars-head{max-width:680px;margin-bottom:54px;}
.sop-pillars-head h2{font-size:clamp(1.8rem,4vw,2.6rem);color:var(--cream);margin:14px 0 18px;}
.sop-pillars-head p{color:var(--cream-dim);font-size:1.02rem;}
.sop-pillar-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;}
@media(max-width:760px){.sop-pillar-grid{grid-template-columns:1fr;}}
.sop-pillar{padding:32px 30px;border-radius:20px;background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.07);transition:transform .3s ease,border-color .3s ease;}
.sop-pillar:hover{transform:translateY(-5px);border-color:var(--gold);}
.sop-pillar .pn{font-family:var(--serif);font-size:0.85rem;color:var(--gold);font-weight:700;letter-spacing:0.08em;margin-bottom:14px;display:block;}
.sop-pillar h3{font-size:1.25rem;color:var(--cream);margin-bottom:10px;}
.sop-pillar p{color:var(--cream-dim);font-size:0.94rem;}
.sop-journey{background:var(--navy-deep);}
.sop-journey-head{max-width:680px;margin-bottom:60px;}
.sop-journey-head h2{font-size:clamp(1.8rem,4vw,2.6rem);color:var(--cream);margin:14px 0 18px;}
.sop-journey-head p{color:var(--cream-dim);font-size:1.02rem;}
.sop-timeline{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:0;}
@media(max-width:900px){.sop-timeline{grid-template-columns:1fr;gap:26px;}}
.sop-timeline::before{content:"";position:absolute;top:26px;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,var(--gold) 12%,var(--gold) 88%,transparent);}
@media(max-width:900px){.sop-timeline::before{display:none;}}
.sop-stage{position:relative;padding-right:24px;}
.sop-stage .marker{width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 30% 30%,var(--gold-soft),var(--gold));color:var(--navy-deep);font-family:var(--serif);font-weight:700;font-size:1.1rem;display:flex;align-items:center;justify-content:center;margin-bottom:22px;position:relative;z-index:1;}
.sop-stage h4{font-family:var(--serif);font-size:1.1rem;color:var(--cream);margin-bottom:8px;}
.sop-stage p{color:var(--cream-dim);font-size:0.9rem;max-width:32ch;}
.sop-format-strip{margin-top:64px;display:grid;grid-template-columns:repeat(3,1fr);gap:26px;border-top:1px solid rgba(255,255,255,0.1);padding-top:44px;}
@media(max-width:760px){.sop-format-strip{grid-template-columns:1fr;}}
.sop-format-item .lbl{font-size:0.7rem;letter-spacing:0.16em;text-transform:uppercase;color:var(--teal);font-weight:700;margin-bottom:10px;}
.sop-format-item h4{font-family:var(--serif);font-size:1.15rem;color:var(--cream);margin-bottom:8px;}
.sop-format-item p{color:var(--cream-dim);font-size:0.92rem;}
.sop-voices{background:var(--navy);}
.sop-voices-head{max-width:640px;margin-bottom:50px;}
.sop-voices-head h2{font-size:clamp(1.8rem,4vw,2.6rem);color:var(--cream);margin:14px 0 18px;}
.sop-voices-head p{color:var(--cream-dim);font-size:1.02rem;}
.sop-voice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
@media(max-width:900px){.sop-voice-grid{grid-template-columns:1fr;}}
.sop-voice-card{background:var(--panel);border-radius:18px;padding:30px 26px;border:1px solid rgba(255,255,255,0.06);}
.sop-voice-card .mark{font-family:var(--serif);font-size:2.4rem;color:var(--gold);line-height:1;margin-bottom:6px;}
.sop-voice-card p{color:var(--cream-dim);font-size:0.94rem;font-style:italic;}
.sop-voice-card .role{margin-top:16px;font-size:0.74rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--cream-dim);opacity:0.7;}
.sop-closing{background:radial-gradient(900px 500px at 50% 100%,rgba(240,180,41,0.14),transparent 70%),var(--navy);text-align:center;padding:120px 6vw 100px;}
.sop-closing blockquote{font-family:var(--serif);font-style:italic;font-size:clamp(1.3rem,3.2vw,1.9rem);color:var(--cream);max-width:740px;margin:0 auto;line-height:1.4;}
.sop-closing .signoff{margin-top:30px;font-size:0.78rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold);font-weight:700;}
.sop-cta-btn{display:inline-block;margin-top:38px;padding:16px 34px;border-radius:999px;background:var(--gold);color:var(--navy-deep);font-weight:700;font-size:0.92rem;text-decoration:none;letter-spacing:0.02em;transition:transform .25s ease,box-shadow .25s ease;}
.sop-cta-btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(240,180,41,0.3);}
.sop-footer{text-align:center;padding:32px 6vw;background:var(--navy-deep);color:var(--cream-dim);font-size:0.78rem;border-top:1px solid rgba(255,255,255,0.06);}

.sop-page .reveal{opacity:0;transform:translateY(28px);transition:opacity 0.7s ease-out,transform 0.7s ease-out;}
.sop-page .reveal.revealed{opacity:1;transform:translateY(0);}

.flash-success{background:#d4edda;color:#155724;border:1px solid #c3e6cb;}
.flash-error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb;}

.apps-home-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;margin-top:40px;}
.apps-home-card{background:var(--panel);border-radius:16px;padding:30px 24px;text-align:center;text-decoration:none;border:1px solid rgba(255,255,255,0.06);transition:transform .3s ease,box-shadow .3s ease;}
.apps-home-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(0,0,0,0.25);}
.apps-home-icon{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:24px;font-weight:800;color:#fff;font-family:var(--serif);box-shadow:0 6px 16px rgba(0,0,0,0.2);}
.apps-home-card h3{font-family:var(--serif);font-size:1.15rem;color:var(--cream);margin-bottom:6px;}
.apps-home-card p{font-size:0.88rem;color:var(--cream-dim);line-height:1.5;}

.music-home-section{background:linear-gradient(135deg,var(--primary-dark) 0%,var(--primary-light) 100%);padding:0;max-width:100%;margin:0;overflow:hidden;}
.music-home-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:48px;padding:60px 40px;}
.music-home-left{flex:0 0 38%;padding-right:16px;}
.music-home-eyebrow{font-size:0.68rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--secondary-color);font-weight:700;margin-bottom:12px;display:block;}
.music-home-left h2{font-family:var(--serif);font-size:2rem;color:#FBF3E7;line-height:1.2;margin:0 0 14px;}
.music-home-left p{color:rgba(251,243,231,0.8);font-size:0.92rem;line-height:1.5;margin:0 0 24px;}
.music-home-cta{display:inline-flex;align-items:center;gap:8px;padding:12px 28px;border-radius:999px;background:var(--secondary-color);color:var(--primary-dark);font-weight:700;font-size:0.82rem;text-decoration:none;letter-spacing:0.02em;transition:transform .25s,box-shadow .25s;}
.music-home-cta:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(240,180,41,0.3);}
.music-home-cta i{font-size:0.7rem;transition:transform .25s;}
.music-home-cta:hover i{transform:translateX(3px);}

.music-home-right{flex:1;display:flex;flex-direction:column;gap:10px;}
.music-home-track{display:flex;align-items:center;gap:14px;padding:10px 14px;border-radius:14px;text-decoration:none;transition:background .25s,transform .25s;border:1px solid rgba(255,255,255,0.12);background:rgba(255,255,255,0.04);}
.music-home-track:hover{background:rgba(255,255,255,0.08);transform:translateX(4px);}
.music-home-track-cover{width:56px;height:56px;border-radius:10px;overflow:hidden;flex-shrink:0;position:relative;}
.music-home-track-cover img{width:100%;height:100%;object-fit:cover;display:block;}
.music-home-track-placeholder{width:100%;height:100%;background:linear-gradient(135deg,rgba(240,180,41,0.2),rgba(240,180,41,0.05));display:flex;align-items:center;justify-content:center;color:var(--secondary-color);font-size:18px;}
.music-home-track-play{position:absolute;inset:0;background:rgba(0,0,0,0.4);display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;opacity:0;transition:opacity .25s;}
.music-home-track:hover .music-home-track-play{opacity:1;}
.music-home-track-info{flex:1;min-width:0;}
.music-home-track-info h3{font-family:var(--serif);font-size:0.92rem;color:#FBF3E7;margin:0 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.music-home-track-info p{font-size:0.75rem;color:rgba(251,243,231,0.7);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.music-home-track.is-featured .music-home-track-cover{width:64px;height:64px;border-radius:12px;}

@media(max-width:768px){
	.music-home-inner{flex-direction:column;gap:32px;padding:48px 24px;text-align:center;}
	.music-home-left{flex:none;padding-right:0;}
	.music-home-right{width:100%;}
	.music-home-left h2{font-size:1.6rem;}
}
@media(max-width:480px){
	.music-home-inner{padding:36px 20px;}
	.music-home-track{padding:8px 10px;gap:10px;}
	.music-home-track-cover{width:48px;height:48px;}
	.music-home-track.is-featured .music-home-track-cover{width:52px;height:52px;}
}
