/* ===== CSS Variables ===== */
:root {
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-orange: #ff6b00;
    --color-orange-light: #ff8533;
    --color-orange-dark: #cc5500;
    --color-gray: #1a1a1a;
    --color-gray-light: #2a2a2a;
    --color-gray-text: #b0b0b0;

    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: Arial, sans-serif;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 100px;
    /* Offset for sticky header */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: url('cursor.webp'), auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

a:hover {
    cursor: url('cursor.webp'), pointer;
}

a {
    cursor: url('cursor.webp') 10 10, auto;
    color: inherit;
    text-decoration: none;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background-color: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: #000;
    /* Optional: makes white text visible */
    margin: 0;
    font-family: Arial, sans-serif;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
    /* Removes underline */
    cursor: pointer;
}

.orange {
    color: orange;
}

.white {
    color: white;
}


.navbar.scrolled {
    top: 10px;
    width: 95%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 107, 0, 0.15);
    border-color: transparent;
}

.navbar-hidden {
    transform: translate(-50%, -150%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
}

.logo {
    z-index: 1001;
}

.logo a {
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 36px;
    letter-spacing: 2px;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.logo-accent {
    color: var(--color-orange);
    font-size: 44px;
}

.logo:hover .logo-text {
    color: var(--color-orange);
}

.logo-link img {
    height: 80px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .logo-link img {
        height: 55px;
    }

    .logo-text {
        font-size: 24px;
    }
}

.logo-link:hover img {
    transform: scale(1.05);
}


.nav-menu {
    display: flex;
    align-items: center;
    gap: 50px;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    z-index: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(255, 133, 51, 0.05));
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: var(--color-orange);
}

.nav-link:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Dropdown */
.dropdown {
    position: relative;
    padding-bottom: 25px;
    margin-bottom: -25px;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px) scale(0.95);
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    width: 700px;
    padding: 35px;
    border-radius: 28px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 10px 40px rgba(255, 107, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: all;
}

/* Staggered Entrance Animation */
.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateX(-20px);
    /* Default slide from left */
}

.dropdown-content a:nth-child(even) {
    transform: translateX(20px);
    /* Slide from right for even items */
}

.dropdown:hover .dropdown-content a {
    opacity: 1;
    transform: translateX(0);
}

/* Delayed Reveal */
.dropdown:hover .dropdown-content a:nth-child(1) {
    transition-delay: 0.1s;
}

.dropdown:hover .dropdown-content a:nth-child(2) {
    transition-delay: 0.15s;
}

.dropdown:hover .dropdown-content a:nth-child(3) {
    transition-delay: 0.2s;
}

.dropdown:hover .dropdown-content a:nth-child(4) {
    transition-delay: 0.25s;
}

.dropdown:hover .dropdown-content a:nth-child(5) {
    transition-delay: 0.3s;
}

.dropdown:hover .dropdown-content a:nth-child(6) {
    transition-delay: 0.35s;
}

.dropdown:hover .dropdown-content a:nth-child(7) {
    transition-delay: 0.4s;
}

.dropdown:hover .dropdown-content a:nth-child(8) {
    transition-delay: 0.45s;
}

.dropdown:hover .dropdown-content a:nth-child(9) {
    transition-delay: 0.5s;
}

.dropdown:hover .dropdown-content a:nth-child(10) {
    transition-delay: 0.55s;
}

.dropdown:hover .dropdown-content a:nth-child(11) {
    transition-delay: 0.6s;
}

.dropdown:hover .dropdown-content a:nth-child(12) {
    transition-delay: 0.65s;
}

.dropdown:hover .dropdown-content a:nth-child(13) {
    transition-delay: 0.7s;
}

.dropdown-content a:hover {
    background: rgba(255, 107, 0, 0.15);
    color: var(--color-orange);
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.15);
    transform: translateY(-3px) scale(1.02) !important;
}

.dropdown-content a::before {
    content: '→';
    margin-right: 12px;
    font-size: 18px;
    color: var(--color-orange);
    transition: transform 0.3s ease;
}

.dropdown-content a:hover::before {
    transform: translateX(5px);
}



