/* ============================================================
   APNA PUBLISHER HOMEPAGE — Light Gravity Theme
   Brand: Navy #1a3a6c / Blue #2c5282 / Gold #ffc107
   Font: Inter
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
    --aph-navy: #1a3a6c;
    --aph-navy-light: #2c5282;
    --aph-navy-mid: #2d5aa0;
    --aph-celestial: #4a7fd1;
    --aph-gold: #ffc107;
    --aph-gold-dark: #e5ac00;
    --aph-emerald: #10b981;
    --aph-white: #ffffff;
    --aph-frost: #f8fafc;
    --aph-border: #e2e8f0;
    --aph-ink: #1e293b;
    --aph-slate: #64748b;
    --aph-mute: #94a3b8;
    --aph-blue-bright: #60a5fa;
    --aph-blue-royal: #2563eb;
    --aph-shadow-soft: 0 4px 16px rgba(26, 58, 108, 0.04);
    --aph-shadow-md: 0 10px 30px rgba(26, 58, 108, 0.08);
    --aph-shadow-lg: 0 25px 50px rgba(26, 58, 108, 0.12);
    --aph-shadow-sm: 0 2px 8px rgba(26, 58, 108, 0.06);
    --aph-radius: 16px;
    --aph-radius-lg: 20px;
    --aph-radius-pill: 99px;
    --aph-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --aph-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --aph-max-width: 1200px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Fix for WordPress Admin Bar */
body.admin-bar .aph-nav { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .aph-nav { top: 46px; }
}

body.aph-homepage {
    font-family: var(--aph-font);
    color: var(--aph-ink);
    background: var(--aph-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── ANTI-CLUTTER: Hide old theme/plugin elements ── */
body.aph-homepage #contact-sidebar,
body.aph-homepage #contact-sidebar-tab,
body.aph-homepage .contact-sidebar,
body.aph-homepage [class*="contact-us-sidebar"],
body.aph-homepage [id*="contact-sidebar"],
body.aph-homepage .jwp-contact-us,
body.aph-homepage .ma-el-contact-sidebar,
body.aph-homepage #ma-el-contact-sidebar,
body.aph-homepage .ma-extra-element,
body.aph-homepage .astra-advanced-headers,
body.aph-homepage #ast-scroll-top,
body.aph-homepage .elementor-location-header,
body.aph-homepage .elementor-location-footer,
body.aph-homepage .joinchat,
body.aph-homepage .ht-ctc-chat,
body.aph-homepage #secondary,
body.aph-homepage .sidebar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important; height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

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

/* ── Scroll Reveal Animation ───────────────────────────────── */
.aph-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.aph-reveal.visible { opacity: 1; transform: translateY(0); }
.aph-reveal-d1 { transition-delay: 0.08s; }
.aph-reveal-d2 { transition-delay: 0.16s; }
.aph-reveal-d3 { transition-delay: 0.24s; }
.aph-reveal-d4 { transition-delay: 0.32s; }
.aph-reveal-d5 { transition-delay: 0.40s; }
.aph-reveal-d6 { transition-delay: 0.48s; }

/* ══════════════════════════════════════════════════════════════
   1. NAVIGATION BAR
   ══════════════════════════════════════════════════════════════ */
.aph-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}
.aph-nav.scrolled {
    background: rgba(26, 58, 108, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
}
.aph-nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: var(--aph-max-width); margin: 0 auto; padding: 0 24px; gap: 24px;
}
.aph-nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.aph-nav-logo img { height: 48px; width: auto; display: block; transition: height 0.35s ease; }
.aph-nav.scrolled .aph-nav-logo img { height: 42px; }

.aph-nav-links { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; }
.aph-nav-links li { list-style: none; position: relative; }
.aph-nav-links a {
    font-size: 0.78rem; font-weight: 600; color: rgba(255, 255, 255, 0.92);
    transition: color 0.25s ease; text-transform: uppercase; letter-spacing: 0.04em;
    position: relative; white-space: nowrap; display: flex; align-items: center; gap: 4px; text-decoration: none;
}
.aph-nav-links > li > a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--aph-gold); transition: width 0.25s ease;
}
.aph-nav-links > li > a:hover::after { width: 100%; }
.aph-nav-links a:hover { color: var(--aph-gold); }

/* Dropdown styling */
.aph-chevron { width: 14px; height: 14px; transition: transform 0.25s ease; }
.aph-nav-dropdown:hover .aph-chevron { transform: rotate(180deg); }
.aph-dropdown-menu {
    position: absolute; top: 100%; left: 0; background: rgba(26, 58, 108, 0.98);
    backdrop-filter: blur(12px); border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 180px; padding: 12px 0; display: flex; flex-direction: column; opacity: 0;
    visibility: hidden; transform: translateY(10px); transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); z-index: 100; list-style: none; margin: 0;
}
.aph-nav-dropdown:hover .aph-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.aph-dropdown-menu li { padding: 0; }
.aph-dropdown-menu a {
    padding: 10px 24px; font-size: 0.75rem; color: rgba(255,255,255,0.8);
    width: 100%; display: block; border-left: 2px solid transparent;
}
.aph-dropdown-menu a::after { display: none; }
.aph-dropdown-menu a:hover { color: var(--aph-gold); background: rgba(255,255,255,0.05); border-left-color: var(--aph-gold); }

/* Utilities Block (Search, Cart, CTA) */
.aph-nav-utils { display: flex; align-items: center; gap: 20px; }

/* Desktop Search Form */
.aph-nav-search-form { display: flex; align-items: center; background: rgba(255, 255, 255, 0.1); border-radius: 99px; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, 0.15); transition: all 0.3s ease; margin-left: 8px; }
.aph-nav-search-form:focus-within { background: rgba(255, 255, 255, 0.2); border-color: var(--aph-gold); }
.aph-nav-search-form input { background-color: transparent !important; box-shadow: none !important; margin: 0 !important; border: none !important; outline: none !important; color: var(--aph-white) !important; width: 120px; font-size: 0.8rem; padding: 4px 6px 4px 0; transition: width 0.3s ease; font-family: var(--aph-font); }
.aph-nav-search-form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.aph-nav-search-form input:focus { width: 160px; }
.aph-nav-search-form button { background: transparent; border: none; cursor: pointer; color: var(--aph-white); display: flex; align-items: center; padding: 0; }
.aph-nav-search-form button svg { width: 18px; height: 18px; transition: color 0.2s; }
.aph-nav-search-form button:hover svg { color: var(--aph-gold); }

