/* 
 * Filename: styles.css
 * Purpose: Main stylesheet for Tech Nest website
 * Includes: Custom variables, typography, layouts, animations, and responsive design
 */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --light-text: #f1f5f9;
    --gray-text: #94a3b8;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;
    --font-accent: 'Orbitron', sans-serif;
    --transition-speed: 0.3s;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

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

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary-color);
}

a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    border-top: 2px solid var(--primary-color);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-link {
    color: var(--gray-text);
    font-size: 0.9rem;
    white-space: nowrap;
}

/* ===== Navigation ===== */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 700;
}

.brand-tech {
    color: var(--primary-color);
}

.brand-nest {
    color: var(--light-text);
}

.nav-link {
    color: var(--light-text) !important;
    margin: 0 0.5rem;
    position: relative;
    transition: all var(--transition-speed) ease;
}

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

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

/* ===== Buttons ===== */
.btn {
    font-family: var(--font-secondary);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gray-text);
    color: var(--gray-text);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-light {
    border: 2px solid var(--light-text);
    color: var(--light-text);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--light-text);
    color: var(--dark-bg);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    /* z-index: 2; */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-heading {
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.hero-subheading {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 0;
        top: 8px;
    }
    50% {
        opacity: 1;
        top: 16px;
    }
}

/* ===== Section Styling ===== */
.section-padding {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--gray-text);
    font-size: 1.2rem;
}

