@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --primary: #f97316;
    --primary-glow: rgba(249, 115, 22, 0.4);
    --primary-hover: #ea580c;
    --secondary: #0f172a;
    --accent: #10b981;
    --background: #ffffff;
    --surface: #f8fafc;
    --surface-light: #f1f5f9;
    --text: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
    --radius: 32px;
    --radius-sm: 18px;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-blur: blur(12px);
}

/* Dark Mode Variables */
body.dark-mode {
    --background: #020202;
    --surface: #080808;
    --surface-light: #111111;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(10, 10, 10, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 40px 100px -12px rgba(0, 0, 0, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Cursor Follower */
.cursor-follower {
    width: 20px;
    height: 20px;
    background: rgba(249, 115, 22, 0.2);
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out;
    transform: translate(-50%, -50%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}


section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header h2 span {
    -webkit-text-fill-color: initial;
    color: var(--primary);
}

.section-header p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.6;
}

.mobile-only {
    display: none;
}

.hide-mobile {
    display: inline-block;
}

@media (max-width: 1024px) {
    .mobile-only {
        display: block;
    }

    .hide-mobile {
        display: none !important;
    }
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

nav.scrolled {
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    color: var(--text);
    direction: ltr !important;
    letter-spacing: -0.05em;
    margin-right: 2rem;
    position: relative;
    padding: 0.5rem 0;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.logo:hover {
    transform: translateY(-1px);
}

.logo span {
    color: var(--primary);
    margin-left: 0;
    font-weight: 900;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: var(--surface-light);
    border: 1.5px solid rgba(249, 115, 22, 0.3);
    border-radius: 12px;
    color: var(--text);
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    border-color: var(--primary);
    background: rgba(249, 115, 22, 0.08);
    color: var(--primary);
}

@media (max-width: 1024px) {
    .logo {
        font-size: 1.5rem;
        margin-right: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 0.5rem;
    }

    nav .btn-primary {
        display: none;
        /* Hide on mobile header, move to menu */
    }

    .lang-switcher {
        display: none;
        /* Hide on mobile header, move to menu */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--background);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: flex-start;
        gap: 1.5rem;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        padding: 6rem 2rem 4rem;
        display: flex;
        overflow-y: auto;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 1.2rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: none;
        position: relative;
        padding: 0.8rem;
        width: 100%;
        justify-content: flex-start;
        border-radius: 12px;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: var(--transition);
        transform: translateX(-50%);
    }

    .nav-links a:hover::after {
        width: 50px;
    }

    .nav-links.active {
        right: 0;
    }

    [dir="rtl"] .nav-links {
        right: auto;
        left: -100%;
    }

    [dir="rtl"] .nav-links.active {
        left: 0;
    }

    .nav-actions {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
    }

    .nav-actions {
        gap: 0.2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }
}


/* Navigation & Mega Menu */
.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    margin-right: 1.5rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Mega Menu System */
.has-mega {
    position: static !important;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 900px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
}


.mega-col h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.5rem;
}

.mega-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--primary);
}

.mega-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mega-list a {
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 500;
    transition: var(--transition);
}

.mega-list a:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius);
}

/* Solutions Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--surface-light);
}

.mega-menu,
.dropdown-menu {
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

body.dark-mode .mega-col h4 {
    color: var(--white);
}

body.dark-mode nav.scrolled {
    background: rgba(10, 10, 10, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .connect-bar {
    background: rgba(23, 23, 23, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .connect-text h4,
body.dark-mode .action-link:not(.contact-btn):not(.whatsapp) {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .theme-toggle,
body.dark-mode .lang-switcher {
    background: var(--surface-light);
    color: var(--text);
}

body.dark-mode .lang-dropdown {
    background: var(--surface);
}

body.dark-mode .mega-list a {
    color: #94a3b8;
}

body.dark-mode .mega-list a:hover {
    color: var(--primary);
}

body.dark-mode .btn-outline {
    border-color: var(--glass-border);
    color: var(--text);
}

body.dark-mode .pricing-card,
body.dark-mode .contact-form,
body.dark-mode .testimonial-card {
    background: var(--surface);
    border-color: var(--glass-border);
    color: var(--text);
}

body.dark-mode .pricing-card.featured {
    background: var(--surface-light);
    border-color: var(--primary);
}

/* Language Switcher & Theme Toggle */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
}

