@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-deep: #FAF6F0; /* Luxurious Champagne Cream */
    --bg-dark: #F3ECE5; /* Rich Warm Linen Sand */
    --primary: #1E110A; /* Ultra-deep Roast Espresso Velvet */
    --primary-glow: rgba(30, 17, 10, 0.08);
    --secondary: #DCA842; /* Vibrant 24K Luxury Amber Gold */
    --secondary-glow: rgba(220, 168, 66, 0.25);
    --crema: #E76F51; /* Competition Espresso Crema Orange (adds brilliant life!) */
    --crema-glow: rgba(231, 111, 81, 0.15);
    --leaf-green: #2D7252; /* Premium Organic Coffee Leaf Green */
    --leaf-glow: rgba(45, 114, 82, 0.15);
    --cherry-red: #C83E3E; /* Ripe Coffee Cherry Crimson Red */
    --cherry-glow: rgba(200, 62, 62, 0.15);
    --text-main: #1E110A; /* Clean high-contrast velvet text */
    --text-muted: #5C4F46; /* Warm chocolate-grey for readable body copy */
    --accent: #ffffff;
    --glass: rgba(255, 255, 255, 0.85); /* Rich thick premium glass */
    --glass-border: rgba(220, 168, 66, 0.15); /* Glowing micro-gold borders */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-deep);
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png'); /* Subtle paper texture */
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, .heading-font {
    font-family: 'Outfit', sans-serif;
}

/* Animation Primitives */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
}

