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

:root {
    --primary-color: #0024AC;
    --secondary-color: #1E3A8A;
    --dark-color: #000000;
    --light-color: #f5f5f5;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #0024AC 0%, #1E3A8A 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard Variable", Pretendard, Roboto, "Noto Sans KR", "Segoe UI", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    letter-spacing: normal;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition);
    filter: brightness(0) saturate(100%) invert(11%) sepia(97%) saturate(7482%) hue-rotate(229deg) brightness(94%) contrast(109%);
}

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

.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    margin-top: 70px;
    border-bottom: none;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.genspark.ai/api/files/s/Phv3z5yi');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    opacity: 0.15;
    z-index: 1;
}

.hero-background {
    display: none;
}

.floating-circle {
    display: none;
}

.circle-1, .circle-2, .circle-3 {
    display: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1100px;
    padding: 5rem 2rem;
    transform: scale(1.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.brand-name {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero-subtitle-mobile {
    display: none;
}

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

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: normal;
    min-width: 180px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: none;
    border: 1.5px solid var(--white);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    border: 1.5px solid var(--white);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 1.5px solid var(--white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
    border: 1.5px solid var(--white);
    transform: translateY(-1px);
}

.btn-submit {
    width: 100%;
    max-width: 100%;
    margin: 1rem 0 0;
    display: block;
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border: 1.5px solid var(--primary-color) !important;
    box-shadow: none;
}

.btn-submit:hover {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    border: 1.5px solid var(--primary-color) !important;
    transform: translateY(-1px);
}

/* ==========================================
   Section Styles
   ========================================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.section-title {
    font-size: 1.1375rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    position: relative;
    display: block;
    text-transform: uppercase;
    letter-spacing: normal;
    padding: 0;
    border: none;
    border-radius: 0;
}

.section-title::after {
    display: none;
}

.section-subtitle {
    display: none;
}

/* Process section subtitle override */
.process .section-subtitle {
    display: block;
    font-size: 1.3rem;
    color: #000000;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ==========================================
   Services Section
   ========================================== */
.services {
    background-color: var(--white);
    padding: 6rem 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid #d1d1d1;
    border-bottom: 1px solid #d1d1d1;
}

.service-card {
    background-color: transparent;
    padding: 2.5rem 2rem;
    border-radius: 0;
    box-shadow: none;
    transition: var(--transition);
    text-align: left;
    border: none;
    border-right: 1px solid #d1d1d1;
    position: relative;
    min-height: 280px;
}

.service-card:last-child {
    border-right: none;
}

.service-card:hover {
    background-color: rgba(0, 36, 172, 0.02);
    transform: none;
}

.service-icon {
    width: auto;
    height: auto;
    margin: 0 0 1.5rem 0;
    background: transparent;
    border-radius: 0;
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0;
    border-bottom: none;
    display: block;
    line-height: 1.4;
    word-break: keep-all;
    word-wrap: break-word;
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    word-break: keep-all;
    word-wrap: break-word;
}

/* ==========================================
   Stats & Clients Section (Combined)
   ========================================== */
.stats-clients {
    background-color: #000000;
    padding: 5rem 0;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.stats-clients .container {
    width: 100%;
}

.stats-clients-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

/* Left Side - Statistics */
.stats-side {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.stat-block {
    text-align: left;
}

.stat-label {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.stat-big-number {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: normal;
}

.counter {
    display: inline-block;
}

/* Right Side - Client Logos Grid */
.clients-side {
    flex: 1;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    position: relative;
    transition: var(--transition);
}

.client-logo img {
    max-width: 100%;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.client-logo .logo-color {
    opacity: 0;
    filter: none;
}

.client-logo .logo-grayscale {
    opacity: 0.6;
    filter: grayscale(100%) brightness(5);
}

.client-logo:hover .logo-color {
    opacity: 1;
}

.client-logo:hover .logo-grayscale {
    opacity: 0;
}

/* Smilegate 로고 특수 처리 */
.client-logo-smilegate .logo-color {
    opacity: 0;
    filter: none;
}

.client-logo-smilegate .logo-grayscale {
    opacity: 0.7;
    filter: none;
}

.client-logo-smilegate:hover .logo-color {
    opacity: 1;
}

.client-logo-smilegate:hover .logo-grayscale {
    opacity: 0;
}

/* ==========================================
   Process Section
   ========================================== */
.process {
    background: var(--white);
    padding: 5rem 0;
}

.process-wrapper {
    margin-top: 1rem;
}

.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    display: none;
}

.step-icon {
    width: 64px;
    height: 64px;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.process-connector {
    flex: 0 0 60px;
    height: 2px;
    border-top: 2px dashed #cccccc;
    align-self: center;
    margin-top: 32px;
    position: relative;
    z-index: 1;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

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

/* Left Side - Text Content */
.contact-text {
    text-align: left;
}

.contact-text .section-title {
    text-align: left;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.contact-main-message {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-sub-message {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.6;
}

/* Right Side - Form */
.contact-form-wrapper {
    max-width: 100%;
    margin: 0;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid #e5e5e5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1.5px solid #d1d5db;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 36, 172, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background-color: var(--dark-color);
    color: #999999;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #9ca3af;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    opacity: 0.5;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.footer-tagline {
    font-size: 0.95rem;
    color: #999999;
    font-weight: 400;
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: #999999;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 400;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #666666;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
    color: #666666;
    font-size: 0.875rem;
}

/* ==========================================
   Scroll to Top Button
   ========================================== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.visible {
    display: flex;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content {
        transform: scale(1.1);
    }
    
    .hero-logo {
        max-width: 380px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card:nth-child(2n) {
        border-right: none;
    }
    
    .service-card:nth-child(n+3) {
        border-top: 1px solid #d1d1d1;
    }
    
    /* Stats & Clients Responsive */
    .stats-clients-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .stats-side {
        flex: 1;
        width: 100%;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .stat-block {
        text-align: center;
    }
    
    .stat-big-number {
        font-size: 3.5rem;
    }
    
    .clients-side {
        width: 100%;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process-connector {
        width: 2px;
        height: 60px;
        margin: 0 auto;
        border-top: none;
        border-left: 2px dashed #cccccc;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    /* 1. 히어로 섹션 높이 조정 */
    .hero {
        min-height: 640px;
        max-height: 640px;
        padding: 1rem 0;
        display: flex;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        transform: scale(1);
        padding: 1rem 1rem;
    }
    
    .hero-logo {
        max-width: 240px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .hero-subtitle-desktop {
        display: none;
    }
    
    .hero-subtitle-mobile {
        display: block;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }
    
    .hero-buttons {
        gap: 0.6rem;
    }
    
    .btn {
        padding: 0.65rem 1.2rem;
        font-size: 0.8rem;
        min-width: 120px;
    }
    
    /* 4. Contact Us 폼 조정 */
    .contact {
        padding: 3rem 0;
        min-height: 640px;
        display: flex;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-text {
        text-align: left;
        padding: 0 1rem;
    }
    
    .contact-text .section-title {
        text-align: left;
        margin-bottom: 0.75rem;
    }
    
    .contact-main-message {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
    
    .contact-sub-message {
        font-size: 0.875rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem 1rem;
        margin: 0 1rem;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem 0.875rem;
        font-size: 0.875rem;
    }
    
    .form-group textarea {
        min-height: 120px;
        rows: 4;
    }
    
    .btn-submit {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
        margin-top: 0.5rem;
    }
    
    .section-title {
        font-size: 0.75rem;
        letter-spacing: normal;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* 2. SERVICE, PROCESS 중앙 정렬 및 간격 조정 */
    section {
        padding: 3rem 0;
        min-height: 640px;
        display: flex;
        align-items: center;
    }
    
    .services {
        padding: 3rem 0;
        min-height: 640px;
    }
    
    .services .section-header {
        margin-bottom: 2rem;
    }
    
    .process {
        padding: 3rem 0;
        min-height: 640px;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
        border-right: none;
        border-bottom: 1px solid #d1d1d1;
        min-height: auto;
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto 1rem;
        font-size: 1.8rem;
    }
    
    .service-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .service-description {
        font-size: 0.875rem;
    }
    
    .service-card:last-child {
        border-bottom: none;
    }
    
    .process-step {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .step-icon {
        width: 56px;
        height: 56px;
        font-size: 2rem;
        margin: 0 auto 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .step-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        text-align: center;
        width: 100%;
    }
    
    .step-description {
        font-size: 0.875rem;
        text-align: center;
        width: 100%;
    }
    
    .process-timeline {
        gap: 1rem;
        align-items: center;
    }
    
    .process-connector {
        height: 25px;
    }
    
    /* 3. 고객사 로고 섹션 조정 */
    .stats-clients {
        padding: 3rem 0;
        min-height: auto;
        display: block;
    }
    
    .stats-clients-content {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
        padding: 0 1.5rem;
    }
    
    .stats-side {
        width: 100%;
        text-align: center;
        gap: 1.8rem;
        padding-top: 0;
    }
    
    .stat-block {
        text-align: center;
    }
    
    .stat-label {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-big-number {
        font-size: 3.5rem;
        font-weight: 900;
    }
    
    .clients-side {
        width: 100%;
    }
    
    .clients-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }
    
    .client-logo {
        padding: 0.5rem 0.75rem;
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 첫 번째 줄: 1, 2, 3번 로고 */
    .client-logo:nth-child(1),
    .client-logo:nth-child(2),
    .client-logo:nth-child(3) {
        grid-row: 1;
    }
    
    /* 두 번째 줄: 4번(Y&Archer)과 5번(창조경제혁신센터)을 가운데 배치 */
    .client-logo:nth-child(4) {
        grid-column: 2 / 3;
        grid-row: 2;
    }
    
    .client-logo:nth-child(5) {
        grid-column: 3 / 4;
        grid-row: 2;
    }
    
    .client-logo img {
        max-height: 21px;
        max-width: 90px;
        width: auto;
        height: auto;
        object-fit: contain;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth entrance animations */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

.service-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
