/**
 * Alumni UNAND - Redesign CSS
 * Design System: Professional White, Clean, Modern
 * 
 * NOTE: This file works alongside TailwindCSS CDN
 * Do not remove or modify existing Tailwind classes in blade templates
 */

/* ============================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
    /* Brand Colors */
    --color-primary: #00341f;
    --color-primary-dark: #00251a;
    --color-primary-light: #004d2e;
    --color-secondary: #f0d323;
    --color-secondary-dark: #d4b91e;
    --color-teal: #0f8b8d;
    --color-teal-dark: #0d7577;

    /* Neutral Colors */
    --color-charcoal: #1a202c;
    --color-gray-900: #111827;
    --color-gray-800: #1f2937;
    --color-gray-700: #374151;
    --color-gray-600: #4b5563;
    --color-gray-500: #6b7280;
    --color-gray-400: #9ca3af;
    --color-gray-300: #d1d5db;
    --color-gray-200: #e5e7eb;
    --color-gray-100: #f3f4f6;
    --color-gray-50: #f9fafb;
    --color-off-white: #f8f9fa;
    --color-white: #ffffff;

    /* Semantic Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md:
        0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg:
        0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 8px 25px -5px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 12px 24px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-sans:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Spacing Scale (8px base) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
}

/* ============================================
   2. BASE STYLES
   ============================================ */
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--color-gray-700);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   3. TYPOGRAPHY CLASSES
   ============================================ */
.heading-display {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-charcoal);
    letter-spacing: -0.02em;
}

.heading-1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-charcoal);
    letter-spacing: -0.01em;
}

.heading-2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-charcoal);
}

.heading-3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-charcoal);
}

.heading-4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-gray-800);
}

.text-body-lg {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-gray-600);
}

.text-body {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-600);
}

.text-body-sm {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-gray-500);
}

.text-caption {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ============================================
   4. BUTTON COMPONENTS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 52, 31, 0.2);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Primary Button */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary Button (Outline) */
.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Tertiary Button (Ghost) */
.btn-tertiary {
    background-color: transparent;
    color: var(--color-teal);
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
}

.btn-tertiary:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* White Button (for dark backgrounds) */
.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.btn-white:hover {
    background-color: var(--color-gray-100);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: 0.8125rem;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 1rem;
}

/* ============================================
   5. CARD COMPONENTS
   ============================================ */
.card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-card);
}

.card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-gray-300);
    transform: translateY(-4px);
}

.card-image {
    position: relative;
    overflow: hidden;
    background-color: var(--color-gray-100);
    aspect-ratio: 16 / 10;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.card-badge--secondary {
    background-color: var(--color-secondary);
    color: var(--color-charcoal);
}

.card-content {
    padding: var(--space-5);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: var(--space-2);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-excerpt {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-bottom: var(--space-3);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: 0.75rem;
    color: var(--color-gray-400);
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

/* ============================================
   6. SECTION HEADERS
   ============================================ */
.section-header {
    margin-bottom: var(--space-10);
}

.section-header--center {
    text-align: center;
}

.section-header__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: var(--space-2);
}

.section-header__subtitle {
    font-size: 1rem;
    color: var(--color-gray-500);
    max-width: 600px;
}

.section-header--center .section-header__subtitle {
    margin-left: auto;
    margin-right: auto;
}

.section-header__divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(
        to right,
        var(--color-primary),
        var(--color-teal)
    );
    border-radius: var(--radius-full);
    margin-top: var(--space-4);
}

.section-header--center .section-header__divider {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   7. NAVIGATION ENHANCEMENTS
   ============================================ */
.nav-link {
    position: relative;
    color: var(--color-gray-700);
    font-weight: 500;
    text-decoration: none;
    padding: var(--space-2) var(--space-1);
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link--active {
    color: var(--color-primary);
}

.nav-link--active::after {
    width: 100%;
}

/* ============================================
   8. HERO SECTION STYLES
   ============================================ */
.hero-overlay {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

/* ============================================
   9. SECTIONS
   ============================================ */
.section {
    padding: var(--space-16) var(--space-6);
}

.section--gray {
    background-color: var(--color-gray-50);
}

.section--dark {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

.container {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

.container--lg {
    max-width: 1200px;
}

/* ============================================
   10. GRID LAYOUTS
   ============================================ */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .grid-products {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-6);
    }
}

/* ============================================
   11. UTILITY CLASSES
   ============================================ */
.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-teal {
    color: var(--color-teal);
}

.text-white {
    color: var(--color-white);
}

.text-muted {
    color: var(--color-gray-500);
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.bg-off-white {
    background-color: var(--color-off-white);
}

.bg-gray-50 {
    background-color: var(--color-gray-50);
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover lift effect */
.hover-lift {
    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Link with arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-teal);
    font-weight: 500;
    text-decoration: none;
    transition:
        gap var(--transition-fast),
        color var(--transition-fast);
}

.link-arrow:hover {
    color: var(--color-primary);
    gap: var(--space-3);
}

.link-arrow::after {
    content: "→";
}

/* ============================================
   12. FOOTER ENHANCEMENTS
   ============================================ */
.footer-section {
    background-color: var(--color-gray-900);
    color: var(--color-white);
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--color-white);
}

.footer-link {
    color: var(--color-gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-secondary);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-gray-800);
    border-radius: var(--radius-full);
    color: var(--color-gray-400);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   13. CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 52, 31, 0.9) 0%,
        rgba(0, 52, 31, 0.7) 100%
    );
    padding: var(--space-16) var(--space-6);
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-6);
    max-width: 500px;
}