/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--color-white);
    transition: var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8.5px, -8.5px);
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(35px);
        -webkit-backdrop-filter: blur(35px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 100px 20px 60px;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .nav-container {
        padding: 5px 20px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Force center alignment for all children */
        justify-content: center;
        gap: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nav-link {
        font-family: var(--font-display);
        font-size: clamp(32px, 8vw, 48px);
        letter-spacing: 2px;
        text-transform: uppercase;
        padding: 15px 0;
        display: flex;
        /* Flex to center chevron easily */
        align-items: center;
        justify-content: center;
        width: 100%;
        border-bottom: none;
        text-align: center;
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        margin: 0 auto;
    }

    .nav-menu.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-link::after {
        display: none;
    }

    .nav-item.dropdown>.nav-link::before {
        content: '\f078';
        font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', sans-serif;
        font-weight: 900;
        position: relative;
        margin-left: 15px;
        font-size: 18px;
        color: var(--color-orange);
        transition: transform 0.3s ease;
        top: 0;
    }

    .nav-item.dropdown.active>.nav-link::before {
        transform: rotate(180deg);
        color: var(--color-white);
    }

    .dropdown-content {
        position: static !important;
        display: none;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border-radius: 12px !important;
        margin: 15px 0 !important;
        padding: 5px !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        grid-template-columns: none !important;
        /* Reset desktop grid */
        box-shadow: none !important;
        pointer-events: all !important;
    }

    .nav-item.dropdown.active .dropdown-content {
        display: flex !important;
    }

    .dropdown-content a {
        font-family: var(--font-body) !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        color: #ffffff !important;
        padding: 15px 20px !important;
        width: 100% !important;
        text-align: center !important;
        display: block !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        opacity: 1 !important;
        transform: none !important;
        background: transparent !important;
        border: none !important;
        margin: 0 !important;
        transition-delay: 0s !important;
        /* Kill desktop staggered delays */
    }

    /* Kill EVERY nth-child or other specific desktop rule */
    .dropdown-content a:nth-child(even),
    .dropdown-content a:nth-child(odd),
    .dropdown:hover .dropdown-content a {
        transform: none !important;
        opacity: 1 !important;
        transition-delay: 0s !important;
    }

    .dropdown-content a::before {
        display: none !important;
    }

    .dropdown-content a:hover,
    .dropdown-content a:active {
        background: rgba(255, 107, 0, 0.1) !important;
        color: var(--color-orange) !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }
}

/* ===== Buttons ===== */
.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-smooth);
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .btn-large {
        width: 100%;
        text-align: center;
        padding: 16px 32px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 0, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-black) 0%, var(--color-gray) 100%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1100px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(60px, 10vw, 140px);
    line-height: 0.9;
    margin-bottom: 30px;
    letter-spacing: 4px;
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

.accent-text {
    color: var(--color-orange);
    text-shadow: 0 0 60px rgba(255, 107, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--color-gray-text);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.animate-in {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.animate-in:nth-child(1) {
    animation-delay: 0.2s;
}

.animate-in:nth-child(2) {
    animation-delay: 0.4s;
}

.animate-in:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.visible.animate-in {
    opacity: 1;
    animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Initial state for cards (will be animated by visible class) */
.portfolio-card {
    opacity: 0;
    transform: translateY(40px);
}

.portfolio-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.scroll-line {
    width: 100%;
    height: 40px;
    background-color: var(--color-orange);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 80px);
}

.section-label {
    display: inline-block;
    color: var(--color-orange);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 7vw, 72px);
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-gray-text);
    max-width: 700px;
    margin: 0 auto;
}


/* ===== Services Section ===== */
.services-section {
    padding: 120px 0;
    background-color: var(--color-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(20px, 3vw, 40px);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: var(--color-black);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    text-decoration: none;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.1), transparent);
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    border-color: var(--color-orange);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 107, 0, 0.2);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 25px;
    display: inline-block;
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.service-description {
    color: var(--color-gray-text);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-arrow {
    color: var(--color-orange);
    font-size: 28px;
    transition: var(--transition-smooth);
    display: inline-block;
}

.service-card:hover .service-arrow {
    transform: translateX(10px);
}

/* ===== Clients Section ===== */
.clients-section {
    padding: 100px 0;
    background-color: var(--color-black);
    overflow: hidden;
}

.clients-slider-container {
    padding: 40px 0;
    position: relative;
    max-width: 100%;
}

.clients-slider-container::before,
.clients-slider-container::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.clients-slider-container::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, var(--color-black) 10%, transparent 100%);
}

