:root {
    --primary-pink: #FF5E8E;
    --dark-pink: #B9005B;
    --light-pink: #FFB7CE;
    --bg-white: #FFFFFF;
    --text-main: #333333;
    --font-signature: 'Pinyon Script', cursive;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-main);
    overflow-x: hidden;
    background-color: var(--bg-white);
}

body.loaded {
    opacity: 0;
    animation: fadeInPage 1.2s ease forwards;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-pink);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: var(--bg-white);
}

.heart-loader {
    font-size: 3rem;
    animation: heartBeat 1.5s infinite;
    margin-top: 1rem;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

@keyframes fadeInPage {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
.signature {
    font-family: var(--font-signature);
    font-size: 5rem;
    color: var(--bg-white);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--bg-white);
    font-weight: 300;
    margin-bottom: 2rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-pink);
    font-weight: 400;
}

.section-title.italic {
    font-style: italic;
}

.section-title.white {
    color: var(--bg-white);
}

/* Buttons */
.btn-oval {
    display: inline-block;
    padding: 15px 45px;
    border: 1.5px solid var(--bg-white);
    border-radius: 50px;
    color: var(--bg-white);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-oval:hover {
    background-color: var(--bg-white);
    color: #ff4781;
}

/* Placeholders & Broken Images */
.broken,
.placeholder-img {
    background-color: #eee;
    background-image: linear-gradient(45deg, #f5f5f5 25%, transparent 25%, transparent 75%, #f5f5f5 75%, #f5f5f5),
        linear-gradient(45deg, #f5f5f5 25%, transparent 25%, transparent 75%, #f5f5f5 75%, #f5f5f5);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.broken::after {
    content: "Image Missing";
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections */

/* Hero - Canva Style */
.hero {
    background-color: #ff4781;
    /* Solid Vibrant Pink like Canva */
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 2rem 0;
}

.hero-logo-top {
    position: absolute;
    top: 40px;
    left: 40px;
    font-family: var(--font-signature);
    font-size: 2.5rem;
    color: white;
    border: 2px solid white;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}

.main-hero-img {
    width: 450px;
    height: 550px;
    border-radius: 150px;
    /* Oval shape like Canva */
    object-fit: cover;
    transform: none;
    /* Removed rotation */
    box-shadow: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-content {
    text-align: right;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-content .signature {
    font-size: 7rem;
    color: white;
    margin-bottom: 0;
    line-height: 0.8;
}

.hero-content .subtitle {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: white;
    margin-top: 1rem;
    margin-bottom: 4rem;
    font-weight: 400;
}

/* Intro Section - Canva Style */
.intro {
    padding: 8rem 0;
    background-color: #0f0212;
    /* Dark Canvas Background */
    position: relative;
    overflow: hidden;
}

.intro-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: end;
    gap: 2rem;
    position: relative;
    min-height: 600px;
}

.intro-side-images {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.side-img-1 {
    width: 380px;
    height: 220px;
    border-radius: 40px;
    object-fit: cover;
    border: 2px solid var(--primary-pink);
    margin-top: -100px;
    /* Slight offset upward like Canva */
}

.side-img-2 {
    width: 320px;
    height: 550px;
    border-radius: 120px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.intro-text {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    text-align: left;
    padding-bottom: 2rem;
}

.intro-text h3 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--primary-pink);
    margin-bottom: 1.5rem;
    font-style: normal;
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--primary-pink);
    font-weight: 500;
    max-width: 650px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services */
.services {
    padding: 6rem 0;
    background-color: var(--primary-pink);
}

.services .section-title {
    color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    text-align: center;
    color: var(--bg-white);
}

.service-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 30px;
    object-fit: cover;
}

.service-card h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Brands - Canva Style */
.brands {
    padding: 8rem 0;
    background-color: #0f0212;
    /* Matching Dark Theme */
}

.brands .section-title.signature {
    color: var(--primary-pink);
    font-size: 5rem;
    margin-bottom: 5rem;
    text-transform: none;
    font-style: normal;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.brand-item {
    border: 1.5px solid var(--primary-pink);
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--primary-pink);
    font-weight: 500;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.brand-item.pill {
    border-radius: 100px;
}

.brand-item.rect {
    border-radius: 40px;
}

.more-brands.signature {
    text-align: right;
    color: var(--primary-pink);
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 400;
}

/* Strategic Insights - Canva Style */
.insights {
    padding: 6rem 0 0 0;
    background-color: #ff4781;
    /* Vibrant Pink Matching Canva */
    position: relative;
}

.insights-container {
    display: flex;
    flex-direction: column;
    /* Stack vertically for more room */
    gap: 3rem;
    padding-bottom: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.insights .section-title.signature {
    font-size: 5rem;
    color: white;
    text-align: center;
    /* Center like Canva but bigger */
    line-height: 1;
    margin-bottom: 2rem;
}

.insights-collage {
    column-count: 3;
    /* Back to 3 for better readability */
    column-gap: 1.5rem;
    width: 100%;
}

.insights-collage img {
    width: 100%;
    margin-bottom: 1.5rem;
    display: block;
    break-inside: avoid;
    /* Prevents images from splitting between columns */
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

.insights-collage img.tall {
    max-height: 500px;
}

/* Featured Bar */
.featured-bar {
    background-color: #0f0212;
    padding: 3rem 0;
    text-align: center;
    width: 100%;
}

.featured-bar .signature {
    color: var(--primary-pink);
    font-size: 4rem;
    margin: 0;
}

/* Featured Work Section - Adjusting background to match bar */
.featured-work {
    padding: 6rem 0;
    background-color: #0f0212;
}

.featured-work .section-title {
    display: none;
    /* Already handled by bar */
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.phone-mockup {
    background: #000;
    height: 500px;
    border-radius: 35px;
    padding: 0;
    /* Edge to edge */
    position: relative;
    border: 12px solid #1a1a1a;
    overflow: hidden;
    /* Clips video to frame */
}

.mockup-inner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill frame */
    display: block;
}

/* Design Work */
.design-work {
    padding: 6rem 0;
    background-color: var(--primary-pink);
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.design-card {
    height: 350px;
}

.design-inner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Footer - Canva Style */
footer {
    padding: 8rem 0;
    background-color: #0f0212;
    /* Dark theme */
    color: var(--primary-pink);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8rem;
}

.footer-logo {
    font-family: var(--font-signature);
    font-size: 2.2rem;
    color: var(--primary-pink);
    border: 1.5px solid var(--primary-pink);
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 3rem;
    text-shadow: none;
}

.footer-header h3 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-pink);
    font-weight: 400;
    line-height: 1.1;
}

.footer-header .signature {
    display: block;
    font-size: 4.5rem;
    margin-top: 0.5rem;
}

.footer-img {
    width: 100%;
    max-width: 600px;
    /* Limit size */
    aspect-ratio: 16 / 9;
    /* Force consistent horizontal shape */
    border-radius: 40px;
    object-fit: cover;
    /* Fill the area without black bars */
    border: 1px solid rgba(255, 94, 142, 0.3);
    display: block;
    margin: 0 auto;
}

.footer-bottom {
    border-top: 0.5px solid rgba(255, 94, 142, 0.2);
    padding-top: 4rem;
}

.contact-info {
    display: flex;
    gap: 15rem;
}

.info-item .label {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--primary-pink);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.info-item .value {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--primary-pink);
    opacity: 0.9;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-up {
    opacity: 0;
}

.animate-up.active {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content h1 {
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-content h2 {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.hero-content .btn-oval {
    animation: fadeInUp 1s ease 0.9s forwards;
    opacity: 0;
}

.main-hero-img {
    animation: slideInLeft 1s ease forwards;
}

/* Mobile Responsiveness & Fixes */
@media (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Hero Mobile Refined */
    .hero {
        padding: 100px 0 60px;
        text-align: center;
        min-height: auto;
    }

    .hero-container {
        flex-direction: column;
        gap: 2.5rem;
    }

    .main-hero-img {
        width: 100%;
        max-width: 280px;
        height: 380px;
        border-radius: 140px;
        /* More oval shape */
        border: 1.5px solid rgba(255, 255, 255, 0.3);
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-content .signature {
        font-size: 4.8rem;
        /* Bigger name */
        margin-bottom: 0.2rem;
        line-height: 1.1;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
        letter-spacing: 3px;
        margin-top: 0;
        margin-bottom: 3rem;
        opacity: 0.9;
    }

    .hero-logo-top {
        top: 25px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .btn-oval {
        padding: 12px 35px;
        font-size: 0.9rem;
    }

    /* Intro Mobile - Canva Match */
    .intro-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        padding: 4rem 1.5rem;
    }

    .intro-side-images {
        display: contents;
        /* Allows images to flow vertically in the flex container */
    }

    .side-img-1 {
        order: 1;
        /* Top */
        width: 100%;
        max-width: 320px;
        height: 180px;
        border-radius: 40px;
        margin-top: 0;
    }

    .intro-text {
        order: 2;
        /* Middle */
        text-align: center;
        width: 100%;
    }

    .intro-text h3 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .intro-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .side-img-2 {
        order: 3;
        /* Bottom */
        width: 100%;
        max-width: 280px;
        height: 380px;
        border-radius: 100px;
    }

    /* Services & Brands Mobile */
    .services-grid,
    .brands-grid,
    .work-grid,
    .design-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .brand-item {
        min-height: 80px;
        font-size: 1.2rem;
    }

    /* Insights Swiper Final Fix */
    .insights {
        padding: 3rem 0;
        /* Reduced section padding */
    }

    .insights-container {
        padding: 0;
        display: block;
        /* Section title on top, collage below */
    }

    .insights .section-title.signature {
        font-size: 3rem;
        margin-bottom: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .insights-collage {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.2rem;
        padding: 1rem 1.5rem 2rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .insights-collage img {
        flex: 0 0 280px;
        /* Fixed, reliable width */
        height: auto;
        min-height: 200px;
        background: white;
        padding: 12px;
        border-radius: 15px;
        object-fit: contain;
        scroll-snap-align: center;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .insights-collage::-webkit-scrollbar {
        display: none;
    }

    /* Featured Work Reels Swiper Mobile */
    .featured-work {
        padding: 4rem 0;
    }

    .work-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding: 1rem 1.5rem 3rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .phone-mockup {
        flex: 0 0 280px;
        height: 500px;
        scroll-snap-align: center;
        margin: 0;
        padding: 0;
        /* Edge to edge for mobile */
        border: 10px solid #1a1a1a;
        border-radius: 35px;
    }

    .work-grid::-webkit-scrollbar {
        display: none;
    }

    /* Footer Mobile */
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }

    .footer-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 30px;
        object-fit: cover;
    }

    .footer-header h3 {
        font-size: 2.5rem;
    }

    .footer-header .signature {
        font-size: 3rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        flex: 0 0 250px;
        height: 450px;
        padding: 0;
        border-radius: 35px;
        border: 8px solid #1a1a1a;
    }

    .insights-collage img {
        flex: 0 0 240px;
    }

    .hero-content .signature {
        font-size: 3rem;
    }

    .services-grid,
    .brands-grid,
    .work-grid,
    .design-grid,
    .insight-collage {
        grid-template-columns: 1fr;
    }

    .insight-img-7 {
        grid-column: span 1;
    }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Heart Cursor Trail */
.heart {
    position: fixed;
    font-size: 20px;
    color: var(--primary-pink);
    pointer-events: none;
    z-index: 9999;
    animation: heartFade 1s linear forwards;
    user-select: none;
}

@keyframes heartFade {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-50px) scale(1.5) rotate(20deg);
    }
}

/* Sparkles */
.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    pointer-events: none;
    animation: sparkleAni 2s linear forwards;
    z-index: 5;
}

@keyframes sparkleAni {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0;
    }
}

/* Soft Gradients & Girly Touches */
.hero {
    background: linear-gradient(135deg, var(--primary-pink) 0%, #ff85a1 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.services {
    background: linear-gradient(45deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
    border-radius: 50px 50px 0 0;
    margin-top: -50px;
    position: relative;
    z-index: 2;
    padding: 6rem 0;
}

.insights {
    background: linear-gradient(180deg, var(--primary-pink) 0%, #ffb7ce 100%);
    padding: 6rem 0;
}

.design-work {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
    border-radius: 50px 50px 0 0;
    padding: 6rem 0;
}