/* ============================================
   CSS Variables - Tetrad Color Scheme
   ============================================ */
:root {
    /* Primary Tetrad Colors */
    --primary-color: #00D9FF;
    --secondary-color: #FF00E5;
    --tertiary-color: #FFE600;
    --quaternary-color: #00FF85;
    
    /* Darker Variants */
    --primary-dark: #00A5C7;
    --secondary-dark: #C700B3;
    --tertiary-dark: #CCB800;
    --quaternary-dark: #00CC6A;
    
    /* Lighter Variants */
    --primary-light: #66E9FF;
    --secondary-light: #FF66F0;
    --tertiary-light: #FFF266;
    --quaternary-light: #66FFAC;
    
    /* Neutral Colors */
    --background-color: #0A0E27;
    --surface-color: #1A1F3A;
    --surface-light: #252B4A;
    --text-color: #E8EBF7;
    --text-secondary: #A8AEC7;
    --text-dark: #0A0E27;
    --white: #FFFFFF;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--tertiary-color) 0%, var(--quaternary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    --gradient-dark: linear-gradient(135deg, var(--background-color) 0%, var(--surface-color) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(255, 0, 229, 0.1) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 217, 255, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 217, 255, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 217, 255, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 217, 255, 0.4);
    --shadow-glow: 0 0 30px rgba(0, 217, 255, 0.5);
    
    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ============================================
   Global Styles & Reset
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Adaptive Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
}

h6 {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-base);
}

a:hover {
    color: var(--primary-light);
    text-decoration: none;
}

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

ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: var(--spacing-md) auto 0;
    border-radius: var(--radius-sm);
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* ============================================
   Button Styles - GLOBAL
   ============================================ */
.button,
.btn,
button[type="submit"],
input[type="submit"],
a.button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button::before,
.btn::before,
button[type="submit"]::before,
input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-accent);
    transition: width var(--transition-base);
    z-index: -1;
}

.button:hover::before,
.btn:hover::before,
button[type="submit"]:hover::before,
input[type="submit"]:hover::before {
    width: 100%;
}

.button.is-primary,
.btn-primary,
.button:not([class*="is-"]) {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.button.is-primary:hover,
.btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.button.is-secondary,
.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
}

.button.is-light,
.btn-light {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark) !important;
    border: 2px solid var(--primary-color);
    font-weight: 700;
}

.button.is-light:hover,
.btn-light:hover {
    background: var(--primary-color);
    color: var(--white) !important;
    border-color: var(--primary-color);
}

.button.is-large,
.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
}

.button.is-fullwidth {
    width: 100%;
}

.btn-animated {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: var(--shadow-md);
    }
    50% {
        box-shadow: var(--shadow-glow);
    }
}

.button.is-text {
    background: transparent;
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
}

.button.is-text::after {
    content: '→';
    margin-left: var(--spacing-xs);
    display: inline-block;
    transition: transform var(--transition-base);
}

.button.is-text:hover {
    color: var(--primary-light);
}