.theme-toggle,
.lang-switcher {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-light);
    border: 1.5px solid rgba(249, 115, 22, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.lang-switcher {
    width: auto;
    padding: 0 0.85rem;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.theme-toggle:hover,
.lang-switcher:hover {
    border-color: var(--primary);
    border-width: 1.5px;
    background: rgba(249, 115, 22, 0.08);
    color: var(--primary);
    transform: translateY(-1px);
}

.lang-switcher span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
    letter-spacing: 0.02em;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--surface);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 0.5rem;
    min-width: 160px;
    display: none;
    z-index: 100;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.lang-switcher:hover .lang-dropdown {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.lang-option:hover {
    background: var(--surface-light);
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-main);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 2.2rem;
}

nav .btn-primary {
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    opacity: 0.8;
}

.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    max-width: 100%;
    z-index: 2;
}

.hero-visual {
    position: relative;
    right: 0;
    top: 0;
    transform: none;
    width: 100%;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

.trust-badge {
    background: var(--white);
    padding: 0.4rem 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    white-space: nowrap;
}

body.dark-mode .trust-badge {
    background: var(--surface);
    border-color: var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.trust-icon {
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon i {
    width: 14px;
    height: 14px;
}

.trust-badge span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
}

.stats-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--surface);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.stat-info strong {
    display: block;
    font-size: 1.25rem;
}

.stat-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.hero-visual img {
    border-radius: 20px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.15);
    border: 8px solid var(--surface);
    animation: float 6s ease-in-out infinite;
}

.visual-inner {
    transition: transform 0.1s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes letterDrop {
    0% {
        opacity: 0;
        transform: translateY(-100px) rotate(30deg) scale(0.5);
        filter: blur(10px);
    }

    60% {
        transform: translateY(10px) rotate(-10deg) scale(1.1);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotate(0) scale(1);
        filter: blur(0);
    }
}

.animated-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    color: white;
    perspective: 1000px;
}

.animated-logo .letter {
    display: inline-block;
    opacity: 0;
    animation: letterDrop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.animated-logo .letter.primary {
    color: var(--primary);
    text-shadow: 0 0 30px rgba(249, 115, 22, 0.5);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Floating Connect Bar */
.connect-bar {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.connect-bar.hidden {
    transform: translate(-50%, 150px);
    opacity: 0;
    pointer-events: none;
}

.connect-text h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.connect-text h4::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse-glow 2s infinite;
}

.connect-text p {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.connect-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    border: 1.5px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.action-link i {
    width: 18px;
    height: 18px;
}

.action-link.whatsapp {
    color: #22c55e;
}

.action-link.contact-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}

.action-link:hover {
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.02);
}

.action-link.contact-btn:hover {
    background: var(--primary-hover);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.4);
    transform: translateY(-5px);
}

.close-connect {
    cursor: pointer;
    color: #94a3b8;
    transition: var(--transition);
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-connect:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

/* Dark Mode Overrides */
body.dark-mode .connect-bar {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .connect-text h4 {
    color: var(--white);
}

body.dark-mode .connect-text p {
    color: #94a3b8;
}

body.dark-mode .action-link {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .action-link.whatsapp {
    color: #4ade80;
}

@media (max-width: 768px) {
    .connect-bar {
        width: calc(100% - 2rem);
        padding: 0.8rem 1.2rem;
        bottom: 1.5rem;
        border-radius: 20px;
        flex-direction: row;
        justify-content: space-between;
    }

    .connect-text {
        text-align: left;
        margin-bottom: 0;
    }

    .connect-text h4 {
        font-size: 0.9rem;
        justify-content: flex-start;
    }

    .connect-text p {
        display: none;
    }

    .connect-actions {
        width: auto;
        justify-content: flex-end;
        gap: 0.6rem;
    }

    .action-link {
        padding: 0.6rem;
        font-size: 0.8rem;
        min-width: 40px;
        justify-content: center;
    }

    .action-link span {
        display: none;
    }
}

@media (max-width: 480px) {
    .connect-bar {
        padding: 0.6rem 1rem;
    }

    .connect-text h4 {
        font-size: 0.8rem;
    }

    .connect-actions {
        gap: 0.4rem;
    }
}

/* Bento Grid for Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(150px, auto);
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    grid-column: span 2;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--glass-shadow);
    overflow: hidden;
}

.service-card.large {
    grid-column: span 3;
    grid-row: span 2;
    padding: 3rem;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
    pointer-events: none;
}

.service-card:hover::before {
    width: 300px;
    height: 300px;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.15);
}

body.dark-mode .service-card:hover {
    background: var(--surface-light);
    box-shadow: 0 40px 80px -20px rgba(249, 115, 22, 0.15);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-features li,
.service-card:hover .service-features i,
.service-card:hover .service-price-tag {
    color: var(--primary);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--secondary);
}

.service-card:hover .service-btn {
    background: var(--primary);
    color: var(--secondary);
}

.service-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--surface-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--glass-border);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-badge i {
    width: 14px;
    height: 14px;
    transition: all 0.3s ease;
}

.service-card:hover .service-badge {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary);
    background: #000;
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.2);
}

.service-card:hover .service-badge i {
    color: var(--primary);
    animation: star-pulse 1.2s ease-in-out infinite;
}

@keyframes star-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px var(--primary));
    }

    50% {
        transform: scale(1.4);
        filter: drop-shadow(0 0 10px var(--primary));
    }
}

.service-icon {
    width: 36px;
    height: 36px;
    background: var(--surface-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text);
    transition: var(--transition);
}

.service-card p {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    opacity: 0.9;
    transition: var(--transition);
}

.service-features {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.service-features i {
    width: 14px;
    height: 14px;
    color: var(--text);
    transition: var(--transition);
}

.service-price-tag {
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-btn {
    background: var(--secondary);
    color: var(--white);
    padding: 0.7rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-size: 0.85rem;
    margin-top: auto;
    position: relative;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition);
}

.service-card:hover .service-btn::before {
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
    left: -2rem;
    right: -2rem;
}

.service-btn:hover {
    opacity: 0.9;
}

/* Dark Mode Overrides for Cards */
body.dark-mode .service-card {
    background: var(--surface);
    border-color: var(--glass-border);
    color: var(--text);
}

body.dark-mode .service-card:hover {
    background: #000000;
}

body.dark-mode .service-card:hover h3,
body.dark-mode .service-card:hover .service-features li,
body.dark-mode .service-card:hover .service-features i {
    color: var(--primary);
}



/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item i {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-muted);
}

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
}

/* Agency Floating Badge */
.agency-badge {
    position: absolute;
    bottom: 2rem;
    right: -2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 1rem 1.5rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: float-badge 4s ease-in-out infinite;
}

[dir="rtl"] .agency-badge {
    right: auto;
    left: -2rem;
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


body.dark-mode .agency-badge {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.badge-icon-container {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1.5px dashed var(--primary);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.badge-orbit::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
}

.badge-main-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.3);
}

.badge-text-content {
    display: flex;
    flex-direction: column;
}

.badge-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary);
}

