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

:root {
    --primary-color: #2563eb;
    --secondary-color: #06b6d4;
    --accent-color: #f97316;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-dark: #111827;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --spacing: 8px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing) 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--spacing);
    padding-right: var(--spacing);
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing) * 4);
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Logo Section */
.logo-section {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.logo-container {
    position: relative;
    text-align: center;
}

.main-logo {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

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

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.main-logo:hover + .logo-glow {
    opacity: 1;
}

/* Hero Section */
.hero-section {
    padding: calc(var(--spacing) * 12) 0;
    background: var(--bg-light);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: calc(var(--spacing) * 3);
}

.hero-title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing) * 2);
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.4;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing) * 4);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: calc(var(--spacing) * 2);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing) * 1);
    padding: calc(var(--spacing) * 2) calc(var(--spacing) * 3);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.cta-button.primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.cta-button.primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.cta-button.large {
    padding: calc(var(--spacing) * 3) calc(var(--spacing) * 4);
    font-size: 1.125rem;
}

.button-icon {
    font-size: 1.2em;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: calc(var(--spacing) * 6);
    position: relative;
}

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

/* Team Section */
.team-section {
    padding: calc(var(--spacing) * 10) 0;
    background: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing) * 4);
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: calc(var(--spacing) * 3);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto calc(var(--spacing) * 2);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: calc(var(--spacing) * 1);
}

.member-role {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: calc(var(--spacing) * 2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: calc(var(--spacing) * 10) 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing) * 3);
}

.service-item {
    background: var(--bg-white);
    padding: calc(var(--spacing) * 3);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing) * 2);
    display: block;
}

.service-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: calc(var(--spacing) * 1);
}

.service-item p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Why Section */
.why-section {
    padding: calc(var(--spacing) * 10) 0;
    background: var(--bg-white);
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-quote {
    margin-bottom: calc(var(--spacing) * 6);
}

.why-quote blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-style: italic;
    position: relative;
    padding: calc(var(--spacing) * 4);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.why-features {
    display: grid;
    gap: calc(var(--spacing) * 2);
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 2);
    padding: calc(var(--spacing) * 2);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.feature-check {
    color: var(--success-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-item span {
    color: var(--text-dark);
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    padding: calc(var(--spacing) * 10) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
}

.contact-content {
    text-align: center;
}

.contact-section .section-title {
    color: var(--text-white);
    margin-bottom: calc(var(--spacing) * 2);
}

.contact-section .section-title::after {
    background: var(--text-white);
}

.contact-subtitle {
    font-size: 1.125rem;
    margin-bottom: calc(var(--spacing) * 4);
    opacity: 0.9;
}

.contact-actions {
    display: flex;
    justify-content: center;
}

.contact-section .cta-button.primary {
    background: var(--text-white);
    color: var(--primary-color);
}

.contact-section .cta-button.primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: calc(var(--spacing) * 6) 0;
    background: var(--bg-dark);
    color: var(--text-white);
}

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

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.footer-text {
    margin: calc(var(--spacing) * 2) 0;
    opacity: 0.8;
}

.footer-copyright {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: calc(var(--spacing) * 2);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title-main {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .main-logo {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: calc(var(--spacing) * 2);
    }

    .why-quote blockquote {
        font-size: 1.25rem;
        padding: calc(var(--spacing) * 3);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 calc(var(--spacing) * 2);
    }

    .hero-title-main {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .main-logo {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        padding: calc(var(--spacing) * 2);
    }
}

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

.hero-content,
.team-member,
.service-item,
.feature-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}