.clients-slider-container::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, var(--color-black) 10%, transparent 100%);
}

.clients-slider {
    display: flex;
    align-items: center;
    width: fit-content;
    animation: slide-rtl 40s linear infinite;
}

.client-logo {
    width: 250px;
    padding: 0 40px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(1) brightness(0.8);
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.client-logo img {
    max-width: 160px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.client-logo:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes slide-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .client-logo {
        width: 180px;
        padding: 0 25px;
    }

    .client-logo img {
        max-width: 120px;
    }

    .clients-slider-container::before,
    .clients-slider-container::after {
        width: 80px;
    }
}

/* ===== Why Us Section ===== */
.why-us-section {
    padding: 120px 0;
    background-color: var(--color-black);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 1024px) {
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.why-us-points {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.why-point {
    display: flex;
    gap: 25px;
}

.why-number {
    font-family: var(--font-display);
    font-size: 64px;
    color: var(--color-orange);
    line-height: 1;
    opacity: 0.3;
}

.why-info h3 {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.why-info p {
    color: var(--color-gray-text);
    line-height: 1.7;
}

.why-us-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .why-us-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .why-us-stats {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: linear-gradient(135deg, var(--color-gray) 0%, var(--color-black) 100%);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 0, 0.2);
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-orange);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.2);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 56px;
    color: var(--color-orange);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--color-gray-text);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-orange-dark) 0%, var(--color-orange) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.cta-content .btn-primary {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 16px 40px;
    font-size: 16px;
    border: none;
}

.cta-content .btn-primary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.cta-content .btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    padding: 16px 40px;
}

.cta-content .btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--color-gray);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 107, 0, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-col {
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 15px;
    }

    .footer-col:last-child {
        border-bottom: none;
    }

    .footer-heading {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        margin-bottom: 0;
        padding: 5px 0;
        width: 100%;
    }

    .footer-heading::after {
        content: '+';
        font-size: 20px;
        color: var(--color-orange);
        transition: var(--transition-smooth);
    }

    .footer-col.active .footer-heading::after {
        content: '−';
        transform: rotate(180deg);
    }

    .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
    }

    .footer-col.active .footer-links {
        max-height: 500px;
        opacity: 1;
        margin-top: 15px;
    }

    .footer-links a:hover {
        padding-left: 0;
    }
}

.footer-title {
    font-family: poppins, Montserrat, sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-text {
    color: var(--color-gray-text);
    line-height: 1.8;
    max-width: 400px;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--color-orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-gray-text);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-orange);
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-gray-text);
}

/* ===== Service Detail Page ===== */
.page-header {
    padding: 200px 0 100px;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
}

.page-header-content {
    position: relative;
    z-index: 10;
}

.page-icon {
    font-size: 80px;
    margin-bottom: 30px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.page-description {
    font-size: 22px;
    color: var(--color-gray-text);
    max-width: 800px;
    margin: 0 auto;
}

.service-detail-section {
    padding: 100px 0;
}

.service-detail-content {
    max-width: 1000px;
    margin: 0 auto;
}

.detail-block {
    margin-bottom: 80px;
}

.detail-title {
    font-family: var(--font-display);
    font-size: 42px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: var(--color-orange);
}

.detail-text {
    font-size: 18px;
    line-height: 1.9;
    color: var(--color-gray-text);
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-item {
    background-color: var(--color-gray);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--color-orange);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
}

.feature-title {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-description {
    color: var(--color-gray-text);
    line-height: 1.7;
}

/* ===== Premium Portfolio Page ===== */
.hero-portfolio {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--color-black);
    padding: 160px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 107, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 0, 0.1) 0%, transparent 40%),
        linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, var(--color-black) 100%);
    pointer-events: none;
}

