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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e4e4e7;
    background-color: #0f0f0f;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

p {
    margin-bottom: 1rem;
    color: #a1a1aa;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    border: 2px solid #2563eb;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.btn-secondary {
    background: transparent;
    color: #e4e4e7;
    border: 2px solid #374151;
}

.btn-secondary:hover {
    background: #374151;
    color: #ffffff;
    transform: translateY(-2px);
    border-color: #4b5563;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #27272a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: #e4e4e7;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
    font-size: 15px;
}

.nav-link:hover {
    color: #3b82f6;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #e4e4e7;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    display: block;
    font-size: 1.1rem;
    color: #3b82f6;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-name {
    display: block;
    font-size: 3.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 1.2rem;
    color: #a1a1aa;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 90%;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

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

.hero-image {
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    border: 2px solid #27272a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.2);
    filter: brightness(95%) contrast(105%);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #a1a1aa;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #18181b;
    background-image: 
        linear-gradient(45deg, rgba(59, 130, 246, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(59, 130, 246, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(59, 130, 246, 0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(59, 130, 246, 0.02) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    color: #ffffff;
    font-size: 1.7rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 0.5rem;
    display: inline-block;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-intro,
.about-journey,
.about-mission {
    margin-bottom: 2rem;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.about-img {
    width: 100%;
    max-width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #27272a;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.2);
    filter: brightness(95%) contrast(105%);
}

/* Expertise Section */
.expertise {
    padding: 80px 0;
    background: #0f0f0f;
    background-image: radial-gradient(circle at 1px 1px, rgba(59, 130, 246, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
}

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

.expertise-card {
    background: #18181b;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #27272a;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: #3b82f6;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    border: 2px solid #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.expertise-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
}

.expertise-card p {
    color: #a1a1aa;
    font-weight: 400;
    line-height: 1.6;
}

/* Philosophy Section */
.philosophy {
    padding: 80px 0;
    background: #18181b;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(59, 130, 246, 0.02) 10px, rgba(59, 130, 246, 0.02) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(99, 102, 241, 0.02) 10px, rgba(99, 102, 241, 0.02) 20px);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.philosophy-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.point-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    border: 2px solid #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.point-icon i {
    color: white;
    font-size: 1.2rem;
}

.point-content h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
}

.point-content p {
    color: #a1a1aa;
    line-height: 1.7;
    font-weight: 400;
}

.philosophy-image {
    text-align: center;
}

.philosophy-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    border: 2px solid #27272a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.2);
    filter: brightness(95%) contrast(105%);
}

/* Vision Section */
.vision {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    color: #ffffff;
    position: relative;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-text h2 {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.vision-text p {
    color: #a1a1aa;
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 400;
}

.vision-img {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #27272a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.2);
    filter: brightness(95%) contrast(105%);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #18181b;
    background-image: 
        linear-gradient(30deg, rgba(59, 130, 246, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.03) 87.5%, rgba(59, 130, 246, 0.03)),
        linear-gradient(150deg, rgba(59, 130, 246, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.03) 87.5%, rgba(59, 130, 246, 0.03));
    background-size: 80px 80px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #a1a1aa;
    font-weight: 500;
}

.contact-method i {
    width: 20px;
    color: #3b82f6;
}

/* Contact Form */
.form {
    background: #0f0f0f;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #27272a;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #27272a;
    border-radius: 8px;
    font-size: 16px;
    background: #18181b;
    color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f0f0f 0%, #000000 100%);
    color: #e4e4e7;
    padding: 2rem 0;
    border-top: 1px solid #27272a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-text p {
    color: rgba(228, 228, 231, 0.8);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid #27272a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e4e4e7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3b82f6;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    color: #ffffff;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-img,
    .about-img,
    .philosophy-img,
    .vision-img {
        transform: none !important;
        transition: none !important;
    }
    
    .expertise-card:hover,
    .btn:hover,
    .social-link:hover {
        transform: none !important;
    }
    
    .hero-content,
    .section-header,
    .expertise-card,
    .philosophy-point {
        animation: none !important;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Disable heavy animations on mobile for better performance */
@media (max-width: 768px) and (hover: none) {
    .hero-img,
    .about-img,
    .philosophy-img,
    .vision-img {
        transform: none !important;
        transition: none !important;
    }
    
    .expertise-card:hover {
        transform: none !important;
    }
    
    .btn:hover {
        transform: none !important;
    }
    
    /* Reduce animation intensity */
    .hero-content,
    .section-header,
    .expertise-card,
    .philosophy-point {
        animation: none !important;
    }
    
    /* Disable parallax on mobile */
    * {
        transform: none !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #0f0f0f 0%, #000000 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(45, 24, 16, 0.3);
        padding: 2rem 0;
        border-top: 1px solid #27272a;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content,
    .about-content,
    .philosophy-content,
    .vision-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .stat {
        flex: 1;
        min-width: 110px;
        max-width: 140px;
        background: rgba(59, 130, 246, 0.1);
        padding: 0.75rem 0.5rem;
        border-radius: 8px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(59, 130, 246, 0.2);
    }
    
    .stat-number {
        font-size: 1.6rem !important;
        margin-bottom: 0.25rem;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
        line-height: 1.2;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .vision-content {
        text-align: center;
    }
    
    .vision-text {
        order: 2;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-name {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .stat {
        text-align: center;
        padding: 0.5rem;
        background: rgba(59, 130, 246, 0.1);
        border-radius: 8px;
        backdrop-filter: blur(5px);
        border: 1px solid rgba(59, 130, 246, 0.2);
        min-width: 140px;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .stat-label {
        font-size: 0.85rem !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

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

.hero-content,
.section-header,
.expertise-card,
.philosophy-point {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling offset for fixed nav */
section {
    scroll-margin-top: 80px;
}