/* ============================================
   14. PRODUCT CARD (Merchandise)
   ============================================ */
.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.product-card__image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--color-gray-100);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image img {
    transform: scale(1.08);
}

.product-card__content {
    padding: var(--space-4);
}

.product-card__title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-charcoal);
    margin-bottom: var(--space-1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ============================================
   15. MAP SECTION
   ============================================ */
.map-section {
    background-color: var(--color-gray-50);
    padding: var(--space-16) var(--space-6);
}

.map-container {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2);
    border: 1px solid var(--color-gray-200);
}

.map-legend {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
}

/* ============================================
   16. COUNTDOWN COMPONENT
   ============================================ */
.countdown {
    display: flex;
    gap: var(--space-2);
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   17. RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 768px) {
    .section {
        padding: var(--space-12) var(--space-4);
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header__title {
        font-size: 1.5rem;
    }
}

/* ============================================
   18. PRINT STYLES
   ============================================ */
@media print {
    .btn,
    .footer-section,
    #myBtn {
        display: none !important;
    }
}

/* ============================================
   19. IMMERSIVE HERO
   ============================================ */
.immersive-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: var(--color-primary);
}

.immersive-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--color-primary),
        rgba(0, 52, 31, 0.8) 40%,
        transparent
    );
}

.immersive-hero__overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-primary), transparent 50%);
}

.immersive-hero__tag {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(240, 211, 35, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(240, 211, 35, 0.5);
    border-radius: var(--radius-full);
    color: var(--color-secondary);
    font-size: 0.875rem;
    font-weight: 600;
}

.immersive-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
}

.immersive-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.immersive-hero__dot.active {
    width: 48px;
    background: var(--color-secondary);
}

/* ============================================
   20. GLASS MORPHISM
   ============================================ */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-primary {
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-teal)
    );
}

.gradient-divider {
    width: 96px;
    height: 6px;
    background: linear-gradient(
        to right,
        var(--color-primary),
        var(--color-teal),
        var(--color-secondary)
    );
    border-radius: var(--radius-full);
}

/* ============================================
   21. FLOATING COUNTDOWN
   ============================================ */
.floating-countdown {
    position: relative;
    padding: var(--space-20) 0;
    overflow: hidden;
}

.floating-countdown__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-teal),
        var(--color-primary)
    );
}

.floating-countdown__card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.countdown-box {
    position: relative;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    text-align: center;
    overflow: hidden;
}

.countdown-box__number {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    font-variant-numeric: tabular-nums;
}

.countdown-box__label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   22. BENTO GRID
   ============================================ */
.bento-grid {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: auto auto;
    }

    .bento-grid__featured {
        grid-row: span 2;
    }
}

.bento-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.bento-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.bento-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-8);
    background: linear-gradient(
        to top,
        var(--color-primary),
        rgba(0, 52, 31, 0.5),
        transparent
    );
    color: var(--color-white);
}

/* ============================================
   23. MAGAZINE NEWS
   ============================================ */
.magazine-grid {
    display: grid;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .magazine-grid {
        grid-template-columns: 7fr 5fr;
    }
}

.magazine-hero {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 400px;
}

.magazine-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.3),
        transparent
    );
    z-index: 1;
}

.magazine-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-8);
    color: var(--color-white);
}