/* Cart Icon */
.aph-nav-cart { position: relative; color: var(--aph-white); display: flex; align-items: center; justify-content: center; transition: color 0.2s; text-decoration: none; }
.aph-nav-cart:hover { color: var(--aph-gold); }
.aph-nav-cart svg { width: 24px; height: 24px; }
.aph-cart-count { position: absolute; top: -6px; right: -8px; background: var(--aph-gold); color: var(--aph-navy); font-size: 0.65rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }

/* Mobile Search (Hidden on Desktop) */
.aph-nav-mobile-search { display: none; margin-bottom: 24px; width: 100%; }
.aph-mobile-search-form { display: flex; width: 100%; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.2); }
.aph-mobile-search-form input { flex: 1; padding: 12px; background: rgba(255,255,255,0.1); border: none; outline: none; font-size: 0.9rem; color: #fff; }
.aph-mobile-search-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.aph-mobile-search-form button { padding: 0 16px; background: var(--aph-gold); border: none; color: var(--aph-navy); font-weight: bold; cursor: pointer; }

/* Desktop CTA button in nav */
.aph-desktop-cta { flex-shrink: 0; }
.aph-cta-mobile-text { display: none; }
.aph-cta-desktop-text { display: inline; }
.aph-mobile-cta { display: none; }

.aph-nav-cta {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; border-radius: var(--aph-radius-pill);
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none; white-space: nowrap;
}
.aph-nav-cta.gold {
    background: linear-gradient(135deg, var(--aph-gold), var(--aph-gold-dark));
    color: var(--aph-navy); box-shadow: 0 4px 16px rgba(255, 193, 7, 0.3);
}
.aph-nav-cta.gold:hover {
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 193, 7, 0.45);
}

/* Hamburger */
.aph-nav-hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    padding: 8px; background: none; border: none; z-index: 1001;
}
.aph-nav-hamburger span { width: 22px; height: 2px; background: var(--aph-white); border-radius: 2px; transition: all 0.25s ease; }

/* Close button (mobile overlay) */
.aph-nav-close {
    display: none; position: absolute; top: 24px; right: 24px;
    background: none; border: none; color: var(--aph-white);
    font-size: 2rem; cursor: pointer; z-index: 1002;
}

/* ══════════════════════════════════════════════════════════════
   2. HERO SECTION
   ══════════════════════════════════════════════════════════════ */
.aph-hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(135deg, var(--aph-navy) 0%, var(--aph-navy-mid) 50%, var(--aph-celestial) 100%);
    overflow: hidden; padding: 120px 0 80px;
}
.aph-hero::before {
    content: ''; position: absolute; top: -20%; right: -5%; width: 500px; height: 500px;
    background: rgba(255, 255, 255, 0.04); border-radius: 50%;
    animation: aph-float 8s ease-in-out infinite;
}
.aph-hero::after {
    content: ''; position: absolute; bottom: -15%; left: 5%; width: 350px; height: 350px;
    background: rgba(255, 193, 7, 0.06); border-radius: 50%;
    animation: aph-float 10s ease-in-out infinite reverse;
}
@keyframes aph-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, -20px); } }

.aph-hero-layout { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.aph-hero-content { position: relative; z-index: 2; max-width: 600px; flex-shrink: 0; }

/* ── 3D Book Visual ────────────────────────────────────────── */
.aph-hero-book-wrap {
    position: relative; z-index: 2; display: flex; flex-direction: column;
    align-items: center; perspective: 1600px; animation: fadeUpIn 1s ease 0.5s both;
}
.aph-book-3d {
    position: relative; width: 270px; height: 380px;
    transform-style: preserve-3d; transform: rotateY(-30deg) rotateX(5deg);
    animation: aph-book-hover 5s ease-in-out infinite;
}
@keyframes aph-book-hover {
    0%, 100% { transform: rotateY(-30deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-30deg) rotateX(5deg) translateY(-12px); }
}

.aph-book-3d-front {
    position: absolute; inset: 0; border-radius: 2px 8px 8px 2px;
    background: linear-gradient(160deg, #f5a623 0%, #e08b00 40%, #c67600 70%, #a85d00 100%);
    transform: translateZ(22px); overflow: hidden;
    box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.35), 0 0 60px rgba(245, 166, 35, 0.15);
}
.aph-book-3d-cover {
    width: 100%; height: 100%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; padding: 32px 24px; position: relative;
}
.aph-book-3d-cover-top {
    position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, rgba(255,255,255,0.7), rgba(255,255,255,0.95), rgba(255,255,255,0.7));
}
.aph-book-3d-cover::before {
    content: ''; position: absolute; top: 15%; right: -25%; width: 180px; height: 180px;
    border-radius: 50%; background: rgba(255, 255, 255, 0.08);
}
.aph-book-3d-cover::after {
    content: ''; position: absolute; bottom: 8%; left: -15%; width: 140px; height: 140px;
    border-radius: 50%; background: rgba(120, 60, 0, 0.12);
}
.aph-book-3d-cover-title {
    font-size: 1.6rem; font-weight: 800; color: var(--aph-white); text-align: center;
    line-height: 1.2; letter-spacing: -0.02em; position: relative; z-index: 1;
    margin-bottom: 6px; text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.aph-book-3d-cover-subtitle {
    font-size: 0.72rem; font-weight: 600; color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase; letter-spacing: 0.12em; text-align: center;
    position: relative; z-index: 1; text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.aph-book-3d-cover-line { width: 40px; height: 2px; background: rgba(255, 255, 255, 0.7); margin: 18px 0; position: relative; z-index: 1; }
.aph-book-3d-cover-author {
    font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.8);
    font-style: italic; position: relative; z-index: 1; text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.aph-book-3d-spine {
    position: absolute; top: 0; left: -22px; width: 44px; height: 100%;
    background: linear-gradient(90deg, #7a4400 0%, #9a5c0a 40%, #a8680e 60%, #9a5c0a 100%);
    transform: rotateY(90deg); transform-origin: right center; border-radius: 4px 0 0 4px;
}
.aph-book-3d-spine::before {
    content: ''; position: absolute; top: 8%; bottom: 8%; left: 6px; width: 1px;
    background: rgba(255, 255, 255, 0.25);
}
.aph-book-3d-spine::after {
    content: ''; position: absolute; top: 8%; bottom: 8%; right: 6px; width: 1px;
    background: rgba(255, 255, 255, 0.25);
}
.aph-book-3d-pages {
    position: absolute; top: 3px; right: -22px; width: 44px; height: calc(100% - 6px);
    background: linear-gradient(90deg, #f0e8d8 0%, #f5f0e5 5%, #ede5d4 5.5%, #f5f0e5 6%, #ede5d4 10%, #f5f0e5 10.5%, #ede5d4 15%, #f5f0e5 15.5%, #f2ece0 100%);
    transform: rotateY(90deg); transform-origin: left center; border-radius: 0 2px 2px 0;
    box-shadow: inset -2px 0 6px rgba(0,0,0,0.08);
}
.aph-book-3d-shadow {
    width: 240px; height: 28px;
    background: radial-gradient(ellipse, rgba(245, 166, 35, 0.35) 0%, rgba(0, 0, 0, 0.15) 40%, transparent 70%);
    margin-top: 28px; animation: aph-book-shadow 5s ease-in-out infinite;
}
@keyframes aph-book-shadow { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(0.85); opacity: 0.45; } }

/* Hero text styles */
.aph-hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px;
    background: rgba(255, 193, 7, 0.15); border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--aph-radius-pill); color: var(--aph-gold);
    font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; margin-bottom: 24px; animation: fadeUpIn 0.8s ease both;
}
.aph-hero h1 { font-size: 3.2rem; font-weight: 800; color: var(--aph-white); line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 20px; animation: fadeUpIn 0.8s ease 0.1s both; }
.aph-hero h1 span { color: var(--aph-gold); }
.aph-hero-subtitle { font-size: 1.1rem; color: rgba(255, 255, 255, 0.75); line-height: 1.7; margin-bottom: 40px; max-width: 540px; animation: fadeUpIn 0.8s ease 0.2s both; }
.aph-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUpIn 0.8s ease 0.3s both; }
@keyframes fadeUpIn { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }

/* ── Buttons ──────────────────────────────────────────── */
.aph-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px;
    border-radius: var(--aph-radius-pill); font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: all var(--aph-transition); border: none;
    font-family: var(--aph-font); text-decoration: none;
}
.aph-btn-primary { background: linear-gradient(135deg, var(--aph-gold), var(--aph-gold-dark)); color: var(--aph-navy); box-shadow: 0 4px 20px rgba(255, 193, 7, 0.35); }
.aph-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255, 193, 7, 0.5); }
.aph-btn-outline { background: transparent; color: var(--aph-white); border: 2px solid rgba(255, 255, 255, 0.4); }
.aph-btn-outline:hover { border-color: var(--aph-white); background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.aph-btn-navy { background: linear-gradient(135deg, var(--aph-navy), var(--aph-navy-light)); color: var(--aph-white); box-shadow: 0 4px 16px rgba(26, 58, 108, 0.25); }
.aph-btn-navy:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(26, 58, 108, 0.35); }
.aph-btn-gold { background: linear-gradient(135deg, var(--aph-gold), var(--aph-gold-dark)); color: var(--aph-navy); box-shadow: 0 4px 20px rgba(255, 193, 7, 0.35); }
.aph-btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255, 193, 7, 0.5); }

@keyframes aph-pulse { 0%, 100% { box-shadow: 0 4px 20px rgba(255, 193, 7, 0.35); } 50% { box-shadow: 0 4px 30px rgba(255, 193, 7, 0.55), 0 0 0 8px rgba(255, 193, 7, 0.1); } }
.aph-hero-ctas .aph-btn-primary { animation: aph-pulse 3s ease-in-out infinite; }
.aph-hero-ctas .aph-btn-primary:hover { animation: none; }

/* ── SECTION HEADERS ──────────────────────────────────── */
.aph-section-header { text-align: center; margin-bottom: 60px; }
.aph-section-tag {
    display: inline-block; padding: 6px 18px; background: rgba(26, 58, 108, 0.06);
    border-radius: var(--aph-radius-pill); color: var(--aph-navy);
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; margin-bottom: 16px;
}
.aph-section-title { font-size: 2.2rem; font-weight: 800; color: var(--aph-navy); letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.2; }
.aph-section-subtitle { font-size: 1.05rem; color: var(--aph-slate); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════
   4. HOW IT WORKS
   ══════════════════════════════════════════════════════════════ */
.aph-process { padding: 100px 0; background: var(--aph-frost); }
.aph-process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.aph-process-card {
    background: var(--aph-white); border-radius: var(--aph-radius); padding: 36px 28px;
    border: 1px solid var(--aph-border); box-shadow: var(--aph-shadow-soft);
    position: relative; transition: all var(--aph-transition);
}
.aph-process-card:hover { transform: translateY(-4px); box-shadow: var(--aph-shadow-md); }
.aph-process-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--aph-navy), var(--aph-gold));
    border-radius: var(--aph-radius) var(--aph-radius) 0 0;
}
.aph-process-step {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--aph-navy), var(--aph-navy-light));
    color: var(--aph-white); display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 800; margin-bottom: 20px;
}
.aph-process-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--aph-navy); margin-bottom: 10px; }
.aph-process-card p { font-size: 0.9rem; color: var(--aph-slate); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════
   5. PACKAGES
   ══════════════════════════════════════════════════════════════ */
.aph-packages { padding: 120px 0; background: var(--aph-frost); }
.aph-packages-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px;
    max-width: 1000px; margin: 50px auto 0;
}
.aph-package-card {
    background: var(--aph-white); border-radius: var(--aph-radius-lg);
    border: 1px solid var(--aph-border); padding: 50px 40px;
    position: relative; transition: all 0.4s ease; display: flex; flex-direction: column;
}
.aph-package-card:hover { transform: translateY(-5px); box-shadow: var(--aph-shadow-lg); border-color: var(--aph-celestial); }
.aph-package-card.featured { border: 2px solid var(--aph-navy); transform: scale(1.03); z-index: 2; }
.aph-package-card.featured:hover { transform: scale(1.03) translateY(-5px); }
.aph-package-popular {
    position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
    background: var(--aph-gold); color: var(--aph-navy); padding: 6px 20px;
    border-radius: var(--aph-radius-pill); font-size: 0.75rem; font-weight: 800;
    letter-spacing: 0.1em; box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}
