/* ==========================================
   IEDC AISAT Premium Landing Page Stylesheet
   ========================================== */

/* --- Custom Properties (Color Palette & Variables) --- */
:root {
    --bg-primary: #080C14;
    --bg-secondary: #0F1626;
    --bg-tertiary: #162035;
    
    --accent-blue: #00E5FF;
    --accent-blue-deep: #0066FF;
    --accent-orange: #FF5E00;
    --accent-orange-deep: #D04800;
    
    --text-primary: #FFFFFF;
    --text-secondary: #A3AED0;
    --text-muted: #64748B;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 229, 255, 0.3);
    
    --accent-gradient: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-deep) 100%);
    --orange-gradient: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-deep) 100%);
    --bg-gradient: radial-gradient(circle at 50% 50%, #101F3B 0%, var(--bg-primary) 100%);
    
    --font-sans: 'Inter', sans-serif;
    --font-title: 'Outfit', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glow-blue: 0 0 20px rgba(0, 229, 255, 0.15);
    --glow-orange: 0 0 20px rgba(255, 94, 0, 0.15);
    
    --nav-height: 80px;
    --container-width: 1200px;
}

/* --- Basic Resets --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

button, input, textarea {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
}

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

/* --- Helper Utilities --- */
.section-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 100px 24px;
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-muted {
    color: var(--text-secondary);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-blue);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 4px;
}

.section-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    font-weight: 400;
}

.section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #000000;
    box-shadow: var(--glow-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* --- Navbar --- */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(8, 12, 20, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

/* Scroll Navbar State */
.navbar.scrolled {
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    height: 70px;
}

.nav-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--accent-blue);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: inset 0 0 12px rgba(0, 229, 255, 0.02);
}

.nav-btn:hover {
    background: var(--accent-gradient);
    color: #000000;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: var(--glow-blue);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath fill-rule='evenodd' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm1-61c3.148 0 5.7-2.552 5.7-5.7 0-3.148-2.552-5.7-5.7-5.7-3.148 0-5.7 2.552-5.7 5.7 0 3.148 2.552 5.7 5.7 5.7zm50 11c3.148 0 5.7-2.552 5.7-5.7 0-3.148-2.552-5.7-5.7-5.7-3.148 0-5.7 2.552-5.7 5.7 0 3.148 2.552 5.7 5.7 5.7zm-20 6c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 39c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.orb-1 {
    top: 15%;
    right: 10%;
    width: 350px;
    height: 350px;
    background: var(--accent-blue-deep);
}

.orb-2 {
    bottom: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: var(--accent-orange);
}

.hero-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-orange);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-tag::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange);
}

.hero-title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Graphic */
.image-wrapper {
    position: relative;
    border-radius: 16px;
    padding: 6px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2) 0%, rgba(255, 94, 0, 0.2) 100%);
    box-shadow: var(--card-shadow);
}

.hero-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: var(--transition-slow);
}

.image-wrapper:hover .hero-image {
    transform: scale(1.02);
}

.image-border-glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
    transition: var(--transition-normal);
}

.image-wrapper:hover .image-border-glow {
    opacity: 1;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.2);
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* --- About Section --- */
.about-section {
    background-color: var(--bg-primary);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon-small {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.15);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-feature-item h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.about-feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.visual-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.visual-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.visual-card h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.visual-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-icon {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.accent-glow-card .card-icon {
    color: var(--accent-blue);
}

.accent-glow-card-orange .card-icon {
    color: var(--accent-orange);
}

/* Subtle corner neon glows */
.accent-glow-card::before, .accent-glow-card-orange::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    opacity: 0.15;
    transition: var(--transition-normal);
}

.accent-glow-card::before { background-color: var(--accent-blue); }
.accent-glow-card-orange::before { background-color: var(--accent-orange); }

.visual-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow);
}

.accent-glow-card-orange:hover {
    border-color: rgba(255, 94, 0, 0.3);
}

.visual-card:hover::before {
    opacity: 0.35;
}

/* --- Services / What We Do --- */
.services-section {
    background-color: var(--bg-secondary);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent-orange);
    margin-bottom: 28px;
    transition: var(--transition-normal);
}

.service-icon.accent-blue {
    color: var(--accent-blue);
}