.news-card-horizontal {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.news-card-horizontal:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.news-card-horizontal__image {
    width: 128px;
    height: 128px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* ============================================
   24. MODERN SHOP
   ============================================ */
.shop-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
}

.shop-card:hover {
    box-shadow: var(--shadow-xl);
}

.shop-card__image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--color-gray-100),
        var(--color-gray-50)
    );
}

.shop-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.shop-card:hover .shop-card__image img {
    transform: scale(1.1);
}

.shop-card__badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    padding: var(--space-1) var(--space-3);
    background: var(--color-secondary);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.shop-card__actions {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-normal);
}

.shop-card:hover .shop-card__actions {
    opacity: 1;
    transform: translateX(0);
}

.shop-card__action-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.shop-card__action-btn:hover {
    background: var(--color-secondary);
}

.shop-card__cart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.shop-card:hover .shop-card__cart {
    transform: translateY(0);
}

.shop-card__info {
    padding: var(--space-6);
}

.shop-card__rating {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    margin-bottom: var(--space-3);
}

.shop-card__name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.shop-card__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ============================================
   25. DIAGONAL CTA
   ============================================ */
.diagonal-cta {
    position: relative;
    padding: var(--space-20) 0;
    overflow: hidden;
}

.diagonal-cta__bg-left {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-teal)
    );
    clip-path: polygon(0 0, 60% 0, 50% 100%, 0 100%);
}

.diagonal-cta__bg-right {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-secondary), #00a896);
    clip-path: polygon(60% 0, 100% 0, 100% 100%, 50% 100%);
}

.stat-card {
    position: relative;
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
}

.stat-card__value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.stat-card__label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   26. MODERN FOOTER
   ============================================ */
.modern-footer {
    position: relative;
    background: var(--color-primary);
    color: var(--color-white);
    overflow: hidden;
}

.modern-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        to right,
        transparent,
        var(--color-secondary),
        transparent
    );
}

.modern-footer__newsletter {
    padding: var(--space-16) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-footer__grid {
    display: grid;
    gap: var(--space-12);
    padding: var(--space-16) 0;
}

@media (min-width: 768px) {
    .modern-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .modern-footer__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.modern-footer__heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.modern-footer__heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(240, 211, 35, 0.5), transparent);
}

.modern-footer__link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-gray-300);
    text-decoration: none;
    padding: var(--space-2) 0;
    transition: all var(--transition-fast);
}

.modern-footer__link:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

.modern-footer__bottom {
    padding: var(--space-8) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   27. SCROLL ANIMATIONS
   ============================================ */
[data-aos] {
    opacity: 0;
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1);
}

.hover-scale {
    transition: transform var(--transition-normal);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-scale:active {
    transform: scale(0.95);
}

/* ============================================
   28. MAGAZINE GRID
   ============================================ */
.magazine-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .magazine-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

.magazine-hero {
    position: relative;
    min-height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

@media (min-width: 768px) {
    .magazine-hero {
        min-height: 500px;
    }
}

.magazine-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 52, 89, 0.95) 0%,
        rgba(0, 52, 89, 0.6) 40%,
        rgba(0, 52, 89, 0.2) 100%
    );
    z-index: 1;
}

.magazine-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-8);
    z-index: 10;
}

.news-card-horizontal {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4);
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-100);
    transition: all var(--transition-normal);
}

.news-card-horizontal:hover {
    background: var(--color-gray-50);
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 52, 89, 0.1);
    transform: translateX(5px);
}

.news-card-horizontal__image {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* ============================================
   29. SHOP CARD
   ============================================ */
.shop-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.shop-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.shop-card__image {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--color-gray-50);
    overflow: hidden;
}

.shop-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.shop-card:hover .shop-card__image img {
    transform: scale(1.1);
}

.shop-card__badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    padding: var(--space-1) var(--space-3);
    background: var(--color-secondary);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    z-index: 10;
}

.shop-card__actions {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-normal);
    z-index: 10;
}

.shop-card:hover .shop-card__actions {
    opacity: 1;
    transform: translateX(0);
}

.shop-card__action-btn {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.shop-card__action-btn:hover {
    background: var(--color-primary);
    color: white;
}

.shop-card__action-btn:hover i {
    color: white;
}

.shop-card__cart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.shop-card:hover .shop-card__cart {
    transform: translateY(0);
}

.shop-card__info {
    padding: var(--space-4);
}

.shop-card__rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2);
}

