/* ==========================================================================
   ORIENT DRAGON MEDIA — Design System & Core Styles
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
    /* Primary Colors */
    --od-orange: #FF6B00;
    --od-orange-light: #FF8C33;
    --od-orange-dark: #E85D00;
    --od-red: #E8391C;
    --od-red-dark: #C42D14;
    --od-yellow: #FFD700;
    --od-yellow-light: #FFE44D;
    --od-gold: #F5A623;

    /* Gradients */
    --od-gradient-primary: linear-gradient(135deg, #FF6B00 0%, #E8391C 100%);
    --od-gradient-header: linear-gradient(90deg, #FF6B00 0%, #E8391C 50%, #FF6B00 100%);
    --od-gradient-footer: linear-gradient(180deg, #FF8C33 0%, #FFD700 100%);
    --od-gradient-hero: linear-gradient(180deg, #FF8C33 0%, #FFFFFF 60%, #FFF8E7 100%);
    --od-gradient-page-bg: linear-gradient(180deg, #FFFFFF 0%, #FFF8E7 50%, #FFE4B5 80%, #FFD700 100%);
    --od-gradient-orange-bar: linear-gradient(90deg, #FF6B00 0%, #FF8C33 50%, #FFD700 100%);

    /* Neutral Colors */
    --od-white: #FFFFFF;
    --od-off-white: #FFF8F0;
    --od-light-bg: #FFF8E7;
    --od-gray-100: #F5F5F5;
    --od-gray-200: #EEEEEE;
    --od-gray-300: #DDDDDD;
    --od-gray-500: #888888;
    --od-gray-700: #555555;
    --od-dark: #333333;
    --od-black: #1A1A1A;

    /* Typography */
    --font-heading: 'Outfit', 'Arial Black', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --font-display: 'Outfit', 'Impact', sans-serif;

    /* Font Sizes */
    --fs-xs: 0.75rem;     /* 12px */
    --fs-sm: 0.875rem;    /* 14px */
    --fs-base: 1rem;      /* 16px */
    --fs-md: 1.125rem;    /* 18px */
    --fs-lg: 1.25rem;     /* 20px */
    --fs-xl: 1.5rem;      /* 24px */
    --fs-2xl: 2rem;       /* 32px */
    --fs-3xl: 2.5rem;     /* 40px */
    --fs-4xl: 3rem;       /* 48px */
    --fs-5xl: 4rem;       /* 64px */
    --fs-6xl: 5rem;       /* 80px */

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --container-width: 1200px;
    --container-padding: 2rem;
    --header-height: 60px;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 4px 20px rgba(255, 107, 0, 0.12);
    --shadow-orange: 0 4px 20px rgba(255, 107, 0, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--od-dark);
    background-color: var(--od-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--od-dark);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-3xl); }
h4 { font-size: var(--fs-2xl); }
h5 { font-size: var(--fs-xl); }
h6 { font-size: var(--fs-lg); }

.display-title {
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    background: var(--od-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--od-dark);
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--od-gradient-primary);
    margin: var(--space-md) auto 0;
    border-radius: 2px;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-3xl) 0;
}

.section--alt {
    background-color: var(--od-light-bg);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--od-gradient-header);
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

/* Transparent header on home page */
.site-header.header-transparent {
    background: transparent;
}

.site-header.header-transparent .header-logo {
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.site-header.header-transparent.scrolled .header-logo {
    opacity: 1;
    pointer-events: auto;
}

.site-header.header-transparent.scrolled {
    background: var(--od-gradient-header);
}

.site-header.scrolled {
    box-shadow: var(--shadow-lg);
}

/* ---------- Social Sidebar (Fixed Left) ---------- */
.social-sidebar {
    position: fixed;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.social-sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--od-white);
    color: var(--od-orange);
    font-size: var(--fs-sm);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.social-sidebar-icon:hover {
    background: var(--od-gradient-primary);
    color: var(--od-white);
    transform: scale(1.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ---------- Navigation ---------- */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.main-nav .nav-item {
    position: relative;
}

.main-nav .nav-link {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 400;
    color: var(--od-white);
    padding: var(--space-sm) 0;
    position: relative;
    transition: opacity var(--transition-fast);
    letter-spacing: 0.02em;
}

.main-nav .nav-link:hover {
    opacity: 0.85;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--od-white);
    transition: width var(--transition-base), left var(--transition-base);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 100%;
    left: 0;
}

/* Dropdown */
.nav-item.has-dropdown .nav-link::before {
    content: '▾';
    margin-left: 6px;
    font-size: 0.7em;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--od-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-base);
    padding: var(--space-sm) 0;
    margin-top: var(--space-sm);
    z-index: 100;
}

.nav-item.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown .dropdown-link {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--od-dark);
    transition: background var(--transition-fast), color var(--transition-fast);
    border-left: 3px solid transparent;
}

.nav-dropdown .dropdown-link:hover {
    background: var(--od-off-white);
    color: var(--od-orange);
    border-left-color: var(--od-orange);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--od-white);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Footer ---------- */
.site-footer {
    background: linear-gradient(180deg, #FF8C33 0%, #FFB84D 40%, #FFD700 90%, #FFE44D 100%);
    padding: var(--space-3xl) 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}

.footer-decor-arrow {
    position: absolute;
    left: 0;
    top: 60%;
    transform: translateY(-50%);
    width: 120px;
    opacity: 0.4;
    z-index: 0;
}

.footer-decor-arrow img {
    width: 100%;
}

.footer-decor-balls {
    position: absolute;
    right: 0;
    bottom: 20%;
    width: 100px;
    opacity: 0.3;
    z-index: 0;
}

.footer-decor-balls img {
    width: 100%;
}

/* Social Icons Row — large white circles */
.footer-social-row {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.footer-social-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--od-white);
    color: var(--od-dark);
    font-size: var(--fs-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.footer-social-circle:hover {
    background: var(--od-dark);
    color: var(--od-white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Footer Brand + Contact */
.footer-bottom {
    position: relative;
    z-index: 1;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    object-fit: contain;
    margin-bottom: var(--space-xs);
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 800;
    color: var(--od-white);
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.footer-contact-info p {
    color: var(--od-white);
    font-size: var(--fs-sm);
    margin-bottom: 4px;
    line-height: 1.6;
}

.footer-contact-info i {
    margin-right: 6px;
    width: 16px;
    text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn--primary {
    background: var(--od-gradient-primary);
    color: var(--od-white);
    box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.4);
}

.btn--outline {
    border: 2px solid var(--od-orange);
    color: var(--od-orange);
    background: transparent;
}

.btn--outline:hover {
    background: var(--od-orange);
    color: var(--od-white);
}

.btn--white {
    background: var(--od-white);
    color: var(--od-orange);
    box-shadow: var(--shadow-md);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ---------- Cards ---------- */
.card {
    background: var(--od-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-orange {
    border: 2px solid var(--od-orange);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--od-white);
}

.card-orange .card-header {
    padding: var(--space-md) var(--space-lg);
}

.card-orange .card-title {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--od-red);
    text-transform: uppercase;
    text-decoration: underline;
}

.card-orange .card-client {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--od-red);
    text-transform: uppercase;
}

.card-orange .card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* ---------- Video Play Button ---------- */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    z-index: 2;
}

.play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent var(--od-orange);
    margin-left: 3px;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ---------- Carousel ---------- */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.carousel-slide {
    flex: 0 0 33.333%;
    padding: 0 var(--space-md);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--od-white);
    border: 2px solid var(--od-orange);
    border-radius: var(--radius-sm);
    color: var(--od-orange);
    font-size: var(--fs-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-base);
}

.carousel-btn:hover {
    background: var(--od-orange);
    color: var(--od-white);
}

.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }

/* ---------- Phone Mockup Gallery ---------- */
.phone-gallery {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    padding: var(--space-2xl) 0;
}

.phone-mockup {
    position: relative;
    width: 180px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--od-dark);
    background: var(--od-black);
    transition: transform var(--transition-base);
}

.phone-mockup:hover {
    transform: translateY(-8px);
}

.phone-mockup img {
    width: 100%;
    display: block;
}

/* Stats, Client Logos, and Service Cards styles are in the Home Page section below */

/* ---------- Decorative Elements ---------- */
.decor-circle {
    position: absolute;
    border-radius: var(--radius-full);
    background: var(--od-gradient-primary);
    opacity: 0.15;
    z-index: 0;
}

.decor-dots {
    position: absolute;
    display: grid;
    grid-template-columns: repeat(8, 6px);
    gap: 8px;
    opacity: 0.3;
    z-index: 0;
}

.decor-dots span {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--od-orange);
}

.decor-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid var(--od-yellow);
    opacity: 0.6;
    z-index: 0;
}

.decor-orange-ball {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle at 30% 30%, #FFAA33, #FF6B00);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    z-index: 0;
}

.decor-orange-ball--small {
    width: 30px;
    height: 30px;
}

/* ---------- Page-specific: hero gradient bg ---------- */
.page-hero {
    position: relative;
    background: var(--od-gradient-hero);
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    overflow: hidden;
}

.page-hero .display-title {
    font-size: var(--fs-6xl);
    margin-bottom: var(--space-lg);
}

.page-hero .page-description {
    font-size: var(--fs-md);
    color: var(--od-gray-700);
    max-width: 700px;
    line-height: 1.7;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-orange { color: var(--od-orange); }
.text-red { color: var(--od-red); }
.text-white { color: var(--od-white); }
.text-uppercase { text-transform: uppercase; }
.fw-bold { font-weight: 700; }
.fw-extrabold { font-weight: 800; }

.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ---------- Media Queries ---------- */
@media (max-width: 1024px) {
    :root {
        --fs-5xl: 3rem;
        --fs-6xl: 3.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .client-category {
        width: calc(50% - var(--space-md) / 2) !important;
    }

    .carousel-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    :root {
        --fs-4xl: 2rem;
        --fs-5xl: 2.5rem;
        --fs-6xl: 3rem;
        --container-padding: 1rem;
        --header-height: 56px;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
    }

    .header-inner {
        justify-content: space-between;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--od-white);
        flex-direction: column;
        justify-content: center;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        z-index: 999;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .main-nav .nav-link {
        color: var(--od-dark);
        font-size: var(--fs-lg);
    }

    .nav-dropdown {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: var(--space-sm);
        padding-left: var(--space-lg);
        display: none;
    }

    .nav-item.has-dropdown.open .nav-dropdown {
        display: block;
    }

    /* Footer */
    .footer-social-row {
        gap: var(--space-lg);
    }

    .footer-social-circle {
        width: 50px;
        height: 50px;
    }

    .footer-brand-block {
        align-items: center;
        text-align: center;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .stat-value {
        font-size: var(--fs-2xl);
    }

    /* Phone Gallery */
    .phone-gallery {
        gap: var(--space-md);
    }

    .phone-mockup {
        width: 140px;
    }

    /* Clients */
    .client-category {
        width: 100% !important;
    }

    /* Carousel */
    .carousel-slide {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --fs-3xl: 1.75rem;
        --fs-4xl: 2rem;
        --fs-5xl: 2.25rem;
        --fs-6xl: 2.5rem;
    }

    .phone-mockup {
        width: 120px;
    }
}

/* ---------- Header Logo ---------- */
.header-logo {
    display: flex;
    align-items: center;
    margin-right: var(--space-xl);
    flex-shrink: 0;
}

.header-logo img {
    height: 40px;
    width: 40px;
    border-radius: var(--radius-full);
    object-fit: contain;
}

/* ==========================================================================
   HOME PAGE — Hero Section (Matches Design)
   ========================================================================== */
.hero-section {
    position: relative;
    margin-top: var(--header-height);
    background: url('../images/hero-bg.jpg') center top / cover no-repeat;
    overflow: hidden;
}

/* When header is transparent, hero should be full viewport */
body.home .hero-section {
    margin-top: 0;
}

.hero-bg {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    padding-bottom: var(--space-lg);
}

.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.hero-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding-top: var(--space-md);
}

.hero-logo {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-full);
    object-fit: contain;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    animation: float 4s ease-in-out infinite;
}

.hero-company-name {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--od-white);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    font-weight: 400;
    color: var(--od-white);
    opacity: 0.95;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.hero-tagline br {
    display: block;
}

/* Hero Search */
.hero-search {
    margin-top: var(--space-md);
}

.hero-search form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    width: 320px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-search-input {
    border: none;
    padding: 10px 16px;
    font-size: var(--fs-sm);
    font-family: var(--font-body);
    flex: 1;
    background: transparent;
    outline: none;
    color: var(--od-dark);
}

.hero-search-input::placeholder {
    color: var(--od-gray-500);
}

.hero-search-btn {
    background: transparent;
    border: none;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 14px;
    color: var(--od-gray-700);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.hero-search-btn:hover {
    color: var(--od-orange);
}

/* Hero Contact Info Bar */
.hero-contact-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding: var(--space-md) 0;
    position: relative;
    z-index: 5;
}

.hero-contact-info {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border-left: 3px solid rgba(255, 255, 255, 0.5);
    padding-left: var(--space-md);
}

.hero-contact-info p {
    font-size: var(--fs-sm);
    color: var(--od-white);
    margin-bottom: 4px;
    line-height: 1.7;
}

.hero-contact-info p:last-child {
    margin-bottom: 0;
}

.hero-contact-info strong {
    color: var(--od-white);
    font-weight: 700;
}

.hero-qr-codes {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-end;
}

.hero-qr {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    object-fit: contain;
    background: var(--od-white);
    padding: 4px;
}

/* Hero Vertical Text (Right Side) */
.hero-vertical-text {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.hero-vertical-text span {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5);
    text-stroke: 1.5px rgba(255, 255, 255, 0.5);
}

.hero-vertical-sep,
.vt-sep {
    -webkit-text-stroke: 1.5px rgba(255, 215, 0, 0.6) !important;
    color: transparent !important;
    font-size: var(--fs-sm) !important;
}

/* Social sidebar styles are in the header section above */

/* Hero Decorative Elements (Using actual design images) */
.hero-decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.hero-decor--arrow {
    left: -20px;
    top: 40%;
    width: 130px;
    opacity: 0.5;
}

.hero-decor--balls {
    right: -40px;
    bottom: 20%;
    width: 100px;
    opacity: 0.3;
}

.hero-decor--ball-right {
    right: 5%;
    top: 10%;
    width: 180px;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.hero-diamond {
    position: absolute;
    width: 24px;
    height: 24px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    z-index: 2;
}

.hero-diamond--1 {
    top: 25%;
    left: 25%;
}

.hero-diamond--2 {
    bottom: 25%;
    right: 18%;
}

/* About block — inside hero-section, shares background */
.hero-about {
    position: relative;
    padding: var(--space-2xl) 0 var(--space-xl);
}

.about-content {
    font-size: var(--fs-sm);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
}

.section-title--left {
    text-align: left;
    font-size: var(--fs-2xl);
    color: var(--od-white);
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: var(--space-md);
}

.section-title--left::after {
    display: none;
}

/* Wave divider — bottom of hero-section, inherits bg */
.wave-divider {
    position: relative;
    z-index: 2;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 200px;
}

/* Decorative Elements (General) */
.decor-dots {
    position: absolute;
    width: 100px;
    height: 160px;
    background-image: radial-gradient(circle, var(--od-orange) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.12;
    z-index: 0;
}

.decor-dots--about-right {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.decor-dots--services {
    right: 10px;
    bottom: 10px;
    width: 80px;
    height: 80px;
}

.decor-dots--whyus {
    left: 0;
    bottom: 20%;
    width: 60px;
    height: 120px;
}

.decor-diamond {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--od-gray-300);
    transform: rotate(45deg);
    opacity: 0.5;
    z-index: 0;
}

.decor-diamond--about-left {
    left: 10%;
    top: 30%;
}

.decor-diamond--about-right {
    right: 5%;
    bottom: 20%;
}

.decor-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid var(--od-yellow);
    opacity: 0.35;
    z-index: 0;
}

.decor-triangle--about {
    left: -10px;
    bottom: 15%;
}

/* Services Section */
.services-section {
    position: relative;
    overflow: hidden;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-3xl);
}

.services-section .section-title {
    color: var(--od-orange);
}

.services-section .section-title::after {
    background: var(--od-gradient-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--od-white);
    border: 2px solid var(--od-orange);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--od-gradient-primary);
    transition: height var(--transition-base);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.service-card-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--od-orange);
    margin-bottom: 0;
    text-decoration: none;
}