.aph-package-header { text-align: center; margin-bottom: 35px; }
.aph-package-name { font-size: 1.5rem; font-weight: 800; color: var(--aph-navy); margin-bottom: 12px; }
.aph-package-desc { font-size: 0.9rem; color: var(--aph-mute); line-height: 1.5; margin-bottom: 25px; }
.aph-package-price-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.aph-package-price-old { text-decoration: line-through; color: var(--aph-mute); font-size: 1rem; font-weight: 600; }
.aph-package-price { font-size: 3rem; font-weight: 800; color: var(--aph-navy); }
.aph-package-price-note {
    font-size: 0.8rem; font-weight: 700; color: var(--aph-emerald);
    background: rgba(16, 185, 129, 0.1); padding: 4px 12px;
    border-radius: var(--aph-radius-pill); margin-top: 10px;
}
.aph-package-divider { height: 1px; background: var(--aph-border); margin: 0 0 35px 0; }
.aph-package-features { list-style: none; padding: 0; margin: 0 0 40px 0; flex-grow: 1; }
.aph-package-features li {
    font-size: 0.95rem; color: var(--aph-slate); margin-bottom: 15px;
    display: flex; align-items: flex-start; gap: 12px; line-height: 1.4;
}
.aph-package-features svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.aph-check-basic { color: var(--aph-navy-light); }
.aph-check-premium { color: var(--aph-gold-dark); }
.aph-package-footer { text-align: center; }
.aph-package-split { font-size: 0.8rem; color: var(--aph-mute); margin-top: 15px; font-weight: 500; }

/* ══════════════════════════════════════════════════════════════
   6. BOOK SHOWCASE
   ══════════════════════════════════════════════════════════════ */
.aph-books { padding: 100px 0; background: var(--aph-frost); }
.aph-books-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.aph-book-card {
    background: var(--aph-white); border-radius: var(--aph-radius); overflow: hidden;
    border: 1px solid var(--aph-border); box-shadow: var(--aph-shadow-soft);
    transition: all var(--aph-transition); text-decoration: none; display: block;
}
.aph-book-card:hover { transform: translateY(-6px); box-shadow: var(--aph-shadow-md); }
.aph-book-cover { position: relative; padding-top: 140%; overflow: hidden; background: var(--aph-frost); }
.aph-book-cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.aph-book-card:hover .aph-book-cover img { transform: scale(1.05); }
.aph-book-info { padding: 16px; }
.aph-book-title { font-size: 0.9rem; font-weight: 700; color: var(--aph-navy); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.aph-book-price { font-size: 0.85rem; font-weight: 600; color: var(--aph-slate); }
.aph-books-cta { text-align: center; margin-top: 48px; }

/* ══════════════════════════════════════════════════════════════
   7. WHY CHOOSE US
   ══════════════════════════════════════════════════════════════ */
.aph-features { padding: 120px 0; background: var(--aph-white); }
.aph-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.aph-feature-card {
    background: var(--aph-white); padding: 45px 35px; border-radius: var(--aph-radius-lg);
    border: 1px solid var(--aph-border); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative; overflow: hidden; text-align: left;
}
.aph-feature-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px;
    background: var(--aph-navy); transition: width 0.4s ease;
}
.aph-feature-card:hover { transform: translateY(-10px); box-shadow: var(--aph-shadow-lg); border-color: var(--aph-navy-light); }
.aph-feature-card:hover::after { width: 100%; }
.aph-feature-icon {
    width: 60px; height: 60px; background: var(--aph-frost); border-radius: 16px;
    display: flex; align-items: center; justify-content: center; font-size: 28px;
    margin-bottom: 25px; transition: all 0.3s ease; color: var(--aph-navy);
}
.aph-feature-card:hover .aph-feature-icon { background: var(--aph-navy); color: var(--aph-white); }
.aph-feature-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--aph-navy); margin-bottom: 15px; }
.aph-feature-card p { font-size: 0.95rem; line-height: 1.6; color: var(--aph-slate); margin: 0; }

/* ══════════════════════════════════════════════════════════════
   8. GOOGLE REVIEWS
   ══════════════════════════════════════════════════════════════ */
.aph-reviews { padding: 100px 0; background: var(--aph-frost); }
.aph-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.aph-review-card {
    background: var(--aph-white); padding: 40px; border-radius: var(--aph-radius-lg);
    box-shadow: var(--aph-shadow-sm); transition: all 0.3s ease;
    border: 1px solid var(--aph-border); display: flex; flex-direction: column;
}
.aph-review-card:hover { transform: translateY(-8px); box-shadow: var(--aph-shadow-lg); border-color: var(--aph-celestial); }
.aph-review-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.aph-review-avatar {
    width: 50px; height: 50px; background: var(--aph-navy-light); color: var(--aph-white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem;
}
.aph-review-info h4 { margin: 0; font-size: 1.05rem; color: var(--aph-navy); }
.aph-review-stars { color: #ffc107; font-size: 0.9rem; display: flex; gap: 2px; }
.aph-review-text { font-size: 0.95rem; color: var(--aph-slate); line-height: 1.6; font-style: italic; flex-grow: 1; }
.aph-review-google-logo { margin-top: 20px; display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--aph-mute); font-weight: 600; }
.aph-review-google-logo svg { width: 16px; height: 16px; }

/* ══════════════════════════════════════════════════════════════
   9. FAQ SECTION
   ══════════════════════════════════════════════════════════════ */
.aph-faq { padding: 100px 0; background: var(--aph-white); }
.aph-faq-container { max-width: 900px; margin: 0 auto; }
.aph-faq-list { margin-top: 50px; }
.aph-faq-item { border: none; border-bottom: 1px solid var(--aph-border); margin-bottom: 0; border-radius: 0; overflow: hidden; transition: all 0.3s ease; }
.aph-faq-item:first-child { border-top: 1px solid var(--aph-border); }
.aph-faq-item.active { background: var(--aph-frost); border-bottom-color: var(--aph-celestial); }
.aph-faq-question {
    width: 100%; padding: 30px 20px; display: flex; align-items: center; justify-content: space-between;
    background: transparent; border: none; text-align: left; font-size: 1.1rem; font-weight: 600;
    color: var(--aph-navy); cursor: pointer; transition: all 0.2s ease; font-family: var(--aph-font); gap: 20px;
}
.aph-faq-item:hover .aph-faq-question { padding-left: 30px; color: var(--aph-navy-light); }
.aph-faq-chevron {
    width: 24px; height: 24px; flex-shrink: 0; color: var(--aph-navy-light);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--aph-white); border-radius: 50%; padding: 4px; box-shadow: var(--aph-shadow-sm);
}
.aph-faq-item.active .aph-faq-chevron { transform: rotate(180deg); background: var(--aph-navy); color: var(--aph-white); }
.aph-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); }
.aph-faq-item.active .aph-faq-answer { max-height: 1000px; transition: max-height 1s ease-in-out; }
.aph-faq-answer-inner { padding: 0 20px 30px 20px; font-size: 1rem; color: var(--aph-slate); line-height: 1.8; }

