/* CSS Variables */
:root {
    /* Pastel Color Palette */
    --primary-color: #FFB6C1;
    --primary-dark: #FF91A4;
    --secondary-color: #E6E6FA;
    --secondary-dark: #D8BFD8;
    --accent-color: #98D8C8;
    --accent-dark: #7ECDB0;
    --background-light: #F7F3FF;
    --background-white: #FFFFFF;
    --text-primary: #2D2D2D;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-white: #FFFFFF;
    --border-color: #E8E8E8;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.25);
    
    /* Neumorphism Variables */
    --neomorph-shadow-1: 8px 8px 16px rgba(163, 177, 198, 0.6);
    --neomorph-shadow-2: -8px -8px 16px rgba(255, 255, 255, 0.8);
    --neomorph-inset-1: inset 8px 8px 16px rgba(163, 177, 198, 0.6);
    --neomorph-inset-2: inset -8px -8px 16px rgba(255, 255, 255, 0.8);
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --card-padding: 30px;
    --border-radius: 20px;
    --border-radius-small: 10px;
    
    /* Transitions */
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.5rem; line-height: 1.3; }
h3 { font-size: 2rem; line-height: 1.4; }
h4 { font-size: 1.5rem; line-height: 1.4; }
h5 { font-size: 1.25rem; line-height: 1.5; }
h6 { font-size: 1rem; line-height: 1.5; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius-small);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s var(--transition-bounce);
    position: relative;
    overflow: hidden;
    box-shadow: var(--neomorph-shadow-1), var(--neomorph-shadow-2);
    background: var(--background-white);
    color: var(--text-primary);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        12px 12px 24px rgba(163, 177, 198, 0.8),
        -12px -12px 24px rgba(255, 255, 255, 1);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--neomorph-inset-1), var(--neomorph-inset-2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
}

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

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

/* Custom Slider Styles */
.custom-slider {
    position: relative;
    background: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--neomorph-shadow-1), var(--neomorph-shadow-2);
    padding: 20px;
}

.slider-track {
    height: 8px;
    background: var(--secondary-color);
    border-radius: 4px;
    position: relative;
}

.slider-thumb {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: -8px;
    cursor: pointer;
    transition: all 0.3s var(--transition-bounce);
    box-shadow: var(--neomorph-shadow-1), var(--neomorph-shadow-2);
}

.slider-thumb:hover {
    transform: scale(1.2);
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--secondary-color);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s var(--transition-bounce);
    box-shadow: var(--neomorph-inset-1), var(--neomorph-inset-2);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: var(--background-white);
    border-radius: 50%;
    transition: all 0.3s var(--transition-bounce);
    box-shadow: var(--neomorph-shadow-1), var(--neomorph-shadow-2);
}

.toggle-switch.active {
    background: var(--primary-color);
}

.toggle-switch.active::after {
    transform: translateX(30px);
}

/* Utility Classes */
.section-padding {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Header Styles */
.navbar {
    background: rgba(247, 243, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s var(--transition-smooth);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    margin: 0 10px;
    transition: all 0.3s var(--transition-bounce);
    position: relative;
}

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

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

.navbar-toggler {
    border: none;
    box-shadow: var(--neomorph-shadow-1), var(--neomorph-shadow-2);
    border-radius: var(--border-radius-small);
}

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

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

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.8), rgba(152, 216, 200, 0.8));
    z-index: -1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s var(--transition-bounce);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s var(--transition-bounce) 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s var(--transition-bounce) 0.4s both;
}

.hero-buttons {
    animation: slideInUp 1s var(--transition-bounce) 0.6s both;
}

.hero-buttons .btn {
    margin: 0 10px 10px 0;
}

/* Card Styles */
.card {
    background: var(--background-white);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--neomorph-shadow-1), var(--neomorph-shadow-2);
    padding: var(--card-padding);
    transition: all 0.3s var(--transition-bounce);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 
        16px 16px 32px rgba(163, 177, 198, 0.8),
        -16px -16px 32px rgba(255, 255, 255, 1);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius-small);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--transition-smooth);
}

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

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-content h3,
.card-content h4,
.card-content h5 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, var(--background-white), var(--secondary-color));
}

/* Story Cards */
.story-card {
    background: linear-gradient(135deg, var(--accent-color), var(--background-white));
}

/* Career Cards */
.career-card {
    background: var(--background-white);
    border-left: 4px solid var(--primary-color);
}

.career-card ul {
    list-style: none;
    padding: 0;
}

.career-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.career-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Event Cards */
.event-card {
    background: var(--background-white);
    overflow: hidden;
}

.event-date {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: var(--border-radius-small);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Review Cards */
.review-card {
    background: linear-gradient(135deg, var(--secondary-color), var(--background-white));
    text-align: center;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card footer {
    font-style: italic;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Resource Cards */
.resource-card {
    background: var(--background-white);
    text-align: center;
    padding: 2rem;
}

/* Contact Section */
.contact-info {
    background: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--neomorph-shadow-1), var(--neomorph-shadow-2);
    height: fit-content;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--neomorph-shadow-1), var(--neomorph-shadow-2);
}

.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s var(--transition-bounce);
    background: var(--background-light);
    box-shadow: var(--neomorph-inset-1), var(--neomorph-inset-2);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: var(--neomorph-shadow-1), var(--neomorph-shadow-2);
    outline: none;
    background: var(--background-white);
}

/* Accordion Styles */
.accordion-item {
    background: var(--background-white);
    border: none;
    border-radius: var(--border-radius) !important;
    margin-bottom: 1rem;
    box-shadow: var(--neomorph-shadow-1), var(--neomorph-shadow-2);
}

.accordion-button {
    background: transparent;
    border: none;
    font-weight: 600;
    color: var(--text-primary);
    padding: 1.5rem;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--text-white);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-secondary);
}

/* Innovation List */
.innovation-list {
    list-style: none;
    padding: 0;
}

.innovation-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.innovation-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-primary), #1a1a1a);
    color: var(--text-white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h5, .footer h6 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
}

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

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-small);
    transition: all 0.3s var(--transition-bounce);
    font-weight: 500;
}

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

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--text-primary), #1a1a1a);
    color: var(--text-white);
    padding: 20px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

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

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

/* Success Page Styles */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.success-content {
    text-align: center;
    background: var(--background-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--neomorph-shadow-1), var(--neomorph-shadow-2);
    max-width: 500px;
    width: 90%;
}

.success-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Privacy & Terms Pages */
.page-content {
    padding-top: 100px;
    min-height: 100vh;
}

.content-section {
    background: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--neomorph-shadow-1), var(--neomorph-shadow-2);
    margin-bottom: 2rem;
}

/* Animations */
@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -10px, 0);
    }
    70% {
        transform: translate3d(0, -5px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-image {
        height: 180px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        min-width: auto;
        margin-bottom: 15px;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 60px 0;
        --card-padding: 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Background Textures */
.bg-light {
    background: linear-gradient(135deg, var(--background-light), var(--secondary-color)) !important;
}

/* Micro-interactions */
.btn, .card, .form-control, .accordion-button {
    will-change: transform, box-shadow;
}

/* Performance Optimizations */
img {
    will-change: transform;
}

.card-image img,
.hero-bg {
    transform: translateZ(0);
    backface-visibility: hidden;
}