/* CSS Reset & Custom Properties */
:root {
    /* Bright Color Scheme */
    --primary-color: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8A5C;
    --secondary-color: #4ECDC4;
    --secondary-dark: #45B7AF;
    --secondary-light: #6FD5CE;
    --accent-color: #FFE66D;
    --accent-dark: #F4D643;
    --accent-light: #FFED8A;
    --tertiary-color: #A8E6CF;
    --tertiary-dark: #8FD9B5;
    --tertiary-light: #C1EDD9;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #495057;
    --black: #212529;
    
    /* Gradient Backgrounds */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    --gradient-tertiary: linear-gradient(135deg, var(--accent-color), var(--tertiary-color));
    --gradient-overlay: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3));
    
    /* Typography */
    --font-primary: 'Raleway', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --glass-backdrop: blur(10px);
    
    /* Spacing */
    --section-padding: 5rem 0;
    --card-padding: 2rem;
    --element-spacing: 1.5rem;
    
    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Adaptive Typography */
html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 18px;
    }
}
.navbar-toggler{
    max-width: 30px;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--element-spacing);
    color: var(--black);
}

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, 2.25rem);
}

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

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

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

p {
    margin-bottom: var(--element-spacing);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

/* Global Button Styles */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 150px;
    font-size: 0.9rem;
    line-height: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-smooth);
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
    color: var(--white);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.6);
    color: var(--white);
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    min-width: 180px;
}

button, input[type='submit'] {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 150px;
    font-size: 0.9rem;
    line-height: 1;
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

button:hover, input[type='submit']:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
    color: var(--white);
}

/* Glassmorphism Effects */
.glassmorphism-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--glass-backdrop);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glassmorphism-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.glassmorphism-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.glassmorphism-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--glass-backdrop);
}

.glassmorphism-footer {
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: var(--glass-backdrop);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Section Styles */
.section-padding {
    padding: var(--section-padding);
}

.section-title {
    color: var(--black);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.bg-gradient {
    background: var(--gradient-secondary);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

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

.navbar-nav .nav-link {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--black) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover {
    background: var(--glass-bg);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-title {
    color: var(--white) !important;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    color: var(--white) !important;
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

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

/* Cards */
.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
}

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

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

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

.card-title {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.card-text {
    color: var(--gray);
    flex: 1;
}

/* Instructor Cards */
.instructor-card .card-content {
    padding: 1.5rem;
}

.instructor-specialty {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.progress-indicator {
    margin-top: 1rem;
}

.progress {
    height: 8px;
    border-radius: 10px;
    background: rgba(255, 107, 53, 0.1);
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 10px;
    font-size: 0.8rem;
    text-align: center;
    line-height: 8px;
    color: var(--white);
    font-weight: 600;
}

/* Innovation Section */
.innovation-content .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
}
.carousel-control-prev,.carousel-control-next{
    opacity: 0;
    pointer-events: none;
}
.accordion-button {
    background: var(--glass-bg);
    border: none;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--black);
    padding: 1.5rem;
    font-size: 1.1rem;
    max-width: 100%;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: none;
}

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

.accordion-body {
    background: var(--white);
    color: var(--gray);
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Case Studies */
.case-study-content h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    color: var(--primary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
}

/* Accolades */
.accolade-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.accolade-image {
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

/* Events Calendar */
.event-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.event-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem;
    border-radius: 10px;
    text-align: center;
    min-width: 60px;
    z-index: 10;
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-time {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Careers Section */
.careers-content {
    text-align: center;
    padding: 3rem;
}

.careers-content h3 {
    color: var(--black);
    margin-bottom: 1.5rem;
}

.careers-content p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--glass-backdrop);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
}

.form-label {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: var(--white);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    outline: none;
}

.contact-info {
    padding: 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h4 {
    color: var(--black);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--gray);
    margin: 0;
    font-size: 1rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    padding: 0 !important;
}

.map-container iframe {
    border-radius: 20px;
}

/* Behind the Scenes */
.behind-scenes-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Resources Section */
.resource-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.resource-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

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

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

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

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

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

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

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

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

.success-content {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--glass-backdrop);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    max-width: 600px;
    width: 100%;
    margin: 2rem;
}

.success-content h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.success-content p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.content-page .container {
    max-width: 800px;
}

.content-page h1 {
    color: var(--black);
    margin-bottom: 2rem;
}

.content-page h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page p, .content-page li {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-page ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Read More Links */
.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    transition: var(--transition-smooth);
}

.read-more:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-color);
    transform: translateX(5px);
}

/* Social Media Icons in Footer */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    color: var(--white);
    text-decoration: none;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
        --card-padding: 1.5rem;
    }
    
    .hero-section {
        min-height: 80vh;
        background-attachment: scroll;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn, button, input[type='submit'] {
        width: 100%;
        max-width: 250px;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .careers-content {
        padding: 2rem;
    }
    
    .success-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .card-image {
        height: 200px;
    }
    
    .section-title::after {
        width: 40px;
        height: 3px;
    }
    
    .parallax-bg {
        background-attachment: scroll;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
        min-height: 70vh;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .card-image {
        height: 180px;
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .btn, button {
        display: none;
    }
    
    .section-padding {
        padding: 1rem 0;
    }
    
    .glassmorphism-card {
        border: 1px solid var(--gray);
        box-shadow: none;
        background: var(--white);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #FF4500;
        --secondary-color: #008B8B;
        --black: #000000;
        --white: #FFFFFF;
        --gray: #666666;
    }
    
    .glassmorphism-card {
        border: 2px solid var(--black);
        background: var(--white);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax-bg {
        background-attachment: scroll;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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