﻿/* ===== CINEMATIC INTRO ===== */
#cinematic-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--theme-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.handwritten-logo {
    position: relative;
    width: 300px;
    height: 300px;
    margin-bottom: 40px;
}

.logo-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px var(--primary-shadow));
}

.eraser-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--theme-bg);
    animation: eraserReveal 2s ease-in-out forwards;
}

.handwritten-text-container {
    text-align: center;
    margin-top: 20px;
}

.handwritten-shepur {
    font-family: 'Brush Script MT', cursive;
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: -15px;
}

.handwritten-innovations {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    color: var(--text-light);
    letter-spacing: 4px;
    opacity: 0;
    animation: fadeInUp 1s ease 3s forwards;
}

.navbar-logo-container {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 60px !important;
    height: 60px !important;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

    .navbar-logo-container img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .navbar-logo-container.active {
        opacity: 1;
    }

.loading-progress {
    position: absolute;
    bottom: 80px;
    width: 200px;
    height: 2px;
    background: var(--loading-bg);
    border-radius: 1px;
    overflow: hidden;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    animation: loadingFill 5s ease forwards;
}

.skip-intro {
    position: absolute;
    bottom: 30px;
    background: var(--skip-intro-bg);
    color: var(--skip-intro-color);
    border: 1px solid var(--skip-intro-border);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.5s ease 1s forwards;
}

    .skip-intro:hover {
        background: var(--primary-light);
        color: var(--primary);
        border-color: var(--primary);
    }

@keyframes eraserReveal {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loadingFill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes logoMoveToNavbar {
    0% {
        width: 300px;
        height: 300px;
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: scale(0.8) translateY(-30px);
    }

    100% {
        width: 150px;
        height: 150px;
        transform: translate(calc(-50vw + 20px), calc(-50vh + 20px)) scale(1);
    }
}

:root {
    --brand-orange: #FF8C00;
    --brand-orange-light: #FFB347;
    --brand-dark: #1E293B;
    --brand-light: #F1F5F9;
}

/* ===== NAVBAR ===== */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.brand-logo-icon {
    color: var(--text-light);
    filter: drop-shadow(0 0 8px var(--primary-shadow)) drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
}

.brand-name {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    text-shadow: 0.5px 0.5px 1px var(--brand-text-shadow-light), -0.5px -0.5px 1px var(--brand-text-shadow-dark), 0 0 3px var(--brand-text-shadow-dark), 0 0 5px var(--brand-text-shadow-light);
    mix-blend-mode: normal;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6)) drop-shadow(0 -1px 1px rgba(255, 255, 255, 0.4));
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.3);
    font-weight: 800;
    letter-spacing: -0.5px;
}

    .brand-name::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), transparent);
        opacity: 0.6;
    }

.brand-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-left: 8px;
    opacity: 0.9;
}

.navbar-bg {
    background-color: var(--navbar-bg) !important;
    position: sticky;
    top: 0;
    z-index: 1050;
    width: 100%;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar-toggler-custom {
    border-color: rgba(255, 255, 255, 0.1);
}

    .navbar-toggler-custom .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

.nav-link-custom {
    color: var(--text-light);
    opacity: 0.8;
    transition: all 0.3s;
}

    .nav-link-custom:hover {
        color: var(--text-light);
        opacity: 1;
    }

    .nav-link-custom.active {
        color: var(--text-light);
        opacity: 1;
        font-weight: 600;
        background: var(--nav-link-active-bg);
        border-radius: 20px;
    }

/* ===== ORBIT THEME SELECTOR ===== */
.orbit-theme-selector {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 2000;
}

.orbit-toggle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--orbit-gradient);
    color: var(--text-light);
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 2010;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .orbit-toggle:hover {
        transform: scale(1.1);
    }

    .orbit-toggle.active {
        background: var(--orbit-gradient-active);
    }

        .orbit-toggle.active i {
            transform: rotate(180deg);
            transition: transform 0.4s ease;
        }

.orbit-status-text {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--text-light);
    opacity: 0.7;
    white-space: nowrap;
    pointer-events: none;
}

.orbit-container {
    position: absolute;
    bottom: 85px;
    right: 85px;
    transform: scale(0);
    width: 350px;
    height: 350px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2001;
}

    .orbit-container.active {
        transform: scale(1);
        opacity: 1;
        visibility: visible;
    }

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed var(--orbit-ring-border);
    animation: orbitRotate 20s linear infinite;
}