/* ══════════════════════════════════════════════════════════════
   10. CTA BANNER
   ══════════════════════════════════════════════════════════════ */
.aph-cta-banner {
    padding: 100px 0; background: linear-gradient(135deg, var(--aph-navy), var(--aph-navy-light));
    position: relative; overflow: hidden; text-align: center;
}
.aph-cta-content { position: relative; z-index: 2; }
.aph-cta-content h2 { font-size: 2.5rem; font-weight: 800; color: var(--aph-white); margin-bottom: 16px; }
.aph-cta-content p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.7); max-width: 600px; margin: 0 auto; }
.aph-cta-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════
   11. FOOTER
   ══════════════════════════════════════════════════════════════ */
.aph-footer { padding: 80px 0 40px; background: #0f1f3a; color: var(--aph-white); position: relative; }
.aph-footer-content { display: flex; justify-content: space-between; gap: 60px; margin-bottom: 60px; }
.aph-footer-main { flex: 1.2; display: flex; flex-direction: column; gap: 20px; }
.aph-footer-main img, .aph-footer-logo { height: 44px; width: auto; }
.aph-footer-main p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); line-height: 1.7; max-width: 300px; }
.aph-footer-social { display: flex; gap: 10px; margin-top: 8px; }
.aph-footer-social a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: var(--aph-radius-pill);
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7); font-size: 0.8rem; font-weight: 600;
    transition: all 0.25s ease; text-decoration: none;
}
.aph-footer-social a:hover {
    background: var(--aph-gold); color: var(--aph-navy);
    border-color: var(--aph-gold); transform: translateY(-2px);
}
.aph-footer-links { flex: 2; display: flex; gap: 60px; }
.aph-footer-column h4 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; color: var(--aph-gold); position: relative; padding-bottom: 12px; }
.aph-footer-column h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 24px; height: 2px; background: var(--aph-gold); border-radius: 1px; }
.aph-footer-column a { display: block; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 12px; transition: all 0.25s ease; }
.aph-footer-column a:hover { color: var(--aph-gold); padding-left: 4px; }
.aph-footer-column p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 14px; line-height: 1.5; }
.aph-footer-bottom {
    padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.82rem; color: rgba(255, 255, 255, 0.4);
}
.aph-footer-legal { display: flex; gap: 24px; }
.aph-footer-legal a { color: rgba(255, 255, 255, 0.4); transition: color 0.25s ease; }
.aph-footer-legal a:hover { color: var(--aph-gold); }

/* ══════════════════════════════════════════════════════════════
   PRINTING COST & ROYALTY CALCULATOR
   ══════════════════════════════════════════════════════════════ */
.aph-calculator { padding: 100px 0; background: linear-gradient(180deg, var(--aph-frost) 0%, var(--aph-white) 100%); }
.aph-calc-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1000px; margin: 0 auto; }
.aph-calc-form { background: var(--aph-white); border-radius: 20px; padding: 36px 32px; border: 1px solid var(--aph-border); box-shadow: var(--aph-shadow-soft); }
.aph-calc-form-title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; color: var(--aph-navy); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--aph-border); }
.aph-calc-form-title svg { color: var(--aph-celestial); }
.aph-calc-field { margin-bottom: 20px; }
.aph-calc-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--aph-slate); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.aph-calc-field input, .aph-calc-field select {
    width: 100%; padding: 12px 16px; font-size: 0.95rem; font-family: var(--aph-font);
    border: 1.5px solid var(--aph-border); border-radius: 12px;
    background: rgba(26, 58, 108, 0.02); color: var(--aph-ink);
    transition: all 0.25s ease; outline: none; -webkit-appearance: none; appearance: none;
}
.aph-calc-field input:focus, .aph-calc-field select:focus { border-color: var(--aph-celestial); box-shadow: 0 0 0 3px rgba(74, 127, 209, 0.12); background: var(--aph-white); }
.aph-calc-field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.aph-calc-hint { display: block; font-size: 0.72rem; color: var(--aph-mute); margin-top: 4px; }

