:root {
    --bg-color: #0A0F1D; /* Deep Navy Blue */
    --bg-gradient: radial-gradient(circle at top right, #111A30 0%, #060913 80%);
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --accent-color: #D4AF37; /* Champagne Gold */
    --accent-hover: #F1D570;
    --glass-bg: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-glow: rgba(212, 175, 55, 0.15);
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --gold-gradient: linear-gradient(135deg, #F1D570 0%, #D4AF37 50%, #9C7207 100%);
}

[data-theme="light"] {
    --bg-color: #ffffff;
    --bg-gradient: radial-gradient(circle at top right, #ffffff 0%, #f0f4f8 80%);
    --text-primary: #000000;
    --text-secondary: #333333;
    --accent-color: #D4AF37;
    --accent-hover: #B8860B;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --gold-gradient: linear-gradient(135deg, #F1D570 0%, #D4AF37 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--accent-color);
    color: #000;
}

::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    border: 3px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

body {
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: 0.1s;
}

/* Background Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(180px);
    z-index: -1;
    opacity: 0.8;
    animation: float 20s infinite ease-in-out alternate;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: #D4AF37;
    top: -10%;
    left: -10%;
    opacity: 0.15;
}

.shape-2 {
    width: 700px;
    height: 700px;
    background: #1E293B;
    top: 40%;
    right: -20%;
    animation-delay: -5s;
    opacity: 0.4;
}

.shape-3 {
    width: 500px;
    height: 500px;
    background: #D4AF37;
    bottom: -10%;
    left: 20%;
    animation-delay: -10s;
    opacity: 0.1;
}

.shape-4 {
    width: 450px;
    height: 450px;
    background: #334155;
    top: 20%;
    right: 10%;
    animation-delay: -3s;
    opacity: 0.3;
}

.shape-5 {
    width: 550px;
    height: 550px;
    background: #111A30;
    bottom: 20%;
    left: -5%;
    animation-delay: -7s;
    opacity: 0.5;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(10deg); }
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}
[data-theme="light"] .glass-panel {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Typography & Utils */
h1, h2, h3, h4, h5, h6, .logo, .btn {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0; height: 100%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn.primary {
    background: var(--gold-gradient);
    background-size: 200% auto;
    color: #0A0F1D;
    font-weight: 700;
    border: none;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3), inset 0 1px 1px rgba(255,255,255,0.6);
    transition: var(--transition);
}

.btn.primary:hover {
    background-position: right center;
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.4), inset 0 1px 1px rgba(255,255,255,0.8);
    transform: translateY(-4px) scale(1.02);
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn.secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-hover);
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #F1D570 40%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
    filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.15));
}
[data-theme="light"] .section-title {
    background: linear-gradient(135deg, #0A0F1D 0%, #1E293B 40%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.line {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 22px 6%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;  /* always transparent — sits over the hero slider */
}

.navbar.scrolled {
    background: rgba(10, 15, 29, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 5%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a,
.navbar.scrolled .theme-btn {
    color: #ffffff !important;
}

.navbar.scrolled .logo span {
    color: var(--accent-color) !important;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    font-family: 'Outfit', sans-serif;
}

.logo-swoosh {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    transition: width 0.4s ease;
}

.logo:hover .logo-swoosh {
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.theme-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.theme-btn:hover {
    color: var(--accent-color);
}

.btn-contact {
    background: var(--gold-gradient);
    padding: 10px 28px !important;
    border-radius: 25px;
    color: #000 !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: none !important;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: #000 !important;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==============================
   HERO SLIDER — matches reference
============================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;     /* sits behind the transparent navbar */
}

/* Make each swiper-slide fill the full height */
.hero-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* The background image layer */
.hero-slide-bg {
    position: absolute;
    inset: 0;          /* top/right/bottom/left: 0 shorthand */
    z-index: 0;
    overflow: hidden;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transform-origin: center center;
}

/* Ken Burns zoom on active slide */
.swiper-slide-active .hero-slide-bg img {
    animation: kenBurns 9s ease-out forwards;
}

@keyframes kenBurns {
    0%   { transform: scale(1); }
    100% { transform: scale(1.07); }
}

/* Dark gradient overlay — strong on left (text side), fades right */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;   /* text anchored to bottom like in reference */
    padding: 0 6% 10%;       /* left padding, bottom padding for text */
    background:
        linear-gradient(to right,
            rgba(5, 10, 25, 0.80) 0%,
            rgba(5, 10, 25, 0.55) 50%,
            rgba(5, 10, 25, 0.10) 100%),
        linear-gradient(to top,
            rgba(0, 0, 0, 0.60) 0%,
            transparent 50%);
}

/* Content wrapper */
.hero-content-wrapper {
    max-width: 680px;
    z-index: 10;
    width: 100%;
}

/* Slide-in animation per slide */
.hero-text-content {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease 0.4s, transform 0.9s ease 0.4s;
}

.swiper-slide-active .hero-text-content {
    opacity: 1;
    transform: translateY(0);
}

/* SUBTITLE  e.g. "VISIONARY & AUTHOR" */
.hero-subtitle {
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-subtitle::before {
    content: '';
    display: inline-block;
    width: 35px;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 8px rgba(212,175,55,0.8);
    flex-shrink: 0;
}

/* MAIN TITLE */
.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-title span {
    color: var(--accent-color);
    display: block;
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.45));
}

/* DESCRIPTION */
.hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.75;
    max-width: 540px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* HERO BUTTONS */
.hero-btns {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* ANIMATED GOLDEN LINES — SVG wave across the slide */
.animated-golden-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;          /* above the dark overlay, below badges */
    overflow: hidden;
}

.animated-golden-lines svg {
    position: absolute;
    bottom: 25%;         /* position the wave in lower-middle area like reference */
    left: 0;
    width: 100%;
    height: 40%;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.7));
}

