/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}

svg {
    max-width: 100%;
    height: auto;
}

/* Critical CSS for above-the-fold content */
.navbar {
    will-change: transform;
}

.hero {
    will-change: transform;
}

/* Reduce layout shifts */
.nav-logo {
    min-height: 40px;
}

.logo-img {
    display: block;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

/* CSS Custom Properties */
:root {
    --primary-light: #4d5c70;
    --primary-dark: #2a5185;
    --secondary-light: #69704d;
    --secondary-dark: #caf02e;
    --tertiary-light: #9b5851;
    --tertiary-dark: #f0412e;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-dark) 100%);
    --gradient-tertiary: linear-gradient(135deg, var(--tertiary-light) 0%, var(--tertiary-dark) 100%);
    --gradient-light: linear-gradient(135deg, rgba(42, 81, 133, 0.1) 0%, rgba(77, 92, 112, 0.1) 100%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    color: var(--text);
}

h3 {
    font-size: 1.5rem;
    color: var(--text);
}

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

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}


/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    height: 3.5rem;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3.5rem;
    gap: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-logo h2 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-dark);
}

.nav-cta {
    display: flex;
    align-items: center;
}



/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.hero-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

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

/* Animated Background Options */
.hero {
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-light);
    z-index: -1;
}

/* Option 1: Floating Geometric Shapes */
.hero.geometric::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(42, 81, 133, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(202, 240, 46, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 65, 46, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(42, 81, 133, 0.05) 0%, rgba(77, 92, 112, 0.05) 100%);
    animation: geometricFloat 20s ease-in-out infinite;
}

/* Option 2: Gradient Wave Animation */
.hero.wave::before {
    background: 
        linear-gradient(45deg, rgba(42, 81, 133, 0.1) 0%, rgba(202, 240, 46, 0.1) 25%, rgba(240, 65, 46, 0.1) 50%, rgba(105, 112, 77, 0.1) 75%, rgba(42, 81, 133, 0.1) 100%);
    background-size: 400% 400%;
    animation: waveGradient 15s ease-in-out infinite;
}

/* Option 3: Particle-like Dots */
.hero.particles::before {
    background: 
        radial-gradient(circle at 10% 20%, rgba(42, 81, 133, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(202, 240, 46, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 40% 40%, rgba(240, 65, 46, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 90% 10%, rgba(105, 112, 77, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 20% 90%, rgba(155, 88, 81, 0.15) 0%, transparent 20%),
        linear-gradient(135deg, rgba(42, 81, 133, 0.05) 0%, rgba(77, 92, 112, 0.05) 100%);
    animation: particleFloat 25s ease-in-out infinite;
}

/* Option 4: Subtle Grid Pattern */
.hero.grid::before {
    background: 
        linear-gradient(rgba(42, 81, 133, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42, 81, 133, 0.1) 1px, transparent 1px),
        linear-gradient(135deg, rgba(42, 81, 133, 0.05) 0%, rgba(77, 92, 112, 0.05) 100%);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

/* Animation Keyframes */
@keyframes geometricFloat {
    0%, 100% { 
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%;
        transform: scale(1);
    }
    50% { 
        background-position: 100% 100%, 0% 0%, 0% 100%, 100% 0%;
        transform: scale(1.05);
    }
}

@keyframes waveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes particleFloat {
    0%, 100% { 
        background-position: 0% 0%, 100% 100%, 50% 50%, 100% 0%, 0% 100%, 0% 0%;
        opacity: 0.8;
    }
    25% { 
        background-position: 25% 25%, 75% 75%, 25% 75%, 75% 25%, 25% 75%, 25% 25%;
        opacity: 1;
    }
    50% { 
        background-position: 50% 50%, 50% 50%, 0% 100%, 50% 50%, 50% 0%, 50% 50%;
        opacity: 0.9;
    }
    75% { 
        background-position: 75% 75%, 25% 25%, 75% 25%, 25% 75%, 75% 25%, 75% 75%;
        opacity: 1;
    }
}

@keyframes gridMove {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 50px 50px, 50px 50px, 100% 100%; }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-card p {
    line-height: 1.6;
}


/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    min-width: 120px;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}

.social-link:hover svg {
    fill: var(--primary-dark);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.social-link span {
    font-weight: 600;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--text);
    color: white;
    padding: 3rem 0 1rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-logo {
    text-align: center;
}

.footer-contact {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 900px;
    width: 100%;
}

.footer-contact h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-contact .contact-info p {
    margin-bottom: 0.75rem;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-contact .contact-info a {
    color: var(--secondary-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact .contact-info a:hover {
    color: white;
}

.footer-logo h3 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #94a3b8;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        min-width: 100px;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    
    .social-links {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }

    .footer-contact {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
        height: 3.5rem;
        gap: 1rem;
    }

    .navbar {
        height: 3.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-metrics {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .metric-number {
        font-size: 1.5rem;
    }
    
    .metric-label {
        font-size: 0.75rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

