/* ========================================
   Digitskillz - Design Original
   Ultra optimise mobile
======================================== */

:root {
    --coral: #E85A71;
    --coral-light: #f07388;
    --coral-dark: #d44a61;
    --pink-pale: #FDF5F3;
    --pink-soft: #fff0ed;
    --white: #FFFFFF;
    --dark: #2D2D2D;
    --gray: #6B6B6B;
    --gray-light: #f5f5f5;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', -apple-system, sans-serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* Utility */
.text-coral { color: var(--coral); }
.text-highlight {
    background: linear-gradient(120deg, var(--coral) 0%, var(--coral-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section label */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--coral);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.2rem;
    height: 2px;
    background: var(--coral);
}

.section-label-light {
    color: var(--coral-light);
}

.section-label-light::before {
    background: var(--coral-light);
}

/* Typography */
h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* ========================================
   Header
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 1.5rem;
    transition: all 0.3s var(--ease);
    background: #C94461;
}

.header.scrolled {
    background: #C94461;
    box-shadow: 0 2px 30px rgba(201,68,97,0.3);
}

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

.logo img {
    height: 55px;
    width: auto;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 101;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(3px, 6px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(3px, -6px);
}

.nav-menu {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
}

.nav-menu.active {
    opacity: 1;
    visibility: visible;
}

.nav-menu a {
    font-size: 1.5rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    color: var(--dark);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s var(--ease);
}

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

/* ========================================
   Hero
======================================== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5rem 1.5rem;
    overflow: hidden;
    background: var(--pink-pale);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: blob-float 8s ease-in-out infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: var(--coral);
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.blob-2 {
    width: 200px;
    height: 200px;
    background: var(--coral-light);
    bottom: -50px;
    left: -50px;
    animation-delay: -4s;
}

@keyframes blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-10px, 10px) scale(0.95); }
}

/* Sparkles */
.sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 12px;
    height: 12px;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle::before,
.sparkle::after {
    content: '';
    position: absolute;
    background: var(--coral);
}

.sparkle::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.sparkle::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.sparkle:nth-child(1) { animation-delay: 0s; }
.sparkle:nth-child(2) { animation-delay: 0.3s; width: 8px; height: 8px; }
.sparkle:nth-child(3) { animation-delay: 0.6s; width: 10px; height: 10px; }
.sparkle:nth-child(4) { animation-delay: 0.9s; width: 6px; height: 6px; }
.sparkle:nth-child(5) { animation-delay: 1.2s; }

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(0.8) rotate(45deg); }
}

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

.hero-split {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    padding: 0 1.5rem;
}

.hero-logo {
    margin-bottom: 0;
}

.hero-logo img {
    width: 320px;
    height: auto;
    object-fit: contain;
}

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

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--dark);
    color: var(--white);
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s var(--ease);
}

.btn-hero svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease);
}

.btn-hero:hover {
    background: var(--coral);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(232,90,113,0.3);
}

.btn-hero:hover svg {
    transform: translateX(5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--coral), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.5; height: 30px; }
}

/* ========================================
   About
======================================== */
.about {
    padding: 5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
}

.about-image-bg {
    position: absolute;
    inset: -15px;
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.about-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
}

.about-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.badge-year {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral);
}

.badge-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
}

/* Floating cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--white);
    border-radius: 100px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    font-size: 0.8rem;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

.sparkle-icon {
    width: 8px;
    height: 8px;
    background: var(--coral);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.card-1 { top: 10%; left: 0; animation-delay: 0s; }
.card-2 { top: 40%; right: 0; animation-delay: -1s; }
.card-3 { bottom: 5%; left: 10%; animation-delay: -2s; }

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

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

.about-intro {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.about-content strong {
    color: var(--dark);
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--coral);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Services
======================================== */
.services {
    padding: 5rem 1.5rem;
    background: var(--gray-light);
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card {
    position: relative;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s var(--ease);
}

.service-card::before {
    content: attr(data-index);
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-light);
    line-height: 1;
    transition: color 0.3s var(--ease);
}

.service-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.service-card:active .service-hover {
    opacity: 0.05;
}

.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--coral);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ========================================
   Value
======================================== */
.value {
    padding: 5rem 1.5rem;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.value::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--coral);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    top: -100px;
    right: -100px;
}

.value-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.value-content {
    position: relative;
    z-index: 1;
}

.value h2 {
    color: var(--white);
}

.value p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
}

.value-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    font-size: 0.95rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--coral);
    border-radius: 50%;
    position: relative;
}

.feature-icon::before,
.feature-icon::after {
    content: '';
    position: absolute;
    background: var(--white);
}