/* Individual line animation — draw and fade */
.gold-line {
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: drawGoldLine 8s infinite ease-in-out;
}

.line-1 {
    animation-delay: 0s;
    stroke-dasharray: 1600;
}
.line-2 {
    animation-delay: 1.5s;
    stroke-dasharray: 1300;
}
.line-3 {
    animation-delay: 3s;
    stroke-dasharray: 1800;
}

@keyframes drawGoldLine {
    0%   { stroke-dashoffset: 1600; opacity: 0; }
    15%  { opacity: 0.7; }
    70%  { opacity: 0.7; }
    100% { stroke-dashoffset: -1600; opacity: 0; }
}

/* FLOATING BADGES */
.hero-badges-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.hero-slider .floating-badge {
    position: absolute;
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(8, 12, 30, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3), inset 0 0 10px rgba(212,175,55,0.05);
    animation: floatBadge 4s ease-in-out infinite alternate;
    white-space: nowrap;
}

.hero-slider .floating-badge i {
    color: var(--accent-color);
    font-size: 1rem;
}

@keyframes floatBadge {
    0%   { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

@keyframes badgeFlyAway {
    0% {
        transform: scale(1) translate(0, 0) rotate(0deg);
        opacity: 1;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    20% {
        transform: scale(1.3) translate(0, -20px) rotate(-5deg);
        opacity: 1;
        box-shadow: 0 15px 30px rgba(212, 175, 55, 0.6);
    }
    100% {
        transform: scale(0.1) translate(var(--fly-x, 500px), var(--fly-y, -800px)) rotate(var(--fly-rot, 180deg));
        opacity: 0;
        box-shadow: 0 0 0 rgba(0,0,0,0);
    }
}

.floating-badge.fly-away-active {
    animation: badgeFlyAway 1s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards !important;
    pointer-events: none;
}

/* Badge positions — matching reference image layout */
.hero-slider .badge-1 { top: 30%;  left: 46%;  animation-delay: 0s;    }  /* centre — "Entrepreneur" */
.hero-slider .badge-2 { top: 22%;  right: 10%; animation-delay: 0.8s;  }  /* top-right — "Author" */
.hero-slider .badge-3 { top: 55%;  right: 22%; animation-delay: 1.6s;  }  /* mid-right — "Edupreneur" */
.hero-slider .badge-4 { bottom: 18%; right: 13%; animation-delay: 2.4s; }  /* bottom-right — "Lawyer" */

/* SWIPER PREV / NEXT buttons */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: 700;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

/* SWIPER PAGINATION DOTS */
.hero-slider .swiper-pagination {
    bottom: 30px;
}

.hero-slider .swiper-pagination-bullet {
    background: rgba(255,255,255,0.4);
    opacity: 1;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--accent-color);
    width: 32px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(212,175,55,0.6);
}

/* General section padding (all sections except the full-screen slider) */
section:not(.hero-slider) {
    padding: 7rem 6%;
    max-width: 1500px;
    margin: 0 auto;
}

/* About Section */
.about-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-stats {
    flex: 1;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text {
    flex: 1;
}

.highlight-text {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Extended About Section */
.mt-3 {
    margin-top: 1.5rem;
}

.extended-about {
    margin-top: 3rem;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.8s ease-in-out, opacity 0.8s ease-in-out, padding 0.8s ease-in-out;
}

.extended-about.expanded {
    max-height: 4000px;
    opacity: 1;
    padding-bottom: 2rem;
}

.extended-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.extended-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.extended-text p strong {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Beautiful Premium Image Grid */
.extended-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    grid-auto-rows: 250px;
}

.extended-images-grid .grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: var(--transition);
    cursor: pointer;
}

.extended-images-grid .grid-img:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.2);
    border: 1px solid var(--accent-color);
}

@media (min-width: 900px) {
    .extended-images-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 250px);
    }
    
    .img-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
    .img-2 {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }
    .img-3 {
        grid-column: 4 / 5;
        grid-row: 1 / 2;
    }
    .img-4 {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }
    .img-5 {
        grid-column: 4 / 5;
        grid-row: 2 / 3;
    }
}