.hero-label {
    display: inline-block;
    color: var(--color-orange);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-stats {
    display: inline-flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding: 30px 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
}

.hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 64px);
    background: linear-gradient(135deg, var(--color-white) 0%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 8px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.stat-desc {
    color: var(--color-orange);
    font-size: clamp(12px, 1.5vw, 15px);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 30px;
        padding: 35px;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stat:not(:last-child)::after {
        right: auto;
        bottom: -15px;
        top: auto;
        transform: translateX(-50%);
        left: 50%;
        width: 60px;
        height: 1px;
    }
}

.portfolio-showcase {
    padding: 60px 0 100px;
    background-color: var(--color-black);
}



.showcase-title {
    font-family: var(--font-display);
    font-size: 64px;
    line-height: 1;
    margin-bottom: 10px;
}

.showcase-subtitle {
    color: var(--color-gray-text);
    font-size: 18px;
    letter-spacing: 1px;
}






/* ===== About Page Redesign ===== */
.about-intro-section {
    padding: 120px 0;
    background-color: var(--color-black);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-feature {
    display: flex;
    gap: 20px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 0, 0.1);
    transition: var(--transition-smooth);
}

.about-feature:hover {
    background: rgba(255, 107, 0, 0.05);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 32px;
}

.about-feature h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--color-orange);
}

.about-feature p {
    font-size: 15px;
    margin: 0;
    color: var(--color-gray-text);
}

.about-visual {
    position: relative;
}

.visual-box {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--color-gray) 0%, var(--color-black) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.visual-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.experience-card {
    position: absolute;
    top: -30px;
    right: -30px;
    background: var(--color-orange);
    color: var(--color-black);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.3);
}

.exp-number {
    font-family: var(--font-display);
    font-size: 48px;
    display: block;
    line-height: 1;
}

.exp-text {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Values Grid */
.values-section {
    padding: 120px 0;
    background-color: var(--color-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--color-black);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    text-align: center;
}

.value-card:hover {
    border-color: var(--color-orange);
    transform: translateY(-10px);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 25px;
}

.value-title {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--color-orange);
}

.value-card p {
    color: var(--color-gray-text);
    font-size: 15px;
    line-height: 1.7;
}

/* Refined Founder Section */
.founder-section {
    padding: 120px 0;
    background-color: var(--color-black);
}

.founder-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.founder-frame {
    position: relative;
    padding: 20px;
}

.founder-bg {
    width: 100%;
    height: 550px;
    background: linear-gradient(135deg, #ff6b00, #cc5500);
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.founder-bg::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-orange);
    border-radius: 20px;
    z-index: -1;
}

.founder-info-tag {
    position: absolute;
    bottom: 50px;
    left: -20px;
    background: var(--color-white);
    padding: 20px 40px;
    border-radius: 0 10px 10px 0;
    z-index: 5;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3);
}

.founder-info-tag h3 {
    color: var(--color-black);
    font-family: var(--font-display);
    font-size: 24px;
    margin: 0;
}

.founder-info-tag span {
    color: var(--color-orange);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.founder-quote {
    margin-top: 40px;
    padding-left: 30px;
    border-left: 4px solid var(--color-orange);
}

.founder-quote blockquote {
    font-size: clamp(20px, 3vw, 28px);
    font-style: italic;
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 300;
}

@media (max-width: 1024px) {

    .about-grid,
    .founder-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .founder-image-col {
        order: 2;
    }

    .founder-content-col {
        order: 1;
    }

    .founder-bg {
        height: 400px;
    }

    .experience-card {
        right: 0;
        top: -20px;
    }
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 100px 0;
}

.contact-wrapper-center {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-wrapper-center .contact-info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-slider {
    /* Acts as a viewport, hiding logos outside its bounds */
    overflow: hidden;
    white-space: nowrap;
    /* Prevents logos from wrapping to the next line */
    padding: 3rem 0;
    /* Optional: Add fade-out effect at edges if desired */
    /* mask-image: linear-gradient(to right, transparent 0, black 128px, black calc(100% - 128px), transparent 100%); */
}

.logo-track {
    display: inline-block;
    /* Allows the track to stretch horizontally as needed */
    animation: scroll-right-to-left 25s linear infinite;
    /* Apply the animation */
}

.logo-track img {
    height: 50px;
    /* Set a consistent height for your logos */
    margin: 0 3rem;
    /* Add space between logos */
    max-width: none;
    /* Prevents images from shrinking on smaller screens */
    vertical-align: middle;
}

@keyframes scroll-right-to-left {
    0% {
        transform: translateX(0);
        /* Start at the original position */
    }

    100% {
        /* Translate the entire track to the left by 50% of its total width */
        transform: translateX(-50%);
    }
}

/* Optional: Pause animation on hover for better user experience */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}


/* ===== Service Pages ===== */
.service-overview {
    padding: 80px 0;
}

.overview-wrapper-center {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.overview-wrapper-center .overview-text {
    width: 100%;
}

.overview-wrapper-center .overview-image {
    width: 100%;
    max-width: 600px;
}

/* Service Features Section */
.features-section {
    padding: 80px 0;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--color-gray);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 0, 0.1);
    transition: var(--transition-smooth);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--color-orange);
}