.shop-card__name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-gray-800);
    margin-bottom: var(--space-2);
    min-height: 2.5em;
}

.shop-card__price {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-primary);
}

/* ============================================
   30. MODERN MAP SECTION
   ============================================ */
.map-section {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--color-gray-50), white);
}

.map-container {
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-gray-100);
    padding: var(--space-3);
    overflow: hidden;
    height: 500px;
}

.map-legend {
    position: absolute;
    bottom: var(--space-6);
    left: var(--space-6);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    font-size: 0.75rem;
    border: 1px solid var(--color-gray-100);
    z-index: 10;
}

.map-stats {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    display: flex;
    gap: var(--space-4);
    z-index: 10;
}

.map-stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
    min-width: 120px;
    text-align: center;
}

.map-stat-card__number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}

.map-stat-card__label {
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

/* ============================================
   31. DIAGONAL CTA
   ============================================ */
.diagonal-cta {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.diagonal-cta__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #004466 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.diagonal-cta__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.diagonal-cta__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .diagonal-cta__stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    text-align: center;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-card__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    display: block;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-card__label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   32. LINE CLAMP UTILITIES
   ============================================ */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   32. IMMERSIVE HERO
   ============================================ */
.immersive-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: var(--color-primary);
}

.immersive-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition:
        opacity 0.5s ease,
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.immersive-hero__slide.active {
    opacity: 1;
    z-index: 10;
}

.immersive-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Thumbnail Cards */
.hero-thumb {
    transition: all 0.3s ease;
}

.hero-thumb:hover {
    transform: scale(1.02) translateX(-10px);
}

/* Dot Navigation */
.immersive-hero__dot {
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.immersive-hero__dot:hover {
    background-color: rgba(255, 255, 255, 0.6) !important;
}

/* ============================================
   33. MODERN HEADER
   ============================================ */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Default state: For pages WITH hero - transparent */
.modern-header.has-hero {
    background: transparent;
}

/* For pages WITHOUT hero - solid from start */
.modern-header:not(.has-hero) {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 52, 31, 0.08);
}

/* Scrolled state */
.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 52, 31, 0.1);
}

.modern-header__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-3) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    height: 72px;
}

/* Back to Global UNAND Button - Desktop */
.back-to-global-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 52, 31, 0.15);
    margin-right: var(--space-4);
}

/* Hero page styling */
.modern-header.has-hero .back-to-global-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.modern-header.has-hero .back-to-global-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-4px);
}

.modern-header.has-hero .back-to-global-btn i {
    color: var(--color-secondary);
}

/* Non-hero & Scrolled styling */
.modern-header:not(.has-hero) .back-to-global-btn,
.modern-header.scrolled .back-to-global-btn {
    background: rgba(0, 52, 31, 0.05);
    color: var(--color-primary);
    border-color: rgba(0, 52, 31, 0.15);
}

.modern-header:not(.has-hero) .back-to-global-btn:hover,
.modern-header.scrolled .back-to-global-btn:hover {
    background: rgba(0, 52, 31, 0.1);
    border-color: rgba(0, 52, 31, 0.25);
    transform: translateX(-4px);
}

.modern-header:not(.has-hero) .back-to-global-btn i,
.modern-header.scrolled .back-to-global-btn i {
    color: var(--color-primary);
}

/* Back to Global - Mobile Drawer */
.back-to-global-mobile {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    margin: var(--space-4) var(--space-4) var(--space-2);
    background: linear-gradient(
        135deg,
        rgba(0, 52, 31, 0.05) 0%,
        rgba(15, 139, 141, 0.05) 100%
    );
    border: 1px solid rgba(0, 52, 31, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-global-mobile:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 52, 31, 0.1) 0%,
        rgba(15, 139, 141, 0.1) 100%
    );
    border-color: rgba(0, 52, 31, 0.25);
    transform: translateX(-4px);
}

.back-to-global-mobile i:first-child {
    color: var(--color-primary);
    font-size: 1rem;
}

.back-to-global-mobile i:last-child {
    opacity: 0.5;
}

/* Logo with Gradient Effect */
.modern-header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.modern-header__logo:hover {
    transform: scale(1.02);
}

.modern-header__logo-icon {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-header__logo-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-teal) 50%,
        var(--color-secondary) 100%
    );
    border-radius: 14px;
    transform: rotate(6deg);
    opacity: 0.9;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.modern-header__logo:hover .modern-header__logo-gradient {
    transform: rotate(12deg);
    opacity: 1;
}

