/* CSS Variables (Design System) */
:root {
    /* HSL Colors */
    --background: 220 14% 96%;
    --foreground: 220 15% 20%;
    --card: 0 0% 100%;
    --card-foreground: 220 15% 20%;
    --primary: 204 94% 35%;
    --primary-foreground: 0 0% 98%;
    --primary-glow: 204 80% 60%;
    --secondary: 220 20% 92%;
    --secondary-foreground: 220 15% 25%;
    --muted: 220 14% 94%;
    --muted-foreground: 220 15% 45%;
    --accent: 45 93% 47%;
    --accent-foreground: 220 15% 20%;
    --border: 220 20% 85%;
    --ring: 204 94% 35%;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(204 94% 35%), hsl(204 80% 60%));
    --gradient-hero: linear-gradient(135deg, hsl(204 94% 35%), hsl(224 76% 48%));
    --gradient-card: linear-gradient(145deg, hsl(0 0% 100%), hsl(220 20% 98%));
    
    /* Shadows */
    --shadow-elegant: 0 10px 30px -10px hsl(204 94% 35% / 0.2);
    --shadow-card: 0 4px 20px -4px hsl(220 15% 20% / 0.1);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing */
    --radius: 0.5rem;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --background: 220 15% 8%;
        --foreground: 220 14% 96%;
        --card: 220 15% 10%;
        --card-foreground: 220 14% 96%;
        --primary: 204 80% 60%;
        --primary-foreground: 220 15% 8%;
        --primary-glow: 204 60% 70%;
        --secondary: 220 15% 15%;
        --secondary-foreground: 220 14% 90%;
        --muted: 220 15% 12%;
        --muted-foreground: 220 14% 60%;
        --accent: 45 93% 55%;
        --accent-foreground: 220 15% 8%;
        --border: 220 15% 18%;
        --ring: 204 80% 60%;
        --gradient-primary: linear-gradient(135deg, hsl(204 80% 60%), hsl(204 60% 70%));
        --gradient-hero: linear-gradient(135deg, hsl(204 80% 60%), hsl(224 76% 58%));
        --gradient-card: linear-gradient(145deg, hsl(220 15% 10%), hsl(220 15% 12%));
        --shadow-elegant: 0 10px 30px -10px hsl(204 80% 60% / 0.3);
        --shadow-card: 0 4px 20px -4px hsl(0 0% 0% / 0.2);
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out;
}

.animate-scale-in {
    animation: scale-in 0.3s ease-out;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: hsl(var(--primary));
    border: 1px solid hsl(var(--primary));
}

.btn-outline:hover {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: hsla(var(--background) / 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid hsl(var(--border));
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary));
    stroke-width: 2;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    background: none;
    border: none;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.875rem;
}

.nav-link:hover {
    color: hsl(var(--primary));
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: hsl(var(--foreground));
    position: relative;
    transition: var(--transition-smooth);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: hsl(var(--foreground));
    transition: var(--transition-smooth);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.mobile-menu {
    display: none;
    background: hsl(var(--background));
    border-top: 1px solid hsl(var(--border));
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
}

.mobile-nav-link {
    background: none;
    border: none;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
    padding: 0.5rem 0;
}

.mobile-nav-link:hover {
    color: hsl(var(--primary));
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        hsla(var(--background) / 0.95),
        hsla(var(--background) / 0.8),
        hsla(var(--background) / 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 64rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    max-width: 48rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hero-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hero-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gradient-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid hsl(var(--border) / 0.5);
}

.hero-card-icon {
    padding: 0.75rem;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.hero-card-icon.primary {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

.hero-card-icon.accent {
    background: hsl(var(--accent) / 0.1);
    color: hsl(var(--accent));
}

.hero-card-icon svg {
    width: 2rem;
    height: 2rem;
    stroke-width: 2;
}

.hero-card-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.hero-card-content p {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 48rem;
    margin: 0 auto;
}

.section-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Badge Styles */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border-radius: calc(var(--radius) / 2);
}

/* Courses Section */
.courses {
    padding: 5rem 0;
    background: hsl(var(--muted) / 0.3);
}

.courses-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .courses-intro {
        grid-template-columns: 1fr 1fr;
    }
}

.courses-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.courses-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.courses-content p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.course-section {
    margin-bottom: 4rem;
}

.course-section-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .course-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.course-card {
    background: var(--gradient-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid hsl(var(--border) / 0.5);
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.course-card:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-4px);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.course-category {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    background: transparent;
    color: hsl(var(--primary));
    border: 1px solid hsl(var(--primary));
    border-radius: calc(var(--radius) / 2);
}

.course-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--primary));
}

