/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

:root {
    --font-sans: "Inter", sans-serif;
    --font-heading: "Outfit", sans-serif;

    /* Primary Colors (Blue) */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;

    /* Secondary Colors (Purple/Indigo) */
    --secondary-50: #f5f3ff;
    --secondary-100: #ede9fe;
    --secondary-200: #ddd6fe;
    --secondary-500: #8b5cf6;
    --secondary-600: #7c3aed;

    /* Slate (Grays) */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for sticky header */
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--slate-800);
    line-height: 1.6;
    /* Better readability */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Crisp text */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
    /* 20px padding on mobile */
}

@media (min-width: 640px) {
    .container {
        padding: 0 2rem;
    }
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.grid {
    display: grid;
}

.gap-6 {
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

/* --- NAVBAR --- */
/* --- NAVBAR --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--slate-100);
    transition: all 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    padding: 0.5rem 1rem;
    position: relative;
    z-index: 51;
}

@media (min-width: 1024px) {
    .nav-container {
        min-height: 90px;
    }
}

.nav-logo-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    z-index: 51;
}

@media (min-width: 640px) {
    .nav-logo-group {
        gap: 1.5rem;
    }
}

.logo-college {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

.logo-club {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

@media (min-width: 640px) {
    .logo-college {
        height: 60px;
        /* Slightly smaller on mobile-landscape */
        width: auto;
    }

    .logo-club {
        height: 70px;
        width: auto;
    }
}

@media (min-width: 1024px) {
    .logo-college {
        height: 70px;
    }

    .logo-club {
        height: 90px;
        width: auto;
    }
}

.nav-title {
    font-weight: 800;
    background: linear-gradient(to right, var(--primary-600), var(--secondary-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--font-heading);
    text-align: center;
    line-height: 1.1;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-size: clamp(0.7rem, 2.5vw, 1.75rem);
    display: block;
    white-space: normal;
    flex-grow: 1;
    padding: 0 0.5rem;
}

/* Desktop Menu */
.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }

    .nav-title {
        text-align: left;
        white-space: nowrap;
        font-size: 1.5rem;
        flex-grow: 0;
        width: auto;
    }
}



.nav-link {
    color: var(--slate-600);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-600);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-600);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav-join {
    background-color: var(--primary-600);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
    transition: all 0.2s;
}

.btn-nav-join:hover {
    background-color: var(--primary-700);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.5);
}

/* Mobile Menu Button */
.menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--slate-600);
    z-index: 52;
}

@media (min-width: 1024px) {
    .menu-btn {
        display: none;
    }
}

/* Animated Mobile Menu */
.mobile-menu {
    display: block;
    /* Always block for animation */
    background: white;
    border-top: 1px solid var(--slate-100);
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 40;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    padding: 1rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem;
    color: var(--slate-700);
    font-weight: 600;
    border-radius: 0.5rem;
    border-bottom: 1px solid var(--slate-50);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    background-color: var(--slate-50);
    color: var(--primary-600);
    padding-left: 1.5rem;
    /* Slide effect */
    transition: padding 0.2s;
}

.mobile-nav-link:hover {
    background-color: var(--slate-50);
    color: var(--primary-600);
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    padding: 4rem 0 8rem;
    background-color: var(--slate-50);
    overflow: hidden;
    text-align: center;
}

/* Blobs */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    /* Enhanced blur */
    opacity: 0.3;
    mix-blend-mode: multiply;
    animation: blob 7s infinite;
}

.blob-1 {
    top: -20px;
    left: -20px;
    width: 400px;
    height: 400px;
    background: var(--primary-200);
}

.blob-2 {
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: var(--secondary-200);
    animation-delay: 2s;
}

.blob-3 {
    bottom: -50px;
    left: 100px;
    width: 400px;
    height: 400px;
    background: #fbcfe8;
    animation-delay: 4s;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-50);
    color: var(--primary-600);
    border: 1px solid var(--primary-100);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    line-height: 1.1;
    padding: 0 1rem;
}

.hero-gradient-text {
    background: linear-gradient(to right, #2563eb, #4f46e5, #a855f7, #38bdf8, #a855f7, #4f46e5, #2563eb);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 8s linear infinite;
    display: block;
    white-space: nowrap;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--slate-600);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.2s;
    font-size: 1.125rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-600);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--slate-800);
    border: 1px solid var(--slate-200);
}

.btn-secondary:hover {
    background-color: var(--slate-50);
}

/* Animations Keyframes */
@keyframes blob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* --- SECTIONS --- */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
    text-align: center;
}

.section-desc {
    color: var(--slate-600);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto 4rem;
    text-align: center;
}