.feature-card p {
    font-size: 15px;
    color: var(--color-gray-text);
    line-height: 1.8;
}

.feature-card:hover {
    background-color: var(--color-gray-light);
    border-color: var(--color-orange);
    transform: translateY(-5px);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 48px;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 18px;
    color: var(--color-gray-text);
    line-height: 1.9;
    margin-bottom: 50px;
}

.contact-info a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-info a:hover {
    color: var(--color-orange);
}

.social-link {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--color-orange);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-method {
    background-color: var(--color-gray);
    padding: 35px;
    border-radius: 12px;
    border-left: 4px solid var(--color-orange);
    transition: var(--transition-smooth);
}

.contact-method:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
}

.contact-method-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.contact-method-title {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact-method-value {
    color: var(--color-orange);
    font-size: 20px;
    font-weight: 600;
}

.contact-hours {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--color-orange-dark) 0%, var(--color-orange) 100%);
    padding: 40px;
    border-radius: 12px;
}

.contact-hours h3 {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.contact-hours p {
    color: var(--color-white);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* ===== Policy Pages ===== */
.policy-section {
    padding: 100px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.policy-section h2 {
    font-family: var(--font-display);
    font-size: 42px;
    letter-spacing: 2px;
    margin: 60px 0 25px;
    color: var(--color-orange);
}

.policy-section h3 {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 1px;
    margin: 40px 0 20px;
}

.policy-section p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--color-gray-text);
    margin-bottom: 20px;
}

.policy-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.policy-section li {
    font-size: 17px;
    line-height: 1.9;
    color: var(--color-gray-text);
    margin-bottom: 12px;
}

/* ===== Pricing Section ===== */
.pricing-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-gray-text);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.price-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-orange);
    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.2);
}

.price-card.featured {
    border: 2px solid var(--color-orange);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 107, 0, 0.3);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
    color: #000;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-header {
    margin-bottom: 30px;
}

.price-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-white);
}

.price-description {
    font-size: 14px;
    color: var(--color-gray-text);
}

.price-amount {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}

.currency {
    font-size: 24px;
    color: var(--color-orange);
    font-weight: 700;
}

.amount {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-white);
    margin-left: 4px;
}

.price-period {
    font-size: 14px;
    color: var(--color-gray-text);
    margin-bottom: 30px;
}

.price-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid #333;
    font-size: 15px;
    color: var(--color-gray-text);
    display: flex;
    align-items: center;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li::before {
    content: '✓';
    color: var(--color-orange);
    font-weight: 700;
    margin-right: 12px;
}

.price-card .btn-primary,
.price-card .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 16px;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
    color: #000;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-orange);
    border: 2px solid var(--color-orange);
}

.btn-secondary:hover {
    background: var(--color-orange);
    color: #000;
}


/* Carousel Indicator - Desktop Hidden */
.carousel-indicator {
    display: none;
}

/* =============================================================================
   NINJA ADS: COMPREHENSIVE MOBILE UI/UX OVERHAUL (768px and below)
   ============================================================================= */