.course-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.course-format,
.course-duration {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Research Section */
.research {
    padding: 5rem 0;
}

.research-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .research-intro {
        grid-template-columns: 1fr 1fr;
    }
}

.research-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.research-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.research-content p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.research-section {
    margin-bottom: 4rem;
}

.research-section-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.research-areas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .research-areas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .research-areas {
        grid-template-columns: repeat(3, 1fr);
    }
}

.research-area {
    background: var(--gradient-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid hsl(var(--border) / 0.5);
    padding: 1.5rem;
    transition: var(--transition-smooth);
    text-align: center;
}

.research-area:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-4px);
}

.research-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.research-area h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.research-area p {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

.research-reports {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .research-reports {
        grid-template-columns: repeat(2, 1fr);
    }
}

.research-report {
    background: var(--gradient-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid hsl(var(--border) / 0.5);
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.research-report:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-4px);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.report-category {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    background: transparent;
    color: hsl(var(--primary));
    border: 1px solid hsl(var(--primary));
    border-radius: calc(var(--radius) / 2);
}

.report-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.report-year {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.report-price {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: hsl(var(--primary));
    font-weight: 600;
}

.report-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.report-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: hsl(var(--muted) / 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: var(--gradient-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid hsl(var(--border) / 0.5);
    padding: 1.5rem;
    text-align: center;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    color: hsl(var(--primary));
    margin: 0 auto 0.5rem;
    stroke-width: 2;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

.leadership {
    margin-bottom: 4rem;
}

.leadership h3 {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.leadership-card {
    max-width: 64rem;
    margin: 0 auto;
    background: var(--gradient-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-elegant);
    border: 1px solid hsl(var(--border) / 0.5);
    padding: 2rem;
    text-align: center;
}

.leadership-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.leadership-title {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.leadership-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form-container {
    background: var(--gradient-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-elegant);
    border: 1px solid hsl(var(--border) / 0.5);
    padding: 2rem;
}

.contact-form-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: hsl(var(--foreground));
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 3px hsl(var(--ring) / 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--gradient-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid hsl(var(--border) / 0.5);
    padding: 1.5rem;
}

.contact-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--primary));
    stroke-width: 2;
}

.contact-card p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.business-info {
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-main {
    max-width: 28rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: hsl(var(--primary-foreground) / 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 0.875rem;
    color: hsl(var(--primary-foreground) / 0.6);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column li {
    color: hsl(var(--primary-foreground) / 0.8);
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid hsl(var(--primary-foreground) / 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: hsl(var(--primary-foreground) / 0.6);
    font-size: 0.875rem;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: hsl(var(--card));
    border-radius: var(--radius);
    box-shadow: var(--shadow-elegant);
    border: 1px solid hsl(var(--border));
    padding: 2rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.success-message.show {
    opacity: 1;
    visibility: visible;
}

.success-content {
    text-align: center;
}

.success-icon {
    width: 3rem;
    height: 3rem;
    color: hsl(var(--primary));
    margin: 0 auto 1rem;
    stroke-width: 2;
}

.success-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.success-content p {
    color: hsl(var(--muted-foreground));
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1.125rem;
    }
}