* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #00d9a3;
    --secondary-green: #00b386;
    --dark-green: #008c6b;
    --light-green: #7fffd4;
    --bg-dark: #0a1628;
    --bg-card: #0f1f3a;
    --text-light: #ffffff;
    --text-gray: #b0c4de;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Header & Navigation */
header {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 217, 163, 0.1);
    border-bottom: 1px solid rgba(0, 217, 163, 0.1);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-green);
}

.logo img {
    height: 40px;
    width: 40px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0f1f3a 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-green);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-green);
    top: 50%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: var(--light-green);
    bottom: 10%;
    left: 30%;
    animation-delay: 10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: var(--dark-green);
    top: 30%;
    right: 30%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 50px) scale(0.9);
    }
    75% {
        transform: translate(40px, 30px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-green) 50%, var(--secondary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 80px rgba(0, 217, 163, 0.5);
}

.subtitle {
    font-size: 1.8rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(0, 217, 163, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 217, 163, 0.5);
}

/* Fade in animations */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

/* Studio Overview */
.studio-overview {
    padding: 8rem 0;
    background: var(--bg-dark);
    position: relative;
}

.studio-overview h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-green);
    position: relative;
    display: inline-block;
    width: 100%;
}

.studio-overview h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    border-radius: 2px;
}

.intro-text {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 3rem auto;
    line-height: 1.8;
    color: var(--text-gray);
}

.stats {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 4rem auto 0;
}

.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 217, 163, 0.1);
    flex: 1;
    min-width: 250px;
    border: 1px solid rgba(0, 217, 163, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
    color: var(--primary-green);
    filter: drop-shadow(0 4px 8px rgba(0, 217, 163, 0.3));
    transition: all 0.3s;
}

.stat-item:hover .stat-icon svg {
    transform: scale(1.1);
    color: var(--light-green);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 163, 0.1), transparent);
    transition: left 0.5s;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 217, 163, 0.3);
    border-color: var(--primary-green);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Services Section */
.what-we-do {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0f1f3a 100%);
}

.what-we-do h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-green);
    position: relative;
    display: inline-block;
    width: 100%;
}

.what-we-do h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    border-radius: 2px;
}

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

.service-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 217, 163, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid rgba(0, 217, 163, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 163, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 217, 163, 0.3);
    border-color: var(--primary-green);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    color: var(--primary-green);
    filter: drop-shadow(0 4px 8px rgba(0, 217, 163, 0.3));
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card:hover .service-icon svg {
    color: var(--light-green);
    filter: drop-shadow(0 8px 16px rgba(0, 217, 163, 0.5));
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Lead Developer Section */
.lead-developer {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.lead-developer h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-green);
    position: relative;
    display: inline-block;
    width: 100%;
}

.lead-developer h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    border-radius: 2px;
}

.developer-profile {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 217, 163, 0.2);
    border: 1px solid rgba(0, 217, 163, 0.2);
    position: relative;
    overflow: hidden;
}

.developer-profile::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 163, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.profile-image {
    flex-shrink: 0;
    position: relative;
}

.profile-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 5px solid var(--primary-green);
    box-shadow: 0 15px 50px rgba(0, 217, 163, 0.4);
    transition: transform 0.3s;
}

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

.profile-content {
    position: relative;
    z-index: 2;
}

.profile-content h3 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.role {
    color: var(--light-green);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.bio {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* How We Work */
.how-we-work {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0f1f3a 0%, var(--bg-dark) 100%);
}

.how-we-work h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-green);
    position: relative;
    display: inline-block;
    width: 100%;
}

.how-we-work h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    border-radius: 2px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 217, 163, 0.1);
    border: 1px solid rgba(0, 217, 163, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-green), var(--secondary-green));
    transition: height 0.3s;
}

.step:hover::before {
    height: 100%;
}

.step:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 50px rgba(0, 217, 163, 0.3);
    border-color: var(--primary-green);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 217, 163, 0.3);
}

.step-content h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Team Philosophy */
.team-philosophy {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.team-philosophy h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-green);
    position: relative;
    display: inline-block;
    width: 100%;
}

.team-philosophy h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    border-radius: 2px;
}

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

.philosophy-item {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 217, 163, 0.1);
    border: 1px solid rgba(0, 217, 163, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.philosophy-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    transition: width 0.3s;
}

.philosophy-item:hover::after {
    width: 100%;
}

.philosophy-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 217, 163, 0.3);
    border-color: var(--primary-green);
}

.philosophy-item h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.philosophy-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    animation: scrollPattern 20s linear infinite;
}

@keyframes scrollPattern {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(100px) translateY(100px);
    }
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--secondary-green);
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    background: var(--bg-dark);
    color: var(--primary-green);
}

/* Footer */
footer {
    background: rgba(10, 22, 40, 0.95);
    color: var(--text-gray);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 217, 163, 0.2);
}

footer p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .philosophy-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header & Navigation */
    header {
        padding: 0.75rem 0;
    }

    nav {
        flex-wrap: wrap;
        position: relative;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo img {
        height: 35px;
        width: 35px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        margin-top: 1rem;
        border-radius: 10px;
        box-shadow: 0 10px 40px rgba(0, 217, 163, 0.2);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s;
        border: 1px solid rgba(0, 217, 163, 0.2);
    }

    .nav-links.active {
        max-height: 400px;
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        text-align: left;
        font-size: 1rem;
    }

    .nav-links a::before {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(0, 217, 163, 0.1);
        color: var(--primary-green);
    }

    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        padding: 0.9rem 2.5rem;
        font-size: 1rem;
    }

    .shape {
        filter: blur(60px);
    }

    /* Sections Padding */
    .studio-overview,
    .what-we-do,
    .lead-developer,
    .how-we-work,
    .team-philosophy,
    .cta-section {
        padding: 4rem 0;
    }

    /* Section Headings */
    h2 {
        font-size: 2rem !important;
    }

    .intro-text {
        font-size: 1.05rem;
        margin: 2rem auto;
    }

    /* Stats */
    .stats {
        flex-direction: column;
        gap: 1.5rem;
        margin: 3rem auto 0;
    }

    .stat-item {
        min-width: 100%;
        padding: 2rem 1.5rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2.5rem 1.5rem;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    /* Developer Profile */
    .developer-profile {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
        gap: 2rem;
    }

    .profile-image img {
        width: 180px;
        height: 180px;
    }

    .profile-content h3 {
        font-size: 2rem;
    }

    .role {
        font-size: 1.1rem;
    }

    .bio {
        font-size: 1rem;
    }

    /* Process Steps */
    .process-steps {
        gap: 1.5rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .step-content h3 {
        font-size: 1.3rem;
    }

    /* Philosophy */
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .philosophy-item {
        padding: 2rem 1.5rem;
    }

    .philosophy-item h3 {
        font-size: 1.4rem;
    }

    /* CTA Section */
    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    /* Footer */
    footer {
        padding: 2rem 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .container {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-cta {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }

    h2 {
        font-size: 1.6rem !important;
    }

    .nav-links {
        font-size: 0.8rem;
    }

    .nav-links a {
        padding: 0.3rem 0.6rem;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .service-card h3,
    .philosophy-item h3 {
        font-size: 1.2rem;
    }

    .profile-content h3 {
        font-size: 1.8rem;
    }

    .profile-image img {
        width: 150px;
        height: 150px;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
    }

    footer p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .stat-item,
    .service-card,
    .philosophy-item,
    .step {
        opacity: 0;
        animation: fadeInUp 0.8s ease-out forwards;
        animation-timeline: view();
        animation-range: entry 0% cover 30%;
    }
}