.modern-header__logo-text {
    display: flex;
    flex-direction: column;
}

/* Logo title colors - page aware */
.modern-header__logo-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.3s ease;
}

/* Hero pages: white text initially */
.modern-header.has-hero .modern-header__logo-title {
    color: white;
}

/* Non-hero pages: always dark */
.modern-header:not(.has-hero) .modern-header__logo-title {
    color: var(--color-primary);
}

/* Scrolled: always dark */
.modern-header.scrolled .modern-header__logo-title {
    color: var(--color-primary);
}

.modern-header__logo-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.modern-header.has-hero .modern-header__logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.modern-header:not(.has-hero) .modern-header__logo-subtitle {
    color: var(--color-gray-500);
}

.modern-header.scrolled .modern-header__logo-subtitle {
    color: var(--color-gray-600);
}

/* Navigation */
.modern-header__nav {
    display: none;
    align-items: center;
    gap: var(--space-1);
}

@media (min-width: 1024px) {
    .modern-header__nav {
        display: flex;
    }
}

.modern-header__link {
    position: relative;
    padding: var(--space-2) var(--space-4);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

/* Nav link colors - page aware */
.modern-header.has-hero .modern-header__link {
    color: white;
}

.modern-header:not(.has-hero) .modern-header__link {
    color: var(--color-gray-700);
}

.modern-header.scrolled .modern-header__link {
    color: var(--color-gray-700);
}

.modern-header__link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--color-teal),
        var(--color-secondary)
    );
    transition: width 0.3s ease;
    border-radius: 1px;
}

.modern-header__link:hover::after,
.modern-header__link.active::after {
    width: 70%;
}

/* Hover colors - page aware */
.modern-header.has-hero .modern-header__link:hover {
    color: var(--color-secondary);
}

.modern-header:not(.has-hero) .modern-header__link:hover,
.modern-header.scrolled .modern-header__link:hover {
    color: var(--color-teal);
}

/* Active state */
.modern-header__link.active {
    font-weight: 600;
}

/* Dropdown */
.modern-header__dropdown {
    position: relative;
}

.modern-header__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 100;
}

.modern-header__dropdown:hover .modern-header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modern-header__dropdown-item {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: 0.875rem;
    color: var(--color-gray-700);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.modern-header__dropdown-item:hover {
    background: var(--color-gray-50);
    color: var(--color-primary);
}

/* Auth Buttons */
.modern-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Search Button */
.modern-header__search-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modern-header.has-hero .modern-header__search-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.modern-header:not(.has-hero) .modern-header__search-btn,
.modern-header.scrolled .modern-header__search-btn {
    background: var(--color-gray-100);
    color: var(--color-gray-600);
}

.modern-header__search-btn:hover {
    transform: rotate(90deg) scale(1.1);
}

.modern-header.has-hero .modern-header__search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-secondary);
}

.modern-header:not(.has-hero) .modern-header__search-btn:hover,
.modern-header.scrolled .modern-header__search-btn:hover {
    background: var(--color-gray-200);
    color: var(--color-teal);
}

/* Auth Button */
.modern-header__auth-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

/* Glass Auth Button - page aware */
.modern-header__auth-btn--glass {
    backdrop-filter: blur(10px);
}

.modern-header.has-hero .modern-header__auth-btn--glass {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modern-header.has-hero .modern-header__auth-btn--glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modern-header:not(.has-hero) .modern-header__auth-btn--glass,
.modern-header.scrolled .modern-header__auth-btn--glass {
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-teal) 100%
    );
    color: white;
    border: none;
}

.modern-header:not(.has-hero) .modern-header__auth-btn--glass:hover,
.modern-header.scrolled .modern-header__auth-btn--glass:hover {
    background: linear-gradient(
        135deg,
        var(--color-teal) 0%,
        var(--color-primary) 100%
    );
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 139, 141, 0.3);
}

/* Primary Auth Button - kept for backwards compatibility */
.modern-header__auth-btn--primary {
    background: linear-gradient(
        135deg,
        var(--color-secondary) 0%,
        #e6c420 100%
    );
    color: var(--color-primary);
}

.modern-header__auth-btn--primary:hover {
    background: linear-gradient(
        135deg,
        #e6c420 0%,
        var(--color-secondary) 100%
    );
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(240, 211, 35, 0.4);
}

