/* ============================================
   ScaleAd Website - Z1.Digital Inspired Design
   ============================================ */

/* ============ CSS RESET & BASE ============ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============ CSS CUSTOM PROPERTIES ============ */
:root {
    /* Colors - Dark Theme */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #151515;

    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    --accent-primary: #ffffff;
    --accent-secondary: #6366f1;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);

    --stroke-light: rgba(255, 255, 255, 0.1);
    --stroke-medium: rgba(255, 255, 255, 0.2);

    /* Spacing - Reduced for tighter layout */
    --space-xs: 0.5rem;
    --space-sm: 0.875rem;
    --space-md: 1.25rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 4rem;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;

    /* Transitions - Made FASTER */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.35s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* ============ TYPOGRAPHY ============ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

.large-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.title-2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    line-height: 1.25;
}

.title-3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 500;
    line-height: 1.3;
}

.body-1 {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
}

.body-2 {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.body-3 {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
}

.overline-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.caption {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Text Colors */
.text-medium {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

/* ============ LAYOUT ============ */
.max-w-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-3xl) 0;
}

.section--dark {
    background-color: var(--bg-secondary);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============ BUTTONS ============ */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

.button--primary {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

.button--primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.button--outlined {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--stroke-medium);
}

.button--outlined:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
}

.button--white {
    background-color: #fff;
    color: #000;
}

.button--white:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.button--sm {
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
}

.button--md {
    padding: 0.875rem 1.5rem;
}

.button--lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.button__icon {
    display: flex;
    align-items: center;
    width: 20px;
    height: 20px;
}

.button__icon svg {
    width: 100%;
    height: 100%;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color var(--transition-base);
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--stroke-light);
}

.navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.navbar__brand img {
    height: 45px;
    width: auto;
    border-radius: 8px;
    background-color: #ffffff;
    padding: 4px 8px;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.navbar__link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
    position: relative;
}

.navbar__link:hover,
.navbar__link.active {
    color: var(--text-primary);
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-primary);
    transition: width var(--transition-base);
}

.navbar__link:hover::after,
.navbar__link.active::after {
    width: 100%;
}

/* Mobile Menu Button */
.menu-button {
    display: none;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.menu-button__dots {
    display: grid;
    grid-template-columns: repeat(3, 3px);
    grid-template-rows: repeat(3, 3px);
    gap: 7px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-button__dot {
    width: 3px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 1px;
    transition: transform var(--transition-base);
}

.menu-button.active .menu-button__dot:nth-child(2) {
    transform: translateY(10px);
}

.menu-button.active .menu-button__dot:nth-child(8) {
    transform: translateY(-10px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-primary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.mobile-menu__link {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
    color: var(--text-secondary);
}

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-3xl) var(--container-padding);
    position: relative;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.hero__content {
    max-width: 900px;
}

.hero__title {
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.6s ease forwards;
    animation-delay: 0.1s;
}

.hero__title .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.5s ease forwards;
    animation-delay: 0.2s;
}

.hero__cta {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.5s ease forwards;
    animation-delay: 0.35s;
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    opacity: 0;
    animation: heroReveal 0.5s ease forwards;
    animation-delay: 0.5s;
}

.hero__scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--stroke-medium);
    border-radius: 12px;
    position: relative;
}

.hero__scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: 2px;
    animation: scrollMouse 2s ease infinite;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollMouse {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(8px);
    }
}

/* ============ DELIVER SECTION ============ */
.deliver {
    padding: var(--space-3xl) 0;
    background-color: var(--bg-secondary);
}