.button.is-text:hover::after {
    transform: translateX(4px);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

.header.is-scrolled {
    background: rgba(10, 14, 39, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar {
    padding: var(--spacing-sm) 0;
    background: transparent !important;
}

.navbar-menu {
    background: transparent;
}

@media screen and (max-width: 1023px) {
    .navbar-menu.is-active {
        background: rgba(10, 14, 39, 0.98) !important;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(0, 217, 255, 0.2);
    }
}

.navbar-brand .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-item,
a.navbar-item {
    color: var(--text-color) !important;
    padding: var(--spacing-xs) var(--spacing-md);
    font-weight: 500;
    transition: all var(--transition-base);
    position: relative;
    background-color: transparent !important;
}

.navbar-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.navbar-item:hover,
a.navbar-item:hover {
    color: var(--primary-color) !important;
    background-color: transparent !important;
}

.navbar-item:hover::after {
    width: 80%;
}

.navbar-burger {
    color: var(--white);
}

.navbar-burger span {
    background-color: var(--white);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2) 0%, rgba(255, 0, 229, 0.2) 100%);
    z-index: 2;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.hero-body {
    position: relative;
    z-index: 4;
    width: 100%;
}

.hero-title {
    color: var(--white) !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    color: var(--white) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Card Styles - STRICT CENTERING
   ============================================ */
.card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.card-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-light);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
    margin: 0 auto;
}

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

.card-content {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
}

.card-content h3,
.card-content h4,
.card-content h5 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.card-content p {
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: var(--spacing-md);
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    background: var(--gradient-dark);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    opacity: 0.5;
}

.feature-card {
    background: rgba(26, 31, 58, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.feature-card:hover {
    background: rgba(26, 31, 58, 0.95);
}

.feature-card .card-content h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Workshops Section
   ============================================ */
.workshops-section {
    background: var(--background-color);
}

.workshop-card {
    border: 2px solid transparent;
    background: var(--surface-color);
}

.workshop-card:hover {
    border-color: var(--secondary-color);
}

.workshop-date {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--text-dark);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.workshop-card .image-container {
    height: 250px;
}

/* ============================================
   Case Studies Section
   ============================================ */
.case-studies-section {
    background: var(--gradient-dark);
    position: relative;
}

.case-study-card {
    background: var(--surface-color);
    border-left: 4px solid var(--quaternary-color);
}

.case-study-card:hover {
    border-left-width: 8px;
}

.case-study-category {
    display: inline-block;
    background: var(--quaternary-color);
    color: var(--text-dark);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-study-card .image-container {
    height: 320px;
}

/* ============================================
   Blog Section
   ============================================ */
.blog-section {
    background: var(--background-color);
}

.blog-card {
    background: var(--surface-color);
    border-top: 3px solid var(--primary-color);
}

.blog-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
}

.blog-card .image-container {
    height: 240px;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    background: var(--gradient-dark);
    position: relative;
}

.testimonial-card {
    background: rgba(26, 31, 58, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 229, 0.2);
    text-align: left;
}

.testimonial-card:hover {
    border-color: var(--secondary-color);
}

.testimonial-card .media {
    margin-bottom: var(--spacing-md);
}

.testimonial-card .image {
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.testimonial-card .image img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    object-position: center;
}

.testimonial-card .title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.testimonial-card .subtitle {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 0;
}

.rating {
    color: var(--tertiary-color);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
}

.testimonial-card .content p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.8;
}

/* ============================================
   Media & News Section
   ============================================ */
.media-section {
    background: var(--background-color);
}

.media-card {
    background: var(--surface-color);
    border-left: 4px solid var(--tertiary-color);
    text-align: left;
}

.media-source {
    color: var(--tertiary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
}

.media-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-md);
}

.media-card h3 {
    font-size: 1.2rem;
    color: var(--white);
}

/* ============================================
   Community Section
   ============================================ */
.community-section {
    background: var(--gradient-dark);
}

.community-card {
    background: var(--surface-color);
    border: 2px solid var(--quaternary-color);
}

.community-card .image-container {
    height: 400px;
}

.event-calendar {
    background: rgba(26, 31, 58, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-color);
    position: sticky;
    top: 100px;
}

.event-item {
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    transition: all var(--transition-base);
}

.event-item:last-child {
    border-bottom: none;
}

.event-item:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateX(4px);
}