.feature-icon::before {
    width: 10px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.feature-icon::after {
    width: 2px;
    height: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.value-visual {
    display: flex;
    justify-content: center;
}

.value-card {
    max-width: 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    transform: rotate(-3deg);
    transition: transform 0.4s var(--ease);
}

.value-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.value-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Contact
======================================== */
.contact {
    padding: 5rem 1.5rem;
    background: var(--pink-pale);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header p {
    color: var(--gray);
}

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

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

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-card:active {
    transform: scale(0.98);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: var(--pink-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s var(--ease);
}

.contact-card:hover .contact-card-icon,
.contact-card:active .contact-card-icon {
    background: var(--coral);
}

.contact-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--coral);
    transition: stroke 0.3s var(--ease);
}

.contact-card:hover .contact-card-icon svg,
.contact-card:active .contact-card-icon svg {
    stroke: var(--white);
}

.contact-card-icon-linkedin svg {
    fill: var(--coral);
    stroke: none;
}

.contact-card:hover .contact-card-icon-linkedin svg,
.contact-card:active .contact-card-icon-linkedin svg {
    fill: var(--white);
}

.contact-card-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.contact-card-value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-card-action {
    font-size: 0.8rem;
    color: var(--coral);
    font-weight: 500;
}

/* Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    padding-top: 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    background: var(--white);
    transition: all 0.3s var(--ease);
    -webkit-appearance: none;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--gray);
    pointer-events: none;
    transition: all 0.3s var(--ease);
}

.form-group textarea ~ label {
    top: 1.5rem;
    transform: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coral);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0.5rem;
    transform: none;
    font-size: 0.7rem;
    color: var(--coral);
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s var(--ease);
}

.btn-submit svg {
    width: 18px;
    height: 18px;
}

.btn-submit:active {
    transform: scale(0.98);
}

/* ========================================
   Footer
======================================== */
.footer {
    padding: 3rem 1.5rem;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo img {
    height: 35px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray);
    transition: color 0.3s var(--ease);
}

.footer-links a:hover {
    color: var(--coral);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ========================================
   Animations on scroll
======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ========================================
   Desktop styles
======================================== */
@media (min-width: 768px) {
    .logo img {
        height: 70px;
    }

    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        gap: 3rem;
        opacity: 1;
        visibility: visible;
        background: transparent;
    }

    .nav-menu a {
        font-size: 0.95rem;
        color: var(--white);
    }

    .nav-menu a:hover {
        opacity: 0.8;
    }

    .hero-split {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 4rem;
    }

    .hero-logo img {
        width: 500px;
        height: auto;
    }

    .hero-text-content {
        text-align: left;
        max-width: 550px;
    }

    .hero-tagline {
        font-size: 1.4rem;
        letter-spacing: 5px;
        margin-bottom: 2rem;
    }

    .hero-text {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }

    .btn-hero {
        padding: 1.5rem 3rem;
        font-size: 1.2rem;
    }

    .blob-1 {
        width: 500px;
        height: 500px;
    }

    .blob-2 {
        width: 350px;
        height: 350px;
    }

    .about {
        flex-direction: row;
        align-items: center;
        padding: 8rem 3rem;
        gap: 5rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .about-visual {
        flex: 0 0 350px;
    }

    .about-image-wrapper {
        width: 350px;
        height: 350px;
    }

    .about-content {
        text-align: left;
        flex: 1;
    }

    .about-stats {
        justify-content: flex-start;
    }

    .services {
        padding: 8rem 3rem;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .service-card {
        padding: 2rem;
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

    .service-card:hover::before {
        color: var(--coral-light);
    }

    .service-card:hover .service-hover {
        opacity: 0.05;
    }

    .value {
        padding: 8rem 3rem;
    }

    .value-wrapper {
        flex-direction: row;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        gap: 5rem;
    }

    .value-content {
        flex: 1;
    }

    .value-visual {
        flex: 0 0 auto;
    }

    .value-card {
        max-width: 450px;
    }

    .contact {
        padding: 8rem 3rem;
    }

    .contact-content {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 3rem;
        max-width: 1100px;
        margin: 0 auto;
    }

    .contact-cards {
        gap: 1.5rem;
    }

    .contact-card {
        flex-direction: row;
        text-align: left;
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }

    .contact-card-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .form-row {
        flex-direction: row;
        gap: 1rem;
    }

    .form-row .form-group {
        flex: 1;
    }

    .btn-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(232,90,113,0.4);
    }

    .footer {
        padding: 4rem 3rem;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        grid-column: auto;
    }
}