.reveal-up.active { animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.reveal-left.active { animation: fadeInLeft 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.reveal-right.active { animation: fadeInRight 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.reveal-scale.active { animation: scaleUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

.float-anim {
    animation: float 4s ease-in-out infinite;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

/* Glassmorphism */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.badge-container {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    z-index: 1;
}

.badge {
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary) !important;
    border: 1px solid rgba(30, 17, 10, 0.12);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(30, 17, 10, 0.04);
    backdrop-filter: blur(4px);
}

.badge.gold {
    background: linear-gradient(135deg, var(--secondary) 0%, #B8860B 100%);
    color: #fff !important;
    border: none;
    box-shadow: 0 6px 15px rgba(220, 168, 66, 0.3);
}

/* Hexagonal Motif */
.hex-container {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.hex-container img {
    width: 95%;
    height: 95%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    object-fit: cover;
}

.hex-border {
    padding: 2px;
    background: var(--secondary);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(247, 243, 239, 0.8); /* Permanent frosted background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(49, 33, 23, 0.05);
}

#navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(247, 243, 239, 0.98);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

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

.logo-container img {
    height: 80px;
    width: auto;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .logo-container img {
        height: 55px;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 3px;
}

/* Mobile Nav Styles */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        width: 70%;
        height: 100vh;
        background: var(--bg-deep);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    /* Hamburger Animation */
    #mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
    #mobile-menu.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px; /* Space for fixed navbar */
    background: radial-gradient(circle at 80% 20%, rgba(220, 168, 66, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(231, 111, 81, 0.1) 0%, transparent 50%),
                var(--bg-deep);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-deep) 0%, transparent 100%);
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 30%, #4E2F1D 70%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: linear-gradient(135deg, var(--primary) 0%, #3a2215 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 25px rgba(30, 17, 10, 0.20);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(220, 168, 66, 0.4);
    background: linear-gradient(135deg, var(--secondary) 0%, #b8860b 100%);
    color: #fff !important;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 20px 20px 0 var(--primary);
}

.section-tag {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    padding: 2.5rem;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meta-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
    background: var(--bg-dark);
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1.5rem 0;
}

.course-card .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.course-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Process Section */
.process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.process-step:nth-child(even) {
    direction: rtl;
}

.process-step:nth-child(even) .process-content {
    direction: ltr;
}

.process-image img {
    border-radius: 12px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    .section-padding {
        padding: var(--section-padding);
    }

    .hero h1 {
        font-size: 2.8rem; /* Slightly smaller to fit better */
    }

    .hero-content {
        text-align: center;
        padding-top: 120px; /* More space for the navbar on mobile */
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-grid, .process-step {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-step:nth-child(even) {
        direction: ltr;
    }

    .process-step:nth-child(even) .process-content {
        text-align: left;
    }

    .about-image img {
        box-shadow: 10px 10px 0 var(--secondary);
    }

    .hero-btns {
        display: flex;
        justify-content: center;
    }
    
    .badge-container {
        justify-content: center;
        gap: 0.5rem;
    }

    .glass {
        padding: 2rem !important;
    }
}

/* Checkout Styles */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.checkout-form-container {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 20px;
}

.order-summary-container {
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 20px;
    height: fit-content;
}

.payment-options {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.payment-option {
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option.active {
    border-color: var(--secondary);
    background: rgba(193, 154, 107, 0.05);
}

.payment-option img {
    height: 30px;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

/* Original Shop Section styles... */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.product-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
}

.product-image {
    height: 300px;
    background: var(--bg-deep);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(3deg);
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-info .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.cart-icon-nav {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 1.5rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--secondary);
    color: #fff;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Cart Flyout */
.cart-flyout {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-dark);
    border-left: 1px solid var(--glass-border);
    z-index: 2000;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.cart-flyout.active {
    right: 0;
    box-shadow: -50px 0 100px rgba(0,0,0,0.5);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-total {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--primary);
}

/* Original Blog Section styles... */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.blog-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(49, 33, 23, 0.05);
}

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

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--secondary);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-content {
    padding: 2.5rem;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.blog-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.read-more {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more i {
    font-size: 0.7rem;
    transition: var(--transition);
}

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

/* Original Upgraded Footer styles... */
.main-footer {
    padding: 6rem 0 2rem;
    background: var(--bg-dark);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--primary);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    font-family: inherit;
}

.newsletter-form .btn-small {
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Original FAQ Accordion styles... */
.faq-section {
    max-width: 800px;
    margin: 4rem auto 0;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-icon {
    font-size: 0.8rem;
    transition: var(--transition);
}

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

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-content {
    max-height: 500px;
}

.faq-inner {
    padding: 0 2rem 2rem;
    color: var(--text-muted);
}

/* Original Gallery grid and other styles... */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.testimonial-item {
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    border-left: 4px solid var(--secondary);
}

.testimonial-item i.quote-icon {
    font-size: 2rem;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.student-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.student-details h4 {
    margin: 0;
    font-size: 1rem;
}

.student-details span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 12px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    height: 400px;
    width: 100%;
    margin-bottom: 2rem;
}

.skeleton-text {
    height: 20px;
    margin-bottom: 0.5rem;
    width: 80%;
}

/* Global Mobile Responsiveness Updates */
@media (max-width: 768px) {
    /* Layout */
    .container {
        padding: 0 1.5rem;
    }
    .section-padding {
        padding: 4rem 0;
    }
    
    /* Typography */
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Grids */
    .values-grid,
    .gallery-grid,
    .blog-grid,
    .shop-grid,
    .courses-grid,
    .footer-grid,
    .about-grid,
    .checkout-grid,
    .process-step {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    /* Gallery specific */
    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    /* Navbar */
    .nav-links {
        width: 100%;
        padding: 2rem;
    }
    
    /* Blog specific */
    .blog-image {
        height: 200px;
    }
    
    /* Shopping Cart */
    .cart-flyout {
        width: 100%;
        right: -100%;
    }
}

/* Public Pages Input Aesthetics */
.search-container input::placeholder,
.newsletter-form input::placeholder,
#enroll-form input::placeholder,
#enroll-form textarea::placeholder {
    color: rgba(49, 33, 23, 0.45) !important;
}

.search-container input:focus,
.newsletter-form input:focus,
#enroll-form input:focus,
#enroll-form textarea:focus,
#enroll-form select:focus {
    border-color: var(--secondary) !important;
    box-shadow: 0 0 10px rgba(194, 154, 91, 0.15) !important;
}

/* Faculty Team Grid & Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(49, 33, 23, 0.08);
    border-color: var(--secondary);
}

.team-img-wrapper {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.08);
}

.team-info {
    padding: 2rem;
}

.team-info span {
    display: block;
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.team-info h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.team-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-bottom a.developer-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: var(--transition);
}

.footer-bottom a.developer-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: wa-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: #fff;
}

.whatsapp-float i {
    margin-top: 1px;
}

/* Tooltip on hover */
.whatsapp-float::before {
    content: "Chat with Us";
    position: absolute;
    right: 75px;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(49, 33, 23, 0.15);
    pointer-events: none;
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .whatsapp-float::before {
        display: none;
    }
}

/* Academy Curriculum & Training Section */
.curriculum-section {
    background: radial-gradient(circle at 10% 20%, rgba(220, 168, 66, 0.06) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(231, 111, 81, 0.05) 0%, transparent 45%),
                var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.level-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 35px rgba(30, 17, 10, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--crema));
    opacity: 0;
    transition: var(--transition);
}

.level-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(220, 168, 66, 0.4);
    box-shadow: 0 25px 50px rgba(220, 168, 66, 0.16);
    background: #ffffff;
}

.level-card:hover::before {
    opacity: 1;
}

.level-card .level-icon {
    font-size: 2.2rem;
    color: var(--crema); /* Pop with Crema Orange! */
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.level-card:hover .level-icon {
    transform: scale(1.15) rotate(5deg);
}

.level-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.level-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.pillar-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 15px 40px rgba(30, 17, 10, 0.03);
    transition: var(--transition);
}

.pillar-card:hover {
    box-shadow: 0 30px 60px rgba(30, 17, 10, 0.08);
    border-color: rgba(220, 168, 66, 0.35);
    background: #ffffff;
}

.pillar-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1.5px solid rgba(220, 168, 66, 0.15);
    padding-bottom: 1.2rem;
}

.pillar-card h3 i {
    color: var(--crema); /* Pop with Crema Orange! */
    font-size: 1.8rem;
}

.pillar-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.pillar-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.pillar-list li i {
    color: var(--secondary);
    margin-top: 4px;
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
@media (max-width: 768px) {
    .pillar-card {
        padding: 2rem;
    }
}

/* Color Spectrum for Level Cards representing Coffee Lifecycle */
.level-card:nth-child(1) .level-icon {
    color: var(--secondary); /* 24K Gold standard foundational certificate */
}
.level-card:nth-child(1)::before {
    background: var(--secondary);
}
.level-card:nth-child(1):hover {
    border-color: rgba(220, 168, 66, 0.4);
    box-shadow: 0 25px 50px rgba(220, 168, 66, 0.16);
}

.level-card:nth-child(2) .level-icon {
    color: var(--crema); /* Rich Espresso Crema Orange diploma */
}
.level-card:nth-child(2)::before {
    background: var(--crema);
}
.level-card:nth-child(2):hover {
    border-color: rgba(231, 111, 81, 0.4);
    box-shadow: 0 25px 50px rgba(231, 111, 81, 0.16);
}

.level-card:nth-child(3) .level-icon {
    color: var(--leaf-green); /* Fresh Coffee Leaf Green advanced diploma */
}
.level-card:nth-child(3)::before {
    background: var(--leaf-green);
}
.level-card:nth-child(3):hover {
    border-color: rgba(45, 114, 82, 0.4);
    box-shadow: 0 25px 50px rgba(45, 114, 82, 0.16);
}

.level-card:nth-child(4) .level-icon {
    color: var(--cherry-red); /* Ripe Coffee Cherry Crimson Red Micro-masters */
}
.level-card:nth-child(4)::before {
    background: var(--cherry-red);
}
.level-card:nth-child(4):hover {
    border-color: rgba(200, 62, 62, 0.4);
    box-shadow: 0 25px 50px rgba(200, 62, 62, 0.16);
}

.level-card:nth-child(5) .level-icon {
    color: var(--primary); /* Ultra-deep Velvet Espresso Coffee MBA */
}
.level-card:nth-child(5)::before {
    background: var(--primary);
}
.level-card:nth-child(5):hover {
    border-color: rgba(30, 17, 10, 0.4);
    box-shadow: 0 25px 50px rgba(30, 17, 10, 0.16);
}

/* Color Accents for Pillars representing Science & Agribusiness */
.pillar-card:nth-child(1) h3 i {
    color: var(--leaf-green); /* Agribusiness & Organic Botany */
}
.pillar-card:nth-child(1):hover {
    border-color: rgba(45, 114, 82, 0.35);
    box-shadow: 0 30px 60px rgba(45, 114, 82, 0.08);
}

.pillar-card:nth-child(2) h3 i {
    color: var(--crema); /* Roast Physics, Chemistry, & Extraction Technology */
}
.pillar-card:nth-child(2):hover {
    border-color: rgba(231, 111, 81, 0.35);
    box-shadow: 0 30px 60px rgba(231, 111, 81, 0.08);
}

/* ==========================================
   ADMIN PORTAL DARK THEME OVERRIDES
   Ensures absolute visibility on dark admin pages
   ========================================== */
.admin-body {
    background-color: #0a0807 !important;
    background-image: none !important;
    color: #ffffff !important;
}

.admin-body h1, 
.admin-body h2, 
.admin-body h3, 
.admin-body h4, 
.admin-body h5, 
.admin-body h6, 
.admin-body th {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
}

.admin-body p, 
.admin-body span:not(.section-tag):not(.badge):not(.status),
.admin-body label,
.admin-body .text-muted,
.admin-body .form-group label {
    color: rgba(255, 255, 255, 0.6) !important;
}

.admin-body td {
    color: #ffffff !important;
}

.admin-body th {
    color: rgba(255, 255, 255, 0.4) !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
}

.admin-body input, 
.admin-body textarea, 
.admin-body select {
    background: #1a1512 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.admin-body input:focus, 
.admin-body textarea:focus, 
.admin-body select:focus {
    border-color: var(--secondary) !important;
    background: #261f1a !important;
}

.admin-body .admin-sidebar {
    background: #110d0a !important;
}

.admin-body .stat-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.admin-body .admin-nav-link {
    color: rgba(255, 255, 255, 0.5) !important;
}

.admin-body .admin-nav-link:hover, 
.admin-body .admin-nav-link.active {
    color: var(--secondary) !important;
    background: rgba(193, 154, 107, 0.1) !important;
}

/* ==========================================
   STATS & VALUES SECTION LAYOUT (4 Columns)
   Resolves empty space and upgrades visual premium
   ========================================== */
.values-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2.5rem !important;
    text-align: center;
    width: 100%;
}

.value-item {
    background: var(--glass) !important;
    border: 1px solid var(--glass-border) !important;
    padding: 3rem 2rem !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(49, 33, 23, 0.02) !important;
    transition: var(--transition) !important;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--crema) 100%);
    opacity: 0.8;
}

.value-item:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(220, 168, 66, 0.35) !important;
    box-shadow: 0 20px 45px rgba(220, 168, 66, 0.1) !important;
}

/* Multi-color lifecycle indicators for Stats cards */
.value-item:nth-child(1)::before {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--crema) 100%);
}
.value-item:nth-child(2)::before {
    background: linear-gradient(90deg, var(--crema) 0%, var(--leaf-green) 100%);
}
.value-item:nth-child(3)::before {
    background: linear-gradient(90deg, var(--leaf-green) 0%, var(--cherry-red) 100%);
}
.value-item:nth-child(4)::before {
    background: linear-gradient(90deg, var(--cherry-red) 0%, var(--secondary) 100%);
}

@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* ==========================================
   ADMIN PORTAL MOBILE HAMBURGER NAVIGATION
   Provides flawless, fluid sliding navigation on phones
   ========================================== */
.admin-mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #110d0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 1.5rem;
    align-items: center;
    justify-content: space-between;
    z-index: 10000;
}

.admin-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-overlay.active {
    display: block;
    opacity: 1;
}

.close-sidebar {
    display: none !important;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}
.close-sidebar:hover {
    color: var(--secondary);
}

@media (max-width: 992px) {
    /* Prevent any horizontal screen scrolling globally on mobile */
    html, body.admin-body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    body.admin-body {
        flex-direction: column !important;
    }

    .admin-mobile-header {
        display: flex;
    }
    
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 280px !important;
        z-index: 9999 !important;
        box-shadow: 15px 0 30px rgba(0, 0, 0, 0.5);
        border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-bottom: none !important;
        padding-top: 5rem !important; /* Spacing below the close button */
    }
    
    .admin-sidebar.open {
        transform: translateX(0);
    }
    
    .close-sidebar {
        display: block !important;
    }
    
    .admin-main {
        margin-left: 0 !important;
        padding: 7rem 1.5rem 3rem 1.5rem !important; /* Padding for fixed header */
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    .admin-logo {
        margin-bottom: 2rem !important;
    }
    
    .stat-card-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .manager-grid, .product-manager-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Force tables to be scrollable inside their container instead of overflowing the page */
    .data-table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* ==========================================
   PUBLIC PAGE HERO SECTION MOBILE OPTIMIZATION
   Eliminates the huge empty gap under the mobile navbar
   ========================================== */
@media (max-width: 768px) {
    .hero {
        padding-top: 85px !important; /* SNUG fit under mobile navbar logo */
        min-height: auto !important; /* Eliminates vertical height stretching */
        padding-bottom: 3.5rem !important;
        display: block !important;
    }
    
    .hero-content {
        margin-top: 0 !important;
        padding-top: 0.5rem !important;
    }
    
    .hero h1 {
        font-size: 2.6rem !important; /* Clean, bold, compact mobile heading */
        line-height: 1.15 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.8rem !important;
    }

    .badge-container {
        margin-bottom: 1.2rem !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }
    
    .badge {
        font-size: 0.65rem !important;
        padding: 0.35rem 0.75rem !important;
    }
}

/* ==========================================
   GLOBAL PARTNERS INFINITE MARQUEE CAROUSEL
   State-of-the-art interactive scrolling marquee
   ========================================== */
.partners-marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1.5rem 0;
    /* Softly fade left and right edges for a luxurious, glowing transition effect */
    mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.partners-marquee-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: partnerMarquee 30s linear infinite;
}

/* Pause the scrolling marquee on hover so users can interact with card elements */
.partners-marquee-container:hover .partners-marquee-track {
    animation-play-state: paused;
}

@keyframes partnerMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1.25rem));
    }
}