/* Achievements */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 24px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    transition: all 0.7s ease;
    z-index: -1;
    pointer-events: none;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -2;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.card:hover::before {
    left: 200%;
}

.card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 65px;
    height: 65px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.05);
}

.card:hover .card-icon {
    background: var(--gold-gradient);
    border-color: transparent;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.card-icon i {
    font-size: 2rem;
    color: var(--accent-color);
    transition: all 0.5s ease;
    animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
    0% { transform: translateY(0) scale(1); opacity: 0.8; filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.2)); }
    50% { transform: translateY(-3px) scale(1.15); opacity: 1; filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.9)); }
    100% { transform: translateY(0) scale(1); opacity: 0.8; filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.2)); }
}

.card:hover .card-icon i {
    color: #0A0F1D;
    animation: none;
    transform: scale(1.1);
    filter: none;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
}

/* Books Section */
.books-slider {
    width: 100%;
    padding: 2rem 0;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.book-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 24px;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    transition: all 0.7s ease;
    z-index: -1;
    pointer-events: none;
}

.book-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -2;
    pointer-events: none;
}

.book-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.book-card:hover::before {
    left: 200%;
}

.book-card:hover::after {
    opacity: 1;
}

.book-card img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
}

.book-card:hover img {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Book Details Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show-modal {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 900px;
    width: 90%;
    padding: 3rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    transform: translateY(50px) scale(0.95);
    transition: transform 0.4s ease;
}

.modal.show-modal .modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.modal-image {
    flex: 0 0 300px;
}

.modal-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.modal-details {
    flex: 1;
}

.modal-details h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.modal-line {
    margin: 1.5rem 0;
    width: 40px;
    height: 2px;
}

.synopsis {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2) 50%, transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-hover);
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-item:hover {
    box-shadow: 0 25px 50px rgba(0, 229, 255, 0.25), 0 0 0 1px var(--accent-color);
    transform: translateY(-10px) scale(1.02);
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Contact Section */
.contact-container {
    display: flex;
    padding: 4rem;
    gap: 4rem;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.btn-submit {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .title {
        font-size: 3.5rem;
    }
    
    .description {
        margin: 0 auto 2rem;
    }

    .badge-1 { left: 0; top: 5%; }
    .badge-2 { right: 0; top: 5%; }
    .badge-3 { right: 0; bottom: 5%; }
    .badge-4 { left: 0; bottom: 5%; }

    .about-container {
        flex-direction: column;
    }

    .modal-body {
        flex-direction: column;
        text-align: center;
    }

    .modal-line {
        margin: 1.5rem auto;
    }

    .modal-content {
        padding: 2rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .contact-container {
        flex-direction: column;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5,5,5,0.95);
        flex-direction: column;
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .title { font-size: 2.8rem; }
    .about-stats { grid-template-columns: 1fr; padding: 2rem; }
}

/* Floating Contact Widget */
.floating-contact {
    position: fixed;
    bottom: 110px;
    right: 30px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: #000;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.contact-icon:hover {
    transform: scale(1.1);
}

.contact-card {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    padding: 1.5rem;
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.contact-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.contact-card-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.contact-card-header h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.contact-card-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.contact-card-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--accent-color);
    font-weight: 500;
    border-bottom: 2px solid var(--accent-color);
}

.contact-tab-content {
    display: none;
}

.contact-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-tab-content p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact-tab-content p i {
    color: var(--accent-color);
}

.contact-common {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #fff;
    padding: 8px 15px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    transition: var(--transition);
}

.contact-link:hover {
    background: rgba(255,255,255,0.1);
}

.contact-link.whatsapp {
    background: #25D366;
    color: #fff;
}

.contact-link.whatsapp:hover {
    background: #128C7E;
}

.gallery-item {
    cursor: pointer;
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #000;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
    transition: var(--transition);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    transform-origin: bottom right;
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chatbot-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(0, 0, 0, 0.5));
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-theme="light"] .chatbot-header {
    background: rgba(255, 255, 255, 0.5);
}

.chatbot-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chatbot-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.chatbot-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.online-status {
    font-size: 0.8rem;
    color: #4ade80;
}

.close-chat {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-chat:hover {
    color: var(--accent-color);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.message.bot {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.message.user {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chatbot-input {
    padding: 15px 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 12px 18px;
    border-radius: 20px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}

.chatbot-input input:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    color: #000;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.chatbot-input button:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .chatbot-window {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        z-index: 1001;
    }
}