.aph-calc-results { position: sticky; top: 100px; align-self: start; }
.aph-calc-results-inner { background: var(--aph-navy); border-radius: 20px; padding: 36px 32px; color: var(--aph-white); box-shadow: 0 20px 50px rgba(26, 58, 108, 0.2); }
.aph-calc-results-title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; color: var(--aph-white); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.aph-calc-results-title svg { color: var(--aph-gold); }
.aph-calc-group { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.aph-calc-group:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.aph-calc-group-label { font-size: 0.72rem; font-weight: 700; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.aph-calc-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.aph-calc-row span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.aph-calc-row-highlight { background: rgba(255, 255, 255, 0.06); border-radius: 8px; padding: 10px 12px; margin-top: 6px; font-weight: 700; color: var(--aph-white); }
.aph-calc-row-highlight span:last-child { color: var(--aph-blue-bright); font-size: 1.05rem; }
.aph-calc-row-total { background: rgba(255, 255, 255, 0.08); border-radius: 8px; padding: 10px 12px; margin-top: 6px; font-weight: 700; color: var(--aph-white); }
.aph-calc-row-total span:last-child { color: var(--aph-white); font-size: 1.1rem; }
.aph-calc-royalty-group { background: rgba(255, 193, 7, 0.08); border-radius: 12px; padding: 20px !important; border: 1px solid rgba(255, 193, 7, 0.15) !important; margin-bottom: 0 !important; }
.aph-calc-row-royalty { background: rgba(255, 193, 7, 0.15); border-radius: 8px; padding: 12px 14px; margin-top: 8px; font-weight: 800; color: var(--aph-gold); font-size: 1rem; }
.aph-calc-row-royalty span:last-child { color: var(--aph-gold); font-size: 1.25rem; }
.aph-calc-royalty-note { font-size: 0.78rem; color: rgba(255, 193, 7, 0.8); margin-top: 12px; text-align: center; font-weight: 600; }
.aph-calc-royalty-note span { color: var(--aph-gold); font-weight: 800; }

/* ══════════════════════════════════════════════════════════════
   OUR WORK — Portfolio Showcase
   ══════════════════════════════════════════════════════════════ */
.aph-portfolio { padding: 100px 0; background: var(--aph-white); overflow: hidden; }
.aph-portfolio-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; }
.aph-portfolio-tab {
    padding: 12px 32px; border-radius: var(--aph-radius-pill); font-size: 0.88rem;
    font-weight: 700; font-family: var(--aph-font); cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid var(--aph-border); background: var(--aph-white);
    color: var(--aph-slate); text-transform: uppercase; letter-spacing: 0.04em;
}
.aph-portfolio-tab:hover { border-color: var(--aph-navy-light); color: var(--aph-navy); background: rgba(26, 58, 108, 0.04); }
.aph-portfolio-tab.active { background: linear-gradient(135deg, var(--aph-navy), var(--aph-navy-light)); color: var(--aph-white); border-color: var(--aph-navy); box-shadow: 0 4px 16px rgba(26, 58, 108, 0.25); }
.aph-portfolio-grid-container { position: relative; min-height: 400px; }
.aph-portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; transition: opacity 0.4s ease, transform 0.4s ease; }
.aph-portfolio-grid.hidden { display: none; }
.aph-portfolio-grid.fade-in { animation: aph-portfolio-fadein 0.5s ease both; }
@keyframes aph-portfolio-fadein { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.aph-portfolio-grid .aph-portfolio-item:nth-child(5n+3) { grid-column: span 2; }
.aph-portfolio-item {
    position: relative; border-radius: 14px; overflow: hidden; cursor: pointer;
    background: var(--aph-frost); box-shadow: var(--aph-shadow-soft);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.aph-portfolio-item::before { content: ''; display: block; padding-top: 75%; }
.aph-portfolio-item:hover { transform: translateY(-6px); box-shadow: var(--aph-shadow-lg); }
.aph-portfolio-item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.aph-portfolio-item:hover img { transform: scale(1.08); }
.aph-portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26, 58, 108, 0.85) 0%, rgba(26, 58, 108, 0.3) 40%, transparent 70%);
    opacity: 0; transition: opacity 0.35s ease; display: flex; flex-direction: column;
    justify-content: flex-end; padding: 24px;
}
.aph-portfolio-item:hover .aph-portfolio-overlay { opacity: 1; }
.aph-portfolio-overlay-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.7);
    width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.aph-portfolio-item:hover .aph-portfolio-overlay-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.aph-portfolio-overlay-icon svg { width: 24px; height: 24px; color: var(--aph-white); }
.aph-portfolio-overlay-label { font-size: 0.78rem; font-weight: 700; color: var(--aph-gold); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.aph-portfolio-overlay-title { font-size: 1rem; font-weight: 700; color: var(--aph-white); line-height: 1.3; }

/* ── Lightbox Modal ────────────────────────────────────────── */
.aph-lightbox {
    position: fixed; inset: 0; z-index: 10000; background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease; padding: 40px;
}
.aph-lightbox.active { opacity: 1; visibility: visible; }
.aph-lightbox-img { max-width: 90%; max-height: 85vh; border-radius: 12px; box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4); transform: scale(0.9); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); object-fit: contain; }
.aph-lightbox.active .aph-lightbox-img { transform: scale(1); }
.aph-lightbox-close {
    position: absolute; top: 24px; right: 32px; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: all 0.25s ease; color: var(--aph-white); font-size: 1.5rem; line-height: 1;
}
.aph-lightbox-close:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.1); }
.aph-lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
    border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: all 0.25s ease; color: var(--aph-white);
}
.aph-lightbox-nav:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-50%) scale(1.1); }
.aph-lightbox-prev { left: 24px; }
.aph-lightbox-next { right: 24px; }
.aph-lightbox-nav svg { width: 22px; height: 22px; }