@media (max-width: 768px) {

    /* 1. Global Touch & Layout Optimizations */
    :root {
        --scroll-padding: 80px;
    }

    body {
        font-size: 15px;
        -webkit-tap-highlight-color: transparent;
    }

    .container {
        padding: 0 20px;
    }

    /* 2. Enhanced Hero Sections (Common to all pages) */
    .hero,
    .hero-portfolio,
    .hero-secondary,
    .page-header {
        padding: 120px 0 60px !important;
        text-align: center !important;
        min-height: auto !important;
        display: block !important;
    }

    .hero-title,
    .page-title {
        font-size: clamp(42px, 12vw, 56px) !important;
        line-height: 1.1 !important;
        letter-spacing: 1px !important;
        margin-bottom: 20px !important;
    }

    .hero-subtitle,
    .page-description {
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin: 0 auto 30px !important;
        padding: 0 15px !important;
        max-width: 100% !important;
    }

    .hero-cta,
    .cta-btns {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }

    .btn-large,
    .btn-primary,
    .btn-secondary {
        width: 100% !important;
        padding: 16px 25px !important;
        font-size: 16px !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* 3. Stacked Grids & Cards */
    .portfolio-grid,
    .about-grid,
    .features-grid,
    .legal-grid,
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Service Section Carousel for Mobile */
    .services-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 15px !important;
        padding: 10px 20px 30px !important;
        margin: 0 -20px !important;
        /* Bleeding edges */
        scrollbar-width: none !important;
        /* Hide scrollbar Firefox */
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .services-grid::-webkit-scrollbar {
        display: none !important;
        /* Hide scrollbar Chrome/Safari */
    }

    .service-card {
        flex: 0 0 85% !important;
        /* Show 85% of card to hint next one */
        min-width: 280px !important;
        scroll-snap-align: center !important;
        padding: 30px 24px !important;
        border-radius: 16px !important;
        margin-bottom: 0 !important;
    }

    .carousel-indicator {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        margin-top: 10px !important;
        margin-bottom: 30px !important;
        color: var(--color-orange) !important;
        font-weight: 500 !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        opacity: 0.8 !important;
    }

    .carousel-indicator i {
        font-size: 18px !important;
        animation: bounce-right 1.5s infinite !important;
    }

    @keyframes bounce-right {

        0%,
        100% {
            transform: translateX(0);
        }

        50% {
            transform: translateX(8px);
        }
    }

    .feature-card,
    .price-card,
    .stat-card {
        padding: 25px 20px !important;
        border-radius: 12px !important;
    }

    /* Fix overflowing text in pricing cards on mobile */
    .price-header h2 {
        font-size: clamp(18px, 5.5vw, 24px) !important;
        overflow-wrap: anywhere;
    }

    .price-card .amount {
        font-size: clamp(24px, 7vw, 36px) !important;
        overflow-wrap: anywhere;
    }

    /* 4. Home Page Specifics */
    .section-header {
        margin-bottom: 40px !important;
    }

    .section-title {
        font-size: clamp(32px, 9vw, 38px) !important;
    }

    .why-us-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .why-point {
        gap: 15px !important;
        align-items: flex-start !important;
    }

    .why-number {
        font-size: 40px !important;
        min-width: 50px !important;
    }

    .why-us-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        /* Slightly tighter gap */
    }

    .stat-card {
        padding: 15px 10px !important;
        /* Slightly less padding */
    }

    .stat-number {
        font-size: 32px !important;
        /* Reduced from 56px/36px */
        margin-bottom: 5px;
    }

    .stat-label {
        font-size: 11px !important;
        letter-spacing: 0px !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
    }

    /* 5. Client Section Polish */
    .clients-section {
        padding: 40px 0 !important;
    }

    .client-logo {
        width: 140px !important;
        padding: 0 15px !important;
    }

    .client-logo img {
        height: 35px !important;
    }

    /* 6. About Page Overhaul */
    .founder-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .founder-image-col {
        order: 2 !important;
        width: 100% !important;
    }

    .founder-content-col {
        order: 1 !important;
        width: 100% !important;
        text-align: center !important;
    }

    .founder-bg {
        height: 350px !important;
    }

    .founder-info-tag {
        bottom: 20px !important;
        left: -10px !important;
        padding: 12px 20px !important;
    }

    .founder-quote blockquote {
        font-size: 18px !important;
        margin: 20px 0 !important;
    }

    .about-visual {
        margin-top: 30px !important;
    }

    .visual-box {
        height: 300px !important;
    }

    .experience-card {
        padding: 15px !important;
        right: 5px !important;
        top: -10px !important;
    }

    /* 7. Portfolio Page Polish */


    .hero-stats {
        justify-content: center !important;
        gap: 30px !important;
        margin-top: 30px !important;
    }

    /* 8. Contact Page Scaling */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .contact-info {
        text-align: center !important;
    }

    .contact-method {
        padding: 20px !important;
        text-align: left !important;
    }

    /* 9. CTA Sections */
    .cta-section {
        padding: 80px 0 !important;
    }

    .cta-title {
        font-size: 32px !important;
    }

    /* 10. Chatbot Mobile Fixes */
    .chatbot-widget {
        width: min(400px, calc(100% - 30px)) !important;
        bottom: 100px !important;
        right: 15px !important;
        height: 70vh !important;
    }

    .chatbot-toggle {
        bottom: 20px !important;
        right: 20px !important;
        width: 55px !important;
        height: 55px !important;
    }
}

