/* Design System Variables */
:root {
    /* Colors */
    --primary: 220 100% 50%;
    --primary-foreground: 0 0% 100%;
    --primary-glow: 220 100% 70%;
    
    --secondary: 220 30% 96%;
    --secondary-foreground: 220 100% 50%;
    
    --accent: 45 100% 51%;
    --accent-foreground: 0 0% 100%;
    
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    
    --muted: 220 15% 95%;
    --muted-foreground: 220 10% 46%;
    
    --border: 220 20% 90%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
    --gradient-hero: linear-gradient(135deg, hsl(220 100% 50%) 0%, hsl(220 100% 70%) 100%);
    --gradient-subtle: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(220 30% 98%) 100%);
    
    /* Shadows */
    --shadow-soft: 0 4px 20px -4px hsl(220 100% 50% / 0.1);
    --shadow-medium: 0 8px 30px -8px hsl(220 100% 50% / 0.15);
    --shadow-strong: 0 20px 40px -10px hsl(220 100% 50% / 0.2);
    
    /* Animation */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing */
    --container-padding: 1.5rem;
    --section-padding: 5rem 0;
    --radius: 0.75rem;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --background: 220 30% 5%;
        --foreground: 220 15% 95%;
        --card: 220 30% 8%;
        --card-foreground: 220 15% 95%;
        --primary: 220 100% 60%;
        --primary-foreground: 220 30% 5%;
        --primary-glow: 220 100% 80%;
        --secondary: 220 20% 15%;
        --secondary-foreground: 220 15% 95%;
        --muted: 220 20% 12%;
        --muted-foreground: 220 10% 65%;
        --accent: 45 100% 55%;
        --accent-foreground: 220 30% 5%;
        --border: 220 20% 18%;
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 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 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    line-height: 1.7;
}

/* Icons */
.icon-xs { width: 16px; height: 16px; }
.icon-sm { width: 20px; height: 20px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.badge-secondary {
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    border: 1px solid hsl(var(--primary) / 0.2);
}

.badge-outline {
    background-color: transparent;
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--border));
}

.badge-accent {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--border));
}

.btn-outline:hover {
    background-color: hsl(var(--muted));
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-hero);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-decoration {
    position: absolute;
    inset: 0;
    background: var(--gradient-subtle);
    opacity: 0.1;
}

.hero-glow-1 {
    position: absolute;
    top: 5rem;
    right: 5rem;
    width: 18rem;
    height: 18rem;
    background: hsl(var(--primary-glow) / 0.2);
    border-radius: 50%;
    filter: blur(3rem);
}

.hero-glow-2 {
    position: absolute;
    bottom: 5rem;
    left: 5rem;
    width: 24rem;
    height: 24rem;
    background: hsl(var(--accent) / 0.1);
    border-radius: 50%;
    filter: blur(3rem);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
    padding: 5rem 0;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--primary-foreground));
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title-accent {
    background: linear-gradient(to right, hsl(var(--accent)), hsl(var(--accent) / 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--primary-foreground) / 0.9);
    margin-top: 1rem;
}

.hero-desc-text {
    font-size: 1.125rem;
    color: hsl(var(--primary-foreground) / 0.8);
    line-height: 1.7;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--primary-foreground) / 0.7);
    margin-top: 0.75rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    z-index: 10;
    max-width: 32rem;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, hsl(var(--primary) / 0.2), hsl(var(--accent) / 0.2));
    border-radius: var(--radius);
    filter: blur(1rem);
    transform: scale(1.05);
}

/* Expertise Section */
.expertise-section {
    padding: var(--section-padding);
    background: var(--gradient-subtle);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header-left {
    text-align: left;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: hsl(var(--foreground));
    margin: 1rem 0;
}

.section-description {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 32rem;
    margin: 0 auto;
}

.section-header-left .section-description {
    margin: 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.expertise-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border) / 0.5);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.expertise-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px) scale(1.02);
}

.expertise-icon {
    width: 3rem;
    height: 3rem;
    border-radius: calc(var(--radius) - 2px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition-smooth);
}

.expertise-icon.primary {
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

.expertise-icon.accent {
    background-color: hsl(var(--accent) / 0.1);
    color: hsl(var(--accent));
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1);
}

.expertise-card h3 {
    font-size: 1.125rem;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.expertise-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Journey Section */
.journey-section {
    padding: var(--section-padding);
    background-color: hsl(var(--background));
}

.journey-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .journey-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .achievements-content {
        position: sticky;
        top: 5rem;
    }
}

.milestones {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.milestone-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.milestone-card.highlight {
    border-color: hsl(var(--primary) / 0.5);
    background-color: hsl(var(--primary) / 0.05);
}

.milestone-card:hover {
    box-shadow: var(--shadow-medium);
}

.milestone-content {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.milestone-icon {
    padding: 0.75rem;
    border-radius: calc(var(--radius) - 2px);
    background-color: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.milestone-icon.highlight {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.milestone-card:hover .milestone-icon {
    transform: scale(1.1);
}

.milestone-details {
    flex: 1;
}

.milestone-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.milestone-details h3 {
    font-size: 1.125rem;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.milestone-details p {
    color: hsl(var(--muted-foreground));
}

.achievements-title {
    font-size: 1.875rem;
    color: hsl(var(--foreground));
    margin: 1rem 0;
}

.achievements-description {
    color: hsl(var(--muted-foreground));
}

.achievements-card {
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    margin: 2rem 0;
}

.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: calc(var(--radius) - 4px);
    transition: var(--transition-smooth);
}

.achievement-item:hover {
    background-color: hsl(var(--muted) / 0.5);
}

.achievement-icon {
    color: hsl(var(--primary));
    flex-shrink: 0;
}

.achievement-item span {
    color: hsl(var(--foreground));
    font-weight: 500;
}

.visionary-card {
    padding: 1.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    color: hsl(var(--primary-foreground));
    text-align: center;
}

.visionary-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.visionary-icon {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--accent));
}

.visionary-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
}

.visionary-card p {
    font-size: 0.875rem;
    color: hsl(var(--primary-foreground) / 0.9);
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background: var(--gradient-subtle);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px) scale(1.02);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: calc(var(--radius) - 2px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition-smooth);
}

.contact-icon.primary {
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

.contact-icon.accent {
    background-color: hsl(var(--accent) / 0.1);
    color: hsl(var(--accent));
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card h3 {
    font-size: 1.125rem;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.cta-card {
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    max-width: 64rem;
    margin: 0 auto;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .cta-content {
        grid-template-columns: 1fr 1fr;
    }
}

.cta-text h3 {
    font-size: 1.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.cta-text p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.cta-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--muted-foreground));
}

.cta-action {
    text-align: center;
}

.cta-note {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.75rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}