/* Legacy glass-dark support */
.modern-header__auth-btn.glass-dark {
    color: var(--color-primary);
    border: 1px solid rgba(0, 52, 31, 0.2);
}

.modern-header.scrolled .modern-header__auth-btn.glass-dark:hover {
    background: var(--color-primary);
    color: white;
}

.modern-header__auth-btn--primary {
    background: var(--color-secondary);
    color: var(--color-primary);
}

.modern-header__auth-btn--primary:hover {
    background: var(--color-secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Button */
.modern-header__mobile-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: var(--space-2);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger colors - page aware */
.modern-header.has-hero .hamburger-line {
    background: white;
}

.modern-header:not(.has-hero) .hamburger-line,
.modern-header.scrolled .hamburger-line {
    background: var(--color-primary);
}

.modern-header__mobile-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.modern-header__mobile-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.modern-header__mobile-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Drawer */
.modern-header__drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: right var(--transition-slow);
    overflow-y: auto;
}

.modern-header__drawer.open {
    right: 0;
}

.modern-header__drawer-content {
    padding: var(--space-6);
}

.modern-header__drawer-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-gray-100);
    margin-bottom: var(--space-6);
}

.modern-header__drawer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.modern-header__drawer-link {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-weight: 500;
    color: var(--color-gray-700);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.modern-header__drawer-link:hover,
.modern-header__drawer-link.active {
    background: var(--color-gray-50);
    color: var(--color-primary);
}

.modern-header__drawer-footer {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-gray-100);
}

/* Mobile Accordion */
.mobile-accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-weight: 500;
    color: var(--color-gray-700);
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-accordion__trigger:hover {
    background: var(--color-gray-50);
}

.mobile-accordion__trigger i {
    transition: transform var(--transition-normal);
}

.mobile-accordion.open .mobile-accordion__trigger i {
    transform: rotate(180deg);
}

.mobile-accordion__content {
    display: none;
    padding-left: var(--space-4);
}

.mobile-accordion.open .mobile-accordion__content {
    display: block;
}

.mobile-accordion__link {
    display: block;
    padding: var(--space-2) var(--space-4);
    font-size: 0.875rem;
    color: var(--color-gray-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mobile-accordion__link:hover {
    color: var(--color-primary);
}

/* Body overlay when menu open */
body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

/* ============================================
   34. MODERN FOOTER
   ============================================ */
.modern-footer {
    background: linear-gradient(180deg, #0a1f16 0%, #061510 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative elements */
.modern-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--color-teal),
        var(--color-secondary),
        var(--color-teal),
        transparent
    );
}

.modern-footer::after {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(15, 139, 141, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* Newsletter Section */
.modern-footer__newsletter {
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-teal) 50%,
        var(--color-primary) 100%
    );
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    padding: var(--space-12) 0;
    position: relative;
}

.modern-footer__newsletter::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

@keyframes gradientShift {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Main Footer Content */
.modern-footer__main {
    padding: var(--space-16) 0;
    position: relative;
    z-index: 1;
}

/* Bottom Bar */
.modern-footer__bottom {
    padding: var(--space-6) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

/* Spacer for fixed header - use .has-hero class on body to remove */
body {
    padding-top: 72px;
}

body.has-hero {
    padding-top: 0;
}

/* ============================================
   30. MOBILE RESPONSIVE - HOME PAGE
   ============================================ */

/* Modal z-index fixes for Bootstrap 5 */
.modal {
    z-index: 1060 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}

.modal-dialog {
    z-index: 1070 !important;
}

/* Hero Section Mobile */
@media (max-width: 768px) {
    .immersive-hero {
        min-height: 90vh;
    }

    .immersive-hero h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }

    .immersive-hero p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .immersive-hero .flex-wrap {
        flex-direction: column;
        gap: 0.75rem !important;
    }

    .immersive-hero .flex-wrap a {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem !important;
        font-size: 0.9rem !important;
    }

    /* Hide hero navigation arrows on very small screens */
    #hero-prev,
    #hero-next {
        padding: 0.75rem !important;
        width: 40px;
        height: 40px;
    }

    #hero-prev i,
    #hero-next i {
        font-size: 0.875rem !important;
    }

    /* Dots smaller on mobile */
    .immersive-hero__dot {
        height: 6px !important;
    }

    .immersive-hero__dot.active,
    .immersive-hero__dot[style*="width: 3rem"] {
        width: 2rem !important;
    }
}