/* ===== Chatbot Styles ===== */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
    transition: var(--transition-smooth);
    z-index: 999;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 107, 0, 0.5);
}

.chatbot-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 400px;
    max-height: 600px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 998;
}

.chatbot-widget.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chatbot-header {
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
    border-radius: 16px 16px 0 0;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 0, 0.5);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 0, 0.7);
}

.chatbot-message {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.chatbot-message p {
    margin: 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 85%;
    word-wrap: break-word;
}

.bot-message {
    justify-content: flex-start;
}

.bot-message p {
    background: #333;
    color: var(--color-white);
    border-radius: 12px 12px 12px 4px;
}

.bot-message p a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
}

.bot-message p a:hover {
    text-decoration: underline;
}

.user-message {
    justify-content: flex-end;
}

.user-message p {
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
    color: #000;
    border-radius: 12px 12px 4px 12px;
    font-weight: 500;
}

.chatbot-input-wrapper {
    padding: 15px;
    border-top: 1px solid #333;
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 16px 16px;
}

.chatbot-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #444;
    border-radius: 8px;
    background: rgba(50, 50, 50, 0.8);
    color: var(--color-white);
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.chatbot-input:focus {
    outline: none;
    border-color: var(--color-orange);
    background: rgba(50, 50, 50, 1);
}

.chatbot-input::placeholder {
    color: var(--color-gray-text);
}

.chatbot-send {
    padding: 10px 15px;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
    border: none;
    border-radius: 8px;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    font-weight: 600;
}

.chatbot-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.chatbot-send:active {
    transform: scale(0.98);
}


/* ===== Legal Section ===== */
.legal-section {
    padding: 150px 0 100px 0;
}

.legal-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 50px;
    color: var(--color-white);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-white);
}

.legal-content p {
    font-size: 16px;
    color: var(--color-gray-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    font-size: 16px;
    color: var(--color-gray-text);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mt-large {
    margin-top: 80px;
}

.mb-large {
    margin-bottom: 80px;
}

/* ===== Modern Portfolio Masonry Layout ===== */
.portfolio-showcase {
    padding: 100px 0;
    background-color: var(--color-black);
    position: relative;
    z-index: 1;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.showcase-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 8vw, 80px);
    color: var(--color-white);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.showcase-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-gray-text);
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 40px;
    align-items: start;
}

.portfolio-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    cursor: url('cursor.webp'), pointer;
    display: block;
    width: 100%;
    /* Using ::after for border to guarantee visibility over perfectly fitting images */
}

.portfolio-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    /* Increased slightly for clearer visibility */
    pointer-events: none;
    z-index: 10;
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 24px;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 80px 30px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(10, 10, 10, 0.6) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 3;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card-category {
    font-size: 15px;
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1) 0.15s;
    text-align: center;
}

.portfolio-card:hover .portfolio-card-category {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: start;
    }

    .portfolio-overlay {
        opacity: 1;
        transform: translateY(0);
        padding: 60px 20px 30px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
    }

    .portfolio-card-category {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0s;
    }
}