:root {
    /* High Readability Pastel Palette */
    --primary-color: #1E293B; /* Deep Slate (almost black) for ultimate readability */
    --text-main: #334155; /* Dark readable text */
    --pastel-bg: #F8FAFC; /* Very light cool off-white */
    --pastel-blue: #E2E8F0; /* Soft contrast background */
    --pastel-pink: #FCE8E6; /* Very light blush for soft touches */
    --pastel-peach: #FFF7ED; /* Warm secondary background */
    --champagne: #B48B62; /* Darker, more legible gold/champagne */
    
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-300: #CBD5E1;
    --gray-600: #64748B;
    --gray-900: #0F172A;
    
    --font-main: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Clean shadows */
    --shadow-soft: 0 10px 25px -5px rgba(30, 41, 59, 0.08), 0 5px 10px -5px rgba(30, 41, 59, 0.04);
    --shadow-glass: 0 10px 30px 0 rgba(180, 139, 98, 0.15); 
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--pastel-bg);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Typography (Highly Readable) */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: var(--primary-color);
}

p {
    font-weight: 500;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 10px 24px;
    background: var(--pastel-blue);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50px;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(226, 232, 240, 0.8);
    border: 2px solid var(--white);
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(30, 41, 59, 0.25);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(30, 41, 59, 0.35);
    background: var(--white);
    color: var(--primary-color);
}

.btn-large {
    width: auto;
    min-width: 340px;
    font-size: 1.25rem;
    padding: 18px 36px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-100);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-soft);
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    font-weight: 700;
    color: var(--text-main);
    transition: color 0.2s ease;
    font-size: 1.05rem;
}

.nav-links a:hover {
    color: var(--champagne);
}

.nav-links a[href*="forms.gle"] {
    background: var(--pastel-pink);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 800;
}
.nav-links a[href*="forms.gle"]:hover {
    background: var(--champagne);
    color: var(--white);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 200px 0 120px;
    background: linear-gradient(135deg, var(--white) 0%, var(--pastel-bg) 100%);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Very subtle blur for depth */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(226, 232, 240, 0.7) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(50px);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 0.2s;
}

.hero-title {
    font-size: 3.8rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 48px;
    font-weight: 500;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 0.4s;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 480px;
    border-radius: 20px; 
    box-shadow: var(--shadow-soft);
    object-fit: contain;
    background-color: var(--white); /* For clean cutout looks */
    border: 10px solid var(--white);
}

.glass-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.95); /* More opaque for readability */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--pastel-blue);
    padding: 18px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary-color);
    animation: float 6s ease-in-out infinite;
}

.glass-float i {
    font-size: 1.8rem;
    color: var(--champagne);
}

.shape-2 {
    bottom: 5%;
    left: -15%;
    animation-delay: 1s;
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-600);
}

/* Services Section Enhancement */
.services {
    padding: 160px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--pastel-bg) 100%);
    position: relative;
    border-top: none;
}

.services::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(226, 232, 240, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center; 
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(30, 41, 59, 0.05);
    border: 1px solid rgba(255,255,255,1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    position: relative;
    overflow: hidden;
}

.service-card:nth-child(2) {
    transform: translateY(-30px);
    box-shadow: 0 25px 50px rgba(30, 41, 59, 0.08); 
}

.step-num {
    position: absolute;
    top: -10px;
    right: 15px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(226, 232, 240, 0.3); 
    z-index: 0;
    line-height: 1;
    font-family: 'Arial Black', -apple-system, sans-serif;
    transition: all 0.4s ease;
}

.service-card:hover .step-num {
    color: var(--pastel-pink);
    transform: scale(1.05) rotate(4deg);
}

.service-card:hover {
    border-color: var(--pastel-blue);
    box-shadow: 0 20px 40px rgba(30, 41, 59, 0.08);
}

.service-card:nth-child(2):hover {
    transform: translateY(-40px);
}
.service-card:nth-child(1):hover,
.service-card:nth-child(3):hover {
    transform: translateY(-10px);
}

/* Subtle top gradient bar */
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 6px;
    background: linear-gradient(90deg, var(--pastel-pink) 0%, var(--pastel-blue) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.icon-wrapper {
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, var(--champagne) 0%, #8A6B5D 100%);
    color: var(--white);
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    margin-bottom: 30px;
    border: none;
    box-shadow: 0 15px 35px rgba(180, 139, 98, 0.4);
    position: relative;
    z-index: 1;
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-main);
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Certificates */
.certificates {
    padding: 140px 0;
    background-color: var(--pastel-bg);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cert-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: var(--pastel-blue);
}

.cert-card h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.cert-card p {
    font-size: 1.05rem;
    color: var(--text-main);
}

/* CTA Section */
.cta-section {
    padding: 150px 0;
    background: linear-gradient(135deg, #e0f2e9 0%, #a3e4d7 100%);
    position: relative;
    overflow: hidden;
    color: #0f3025;
    text-align: center;
}

/* Bling-Bling Shimmer Effect */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    animation: pastelBling 3s infinite linear;
    z-index: 0;
    pointer-events: none;
}

@keyframes pastelBling {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.cta-container {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3.4rem;
    margin-bottom: 30px;
    color: #0a2119;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    color: #1b4b3c;
    font-weight: 700;
}

.consulting-form {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(10, 33, 25, 0.15);
    border: 2px solid #ffffff;
}

/* Footer */
.footer {
    background-color: #0d2b21;
    color: #e0f2e9;
    padding: 80px 0 40px;
    border-top: 4px solid #a3e4d7;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-info h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.footer-info p {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.footer-socials {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--champagne);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(180, 139, 98, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem;
}

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

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-container { gap: 40px; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }

    .hero-image {
        border-radius: 20px;
    }

    .glass-float { display: none; }
    
    .services-grid, .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
}