@keyframes orbitRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--orbit-center-bg);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--orbit-center-border);
}

    .orbit-center h5 {
        color: var(--text-light);
        margin: 0;
        font-size: 12px;
        font-weight: 600;
        text-align: center;
    }

    .orbit-center p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 9px;
        margin: 3px 0 0 0;
        text-align: center;
    }

.orbit-category-item {
    position: absolute;
    width: 45px;
    height: 45px;
    margin-top: -22.5px;
    margin-left: -22.5px;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    background: var(--orbit-category-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--orbit-category-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transform: scale(0);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: calc(var(--i) * 0.1s);
    z-index: 20;
}

    .orbit-category-item i {
        font-size: 18px;
    }

    .orbit-category-item span {
        position: absolute;
        top: -18px;
        font-size: 9px;
        opacity: 0;
        transition: 0.3s;
        pointer-events: none;
        white-space: nowrap;
        color: var(--text-light);
        background: rgba(0, 0, 0, 0.6);
        padding: 2px 6px;
        border-radius: 4px;
    }

    .orbit-category-item:hover {
        background: var(--orbit-category-hover);
        transform: rotate(calc(var(--i) * 120deg - 60deg)) translateY(-110px) rotate(calc(var(--i) * -120deg + 60deg)) scale(1.1) !important;
    }

        .orbit-category-item:hover span {
            opacity: 1;
            transform: translateY(-3px);
        }

.orbit-container.active .orbit-category-item {
    transform: rotate(calc(var(--i) * 120deg - 60deg)) translateY(-100px) rotate(calc(var(--i) * -120deg + 60deg)) scale(1);
}

.orbit-color-item {
    position: absolute;
    width: 35px;
    height: 35px;
    margin-top: -17.5px;
    margin-left: -17.5px;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    transform: translate(-50%, -50%) scale(0);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 30;
}

    .orbit-color-item:hover::after {
        content: attr(data-name);
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 10px;
        font-weight: 500;
        white-space: nowrap;
        letter-spacing: 0.5px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        pointer-events: none;
        z-index: 100;
    }
    .orbit-color-item:hover::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 5px;
        border-style: solid;
        border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
        z-index: 100;
    }

.orbit-container[data-active-category] .orbit-color-item {
    opacity: 1;
    visibility: visible;
    transition-delay: calc(var(--s) * 0.05s + 0.2s);
}

.orbit-container[data-active-category="solid"] .orbit-color-item[class*="color-default"],
.orbit-container[data-active-category="solid"] .orbit-color-item[class*="color-blue"],
.orbit-container[data-active-category="solid"] .orbit-color-item[class*="color-green"],
.orbit-container[data-active-category="solid"] .orbit-color-item[class*="color-dark"],
.orbit-container[data-active-category="solid"] .orbit-color-item[class*="color-orange"],
.orbit-container[data-active-category="solid"] .orbit-color-item[class*="color-purple"],
.orbit-container[data-active-category="solid"] .orbit-color-item[class*="color-teal"],
.orbit-container[data-active-category="solid"] .orbit-color-item[class*="color-pink"],
.orbit-container[data-active-category="solid"] .orbit-color-item[class*="color-yellow"] {
    transform: rotate(calc(var(--s) * (360deg / 9))) translateY(-165px) rotate(calc(var(--s) * (-360deg / 9))) scale(1);
    opacity: 1;
    visibility: visible;
}

.orbit-container[data-active-category="gradient"] .orbit-color-item[class*="color-gradient-"] {
    transform: rotate(calc(var(--s) * (360deg / 12))) translateY(-165px) rotate(calc(var(--s) * (-360deg / 12))) scale(1);
    opacity: 1;
    visibility: visible;
}

.orbit-container[data-active-category="glass"] .orbit-color-item[class*="color-glass-"] {
    transform: rotate(calc(var(--s) * (360deg / 6))) translateY(-165px) rotate(calc(var(--s) * (-360deg / 6))) scale(1);
    opacity: 1;
    visibility: visible;
}

.orbit-color-item:hover {
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255,255,255,0.8);
    z-index: 40;
}