.deliver__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.deliver__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.deliver__divider-circle {
    width: 34px;
    height: 34px;
    border: 1px solid var(--stroke-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.deliver__divider-circle::before {
    content: '';
    width: 4px;
    height: 4px;
    background-color: var(--text-primary);
    border-radius: 50%;
}

.deliver__divider-line {
    height: 1px;
    width: 100px;
    background-color: var(--stroke-medium);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.deliver__divider-line.animated {
    transform: scaleX(1);
}

.deliver__experience {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.deliver__experience h2 {
    margin-bottom: var(--space-md);
}

.deliver__experience p {
    color: var(--text-secondary);
}

/* ============ WHAT YOU EXPECT SECTION ============ */
.expect {
    padding: var(--space-3xl) 0;
    position: relative;
    min-height: 60vh;
}

.expect__grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: var(--space-md);
    pointer-events: none;
    z-index: 0;
}

.expect__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    opacity: 0.3;
    transition: transform 0.1s linear;
}

.expect__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50vh;
}

.expect__titles {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.expect__title-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.expect__title-item.active {
    opacity: 1;
}

.expect__description {
    text-align: center;
    max-width: 600px;
    margin: var(--space-xl) auto 0;
}

.expect__description p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* ============ MILESTONE SECTION ============ */
.milestone {
    padding: var(--space-3xl) 0;
}

.milestone__header {
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.milestone__header h3 {
    margin-bottom: var(--space-md);
}

.milestone__header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.milestone__list {
    list-style: none;
}

.milestone__item {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--stroke-light);
}

.milestone__marker {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1px solid var(--stroke-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.milestone__marker::before {
    content: '';
    width: 4px;
    height: 4px;
    background-color: var(--text-primary);
    border-radius: 50%;
}

.milestone__marker::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: calc(100% + var(--space-lg) * 2);
    background-color: var(--stroke-light);
}

.milestone__item:last-child .milestone__marker::after {
    display: none;
}

.milestone__text {
    flex: 1;
}

/* ============ VISION/CTA SECTION ============ */
.vision {
    padding: var(--space-3xl) 0;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.vision__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
}

.vision__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vision__text {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.vision__title .link {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 4px solid var(--text-primary);
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.vision__title .link:hover {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

/* ============ TESTIMONIALS SECTION ============ */
.clients {
    padding: var(--space-3xl) 0;
}

.clients__title {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.quote-swiper {
    overflow: hidden;
    padding: var(--space-lg) 0;
}

.quote__card {
    background-color: var(--bg-card);
    border: 1px solid var(--stroke-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    height: 100%;
}

.quote__text {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.quote__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.quote__photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.quote__name {
    font-weight: 500;
}

.quote__role {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.quote__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.quote__prev,
.quote__next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--stroke-medium);
    background: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.quote__prev:hover,
.quote__next:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

/* ============ SERVICES/WORK SECTION ============ */
.work {
    padding: var(--space-3xl) 0;
}

.work__header {
    margin-bottom: var(--space-2xl);
}

.work__header h2 {
    margin-bottom: var(--space-sm);
}

.work__header p {
    color: var(--text-secondary);
}

.work__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.work__card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-base);
}

.work__card:hover {
    transform: translateY(-8px);
}

.work__card-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    aspect-ratio: 16/9;
}

.work__card-media img,
.work__card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.work__card:hover .work__card-media img,
.work__card:hover .work__card-media video {
    transform: scale(1.05);
}

.work__card-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.work__card-title {
    font-size: 1.25rem;
    font-weight: 500;
}

.work__card-divider {
    flex: 1;
    height: 1px;
    background-color: var(--stroke-medium);
    min-width: 40px;
}

.work__card-type {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.work__card-description {
    color: var(--text-secondary);
}

.work__cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ============ PILLARS SECTION ============ */
.pillars {
    padding: var(--space-3xl) 0;
    background-color: var(--bg-secondary);
}

.pillars__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.pillars__header h2 {
    margin-bottom: var(--space-sm);
}

.pillars__header p {
    color: var(--text-secondary);
}

.pillars__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.pillars__card {
    padding: var(--space-xl);
    background-color: var(--bg-card);
    border: 1px solid var(--stroke-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.pillars__card:hover {
    border-color: var(--stroke-medium);
    transform: translateY(-4px);
}

.pillars__icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-lg);
}

.pillars__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pillars__card h3 {
    margin-bottom: var(--space-md);
}

.pillars__card p {
    color: var(--text-secondary);
}

/* ============ FOOTER ============ */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--stroke-light);
    padding-top: 0;
}

.footer__cta {
    padding: var(--space-3xl) 0;
    text-align: center;
}

.footer__cta h2 {
    margin-bottom: var(--space-md);
}

.footer__cta .link {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 4px solid var(--text-primary);
    transition: border-color var(--transition-fast);
}

.footer__cta .link:hover {
    border-color: var(--accent-secondary);
}

.footer__main {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--stroke-light);
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-xl);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.footer__email {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer__email:hover {
    color: var(--text-secondary);
}

.footer__copyright {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.footer__links {
    display: flex;
    gap: var(--space-2xl);
}

.footer__links-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--text-primary);
}

.footer__social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-lg);
}

.footer__social-links {
    display: flex;
    gap: var(--space-sm);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--stroke-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
}

/* ============ ANIMATIONS ============ */
.animated-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.animated-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.slide-up-100px {
    transform: translateY(60px);
}

.fade {
    opacity: 0;
    transform: none;
}

.fade.animated {
    opacity: 1;
}

.delay-200ms {
    transition-delay: 0.1s;
}

.delay-400ms {
    transition-delay: 0.2s;
}

.delay-600ms {
    transition-delay: 0.3s;
}

/* ============ MEDIA QUERIES ============ */

/* Tablet and below - 991px */
@media (max-width: 991px) {
    .navbar__menu {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .footer__container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .footer__social {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .expect__grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
}

/* Tablet - 900px */
@media (max-width: 900px) {
    .hero {
        min-height: 85vh;
        padding: 100px var(--container-padding) 60px;
    }

    .hero__title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .work__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillars__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quote__text {
        font-size: 1.1rem;
    }

    .expect__titles {
        height: 80px;
    }

    .expect__title-item {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
}

/* Mobile - 767px */
@media (max-width: 767px) {
    :root {
        --container-padding: 1rem;
        --space-3xl: 4rem;
        --space-2xl: 3rem;
    }

    .navbar__brand img {
        height: 40px;
    }

    .hero {
        min-height: 80vh;
        padding-top: 80px;
    }

    .hero__title {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .hero__scroll {
        display: none;
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer__brand {
        text-align: center;
    }

    .hero__scroll {
        bottom: var(--space-lg);
    }

    .footer__links {
        flex-direction: column;
        gap: var(--space-md);
        align-items: center;
    }

    .footer__social {
        grid-column: 1;
        flex-direction: column;
        align-items: center;
    }

    .work__grid {
        grid-template-columns: 1fr;
    }

    .pillars__grid {
        grid-template-columns: 1fr;
    }

    .milestone__item {
        flex-direction: column;
        gap: var(--space-md);
    }

    .milestone__marker::after {
        display: none;
    }

    .expect__grid {
        display: none;
    }

    .expect__content {
        min-height: auto;
    }

    .quote__card {
        padding: var(--space-lg);
    }

    .quote__text {
        font-size: 1rem;
    }
}

/* Small Mobile - 500px */
@media (max-width: 500px) {
    :root {
        --container-padding: 0.875rem;
        --space-3xl: 3rem;
    }

    .navbar__brand img {
        height: 35px;
    }

    .hero__title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .hero__subtitle {
        font-size: 0.875rem;
    }

    .button--lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .large-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .title-1 {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    .title-2 {
        font-size: clamp(1.1rem, 4vw, 1.35rem);
    }

    .pillars__card {
        padding: var(--space-lg);
    }

    .pillars__icon {
        width: 60px;
        height: 60px;
    }

    .footer__email {
        font-size: 1rem;
    }

    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-float__btn {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float__btn svg {
        width: 26px;
        height: 26px;
    }
}

/* ============ PRELOADER ============ */
.preloader {
    position: fixed;
    inset: 0;
    background-color: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader__logo {
    width: 100px;
    height: 100px;
    animation: pulse 1.5s ease infinite;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* ============ FLOATING WHATSAPP ============ */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whatsapp-float__label {
    background-color: #25d366;
    color: #fff;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    transition: all var(--transition-base);
}

.whatsapp-float:hover .whatsapp-float__label {
    background-color: #1da851;
    transform: translateX(-5px);
}

.whatsapp-float__btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.whatsapp-float__btn:hover {
    transform: scale(1.1);
}

.whatsapp-float__btn svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

/* Hide label on small screens */
@media (max-width: 600px) {
    .whatsapp-float__label {
        display: none;
    }
}

/* ============ SUCCESS/ERROR MODAL ============ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--stroke-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.modal-icon.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.modal-icon svg {
    width: 36px;
    height: 36px;
    fill: #fff;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.modal-message {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-btn {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}