.service-card-desc {
    font-size: var(--fs-sm);
    color: var(--od-gray-700);
    line-height: 1.7;
}

/* Services decorative: large chevrons left side */
.services-decor-left {
    position: absolute;
    left: -30px;
    top: 35%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 80px solid transparent;
    border-bottom: 80px solid transparent;
    border-left: 90px solid var(--od-orange);
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.services-section::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 55%;
    width: 0;
    height: 0;
    border-top: 65px solid transparent;
    border-bottom: 65px solid transparent;
    border-left: 75px solid var(--od-yellow);
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

/* Services decorative: dots + bubble right side */
.services-decor-right {
    position: absolute;
    right: 0;
    bottom: 30px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--od-orange) 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.services-section::after {
    content: '';
    position: absolute;
    right: 20px;
    bottom: 160px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--od-orange);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.services-decor-dots {
    position: absolute;
    right: 5px;
    top: 15px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, var(--od-orange) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    opacity: 0.12;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(180deg, #E8391C 0%, #FF6B00 50%, #FF8C33 100%);
    padding: var(--space-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
}

.stat-item {
    color: var(--od-white);
}

.stat-icon {
    margin-bottom: var(--space-xs);
}

.stat-icon svg {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: block;
}

.stat-icon-img {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.stat-label {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    margin-bottom: 4px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 900;
    letter-spacing: 0.02em;
}

/* Client Logos */
.clients-section {
    position: relative;
    overflow: hidden;
}

.clients-section .section-title {
    color: var(--od-orange);
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.client-category {
    background: var(--od-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--od-gray-200);
    overflow: hidden;
    width: calc(25% - var(--space-md) * 3 / 4);
}

.client-category:first-child {
    width: calc(50% - var(--space-md) / 2);
}

.client-category-title {
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    background: var(--od-gradient-primary);
    color: var(--od-white);
    padding: 8px 16px;
    display: block;
    text-align: center;
    letter-spacing: 0.05em;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: var(--space-md);
}

.client-logos img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.85;
    transition: all var(--transition-base);
}

.client-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.client-name-badge {
    display: inline-block;
    background: var(--od-off-white);
    color: var(--od-dark);
    font-size: var(--fs-xs);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--od-gray-200);
    transition: all var(--transition-base);
}

.client-name-badge:hover {
    background: var(--od-orange);
    color: var(--od-white);
    border-color: var(--od-orange);
}

.clients-decor-dots {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 120px;
    background-image: radial-gradient(circle, var(--od-orange) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    opacity: 0.1;
}

/* Why Us Section */
.whyus-section {
    position: relative;
    overflow: hidden;
    background: var(--od-white);
}

.whyus-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.whyus-photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: relative;
}

.whyus-photo-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.whyus-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.whyus-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: var(--od-white);
    border-radius: 50%;
    border: 4px solid var(--od-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    overflow: hidden;
}

.whyus-center-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whyus-decor-arrow {
    position: absolute;
    left: -20px;
    bottom: 5%;
    width: 100px;
    opacity: 0.5;
    z-index: 1;
}

.whyus-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.whyus-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.whyus-brand-logo {
    width: 80px;
    height: auto;
    mix-blend-mode: multiply;
}

.whyus-brand-text {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--od-orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.whyus-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.whyus-logo img {
    width: 80px;
    height: auto;
}

.whyus-brand-text {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--od-orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.whyus-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.whyus-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--od-white);
    border-radius: 10px;
    border: 2px solid var(--od-orange);
    transition: all var(--transition-base);
}

.whyus-item:hover {
    box-shadow: var(--shadow-orange);
    background: var(--od-orange);
}

.whyus-item:hover .whyus-text {
    color: var(--od-white);
}

.whyus-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--fs-md);
    color: var(--od-orange);
    text-align: center;
    transition: color var(--transition-base);
}

.whyus-decor-balls {
    position: absolute;
    top: 15%;
    right: -20px;
    width: 100px;
    opacity: 0.35;
    z-index: 0;
}

/* ==========================================================================
   PAGE TEMPLATES — Shared Styles
   ========================================================================== */
.page-template-header {
    margin-top: var(--header-height);
    padding: var(--space-3xl) 0 var(--space-2xl);
    background: var(--od-gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-template-header .display-title {
    font-size: var(--fs-5xl);
    margin-bottom: var(--space-lg);
}

.page-template-header .page-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: var(--fs-md);
    color: var(--od-gray-700);
    line-height: 1.7;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
}

.gallery-grid img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* Case Study Cards */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.case-study-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    cursor: pointer;
}

.case-study-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.case-study-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.case-study-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--od-white);
}