/* ── Floating Action Buttons ───────────────────────────────── */
.aph-fab-container { position: fixed; bottom: 32px; right: 32px; display: flex; flex-direction: column; gap: 12px; z-index: 999; }
.aph-fab { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--aph-white); font-size: 1.5rem; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); transition: all 0.25s ease; text-decoration: none; }
.aph-fab:hover { transform: scale(1.1); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
.aph-fab-whatsapp { background: #25D366; }
.aph-fab-phone { background: var(--aph-navy); }

/* ── Utility ─────────────────────────────────────────── */
.aph-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ══════════════════════════════════════════════════════════════
   15. AUTHENTICATION (Login / Register Standalone Pages)
   ══════════════════════════════════════════════════════════════ */
.aph-auth-wrapper { position: relative; background: var(--aph-frost); overflow: hidden; }
.aph-auth-bg-decor {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(74, 127, 209, 0.15) 0%, transparent 60%);
    z-index: 0; filter: blur(60px); opacity: 0.8;
}
.aph-auth-card {
    background: var(--aph-white);
    border-radius: 24px;
    box-shadow: var(--aph-shadow-lg), 0 0 0 1px rgba(26, 58, 108, 0.05);
    padding: 40px 48px;
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 2;
}
.aph-auth-brand { text-align: center; margin-bottom: 32px; }
.aph-auth-icon { font-size: 3rem; margin-bottom: 12px; }
.aph-auth-brand h2 { font-size: 1.8rem; font-weight: 800; color: var(--aph-navy); margin-bottom: 8px; letter-spacing: -0.02em; }
.aph-auth-brand p { font-size: 0.95rem; color: var(--aph-slate); line-height: 1.5; }
.aph-auth-form { display: flex; flex-direction: column; gap: 20px; }
.aph-auth-footer { text-align: center; margin-top: 24px; font-size: 0.95rem; color: var(--aph-slate); }
.aph-auth-footer a { color: var(--aph-celestial); font-weight: 600; text-decoration: none; transition: color 0.25s; }
.aph-auth-footer a:hover { color: var(--aph-navy); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .aph-hero h1 { font-size: 2.6rem; }
    .aph-features-grid { grid-template-columns: repeat(2, 1fr); }
    .aph-footer-content { flex-direction: column; gap: 40px; }
    .aph-portfolio-grid { grid-template-columns: repeat(3, 1fr); }
    .aph-portfolio-grid .aph-portfolio-item:nth-child(5n+3) { grid-column: span 1; }
    .aph-portfolio-grid .aph-portfolio-item:nth-child(4n+3) { grid-column: span 2; }
}

@media (max-width: 900px) {
    .aph-hero-layout { flex-direction: column; text-align: center; gap: 40px; }
    .aph-hero-content { max-width: 100%; }
    .aph-hero-badge { margin-left: auto; margin-right: auto; }
    .aph-hero-ctas { justify-content: center; }
    .aph-hero-book-wrap { display: none; }
    
    .aph-auth-card { padding: 32px 24px; border-radius: 20px; }
    
    .aph-nav-hamburger { display: flex; }
    .aph-nav-links {
        position: fixed; top: 0; right: -100%; width: 340px; max-width: 85vw; height: 100vh;
        background: var(--aph-navy); flex-direction: column; padding: 100px 32px 40px;
        gap: 0; transition: right 0.3s ease; z-index: 1001; box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
        overflow-y: auto; overflow-x: hidden;
    }
    .aph-nav-links.open { right: 0; }
    .aph-nav-links li { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .aph-nav-links > li > a { display: flex; justify-content: space-between; padding: 16px 0; font-size: 1.05rem; }
    .aph-nav-links > li > a::after { display: none; /* remove hover line */ }
    
    /* Mobile Dropdown Accordion */
    .aph-nav-dropdown:hover .aph-dropdown-menu { display: none; } /* disable hover trigger */
    .aph-nav-dropdown:hover .aph-chevron { transform: none; }
    .aph-dropdown-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        background: rgba(0, 0, 0, 0.15); box-shadow: none; border: none; border-radius: 0;
        padding: 0; display: none; /* hidden by default */
    }
    .aph-nav-dropdown.active .aph-dropdown-menu { display: block; }
    .aph-nav-dropdown.active .aph-dropdown-trigger { color: var(--aph-gold); }
    .aph-nav-dropdown.active .aph-chevron { transform: rotate(180deg); }
    .aph-dropdown-menu a { padding: 14px 24px; font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.04); }

    .aph-nav-close { display: block; }
    
    .aph-nav-search-form { display: none; } /* Hide from top header */
    .aph-nav-mobile-search { display: block; border-bottom: none !important; margin-bottom: 8px; margin-top: 12px; }
    
    .aph-nav-cart { display: none; } /* Hide from top header to make room for CTA */
    
    /* Make the relocated inline-cart item look like the rest of the links */
    .aph-mobile-only-cart { display: block !important; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .aph-mobile-only-cart a { padding: 16px 0; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; }

    .aph-desktop-cta { display: inline-flex; } /* Show in top header */
    .aph-desktop-cta.aph-nav-cta { padding: 8px 18px; font-size: 0.82rem; }
    .aph-cta-desktop-text { display: none; }
    .aph-cta-mobile-text { display: inline; }
    
    .aph-nav-utils { gap: 14px; }
    
    .aph-mobile-cta { display: block; padding-top: 16px; border: none !important; }
    .aph-mobile-cta a { justify-content: center; }
    .aph-hero h1 { font-size: 2.4rem; }
    .aph-process-grid { grid-template-columns: 1fr; }
    .aph-calc-wrapper { grid-template-columns: 1fr; }
    .aph-calc-results { position: static; }
    .aph-packages-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .aph-package-card.featured { transform: none; }
    .aph-package-card.featured:hover { transform: translateY(-5px); }
    .aph-books-grid { grid-template-columns: repeat(2, 1fr); }
    .aph-reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .aph-footer-links { gap: 40px; }
}

@media (max-width: 768px) {
    .aph-portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .aph-portfolio-grid .aph-portfolio-item:nth-child(5n+3),
    .aph-portfolio-grid .aph-portfolio-item:nth-child(4n+3) { grid-column: span 1; }
    .aph-portfolio-grid .aph-portfolio-item:nth-child(3n+1) { grid-column: span 2; }
    .aph-portfolio-tabs { gap: 8px; }
    .aph-portfolio-tab { padding: 10px 24px; font-size: 0.82rem; }
    .aph-features-grid { grid-template-columns: 1fr; }
    .aph-faq-question { font-size: 1rem; padding: 20px 10px; }
    .aph-faq-item:hover .aph-faq-question { padding-left: 15px; }
    .aph-section-title { font-size: 1.75rem; }
    .aph-cta-content h2 { font-size: 1.75rem; }
    .aph-cta-buttons { flex-direction: column; align-items: center; }
    .aph-footer-content { flex-direction: column; gap: 32px; }
    .aph-footer-links { flex-direction: column; gap: 32px; }
    .aph-footer-social { flex-wrap: wrap; }
    .aph-footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .aph-lightbox-prev { left: 12px; }
    .aph-lightbox-next { right: 12px; }
    .aph-lightbox-nav { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    .aph-container { padding: 0 16px; }
    .aph-hero { padding: 100px 0 60px; }
    .aph-hero h1 { font-size: 1.9rem; }
    .aph-hero-ctas { flex-direction: column; gap: 12px; }
    .aph-btn { width: 100%; justify-content: center; padding: 14px 28px; }
    .aph-books-grid { grid-template-columns: 1fr; }
    .aph-package-price { font-size: 2.5rem; }
    .aph-portfolio-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .aph-portfolio-grid .aph-portfolio-item:nth-child(3n+1) { grid-column: span 2; }
    .aph-portfolio-item::before { padding-top: 80%; }
    .aph-faq-question { font-size: 0.85rem; padding: 16px 20px; }
    .aph-fab-container { bottom: 16px; right: 16px; }
    .aph-fab { width: 48px; height: 48px; font-size: 1.2rem; }
    .aph-calc-form, .aph-calc-results-inner { padding: 24px 20px; }
    .aph-section-title { font-size: 1.6rem; }
    .aph-reviews-grid { grid-template-columns: 1fr; }
    .aph-footer-content { flex-direction: column; }
    .aph-modal { padding: 30px 24px; border-radius: 20px; }
}

/* ══════════════════════════════════════════════════════════════
   11.5 CONTACT US PAGE
   ══════════════════════════════════════════════════════════════ */
.aph-contact-hero {
    position: relative; padding: 180px 0 120px; text-align: center;
    background-color: var(--aph-navy); overflow: hidden;
}
.aph-contact-hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(44, 82, 130, 0.8) 0%, rgba(26, 58, 108, 1) 100%);
    opacity: 0.8;
}
.aph-contact-hero-content { position: relative; z-index: 2; }
.aph-contact-hero h1 { font-size: 3.5rem; font-weight: 800; color: var(--aph-white); margin-bottom: 16px; letter-spacing: -0.02em; }
.aph-contact-hero p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.8); max-width: 600px; margin: 0 auto; line-height: 1.6; }

