:root {
    --primary: #FF741F;
    --primary-light: #FF9A5C;
    --text: #000000;
    --text-white: #FFFFFF;
    --white: #FFFFFF;
    --dark: #131313;
    --gray-bg: #D9D9D9;
    --gray-pill: #8A8A8A;
    --gray-pill-light: #BABABA;
    --font-satoshi: 'Satoshi-Variable', sans-serif;
    --font-anton: 'Anton', sans-serif;
    --font-dm-sans: 'DM Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-satoshi);
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.2;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding-top: 35px;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
}

@media (max-width: 1200px) {
    .navbar .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 0 20px;
    }
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-item {
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 22px;
}

.btn-nav-work {
    background: linear-gradient(0deg, #FF741F, #FF741F), #D9D9D9;
    color: var(--text-white);
    padding: 11px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    display: inline-block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: var(--text);
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 100px 0;
}

.hero-glow {
    position: absolute;
    width: 1030px;
    height: 836px;
    left: 50%;
    transform: translateX(-50%);
    top: 43px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 116, 31, 0.55) 100%);
    filter: blur(250px);
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 10;
    /* Ensure text is above background glow */
}

.hero-headline {
    font-family: var(--font-satoshi);
    font-size: 60px;
    /* Increased from 48px */
    font-weight: 600;
    line-height: 1.1;
    max-width: none;
    letter-spacing: -0.003em;
    margin: 0 auto 30px;
}

.hero-brand {
    font-family: var(--font-satoshi);
    font-size: 95px;
    /* Increased from 67px */
    font-weight: 700;
    line-height: 110px;
    color: var(--primary);
    margin: 0 auto 50px;
    text-transform: uppercase;
}