.case-study-card .card-overlay .campaign-label {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--od-yellow);
    margin-bottom: var(--space-xs);
}

.case-study-card .card-overlay .campaign-name {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 700;
}

.case-study-card .card-overlay .client-name {
    font-size: var(--fs-sm);
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-vertical-text {
        display: none;
    }

    .whyus-content {
        grid-template-columns: 1fr;
    }

    .whyus-photos {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .social-sidebar {
        display: none;
    }

    .hero-bg {
        min-height: auto;
        padding-top: var(--space-xl);
        padding-bottom: var(--space-xl);
    }

    .hero-company-name {
        font-size: var(--fs-xl);
    }

    .hero-tagline {
        font-size: var(--fs-base);
    }

    .hero-search form {
        width: 280px;
    }

    .hero-contact-bar {
        flex-direction: column;
        gap: var(--space-md);
        align-items: center;
    }

    .hero-contact-info {
        text-align: center;
        border-left: none;
        border-top: 4px solid var(--od-orange);
    }

    .hero-vertical-text {
        display: none;
    }

    .hero-decor--arrow {
        display: none;
    }

    .section-title--left {
        font-size: var(--fs-2xl);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .stat-value {
        font-size: var(--fs-2xl);
    }

    .client-category {
        width: 100% !important;
    }

    .whyus-content {
        grid-template-columns: 1fr;
    }

    .whyus-photos {
        min-height: 300px;
    }

    .page-template-header .display-title {
        font-size: var(--fs-3xl);
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 100px;
    }

    .hero-company-name {
        font-size: var(--fs-lg);
        letter-spacing: 0.1em;
    }

    .hero-search form {
        width: 240px;
    }
}