.service-title {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.service-link i {
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

.service-card:hover {
    transform: translateY(-8px);
    background-color: #1a253c;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--card-shadow);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: rgba(255, 94, 0, 0.1);
    border-color: rgba(255, 94, 0, 0.2);
}

.service-card:hover .service-icon.accent-blue {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.2);
}

/* Active Border Card Variant */
.service-card.active-border {
    border-color: rgba(0, 229, 255, 0.25);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.03);
}

/* --- Stats Counter --- */
.stats-section {
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(255, 94, 0, 0.04) 100%);
    filter: blur(100px);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    transition: var(--transition-normal);
}

.stat-number-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #FFFFFF 40%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card:nth-child(even) .stat-number-wrapper {
    background: linear-gradient(135deg, #FFFFFF 40%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-plus {
    margin-left: 2px;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

/* --- Event Gallery Section --- */
.gallery-section {
    background-color: var(--bg-primary);
}

.gallery-filters, .gallery-filters-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #000000;
    box-shadow: var(--glow-blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 12, 20, 0.95) 0%, rgba(8, 12, 20, 0.4) 70%, rgba(8, 12, 20, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

.gallery-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 8px;
    letter-spacing: 1.5px;
}

.gallery-overlay h4 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Hover States for Gallery */
.gallery-item:hover {
    box-shadow: var(--card-shadow);
    transform: scale(1.03);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Filtering Animation Classes */
.gallery-item.hide {
    opacity: 0;
    transform: scale(0.85);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.cta-bg-glow {
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(120px);
    pointer-events: none;
}

.cta-box {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    padding: 80px 40px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 229, 255, 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.cta-box h2 {
    font-family: var(--font-title);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.15);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-item a:hover {
    color: var(--accent-blue);
}

/* Form Styling */
.contact-form-container {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 44px;
    box-shadow: var(--card-shadow);
}

.form-title {
    font-family: var(--font-title);
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
}

.form-status {
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.form-status.success {
    color: #4ADE80;
}

.form-status.error {
    color: #F87171;
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent-blue);
    color: #000000;
    border-color: var(--accent-blue);
    box-shadow: var(--glow-blue);
    transform: translateY(-2px);
}

.footer-links-col h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 22px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(3px);
}

.external-link i {
    font-size: 0.75rem;
    margin-left: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* --- Responsive Breakpoints (Mobile First Approach) --- */

/* Tablet Layout (min-width: 768px) */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-graphic {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Layout (max-width: 767px) */
@media (max-width: 767px) {
    :root {
        --nav-height: 70px;
    }
    
    .section-container {
        padding: 60px 16px;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    /* Mobile Menu Drawer */
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 60px;
        gap: 32px;
        transition: var(--transition-normal);
        z-index: 999;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.25rem;
        display: block;
        width: fit-content;
        margin: 0 auto;
    }
    
    .nav-btn {
        width: 80%;
        display: block;
        margin: 0 auto;
        padding: 14px;
        font-size: 1.1rem;
    }
    
    /* Hamburger Menu Animation */
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .cta-box {
        padding: 50px 20px;
    }
}

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}

/* --- Dynamic Event Cards Shared Styles --- */
.events-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
    min-height: 200px;
}
.event-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
    height: 100%;
}
.event-card-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-tertiary);
}
.event-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
}
.event-card:hover .event-card-img-wrapper img {
    transform: scale(1.05);
}
.event-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2;
}
.badge-upcoming {
    background-color: var(--accent-blue);
    color: #000;
}
.badge-ongoing {
    background-color: #22C55E;
    color: #000;
}
.badge-past {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}
.event-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.event-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--accent-orange);
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.event-card-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}
.event-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.event-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.event-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--card-shadow);
}

/* --- Gallery Teaser Hover Animation --- */
.view-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease-in-out;
}
.view-gallery-btn:hover {
    background: var(--accent-gradient);
    color: #000;
    border-color: transparent;
    box-shadow: var(--glow-blue);
    transform: scale(1.05);
    padding: 14px 38px;
}

/* --- Show More & General Button Transitions --- */
.btn, .filter-btn, .view-gallery-btn, .nav-btn, .logout-btn {
    transition: all 0.3s ease-in-out !important;
}