/* Floating Countdown Mobile */
@media (max-width: 768px) {
    .floating-countdown {
        padding: var(--space-12) 0;
    }

    .floating-countdown__card {
        padding: var(--space-5) !important;
    }

    .floating-countdown__card .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .floating-countdown__card h2 {
        font-size: 1.5rem !important;
    }

    .floating-countdown__card p {
        font-size: 0.9rem !important;
    }

    /* Countdown boxes */
    .countdown-box {
        padding: var(--space-3) var(--space-2);
    }

    .countdown-box__number {
        font-size: 1.75rem !important;
    }

    .countdown-box__label {
        font-size: 0.65rem !important;
    }

    /* Event meta grid */
    .grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
}

/* Bento Grid Mobile */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr !important;
    }

    .bento-grid__featured {
        grid-row: auto !important;
        min-height: 350px !important;
    }

    .bento-card h3 {
        font-size: 1.25rem !important;
    }
}

/* Magazine Grid Mobile */
@media (max-width: 1024px) {
    .magazine-grid {
        grid-template-columns: 1fr !important;
    }

    .magazine-hero {
        min-height: 300px !important;
    }

    .magazine-hero h3 {
        font-size: 1.25rem !important;
    }

    .news-card-horizontal {
        flex-direction: column !important;
    }

    .news-card-horizontal__image {
        width: 100% !important;
        height: 150px !important;
    }
}

/* News Grid Mobile */
@media (max-width: 768px) {
    .grid.md\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
}

/* Shop Section Mobile */
@media (max-width: 640px) {
    .grid-cols-2.md\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .shop-card__info {
        padding: 0.5rem !important;
    }

    .shop-card__name {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }

    .shop-card__price {
        font-size: 0.85rem !important;
    }

    .shop-card__rating {
        display: none;
    }

    .shop-card__badge {
        font-size: 0.6rem !important;
        padding: 2px 6px !important;
    }
}

/* Map Section Mobile */
@media (max-width: 768px) {
    #map-container,
    .w-full.bg-white.rounded-2xl {
        height: 350px !important;
    }

    /* Legend smaller and repositioned */
    .absolute.bottom-6.left-6 {
        bottom: 0.5rem !important;
        left: 0.5rem !important;
        padding: 0.5rem !important;
        font-size: 0.65rem !important;
    }

    .absolute.bottom-6.left-6 .font-bold {
        font-size: 0.7rem !important;
    }

    /* Stats flex wrap */
    .flex.flex-wrap.justify-center.gap-4 {
        gap: 0.5rem !important;
    }

    .flex.flex-wrap.justify-center.gap-4 > div {
        padding: 0.75rem 1rem !important;
        min-width: 80px;
    }

    .flex.flex-wrap.justify-center.gap-4 .text-2xl {
        font-size: 1.25rem !important;
    }

    .flex.flex-wrap.justify-center.gap-4 .text-sm {
        font-size: 0.7rem !important;
    }
}

/* Section Headers Mobile */
@media (max-width: 768px) {
    .section .text-4xl,
    .section .md\:text-5xl {
        font-size: 1.75rem !important;
    }

    .section .text-center p {
        font-size: 0.9rem !important;
        padding: 0 1rem;
    }

    .gradient-divider {
        width: 60px;
        height: 4px;
    }
}

/* General Container Mobile Padding */
@media (max-width: 768px) {
    .container.mx-auto {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Button Responsiveness */
@media (max-width: 640px) {
    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.875rem !important;
    }
}

/* Fix text overflow on small screens */
@media (max-width: 480px) {
    .line-clamp-2 {
        -webkit-line-clamp: 2;
    }

    .line-clamp-1 {
        -webkit-line-clamp: 1;
    }

    h1,
    h2,
    h3,
    h4 {
        word-break: break-word;
    }
}

/* ============================================
   FULL-WIDTH SECTIONS FIX
   ============================================ */

/* Ensure CTA and footer sections are truly full width */
.diagonal-cta-section {
    width: 100%;
    max-width: none;
    position: relative;
}

/* Ensure footer extends full width */
.modern-footer {
    width: 100%;
    max-width: none;
}

/* Newsletter section full width background */
.modern-footer__newsletter {
    width: 100%;
}

/* Main footer full width */
.modern-footer__main {
    width: 100%;
}

/* Bottom bar full width */
.modern-footer__bottom {
    width: 100%;
}

/* ============================================
   NEWS PAGE STYLES
   ============================================ */

/* Modern News Card */
.news-card-modern {
    background: white;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.news-card-modern:hover {
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
    border-color: rgba(15, 139, 141, 0.3);
}

/* Title underline animation */
.news-title-underline {
    position: relative;
    display: inline;
}

.news-title-underline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width var(--transition-normal);
}

.news-card-modern:hover .news-title-underline::after {
    width: 100%;
}

/* Pagination */
.pagination-btn {
    min-width: 3rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-fast);
    border: 1px solid var(--color-gray-300);
    color: var(--color-gray-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.pagination-btn:hover {
    border-color: var(--color-teal);
    background: rgba(15, 139, 141, 0.05);
}

.pagination-btn--active {
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-teal) 100%
    );
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 52, 31, 0.3);
}