.event-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.event-time {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   Resources Section
   ============================================ */
.resources-section {
    background: var(--background-color);
}

.resource-card {
    background: var(--surface-color);
    border: 1px solid rgba(0, 217, 255, 0.2);
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.resource-card:hover {
    border-color: var(--primary-color);
}

.resource-card h3 a {
    color: var(--white);
    transition: color var(--transition-base);
}

.resource-card h3 a:hover {
    color: var(--primary-color);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: var(--gradient-dark);
    position: relative;
}

.contact-info-card {
    background: rgba(26, 31, 58, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-color);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.contact-label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item p {
    color: var(--text-color);
    margin-bottom: 0;
}

.contact-item a {
    color: var(--text-color);
}

.contact-item a:hover {
    color: var(--primary-light);
}

.contact-form-card {
    background: var(--surface-color);
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.contact-form .field {
    margin-bottom: var(--spacing-md);
}

.contact-form label {
    color: var(--white);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.contact-form .input,
.contact-form .textarea {
    background: rgba(26, 31, 58, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--white);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    width: 100%;
    font-family: var(--font-body);
    transition: all var(--transition-base);
}

.contact-form .input:focus,
.contact-form .textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
    outline: none;
}

.contact-form .input::placeholder,
.contact-form .textarea::placeholder {
    color: var(--text-secondary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--surface-color);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    margin-top: var(--spacing-3xl);
}

.footer-title {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.footer-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: var(--spacing-lg);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    transition: all var(--transition-base);
    display: inline-block;
}

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

.footer-contact {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--text-secondary);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: var(--spacing-lg);
}

.social-links a {
    display: inline-block;
    color: var(--white);
    background: var(--gradient-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    margin-right: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition-base);
    text-decoration: none;
    font-size: 0.9rem;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   About Page
   ============================================ */
.about-hero {
    background: var(--gradient-dark);
    padding: var(--spacing-3xl) 0;
    margin-top: 80px;
    text-align: center;
}

.about-content {
    background: var(--surface-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.about-content h2 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.team-section {
    background: var(--background-color);
    padding: var(--spacing-3xl) 0;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-full);
    object-fit: cover;
    object-position: center;
    border: 4px solid var(--primary-color);
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--shadow-lg);
}

.team-member h3 {
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.team-member p {
    color: var(--text-secondary);
}

/* ============================================
   Contacts Page
   ============================================ */
.contacts-hero {
    background: var(--gradient-dark);
    padding: var(--spacing-3xl) 0;
    margin-top: 80px;
    text-align: center;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   Privacy & Terms Pages
   ============================================ */
.privacy-content,
.terms-content {
    background: var(--surface-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-top: 100px;
    margin-bottom: var(--spacing-xl);
}

.privacy-content h1,
.terms-content h1 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.privacy-content h2,
.terms-content h2 {
    color: var(--primary-color);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.privacy-content p,
.terms-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.privacy-content ul,
.terms-content ul {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.privacy-content li,
.terms-content li {
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   Success Page
   ============================================ */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    padding: var(--spacing-xl);
}

.success-content {
    background: var(--surface-color);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 600px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--primary-color);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: 2.5rem;
    animation: scaleIn 0.5s ease;
}

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

.success-content h1 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.success-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    font-size: 1.1rem;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-6 {
    margin-bottom: var(--spacing-3xl);
}

.mt-4 {
    margin-top: var(--spacing-lg);
}

.has-text-centered {
    text-align: center;
}

/* ============================================
   Responsive Design
   ============================================ */
@media screen and (max-width: 1024px) {
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .image-container {
        height: 250px;
    }
    
    .workshop-card .image-container {
        height: 220px;
    }
    
    .case-study-card .image-container {
        height: 280px;
    }
    
    .community-card .image-container {
        height: 350px;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .button {
        width: 100%;
        max-width: 300px;
    }
    
    .image-container {
        height: 220px;
    }
    
    .workshop-card .image-container,
    .case-study-card .image-container,
    .blog-card .image-container {
        height: 200px;
    }
    
    .community-card .image-container {
        height: 300px;
    }
    
    .team-member img {
        width: 150px;
        height: 150px;
    }
    
    .event-calendar {
        position: static;
        margin-top: var(--spacing-lg);
    }
    
    .footer .columns {
        gap: var(--spacing-xl);
    }
    
    .social-links a {
        display: block;
        text-align: center;
        margin-right: 0;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .card-content {
        padding: var(--spacing-md);
    }
    
    .image-container {
        height: 180px;
    }
    
    .success-content {
        padding: var(--spacing-xl);
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: var(--shadow-md);
    }
    50% {
        box-shadow: var(--shadow-glow);
    }
}

/* Particle Animation */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header,
    .footer,
    .hero-buttons,
    .navbar,
    #particles-canvas {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
}