.partner-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #ffffff;
    border: 1.5px solid rgba(49, 33, 23, 0.05);
    padding: 1.5rem 2.2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(49, 33, 23, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    min-width: 290px;
    position: relative;
}

/* Subtle organic shadow when hover scale is activated */
.partner-card:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 20px 45px rgba(49, 33, 23, 0.08);
}

.partner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover .partner-icon {
    transform: scale(1.1) rotate(8deg);
}

.partner-info {
    display: flex;
    flex-direction: column;
}

.partner-name {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.partner-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 3px;
}

/* Brand Colors Spectrums */
/* 1. La Marzocco Crimson Cherry Red */
.partner-marzocco .partner-icon {
    color: var(--cherry-red);
    background: rgba(200, 62, 62, 0.07);
}
.partner-marzocco:hover {
    border-color: rgba(200, 62, 62, 0.3);
}

/* 2. Mahlkönig Gold standard */
.partner-mahlkoenig .partner-icon {
    color: var(--secondary);
    background: rgba(220, 168, 66, 0.07);
}
.partner-mahlkoenig:hover {
    border-color: rgba(220, 168, 66, 0.35);
}

/* 3. Victoria Arduino Crema Orange */
.partner-victoria .partner-icon {
    color: var(--crema);
    background: rgba(231, 111, 81, 0.07);
}
.partner-victoria:hover {
    border-color: rgba(231, 111, 81, 0.3);
}

/* 4. SCA Kenya Leaf Green */
.partner-sca .partner-icon {
    color: var(--leaf-green);
    background: rgba(45, 114, 82, 0.07);
}
.partner-sca:hover {
    border-color: rgba(45, 114, 82, 0.3);
}

/* 5. Hario Glass Teal */
.partner-hario .partner-icon {
    color: #2B8A8D;
    background: rgba(43, 138, 141, 0.07);
}
.partner-hario:hover {
    border-color: rgba(43, 138, 141, 0.3);
}