body.dark-mode .badge-title {
    color: var(--white);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
}

.badge-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-visual {
    position: relative;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--glass);
    padding: 3.5rem 2.5rem 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--glass-shadow);
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    background: var(--surface);
}

.testimonial-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--text);
    font-weight: 500;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-meta strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.client-meta span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.pricing-card.featured {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 30px 60px -20px rgba(249, 115, 22, 0.2);
    transform: scale(1.05);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 1.5rem 0;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-family: var(--font-main);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Partners Section */
.partners-section {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--glass-border);
}

.partners-section h3 {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--text);
    font-weight: 700;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0 1rem;
}

.partner-logo {
    height: 35px;
    width: auto;
    filter: grayscale(1) opacity(0.4);
    transition: var(--transition);
}

body.dark-mode .partner-logo {
    filter: grayscale(1) invert(1) opacity(0.4);
}

.partner-logo:hover {
    filter: grayscale(0) invert(0) opacity(1);
    transform: scale(1.1);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--surface);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    body {
        padding-bottom: 80px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding-top: 40px;
    }

    .hero-visual {
        order: -1;
        display: block;
        max-width: 80%;
        margin: 0 auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
    }

    .features-grid,
    .contact-container,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: none;
    }

    nav .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        max-width: 100%;
        margin-top: 3rem;
    }


    .hero-btns {
        justify-content: center;
    }

    .stats-grid {
        justify-content: center;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .logo {
        font-size: 1.3rem;
        margin-right: 0.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        /* Better fit for mobile h1 */
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .nav-actions {
        gap: 0.4rem;
    }

    .theme-toggle,
    .lang-switcher,
    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }

    .lang-switcher {
        padding: 0 0.6rem;
        font-size: 0.8rem;
    }

    .nav-actions .btn {
        display: none;
    }
}



/* Marquee Animation */
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    display: inline-flex;
    gap: 2rem;
    animation: scroll-left 25s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

/* Sub-page Specific Styles */
.sub-hero {
    min-height: auto;
    padding-top: 180px;
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    .sub-hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
}

.grid-responsive {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .grid-responsive {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

.service-hero {
    padding: 180px 0 100px;
    background: linear-gradient(to bottom, var(--surface), var(--background));
    position: relative;
    overflow: hidden;
}

.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.service-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--surface-light);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.service-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.service-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.details-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.details-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.details-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
}

.feature-list i {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-list strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-list p {
    margin-bottom: 0;
    font-size: 1rem;
}

.details-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
}

.cta-section {
    padding-bottom: 150px;
}

.cta-card {
    background: var(--surface);
    padding: 5rem;
    border-radius: 40px;
    text-align: center;
    border: 1px solid var(--glass-border);
    position: relative;
}

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-card p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