.orbit-color-item.active {
    border-color: gold;
    box-shadow: 0 0 0 3px rgba(255,215,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
}

.theme-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--notification-bg);
    color: var(--text-light);
    padding: 15px 25px;
    border-radius: 10px;
    z-index: 10000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

    .theme-notification i {
        font-size: 20px;
    }

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        box-shadow: -2px 0 10px rgba(102, 126, 234, 0.5);
    }

    50% {
        box-shadow: -2px 0 20px rgba(102, 126, 234, 0.8);
    }

    100% {
        box-shadow: -2px 0 10px rgba(102, 126, 234, 0.5);
    }
}

/* ===== COLOR CLASSES ===== */
.color-default {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.color-blue {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

.color-green {
    background: linear-gradient(135deg, #065f46, #064e3b);
}

.color-dark {
    background: linear-gradient(135deg, #1f2937, #111827);
}

.color-orange {
    background: linear-gradient(135deg, #ea580c, #c2410c);
}

.color-purple {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.color-teal {
    background: linear-gradient(135deg, #0d9488, #0f766e);
}

.color-pink {
    background: linear-gradient(135deg, #db2777, #be185d);
}

.color-yellow {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.color-gradient-blue {
    background: var(--orbit-gradient);
}

.color-gradient-green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.color-gradient-sunset {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.color-gradient-purple {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
}

.color-gradient-dark {
    background: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);
}

.color-gradient-coral {
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
}

.color-gradient-cyber {
    background: linear-gradient(135deg, #ff0080 0%, #ff8c00 100%);
}

.color-gradient-gold {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

.color-gradient-mint {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.color-gradient-berry {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.color-gradient-steel {
    background: linear-gradient(135deg, #8e9eab 0%, #eef2f3 100%);
}

.color-gradient-aurora {
    background: linear-gradient(135deg, #00dbde 0%, #fc00ff 100%);
}

.color-glass-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(96, 165, 250, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.color-glass-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(52, 211, 153, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.color-glass-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(167, 139, 250, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.color-glass-dark {
    background: linear-gradient(135deg, rgba(0, 201, 255, 0.9), rgba(146, 254, 157, 0.8));
    border: 2px solid rgba(0, 201, 255, 0.5);
}

.color-glass-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.9), rgba(244, 114, 182, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.color-glass-gold {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(251, 191, 36, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.4);
}

/* ===== SECTION TITLES ===== */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--primary);
    }

/* ===== HERO SECTIONS ===== */
.hero-section {
    background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
}

.page-hero {
    background: linear-gradient(var(--page-hero-overlay), var(--page-hero-overlay)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
}

/* ===== CARDS ===== */
.card {
    border: 1px solid var(--card-border) !important;
    box-shadow: 0 5px 15px var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px var(--card-shadow-hover);
    }

.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--card-border) !important;
    border-radius: 15px;
    overflow: hidden;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px var(--service-card-shadow-hover);
    }

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(var(--primary-rgb), var(--icon-bg-opacity));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-card {
    background: white;
    border: 1px solid var(--card-border) !important;
    border-radius: 15px;
    transition: transform 0.3s;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--primary-rgb), var(--icon-bg-opacity));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.team-card {
    transition: transform 0.3s;
}

    .team-card:hover {
        transform: translateY(-10px);
    }

    .team-card img {
        transition: transform 0.3s;
    }

    .team-card:hover img {
        transform: scale(1.05);
    }

.portfolio-card {
    transition: transform 0.3s;
    border: 1px solid var(--card-border) !important;
    border-radius: 15px;
    overflow: hidden;
}

    .portfolio-card:hover {
        transform: translateY(-10px);
    }

    .portfolio-card img {
        height: 200px;
        object-fit: cover;
        transition: transform 0.5s;
    }

    .portfolio-card:hover img {
        transform: scale(1.05);
    }

.service-detail-card {
    border: 1px solid var(--card-border) !important;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
}

    .service-detail-card:hover {
        transform: translateY(-5px);
    }

.additional-service {
    background: white;
    border-radius: 10px;
    transition: transform 0.3s;
}

    .additional-service:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.testimonial-card {
    background: var(--theme-bg);
    border: 1px solid var(--card-border) !important;
    overflow: hidden;
}

.dashed-card {
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px dashed var(--card-border);
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-form-card {
    border: 1px solid var(--card-border) !important;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--contact-form-shadow);
}

.contact-info-card {
    border: 1px solid var(--card-border) !important;
    border-radius: 15px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--text-light) !important;
    box-shadow: 0 0 15px var(--primary-shadow);
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: var(--secondary) !important;
        border-color: var(--secondary) !important;
        color: var(--text-light) !important;
        box-shadow: 0 0 15px var(--primary-shadow);
    }

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background-color: transparent !important;
    box-shadow: 0 0 15px var(--primary-shadow);
}

    .btn-outline-primary:hover,
    .btn-outline-primary:focus {
        background-color: var(--primary) !important;
        border-color: var(--primary) !important;
        color: var(--text-light) !important;
        box-shadow: 0 0 15px var(--primary-shadow);
    }

.btn-outline-light {
    color: var(--text-light) !important;
    border-color: var(--text-light) !important;
    background-color: transparent !important;
    box-shadow: 0 0 15px var(--primary-shadow);
}

    .btn-outline-light:hover,
    .btn-outline-light:focus {
        background-color: var(--text-light) !important;
        border-color: var(--text-light) !important;
        color: var(--primary) !important;
        box-shadow: 0 0 15px var(--primary-shadow);
    }

/* ===== FORM ELEMENTS ===== */
.themed-input {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: var(--card-border);
    color: var(--text);
}

.text-themed {
    color: var(--text);
    transition: color 0.3s ease;
}

.text-muted, .opacity-75 {
    color: var(--text) !important;
    opacity: 0.8 !important;
}

.theme-glass .card,
.theme-glass .contact-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== CONTACT ===== */
.contact-hero {
    background: var(--theme-bg);
    color: var(--text-light);
}

.contact-item {
    padding: 1rem;
    border-bottom: 1px solid var(--contact-border);
}

    .contact-item:last-child {
        border-bottom: none;
    }

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(var(--primary-rgb), var(--icon-bg-opacity));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.primary-card {
    background: var(--primary);
    color: var(--text-light);
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary);
    color: var(--text-light);
    padding: 3rem 0 2rem;
}

    .footer a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer a:hover {
            color: var(--text-light);
        }

.footer-brand {
    font-family: var(--font-family-heading);
    font-weight: 800;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-heading {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}

    .footer-link:hover {
        opacity: 1;
        color: var(--text-light);
    }

.footer .contact-item {
    display: flex !important;
    align-items: flex-start !important;
    color: var(--text-light);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    padding: 0;
    border-bottom: none;
}

    .footer .contact-item i {
        flex-shrink: 0;
        width: 20px;
        margin-top: 4px;
        margin-right: 8px;
        text-align: center;
    }

    .footer .contact-item span,
    .footer .contact-item a,
    .footer .contact-address {
        flex: 1;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

.footer-divider {
    border-top: 1px solid var(--text-light);
    opacity: 0.1;
    margin: 2rem 0;
}

.footer-copyright {
    color: var(--text-light);
    opacity: 0.6;
    font-size: 0.85rem;
}

.footer-legal-link {
    color: inherit;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s;
    font-size: 0.85rem;
}

    .footer-legal-link:hover {
        opacity: 1;
        color: var(--text-light);
    }

/* ===== SOCIAL ICONS ===== */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--social-icon-bg);
    border-radius: 50%;
    transition: background 0.3s;
    color: var(--text-light);
    opacity: 0.8;
}

    .social-icons a:hover {
        background: var(--social-icon-hover);
        opacity: 1;
    }

.social-link {
    color: var(--text-light);
    opacity: 0.8;
    transition: opacity 0.3s;
}

    .social-link:hover {
        opacity: 1;
        color: var(--text-light);
    }

.social-links a {
    color: var(--text);
    transition: color 0.3s;
}

    .social-links a:hover {
        color: var(--primary);
    }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    border: 2px solid var(--background);
}

@supports (scrollbar-color: auto) {
    body {
        scrollbar-color: var(--primary) var(--background);
        scrollbar-width: thin;
    }
}

/* ===== SCROLL RING ===== */
.scroll-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 75px;
    height: 75px;
    pointer-events: none;
    z-index: 2005;
}

.ring-track {
    fill: none;
    stroke: var(--scroll-ring-track);
    stroke-width: 4;
}

.ring-fill {
    fill: none;
    stroke: var(--primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 282.7;
    stroke-dashoffset: 282.7;
    transition: stroke-dashoffset 0.1s linear;
    transform: rotate(-90deg);
    transform-origin: center;
}

/* ===== FLOATING CONTACT BUTTONS ===== */
.floating-contact-buttons {
    position: fixed;
    bottom: 50px;
    left: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    .floating-button:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

.whatsapp-button {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.call-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* ===== MAP 3D EFFECT ===== */
.map-container-3d {
    perspective: 1200px;
    margin: 2rem 0 4rem;
}

.map-frame {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    transform: rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px var(--primary-shadow);
    border: 1px solid var(--card-border);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
    will-change: transform;
}

    .map-frame:hover {
        transform: rotateX(0deg) rotateY(0deg) scale(1.02);
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 40px var(--primary-shadow);
    }

    .map-frame iframe {
        display: block;
        width: 100%;
        height: 400px;
        border: 0;
        filter: brightness(0.85) contrast(1.15) saturate(1.1);
        transition: filter 0.4s ease;
    }

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, var(--theme-bg) 110%);
    pointer-events: none;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.map-frame:hover .map-overlay {
    opacity: 0.5;
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.icon-primary {
    color: var(--primary);
}

.gradient-bg {
    background: var(--orbit-gradient);
}

.primary-bg {
    background: var(--primary);
    color: white;
}

.cta-bg {
    background: var(--theme-bg);
    border-top: 1px solid var(--card-border);
    color: var(--text-light);
}

.cta-heading,
.cta-text {
    color: var(--text-light);
}

.section-bg {
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mission-card {
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid var(--card-border);
}

.stats-bg {
    background: var(--orbit-gradient, linear-gradient(135deg, #11998e 0%, #38ef7d 100%));
}

.icon-bg {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.cta-border {
    border-top: 1px solid var(--card-border);
}

.hover-scale {
    transition: transform 0.3s;
}

    .hover-scale:hover {
        transform: scale(1.05);
    }

.text-muted {
    color: var(--text);
    opacity: 0.7;
}

.filter-bg {
    background: var(--card-bg);
    border-bottom: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.breadcrumb-link {
    color: var(--primary);
    text-decoration: none;
}

    .breadcrumb-link:hover {
        color: var(--secondary);
        text-decoration: underline;
    }

.breadcrumb-active {
    color: var(--text-light);
    opacity: 0.75;
}

.badge-primary {
    background: var(--primary);
    color: var(--text-light);
}

.badge-secondary {
    background: var(--secondary);
    color: var(--text-light);
}

.badge-outline {
    background: rgba(var(--primary-rgb), 0.2);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.text-primary-color {
    color: var(--primary);
}

.footer-opacity {
    opacity: 0.8;
}

.service-card-component {
    transition: all 0.3s ease;
}

.service-icon-component {
    background: rgba(var(--primary-rgb), 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-card-title {
    font-family: var(--font-family-heading);
    font-weight: 800;
    color: var(--text);
}

.service-card-description {
    color: var(--text);
    opacity: 0.8;
}

.testimonial-subtitle {
    color: var(--text);
    opacity: 0.7;
}

.quote-icon-style {
    color: var(--primary);
    opacity: 0.3;
}

.testimonial-quote {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
}

.testimonial-footer {
    border-top: 1px solid var(--card-border);
}

.testimonial-company {
    color: var(--primary);
    letter-spacing: 2px;
}

.testimonial-tagline {
    color: var(--text-light);
}

.process-step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto;
}

.client-logo {
    opacity: var(--client-logo-opacity);
    transition: opacity 0.3s;
}

    .client-logo:hover {
        opacity: 1;
    }

.map-placeholder {
    border-radius: 15px;
    margin: 0 15px;
}

/* ===== CINEMATIC STATES ===== */
body.cinematic-active {
    overflow: hidden;
}

    body.cinematic-active main,
    body.cinematic-active .orbit-theme-selector,
    body.cinematic-active nav,
    body.cinematic-active footer {
        opacity: 0;
        visibility: hidden;
    }

body.cinematic-done main,
body.cinematic-done .orbit-theme-selector,
body.cinematic-done nav,
body.cinematic-done footer {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* ===== THEME SPECIFIC TEXT SHADOWS ===== */
@media (min-width: 768px) {
    .brand-name {
        text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8), -1px -1px 2px rgba(0, 0, 0, 0.8), 0 0 4px rgba(0, 0, 0, 0.6), 0 0 6px rgba(255, 255, 255, 0.4), 0 0 8px rgba(0, 0, 0, 0.3);
    }
}

@supports not (text-shadow: 0 0 1px black) {
    .brand-name {
        background: none;
        color: var(--text-light) !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    }
}

.theme-light .brand-name {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8), -1px -1px 2px rgba(0, 0, 0, 0.6), 0 0 6px rgba(0, 0, 0, 0.5), 0 0 8px rgba(255, 255, 255, 0.3);
}

.theme-dark .brand-name {
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8), -1px -1px 2px rgba(255, 255, 255, 0.6), 0 0 6px rgba(255, 255, 255, 0.5), 0 0 8px rgba(0, 0, 0, 0.3);
}

/* ===== RESPONSIVE - TABLET (max-width: 768px) ===== */
@media (max-width: 768px) {
    /* Cinematic Intro */
    .handwritten-logo {
        width: 250px;
        height: 250px;
    }

    .navbar-logo-container {
        width: 50px;
        height: 50px;
        top: 15px;
        left: 15px;
    }

    .navbar-brand {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .brand-logo-icon {
        font-size: 1.6rem !important;
    }
    .brand-name {
        font-size: 1.2rem !important;
        white-space: nowrap;
    }
    .brand-tagline {
        display: none; 
    }
    .handwritten-shepur {
        font-size: 3.5rem;
    }

    .handwritten-innovations {
        font-size: 1.8rem;
        letter-spacing: 5px;
    }

    .loading-progress {
        width: 150px;
        bottom: 70px;
    }

    @keyframes logoMoveToNavbar {
        0% {
            width: 250px;
            height: 250px;
            transform: translate(0, 0) scale(1);
        }

        100% {
            width: 150px;
            height: 150px;
            transform: translate(calc(-50vw + 15px), calc(-50vh + 15px)) scale(1);
        }
    }

    /* Orbit Theme Selector - Mobile */
    .orbit-theme-selector {
        bottom: 20px;
        right: 20px;
    }

    .orbit-toggle {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .orbit-container {
        width: 260px;
        height: 260px;
        bottom: 70px;
        right: 70px;
    }
    .scroll-ring {
        width: 65px;
        height: 65px;
        top: -5px;
        left: -5px;
    }
    .footer-copyright {
        font-size: 0.75rem;
        text-align: center;
    }
    .footer-legal-link {
        font-size: 0.75rem;
    }
    .footer-divider {
        margin: 1.5rem 0;
    }

        .orbit-container.active .orbit-category-item {
            transform: rotate(calc(var(--i) * 120deg - 60deg)) translateY(-85px) rotate(calc(var(--i) * -120deg + 60deg)) scale(1);
        }

        .orbit-container[data-active-category="solid"] .orbit-color-item {
            transform: rotate(calc(var(--s) * (360deg / 9))) translateY(-130px) rotate(calc(var(--s) * (-360deg / 9))) scale(1);
        }

        .orbit-container[data-active-category="gradient"] .orbit-color-item {
            transform: rotate(calc(var(--s) * (360deg / 12))) translateY(-130px) rotate(calc(var(--s) * (-360deg / 12))) scale(1);
        }

        .orbit-container[data-active-category="glass"] .orbit-color-item {
            transform: rotate(calc(var(--s) * (360deg / 6))) translateY(-130px) rotate(calc(var(--s) * (-360deg / 6))) scale(1);
        }

    .orbit-category-item {
        width: 38px;
        height: 38px;
    }

        .orbit-category-item i {
            font-size: 16px;
        }

        .orbit-category-item span {
            font-size: 8px;
            top: -16px;
        }

        /* DISABLE HOVER ON MOBILE - FIXES CLICK ISSUE */
        .orbit-category-item:hover {
            transform: rotate(calc(var(--i) * 120deg - 60deg)) translateY(-85px) rotate(calc(var(--i) * -120deg + 60deg)) scale(1.1) !important;
            background: var(--orbit-category-hover);
        }

            .orbit-category-item:hover span {
                opacity: 1;
                transform: translateY(-3px);
            }

    .orbit-color-item {
        width: 32px;
        height: 32px;
    }

    .orbit-center {
        width: 55px;
        height: 55px;
    }

        .orbit-center h5 {
            font-size: 10px;
        }

        .orbit-center p {
            font-size: 8px;
        }

    /* Typography Mobile */
    .display-4 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .section-title::after {
        bottom: -8px;
    }

    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1.5rem;
    }

        .footer .brand-name {
            font-size: 1.3rem;
        }

        .footer .footer-heading {
            font-size: 1rem;
            margin-bottom: 1rem;
        }

        .footer .footer-link,
        .footer .contact-item {
            font-size: 0.85rem;
        }

    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    /* Floating Contact Buttons Mobile */
    .floating-contact-buttons {
        bottom: 20px;
        left: 20px;
        gap: 10px;
    }

    .floating-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    /* Map Mobile */
    .map-container-3d {
        perspective: 1000px;
        margin: 1.5rem 0 3rem;
    }

    .map-frame {
        transform: rotateX(1deg) rotateY(-1deg);
        border-radius: 20px;
    }

        .map-frame iframe {
            height: 350px;
        }
}

/* ===== RESPONSIVE - MOBILE SMALL (max-width: 480px) ===== */
@media (max-width: 480px) {
    /* Cinematic Intro */
    .handwritten-logo {
        width: 200px;
        height: 200px;
    }

    .brand-logo-icon {
        font-size: 1.4rem !important;
    }

    .navbar-logo-container {
        width: 40px !important;
        height: 40px !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        opacity: 1 !important;
        margin-right: 10px;
        margin-bottom: 0;
    }

    .navbar-brand {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 5px;
    }

    .handwritten-shepur {
        font-size: 2.5rem;
    }

    .handwritten-innovations {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }

    .loading-progress {
        width: 120px;
        bottom: 60px;
    }

    .skip-intro {
        bottom: 25px;
        padding: 6px 15px;
        font-size: 0.8rem;
    }

    @keyframes logoMoveToNavbar {
        0% {
            width: 200px;
            height: 200px;
            transform: translate(0, 0) scale(1);
        }

        100% {
            width: 150px;
            height: 150px;
            transform: translate(calc(-50vw + 12px), calc(-50vh + 12px)) scale(1);
        }
    }

    /* Orbit Theme Selector - Mobile Small */
    .orbit-container {
        width: 240px;
        height: 240px;
    }

        .orbit-container.active .orbit-category-item {
            transform: rotate(calc(var(--i) * 120deg - 60deg)) translateY(-75px) rotate(calc(var(--i) * -120deg + 60deg)) scale(1);
        }

        .orbit-container[data-active-category="solid"] .orbit-color-item {
            transform: rotate(calc(var(--s) * (360deg / 9))) translateY(-115px) rotate(calc(var(--s) * (-360deg / 9))) scale(1);
        }

        .orbit-container[data-active-category="gradient"] .orbit-color-item {
            transform: rotate(calc(var(--s) * (360deg / 12))) translateY(-115px) rotate(calc(var(--s) * (-360deg / 12))) scale(1);
        }

        .orbit-container[data-active-category="glass"] .orbit-color-item {
            transform: rotate(calc(var(--s) * (360deg / 6))) translateY(-115px) rotate(calc(var(--s) * (-360deg / 6))) scale(1);
        }

    .orbit-color-item {
        width: 30px;
        height: 30px;
    }

    .orbit-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .brand-tagline {
        display: none;
    }

    /* Map Mobile Small */
    .map-container-3d {
        perspective: 800px;
        margin: 1rem 0 2rem;
    }
    .scroll-ring {
        width: 60px;
        height: 60px;
    }

    .map-frame {
        transform: rotateX(0.5deg) rotateY(-0.5deg);
        border-radius: 15px;
    }

        .map-frame iframe {
            height: 300px;
        }
}

/* ===== THEME SPECIFIC MAP FILTERS ===== */
.theme-dark .map-frame iframe {
    filter: brightness(0.7) contrast(1.2) saturate(1.1);
}

.theme-light .map-frame iframe {
    filter: brightness(0.9) contrast(1.1) saturate(1);
}