/* --- FEATURES --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-100);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s, transform 0.3s;
    height: 100%;
    text-align: left;
}

.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-5px);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

/* --- EVENTS --- */
.events-section {
    background-color: white;
}

.events-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.events-divider {
    border-left: 4px solid var(--primary-600);
    padding-left: 1rem;
}

.events-title-sm {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
}

.event-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .event-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.event-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-300);
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-image {
    height: 200px;
    background-color: var(--slate-200);
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.event-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-date-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background-color: var(--primary-50);
    color: var(--primary-600);
    margin-bottom: 0.5rem;
    align-self: flex-start;
}

.event-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--slate-900);
}

.event-desc {
    font-size: 0.875rem;
    color: var(--slate-600);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.btn-event-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-600);
    color: white;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.25);
    margin-top: auto;
    width: 100%;
    border: none;
    cursor: pointer;
}

.btn-event-register:hover {
    background-color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
    color: white;
}

.btn-event-register:active {
    transform: translateY(0);
}

.btn-event-register.closed {
    background-color: var(--slate-400);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    opacity: 0.8;
}

.btn-event-register.closed:hover {
    background-color: var(--slate-400);
    transform: none;
    box-shadow: none;
}

/* --- SPEAKERS --- */
.speakers-section {
    background-color: var(--slate-50);
}

.speaker-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--slate-100);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.speaker-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-200);
}

.speaker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-500), var(--secondary-500));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.speaker-card:hover::before {
    transform: scaleX(1);
}

/* Hover Tooltip Hint */
.speaker-card::after {
    content: 'Click to view details';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 20px);
    background: var(--primary-600);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
    z-index: 10;
    pointer-events: none;
}

.speaker-card:hover::after {
    bottom: 1.5rem;
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Info Card (No click, just visual hover) */
.info-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--slate-100);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.info-card.reveal.active {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-card.reveal.active:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-100);
    z-index: 10;
}

/* Also fix for speakers just in case */
.speaker-card.reveal.active:hover {
    transform: translateY(-10px) scale(1.02);
}

.speaker-img-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: var(--slate-200);
}

.speaker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.25rem;
}

.speaker-role {
    color: var(--primary-600);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.speaker-event {
    font-size: 0.85rem;
    color: var(--slate-500);
}

/* --- ABOUT --- */
.about-mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 6rem;
}

@media (min-width: 768px) {
    .about-mission-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.25rem;
    text-align: center;
    border: 1px solid var(--slate-100);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-100);
    background: var(--primary-50);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    width: 4rem;
    height: 4rem;
    background: var(--slate-50);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: var(--white);
    transform: scale(1.1);
}

.stat-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--slate-900);
}

.stat-card p {
    font-size: 0.95rem;
    color: var(--slate-500);
}

/* --- JOIN --- */
.join-section {
    background: radial-gradient(circle at top right, #1e3a8a, #0f172a 70%),
        linear-gradient(135deg, #0f172a 0%, #172554 100%);
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    color: white;
}

.join-bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.join-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.join-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.join-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 2rem;
    border: 3px solid rgba(59, 130, 246, 0.5);
    padding: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.join-section .bg-blob {
    mix-blend-mode: screen;
    opacity: 0.15;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--slate-900);
    color: var(--slate-300);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--slate-800);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    height: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-400);
}

.footer-copy {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--slate-800);
    font-size: 0.875rem;
    color: var(--slate-500);
}

/* Scroll Animation Helper */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Mobile Fix Overrides */
.nav-title {
    white-space: normal !important;
}

.hero-gradient-text {
    white-space: normal !important;
    display: inline-block !important;
}



/* --- SCROLL REVEAL ANIMATION --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- CUSTOM CURSOR --- */
@media (pointer: fine) {
    * {
        cursor: none !important;
    }

    .cursor-dot,
    .cursor-outline {
        pointer-events: none;
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        z-index: 9999;
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-out;
    }

    .cursor-dot {
        width: 8px;
        height: 8px;
        background-color: var(--primary-600);
    }

    .cursor-outline {
        width: 40px;
        height: 40px;
        border: 2px solid var(--primary-600);
        transition: transform 0.1s ease-out, width 0.3s ease, height 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    }

    /* Hover State */
    .cursor-hover .cursor-dot {
        transform: translate(-50%, -50%) scale(1.5);
        background-color: var(--secondary-500);
    }

    .cursor-hover .cursor-outline {
        width: 60px;
        height: 60px;
        background-color: rgba(139, 92, 246, 0.1);
        border-color: var(--secondary-500);
    }
}

/* Hide on touch devices */
@media (pointer: coarse) {

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}