@media (max-width: 968px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cta-card {
        padding: 3rem 2rem;
    }

    .cta-btns {
        flex-direction: column;
    }

    body {
        padding-bottom: 150px;
    }
}

/* --- Unified Premium Sections --- */

/* Section Headers */
.section-standard {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    gap: 2rem;
}

.bento-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 3rem;
    transition: var(--transition);
}

.bento-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-glow);
    box-shadow: var(--shadow-lg);
}

.bento-card.primary {
    background: var(--primary);
    color: white !important;
}

.bento-card.primary * {
    color: white !important;
}

/* Manifesto Styling */
.manifesto-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 3rem;
    font-weight: 800;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

/* Founder Profile */
.founder-card {
    background: var(--surface);
    border-radius: 48px;
    padding: 5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.founder-info h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.founder-quote {
    font-size: 1.4rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--text-muted);
    position: relative;
    padding-left: 2rem;
    border-left: 4px solid var(--primary);
}

[dir="rtl"] .founder-quote {
    padding-left: 0;
    padding-right: 2rem;
    border-left: none;
    border-right: 4px solid var(--primary);
    text-align: right;
}

.founder-img-container {
    position: relative;
}

.founder-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
}

/* Animation Utilities */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}



@media (max-width: 1024px) {

    .manifesto-grid,
    .founder-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem;
    }
}

/* --- Premium Notification System --- */
#notification-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.premium-toast {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    pointer-events: all;
    animation: toastSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.5s ease;
}

.premium-toast.hide {
    opacity: 0;
    transform: translateX(40px) scale(0.9);
}

.toast-icon {
    width: 40px;
    height: 40px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.toast-content h5 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.toast-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.toast-close {
    margin-left: auto;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.toast-close:hover {
    opacity: 1;
    color: var(--primary);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Preloader Status Styling */
#preloader-status {
    position: absolute;
    bottom: 15vh;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    width: 100%;
    text-align: center;
    font-weight: 600;
}

.coming-soon-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Animations Area */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

#preloader-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
/* Footer Styles */
footer {
    background: var(--surface);
    padding: 80px 0 120px;
    border-top: 1px solid var(--glass-border);
}

.partners-section {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--glass-border);
}

.partners-section h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.partner-logo {
    filter: grayscale(1);
    opacity: 0.5;
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-grid h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-grid ul li {
    margin-bottom: 0.8rem;
}

.footer-grid ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-grid ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Fix for mobile mega menu */
@media (max-width: 1024px) {
    .mega-menu, .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0 1rem;
        display: none;
    }
    
    .has-mega.active .mega-menu, .dropdown.active .dropdown-menu {
        display: block;
    }
}

/* --- Preloader \u0026 Logo Page Fixes --- */
#preloader {
    background: var(--background) !important;
}

.animated-logo .letter {
    color: var(--text) !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

body.dark-mode .animated-logo .letter {
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

.animated-logo .letter.primary {
    color: var(--primary) !important;
}

#preloader p {
    color: var(--text-muted) !important;
    opacity: 0.8;
}

#preloader-status {
    color: var(--primary) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
}

/* --- About Page \u0026 Sub-pages Premium Responsiveness --- */
.sub-hero h1, .service-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem) !important;
    line-height: 1.05 !important;
    margin-bottom: 2rem !important;
    letter-spacing: -0.04em !important;
}

.hero-visual img {
    max-width: 100%;
    height: auto !important;
}

@media (max-width: 1024px) {
    .hero.sub-hero .grid-responsive {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero.sub-hero .hero-text {
        text-align: center !important;
    }

    .hero.sub-hero .hero-text p {
        margin: 0 auto 3rem !important;
    }

    .hero.sub-hero .hero-btns {
        justify-content: center;
    }
}

/* Founder Section Refinement */
@media (max-width: 1024px) {
    #founder .container \u003e div {
        grid-template-columns: 1fr !important;
        padding: 4rem 2rem !important;
        gap: 4rem !important;
    }

    .founder-name-main {
        font-size: clamp(3rem, 15vw, 5rem) !important;
    }

    #founder .hero-visual, #founder [style*='height: 750px'] {
        height: 500px !important;
    }

    .founder-card-glass {
        left: 0 !important;
        right: 0 !important;
        bottom: -30px !important;
        margin: 0 auto;
        width: fit-content;
        padding: 1.5rem 2rem !important;
    }
}

/* Notification System Mobile Fix */
@media (max-width: 768px) {
    #notification-container {
        top: auto !important;
        bottom: 120px !important;
        right: 1.5rem !important;
        left: 1.5rem !important;
    }

    .premium-toast {
        min-width: 0 !important;
        width: 100% !important;
    }
}