.aph-contact-main { padding: 80px 0 100px; background: var(--aph-frost); }
.aph-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }

.aph-contact-intro { font-size: 1.1rem; color: var(--aph-slate); margin-bottom: 40px; max-width: 480px; }
.aph-contact-cards { display: flex; flex-direction: column; gap: 32px; }
.aph-contact-card { display: flex; gap: 24px; align-items: flex-start; }
.aph-contact-icon {
    width: 56px; height: 56px; flex-shrink: 0;
    background: rgba(255, 193, 7, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--aph-gold-dark);
}
.aph-contact-icon svg { width: 28px; height: 28px; }
.aph-contact-details h3 { font-size: 1.25rem; font-weight: 700; color: var(--aph-navy); margin-bottom: 8px; }
.aph-contact-details p { font-size: 1rem; color: var(--aph-slate); line-height: 1.6; margin-bottom: 4px; }
.aph-contact-details a { color: var(--aph-celestial); font-weight: 500; transition: color 0.2s ease; }
.aph-contact-details a:hover { color: var(--aph-navy); }
.aph-whatsapp-link {
    display: inline-block; margin-top: 8px; font-size: 0.9rem; font-weight: 600;
    color: #25D366 !important; text-decoration: none;
}
.aph-whatsapp-link:hover { color: #128C7E !important; }

.aph-contact-form-box {
    background: var(--aph-white); padding: 50px; border-radius: 24px;
    box-shadow: var(--aph-shadow-lg); border: 1px solid var(--aph-border);
}
.aph-contact-form-box h3 { font-size: 1.75rem; font-weight: 800; color: var(--aph-navy); margin-bottom: 30px; }
.aph-contact-form { display: flex; flex-direction: column; gap: 20px; }
.aph-contact-form .aph-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aph-textarea { resize: vertical; min-height: 140px; }

@media (max-width: 992px) {
    .aph-contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .aph-contact-hero { padding: 140px 0 80px; }
    .aph-contact-hero h1 { font-size: 2.8rem; }
}
@media (max-width: 768px) {
    .aph-contact-form .aph-form-row { grid-template-columns: 1fr; }
    .aph-contact-form-box { padding: 30px 24px; }
}

/* ══════════════════════════════════════════════════════════════
   12. REGISTRATION MODAL
   ══════════════════════════════════════════════════════════════ */
.aph-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 31, 58, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
    padding: 20px; overflow-y: auto;
}
.aph-modal-overlay.active { opacity: 1; visibility: visible; }
.aph-modal {
    background: var(--aph-white); width: 100%; max-width: 480px;
    border-radius: 24px; padding: 40px; box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    position: relative; transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--aph-border);
    margin: auto;
}
.aph-modal-overlay.active .aph-modal { transform: translateY(0) scale(1); }
.aph-modal-close {
    position: absolute; top: 20px; right: 20px;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--aph-frost); border: none;
    font-size: 1.5rem; line-height: 1; color: var(--aph-slate);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all var(--aph-transition); z-index: 10;
}
.aph-modal-close:hover { background: rgba(239, 68, 68, 0.1); color: #ef4444; transform: rotate(90deg); }

.aph-modal-body { display: flex; flex-direction: column; gap: 24px; }
.aph-modal-brand { text-align: center; }
.aph-modal-icon { font-size: 2.5rem; margin-bottom: 12px; }
.aph-modal-brand h2 { font-size: 1.6rem; font-weight: 800; color: var(--aph-navy); margin-bottom: 8px; letter-spacing: -0.02em; }
.aph-modal-brand p { font-size: 0.9rem; color: var(--aph-slate); line-height: 1.5; }

.aph-modal-form { display: flex; flex-direction: column; gap: 16px; }
.aph-form-group { display: flex; flex-direction: column; gap: 6px; }
.aph-form-group label { font-size: 0.82rem; font-weight: 600; color: var(--aph-slate); text-transform: uppercase; letter-spacing: 0.04em; }
.aph-form-group label .required { color: #ef4444; }
.aph-input {
    width: 100%; padding: 12px 16px; font-size: 0.95rem; font-family: var(--aph-font);
    border: 1.5px solid var(--aph-border); border-radius: 12px; color: var(--aph-ink);
    background: rgba(26, 58, 108, 0.02); transition: all 0.25s ease; outline: none;
}
.aph-input:focus { border-color: var(--aph-celestial); box-shadow: 0 0 0 3px rgba(74, 127, 209, 0.12); background: var(--aph-white); }
.aph-input::placeholder { color: var(--aph-mute); }

.aph-message { display: none; padding: 12px 16px; border-radius: 12px; font-size: 0.88rem; font-weight: 500; font-family: var(--aph-font); }
.aph-message.success { display: block; background: rgba(16, 185, 129, 0.1); color: #059669; border: 1px solid rgba(16, 185, 129, 0.2); }
.aph-message.error { display: block; background: rgba(239, 68, 68, 0.1); color: #dc2626; border: 1px solid rgba(239, 68, 68, 0.2); }

.aph-modal-footer { text-align: center; margin-top: 8px; font-size: 0.9rem; color: var(--aph-slate); }
.aph-link { color: var(--aph-celestial); font-weight: 600; text-decoration: none; transition: color 0.25s ease; }
.aph-link:hover { color: var(--aph-navy); }

/* Loader Spinner */
.aph-spinner { width: 20px; height: 20px; animation: rotate 2s linear infinite; display: block; }
.aph-spinner .path { stroke: var(--aph-navy); stroke-linecap: round; animation: dash 1.5s ease-in-out infinite; }
@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}