.btn-hero-work {
    background: linear-gradient(0deg, #FF741F, #FF741F), #D9D9D9;
    color: var(--text-white);
    padding: 25px 60px;
    /* Bigger button */
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 24px;
    display: inline-block;
    transition: transform 0.2s;
}

/* Bento Section */
.bento {
    padding: 100px 0;
}

.bento-container {
    display: grid;
    grid-template-columns: 387px 644px;
    gap: 25px;
    width: 1056px;
    margin: 0 auto;
}

.bento-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.bento-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.bento-item {
    border-radius: 25px;
    background: var(--gray-bg);
    overflow: hidden;
    position: relative;
}

/* Left Column Items */
.bi-1 {
    height: 227px;
}

.bi-2 {
    height: 226px;
}

.bi-3 {
    height: 227px;
}

/* Right Column Items */
.bi-4 {
    height: 352px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bi-5 {
    height: 352px;
    position: relative;
}

.bi-4 h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 50px;
    letter-spacing: -0.003em;
}

.bi-orange {
    background-color: var(--primary);
    background-image: url('../assets/logo.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bi-orange span {
    font-size: 42px;
    font-weight: 900;
    margin-left: 15px;
}

.pill-sm {
    width: 230px;
    height: 48px;
    background: var(--gray-pill);
    border-radius: 25px;
}

.pill-bottom-right {
    position: absolute;
    bottom: 30px;
    right: 30px;
}

/* Clients Section */
.clients {
    padding: 60px 0;
}

.client-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    /* Spacing between centered logos */
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.client-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-height: 100%;
    max-width: 200px;
    object-fit: contain;
}

.client-logo:hover {
    transform: none;
}

/* Founder Section */
.founder {
    padding: 60px 0 80px;
}

.founder-layout {
    width: 1183px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: center;
    padding: 0;
}

/* --- Left: Profile Card (mirrors team card design) --- */
.founder-card-wrap {
    flex-shrink: 0;
    width: 380px;
    position: relative;
    padding-top: 155px;
    /* Just enough for label text height */
}

.founder-label {
    font-family: var(--font-dm-sans);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    margin-bottom: 0;
    position: absolute;
    /* Float label over photo area */
    top: 0;
    left: 0;
    z-index: 5;
}

.founder-label strong {
    font-weight: 700;
    display: block;
}

.founder-card-v3 {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    /* padding-top on wrap handles the space */
}

.founder-card-main {
    background: #FF8541;
    border-radius: 28px;
    border-bottom-right-radius: 0;
    position: relative;
    z-index: 2;
    /* No overflow:hidden — photo is now outside this element */
    display: flex;
    flex-direction: column;
    height: 420px;
    justify-content: flex-end;
}

.founder-photo-wrap {
    position: absolute;
    top: -160px;
    /* Overflows above founder-card-v3 freely */
    left: 0;
    width: 100%;
    height: 520px;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
    z-index: 5;
    /* Above the orange card */
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    filter: grayscale(1);
}

.founder-name {
    font-family: var(--font-satoshi);
    font-size: 42px;
    font-weight: 800;
    text-align: left;
    padding: 0 22px 16px;
    line-height: 0.95;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 4;
}

.founder-card-footer {
    display: flex;
    align-items: stretch;
    margin-top: -1px;
    position: relative;
    z-index: 10;
}

.founder-role-pill {
    background: linear-gradient(180deg, #E5E5E5 0%, #D1D1D1 100%);
    padding: 0 22px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-top: 10px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    min-height: 56px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.founder-li-tab {
    margin-left: 10px;
    width: 72px;
    height: 72px;
    background: #FF8541;
    border-radius: 0 0 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.founder-li-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -28px;
    width: 28px;
    height: 28px;
    background: transparent;
    border-top-right-radius: 28px;
    box-shadow: 14px -14px 0 14px #FF8541;
    pointer-events: none;
}

.founder-li-tab::after {
    content: none;
}

.founder-li-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.founder-li-link:hover {
    transform: scale(1.1);
}

/* --- Right: Description + Client Logos --- */
.founder-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.founder-desc {
    font-family: var(--font-dm-sans);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    color: #111;
    max-width: 100%;
    /* Fill all available space */
    margin-bottom: 40px;
}

.founder-client-logos {
    display: flex;
    align-items: center;
}

.founder-client-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: contain;
    border: 3px solid #fff;
    margin-left: -18px;
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.founder-client-logo:first-child {
    margin-left: 0;
}


/* Services Section */
.services {
    padding: 100px 0 150px;
}

.services-container {
    width: 1183px;
    margin: 0 auto;
}

.section-title-main {
    font-size: 48px;
    font-weight: 600;
    line-height: 50px;
    letter-spacing: -0.003em;
    margin-bottom: 50px;
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 14px;
    border-bottom: 2.5px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: background 0.3s;
}

.service-item:first-child .service-row {
    border-top: 2.5px solid rgba(0, 0, 0, 0.08);
}

.service-name {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #FF8F50;
    /* Orange by default */
    transition: all 0.4s ease;
}

.service-item:last-child .service-row {
    border-bottom: none;
}

.plus-icon {
    font-size: 40px;
    color: #999;
    transition: transform 0.4s ease;
    font-weight: 300;
}

/* Expanded State */
.service-item.active .service-name {
    color: #FF8F50;
}

.service-item.active .plus-icon {
    transform: rotate(45deg);
    color: #FF8F50;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item.active .service-details {
    max-height: 800px;
}

.details-inner {
    display: flex;
    gap: 60px;
    padding: 50px 14px 80px;
    align-items: center;
}

.details-left {
    flex: 1.2;
}

.details-headline {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.details-text {
    font-size: 24px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 40px;
    font-weight: 500;
    opacity: 0.9;
}

.details-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.author-meta {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.author-title {
    font-size: 16px;
    color: #999;
    font-weight: 500;
}

.details-right {
    flex: 0.8;
}

.details-img {
    width: 100%;
    height: 400px;
    border-radius: 40px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}



/* Portfolio Section */
.portfolio {
    padding: 100px 0 120px;
    background-color: #FFFFFF;
}

.portfolio-layout {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.portfolio-item {
    width: 630px;
    position: relative;
    margin-bottom: 120px;
}

.portfolio-card-main {
    width: 100%;
    background: #FFFFFF;
    border-radius: 32px;
    padding: 32px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    border-bottom-right-radius: 0;
    /* Keep for connection to second foot */
}

.portfolio-thumb {
    width: 100%;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin-bottom: 24px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-thumb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.card-content {
    padding: 0 12px 24px 12px;
}

.card-title {
    font-size: 36px;
    font-family: var(--font-satoshi);
    font-weight: 800;
    line-height: 1.2;
    color: #000;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.card-desc {
    font-size: 20px;
    font-family: var(--font-satoshi);
    font-weight: 500;
    line-height: 1.5;
    color: #444;
}

.portfolio-footer {
    display: flex;
    align-items: flex-start;
    margin-top: -1px;
    position: relative;
    z-index: 10;
    width: 630px;
    /* Match card width */
}

.tag-outside-box {
    background: transparent;
    padding: 24px 0 0 20px;
    /* Align button below the card with some left padding */
    position: relative;
    width: 315px;
    /* Half of card width */
    display: flex;
    justify-content: flex-start;
}

/* First foot background elements removed as requested */

.btn-tag-orange {
    height: 56px;
    width: 280px;
    /* Increased width to fill the space */
    background: #FF8541;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-family: var(--font-satoshi);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.explore-white-box {
    width: 315px;
    /* Starts exactly from the center (630 / 2) */
    height: 94px;
    background: #FFFFFF;
    border-radius: 0 0 32px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    margin-left: 0;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.05);
}

/* Scoop on the left side of the explore-white-box */
.explore-white-box::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 0;
    width: 32px;
    height: 32px;
    background: transparent;
    border-top-right-radius: 32px;
    box-shadow: 15px -15px 0 15px #FFFFFF;
    pointer-events: none;
}

.explore-pill-gray {
    background: #EEEEEE;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 6px;
    height: 60px;
    width: 260px;
    /* Increased to fit the wider 315px foot better */
}

.arrow-diag {
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.arrow-diag:hover {
    transform: scale(1.1);
}

.arrow-diag span {
    font-size: 24px;
    color: #000;
    line-height: 1;
}

/* Creation Section */
.creation {
    padding: 80px 0 160px;
}

.creation-layout {
    width: 1183px;
    margin: 0 auto;
    position: relative;
}

/* White text card — top-right, overlaps image */
.creation-text-card {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 160px;
    /* Same height as grey card */
    background: #fff;
    border-radius: 32px;
    padding: 36px 40px;
    z-index: 10;
    display: flex;
    align-items: center;
}

.creation-headline {
    font-family: var(--font-dm-sans);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
    color: #111;
    margin: 0;
}

/* Inline logo cluster inside the text */
.creation-logos {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 6px;
}

.creation-logo-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid #fff;
    margin-left: -14px;
    background: #f2f2f2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.creation-logo-circle:first-child {
    margin-left: 0;
}

.creation-image-wrap {
    position: relative;
    margin-top: 130px;
    /* Lines up with bottom of text card */
}

/* Main image — full rounded corners on all 4 sides */
.creation-img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    border-radius: 36px;
    display: block;
}

.creation-bottom-card {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 160px;
    background: #E0E0E0;
    border-radius: 28px;
    border-top-left-radius: 0;
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    z-index: 5;
}

.creation-bar {
    width: 100%;
    height: 14px;
    background: #C8C8C8;
    border-radius: 100px;
}

.creation-bar--thin {
    width: 60%;
    height: 10px;
}


/* CTA Section */
.cta {
    padding: 100px 0;
}

.cta-box {
    width: 1223px;
    margin: 0 auto;
    background: linear-gradient(180deg, #FF9A5C 0%, #FF741F 100%);
    border-radius: 25px;
    padding: 80px 40px;
    text-align: center;
    color: var(--text-white);
}

.cta-banner {
    background: var(--white);
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 28px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 40px;
}

.cta-box h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 50px;
    margin-bottom: 30px;
}

.cta-box p {
    font-size: 28px;
    font-weight: 700;
    line-height: 38px;
    max-width: 712px;
    margin: 0 auto 50px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.btn-cta-light {
    background: var(--white);
    color: var(--primary);
    padding: 19px 40px;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.btn-cta-outline {
    border: 1px solid var(--white);
    color: var(--text-white);
    padding: 19px 40px;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 500;
    text-decoration: none;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--text-white);
    padding: 100px 0 50px;
    border-radius: 105px 105px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    width: 600px;
    height: 300px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -150px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, rgba(255, 116, 31, 0.3) 60%, transparent 100%);
    filter: blur(140px);
    z-index: 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 95%;
    /* Fluid wide layout */
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
    margin-bottom: 80px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.logo-social-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    width: 120px;
    /* Match logo width so social icons don't push brand-info right */
    flex-shrink: 0;
    overflow: visible;
}


.footer-brand h2 {
    font-family: var(--font-dm-sans);
    font-size: 56px;
    font-weight: 600;
    line-height: 64px;
    max-width: 700px;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-item {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-item:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-width: 95%;
    /* Fluid wide layout */
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 22px;
    font-family: var(--font-dm-sans);
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
}

.btn-footer-work {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(141, 141, 141, 0) 40%, rgba(255, 255, 255, 0.15) 100%);
    padding: 20px 60px;
    border-radius: 100px;
    color: var(--primary);
    font-family: var(--font-anton);
    font-size: 48px;
    line-height: 64px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    /* Removed negative margin causing overflow */
}

.btn-footer-work:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Responsive */

/* Responsive Design */

/* Tablet and Small Laptops (1200px and below) */
@media (max-width: 1200px) {
    .navbar .container {
        padding: 0 40px;
    }

    .hero-headline {
        font-size: 50px;
        width: 90%;
    }

    .hero-brand {
        font-size: 80px;
    }

    .bento-container {
        width: 90%;
        grid-template-columns: 1fr 1.5fr;
    }

    .client-list {
        flex-wrap: wrap;
        gap: 30px;
        padding: 0 20px;
    }

    .founder-layout {
        width: 90%;
        padding: 0;
        flex-direction: column;
        text-align: center;
    }

    .founder-label {
        width: 90%;
        padding-left: 0;
        text-align: center;
    }

    .founder-actions {
        justify-content: center;
    }

    .services-container {
        width: 90%;
    }

    .portfolio-layout {
        width: 90%;
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .portfolio-item {
        width: 100%;
        max-width: 557px;
    }

    .portfolio-thumb {
        width: 100%;
    }

    .creation-layout {
        width: 90%;
    }

    .video-container {
        width: 100%;
        height: 500px;
    }

    .creation-promo {
        width: 100%;
        flex-direction: column;
        gap: 30px;
    }

    .cta-box {
        width: 90%;
    }

    .footer-top,
    .footer-bottom {
        width: 100%;
        max-width: 100%;
        padding: 0 40px;
    }

    .footer-brand,
    .footer-nav {
        margin-left: 0;
        /* Reset corner pull */
    }

    .btn-footer-work {
        font-size: 28px;
        line-height: 48px;
        padding: 12px 30px;
        margin-right: 0;
        /* Reset corner pull */
    }
}

/* Tablets (992px and below) */
@media (max-width: 992px) {
    .nav-links {
        gap: 20px;
    }

    .nav-item {
        font-size: 18px;
    }

    .hero-headline {
        font-size: 40px;
    }

    .hero-brand {
        font-size: 60px;
        line-height: 70px;
    }

    .bento-container {
        grid-template-columns: 1fr;
    }

    .bento-left {
        order: 2;
    }

    .bento-right {
        order: 1;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }

    .brand-info h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .logo-social-group {
        align-items: center;
    }
}

/* Mobiles (768px and below) */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.4s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-item {
        font-size: 28px;
    }

    .btn-nav-work {
        display: none;
        /* Hide in main navbar on mobile */
    }

    .nav-links.active+.btn-nav-work {
        display: none;
    }

    /* Animation for hamburger */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero {
        min-height: 600px;
        padding: 60px 0;
    }

    .hero-headline {
        font-size: 32px;
    }

    .hero-brand {
        font-size: 45px;
        line-height: 55px;
    }

    .btn-hero-work {
        padding: 15px 40px;
        font-size: 18px;
    }

    .hero-glow {
        width: 100%;
        height: 400px;
        filter: blur(150px);
    }

    .bi-4 h2 {
        font-size: 32px;
        line-height: 38px;
    }

    .client-logo {
        min-width: 150px;
        height: 50px;
    }

    .google,
    .framer,
    .adobe,
    .vercel,
    .stripe {
        width: 150px;
    }

    .raycast {
        font-size: 28px;
    }

    .raycast svg {
        width: 32px;
        height: 32px;
    }

    .section-title-main {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .service-name {
        font-size: 20px !important;
    }

    .portfolio-item {
        width: 100%;
        height: auto;
        margin-bottom: 60px;
    }

    .portfolio-card-main {
        width: 100%;
        height: auto;
        padding: 15px;
        border-radius: 20px 20px 20px 0;
    }

    .portfolio-thumb {
        width: 100%;
        height: 220px;
        border-radius: 15px;
    }

    .card-title {
        font-size: 24px;
        line-height: 32px;
    }

    .card-desc {
        font-size: 16px;
        line-height: 24px;
    }

    .portfolio-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-tag-orange {
        width: 100%;
        height: 50px;
        font-size: 16px;
        border-radius: 15px;
    }

    .explore-white-box {
        width: 100%;
        height: 60px;
        margin-left: 0;
        border-radius: 0 0 20px 20px;
        padding: 0 15px;
    }

    /* Simple notches for mobile */
    .portfolio-card-main::after,
    .explore-white-box::before {
        display: none;
    }

    .explore-pill-gray {
        width: 100%;
        height: 50px;
        border-radius: 15px;
    }

    .arrow-diag {
        width: 38px;
        height: 38px;
    }

    .video-container {
        height: 300px;
    }

    .creation-promo h2 {
        font-size: 32px;
        line-height: 38px;
    }

    .sub-promo-box {
        width: 100%;
    }

    .cta-box {
        padding: 60px 20px;
    }

    .cta-banner {
        font-size: 28px;
        padding: 10px 20px;
    }

    .cta-box h2 {
        font-size: 48px;
        line-height: 38px;
    }

    .cta-box p {
        font-size: 20px;
        line-height: 28px;
    }

    .cta-btns {
        flex-direction: column;
        gap: 15px;
    }

    .footer {
        padding: 80px 0 40px;
        border-radius: 60px 60px 0 0;
    }

    .footer-top,
    .footer-bottom {
        width: 100%;
        max-width: 100%;
        padding: 0 30px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 50px;
        margin-bottom: 60px;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        /* Clear negative margin */
        gap: 30px;
    }

    .logo-social-group {
        align-items: center;
    }

    .brand-info {
        margin-left: 0;
        /* Clear negative margin */
    }

    .footer-brand h2 {
        font-size: 36px;
        line-height: 44px;
        max-width: 100%;
    }

    .footer-bottom {
        align-items: center;
        gap: 40px;
    }

    .footer-nav {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        margin-left: 0;
        /* Clear negative margin */
        gap: 20px;
    }

    .footer-nav a {
        font-size: 18px;
    }

    .btn-footer-work {
        font-size: 24px;
        line-height: 40px;
        padding: 12px 30px;
        margin-right: 0;
        /* Clear negative margin */
        width: 100%;
        max-width: 400px;
        text-align: center;
    }
}

/* Extra Small (480px and below) */
@media (max-width: 480px) {
    .hero-brand {
        font-size: 36px;
    }

    .founder-image-card {
        width: 100%;
        height: 300px;
    }

    .founder-photo {
        width: 110%;
    }

    .founder-name-overlay {
        font-size: 36px;
    }

    .bi-4 {
        padding: 20px;
    }

    .pill-sm {
        width: 150px;
    }
}