.pagination-btn--active:hover {
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-teal) 100%
    );
}

.pagination-btn--disabled {
    border-color: var(--color-gray-200);
    color: var(--color-gray-300);
    cursor: not-allowed;
}

.pagination-btn--disabled:hover {
    border-color: var(--color-gray-200);
    background: transparent;
}

/* Line clamp utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   EVENTS PAGE STYLES
   ============================================ */

.event-timeline-item {
    position: relative;
}

.event-date-box {
    z-index: 5;
}

.event-card {
    transform: translateZ(0);
}

/* ============================================
   SHOP/MERCHANDISE PAGE STYLES
   ============================================ */

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.product-card:hover {
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

/* ============================================
   CAREERS PAGE STYLES
   ============================================ */

.company-card {
    transition: all var(--transition-normal);
}

.company-card:hover {
    transform: translateY(-5px);
}

/* ============================================
   DONATION/WAKAF PAGE STYLES
   ============================================ */

.donor-podium {
    text-align: center;
    flex: 1;
    max-width: 180px;
}

.donor-podium--gold {
    transform: scale(1.05);
    z-index: 10;
}

.donor-row {
    transition: all var(--transition-fast);
}

.donor-row:hover {
    transform: translateX(5px);
}

/* ============================================
   ABOUT/PROFILE PAGE STYLES
   ============================================ */

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.share-btn--facebook {
    background: #1877f2;
    color: white;
}

.share-btn--facebook:hover {
    background: #166fe5;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.share-btn--whatsapp {
    background: #25d366;
    color: white;
}

.share-btn--whatsapp:hover {
    background: #22c35e;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.share-btn--linkedin {
    background: #0a66c2;
    color: white;
}

.share-btn--linkedin:hover {
    background: #095ba8;
    box-shadow: 0 4px 15px rgba(10, 102, 194, 0.4);
}

.share-btn--telegram {
    background: #0088cc;
    color: white;
}

.share-btn--telegram:hover {
    background: #007ab8;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.share-btn--twitter {
    background: #1da1f2;
    color: white;
}

.share-btn--twitter:hover {
    background: #1a91da;
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.4);
}

.share-btn--copy {
    background: var(--color-gray-200);
    color: var(--color-gray-700);
}

.share-btn--copy:hover {
    background: var(--color-gray-300);
}

/* ============================================
   ORGANIZATION PAGE STYLES
   ============================================ */

.org-member-card {
    transition: all var(--transition-normal);
}

.org-member-card:hover {
    transform: translateY(-5px);
}

/* ============================================
   PROSE STYLES FOR PROFILE CONTENT
   ============================================ */

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    color: var(--color-primary);
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.prose p {
    margin-bottom: 1em;
    line-height: 1.75;
    color: var(--color-gray-700);
}

.prose ul,
.prose ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.prose li {
    margin-bottom: 0.5em;
}

.prose a {
    color: var(--color-teal);
    text-decoration: underline;
}

.prose a:hover {
    color: var(--color-primary);
}
/* ============================================
   GRADUATE STATISTICS SECTION - Added 2026-02-05
   Simple tabs and cards for faculty/prodi stats
   ============================================ */

/* Tabs - Clean text-based design */
.graduate-tab {
    padding: 12px 24px;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    background: none;
    cursor: pointer;
}

.graduate-tab.active {
    color: #1a5e3d;
    border-bottom-color: #1a5e3d;
}

.graduate-tab:hover {
    color: #1a5e3d;
}

/* Tab Content Display */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Graduate Cards - Clean minimal design */
.graduate-card {
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.graduate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #1a5e3d;
}