/* ===== AI Playground Section ===== */
.playground-section {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.playground-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.playground-explanation {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.playground-explanation h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.output-display {
    background: var(--darker-bg);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    min-height: 150px;
    color: var(--light-text);
    font-family: 'Courier New', monospace;
    line-height: 1.8;
}

/* ===== Curriculum Kaleidoscope ===== */
.curriculum-section {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.curriculum-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.curriculum-card {
    perspective: 1000px;
    height: 300px;
    animation: floatIn 1s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px) rotateX(-10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.testimonial-avatar{
    width: 60px;
    height: 60px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}
.swiper-pagination{
    top: 20px;
}
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.curriculum-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.card-front {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 2px solid rgba(99, 102, 241, 0.3);
}

.card-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: rotateY(180deg);
}

.module-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.card-front h3 {
    color: var(--light-text);
    margin: 0;
}

.card-back p {
    color: white;
    margin: 0;
}

/* ===== Ethics Compass ===== */
.ethics-section {
    background: var(--darker-bg);
}

.ethics-checklist {
    max-width: 900px;
    margin: 0 auto;
}

.ethics-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

.ethics-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.2);
}

.ethics-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.ethics-check {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.ethics-header label {
    flex: 1;
    cursor: pointer;
    margin: 0;
}

.ethics-header h3 {
    margin: 0;
    color: var(--light-text);
    font-size: 1.3rem;
}

.ethics-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.ethics-check:checked ~ label + .ethics-content,
.ethics-item:has(.ethics-check:checked) .ethics-content {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* ===== Live Cohort Map ===== */
.cohort-map-section {
    background: var(--dark-bg);
}

.map-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.world-map {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.4) saturate(0.5);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cohort-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
}

.pin-pulse {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.3;
    animation: pulse 2s infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.pin-marker {
    position: relative;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.pin-label {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed) ease;
    border: 1px solid var(--primary-color);
}

.cohort-pin:hover .pin-label {
    opacity: 1;
}

.pin-label small {
    color: var(--gray-text);
    display: block;
}

/* ===== Student Mosaic ===== */
.student-mosaic-section {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

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

.mosaic-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
}

.mosaic-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.mosaic-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 1rem;
}

.mosaic-quote {
    font-style: italic;
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.mosaic-author {
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 0.25rem;
}

.mosaic-role {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin: 0;
}

/* ===== Algorithm Visualizer ===== */
.visualizer-section {
    background: var(--dark-bg);
}

.visualizer-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.visualizer-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.sort-canvas {
    width: 100%;
    height: 400px;
    background: var(--darker-bg);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.visualizer-info {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Credential Section ===== */
.credential-section {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.credential-description {
    color: var(--gray-text);
    font-size: 1.1rem;
    line-height: 1.8;
}

.credential-features {
    list-style: none;
    padding: 0;
}

.credential-features li {
    padding: 0.75rem 0;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credential-features li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.certificate-preview {
    perspective: 1000px;
}

.certificate-border {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 4px;
    border-radius: var(--border-radius);
    transform: rotateY(-5deg);
    transition: transform var(--transition-speed) ease;
}

.certificate-border:hover {
    transform: rotateY(0deg);
}

.certificate-content {
    background: white;
    color: var(--dark-bg);
    padding: 3rem;
    border-radius: calc(var(--border-radius) - 4px);
    text-align: center;
}

.certificate-title {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.certificate-logo {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.certificate-logo span {
    color: var(--primary-color);
}

.certificate-text {
    font-size: 1rem;
    color: #666;
    margin: 0.5rem 0;
}

.certificate-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 1rem 0;
}

.certificate-course {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 1rem 0 2rem;
}

.certificate-details {
    font-size: 0.9rem;
    color: #888;
}

/* ===== Soundscape Section ===== */
.soundscape-section {
    background: var(--dark-bg);
}

.soundscape-controls {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.btn-sound {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: var(--border-radius);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    margin-bottom: 1.5rem;
}

.btn-sound:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.sound-icon {
    font-size: 1.5rem;
}

.volume-control {
    margin-top: 1rem;
}

.volume-control label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-text);
}

.form-range {
    width: 100%;
    accent-color: var(--primary-color);
}

.soundscape-note {
    margin-top: 1.5rem;
    color: var(--gray-text);
    font-size: 0.9rem;
    text-align: center;
}

/* ===== Glossary Section ===== */
.glossary-section {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.glossary-widget {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.glossary-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.glossary-input-group .form-control {
    flex: 1;
    background: var(--darker-bg);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--light-text);
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.glossary-input-group .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.glossary-output {
    background: var(--darker-bg);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    min-height: 120px;
}

.glossary-output .placeholder-text {
    color: var(--gray-text);
    font-style: italic;
    text-align: center;
    margin: 2rem 0;
}

.glossary-output .term-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.glossary-output .term-definition {
    color: var(--light-text);
    line-height: 1.6;
}

/* ===== Pricing Section ===== */
.pricing-section {
    background: var(--dark-bg);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--border-radius);
    padding: 3rem;
    transition: all var(--transition-speed) ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.pricing-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 2rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.pricing-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.currency {
    font-size: 2rem;
    color: var(--gray-text);
}

.price {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 1.2rem;
    color: var(--gray-text);
}

.pricing-note {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.pricing-features h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--gray-text);
    display: flex;
    align-items: start;
    gap: 1rem;
}

.check-icon {
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pricing-guarantee {
    text-align: center;
    margin-top: 2rem;
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.newsletter-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.newsletter-form .input-group {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border-radius: 12px;
}

.newsletter-form .input-group input::placeholder{
    color: #fff!important;
}

.newsletter-form .form-control {
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
}
.footer{
    padding-top: 60px;
}
.newsletter-form .form-control:focus {
    box-shadow: none;
}
.footer-description{
    margin-top: 20px;
}

.team-card{

    gap: 10px;
}

.team-card img{
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;

}
.newsletter-form .btn-primary {
    padding: 1rem 2.5rem;
    background: var(--darker-bg);
    border: none;
}

.newsletter-form .btn-primary:hover {
    background: var(--dark-bg);
}

.newsletter-privacy {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.newsletter-privacy a {
    color: white;
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer-section {
    background: var(--darker-bg);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-brand {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-icon {
    font-style: normal;
    font-size: 1.2rem;
}

.footer-heading {
    color: var(--light-text);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: var(--gray-text);
    transition: color var(--transition-speed) ease;
}

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

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

.footer-contact li {
    color: var(--gray-text);
    margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    text-align: center;
}

.copyright {
    color: var(--gray-text);
    margin: 0;
}

.footer-note {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== Page Header (for internal pages) ===== */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    text-align: center;
}

.page-title {
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--gray-text);
    font-size: 1.3rem;
}

/* ===== Forms ===== */
.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--light-text);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-control::placeholder {
    color: var(--gray-text);
}

.form-label {
    color: var(--light-text);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-text {
    color: var(--gray-text);
    font-size: 0.875rem;
}

.invalid-feedback {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #ef4444;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ===== Modal ===== */
.modal-content {
    background: var(--dark-bg);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--border-radius);
}

.modal-header {
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.modal-title {
    color: var(--light-text);
}

.btn-close {
    filter: invert(1);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
    
    .mosaic-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .glossary-input-group {
        flex-direction: column;
    }
}

/* ===== Utility Classes ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-pattern {
    background-image: 
        linear-gradient(30deg, rgba(99, 102, 241, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(99, 102, 241, 0.05) 87.5%, rgba(99, 102, 241, 0.05)),
        linear-gradient(150deg, rgba(99, 102, 241, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(99, 102, 241, 0.05) 87.5%, rgba(99, 102, 241, 0.05)),
        linear-gradient(30deg, rgba(99, 102, 241, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(99, 102, 241, 0.05) 87.5%, rgba(99, 102, 241, 0.05)),
        linear-gradient(150deg, rgba(99, 102, 241, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(99, 102, 241, 0.05) 87.5%, rgba(99, 102, 241, 0.05));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

/* ===== Accessibility ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .footer-section,
    .cookie-banner,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

.navbar-brand img{
    max-width: 200px;
}

html{
    overflow-x: hidden;
}