:root {
    --bg-dark: #FFFFFF;
    --bg-panel: #F8FAFC;
    --gold: #FF6B00;
    --gold-light: #FFB000;
    --gold-glow: rgba(255, 107, 0, 0.1);
    --orange: #FC6203;
    --orange-glow: rgba(252, 98, 3, 0.15);
    --text-light: #111827;
    --text-muted: #374151;
    --glass-border: #E5E7EB;
    --gold-border: rgba(255, 107, 0, 0.2);

    --font-en: 'Outfit', sans-serif;
    --font-ar: 'Cairo', sans-serif;

    --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

/* Base Reset & Smooth Scroll */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    /* Dark Slate for body */
    font-family: var(--font-en);
    line-height: 1.6;
    overflow-x: clip;
    position: relative;
    cursor: none;
    /* Hide default for custom cursor */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-light);
    /* Dark Navy for headings */
    font-weight: 800;
    font-family: var(--font-en);
}

/* Base link reset for cursor */
a,
button,
input,
select,
textarea,
label {
    cursor: none;
}

/* Mobile optimizations: performance & scroll fixes */
@media (max-width: 768px) {

    body,
    a,
    button,
    input,
    select,
    textarea,
    label {
        cursor: auto !important;
    }

    .custom-cursor,
    .cursor-follower {
        display: none !important;
    }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cursor-follower.expand {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.1);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    animation: bounceIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: #FFF;
    cursor: none;
    /* uses custom cursor */
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Background Shapes Wrapper to prevent layout stretching */
.bg-shapes-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

/* Floating Abstract Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: floatBlob 20s infinite alternate ease-in-out;
    transform: translateZ(0);
    /* Hardware accelerate */
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-glow) 0%, rgba(212, 175, 55, 0) 70%);
    top: -200px;
    left: -200px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--orange-glow) 0%, rgba(255, 140, 0, 0) 70%);
    top: 50%;
    right: -200px;
    animation-delay: -5s;
}

.shape-3 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0) 70%);
    bottom: -300px;
    left: 20%;
    animation-delay: -10s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 50px) scale(1.1);
    }

    100% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Typography & Colors */
.gradient-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-icon {
    color: var(--gold);
}

.accent-text {
    color: var(--gold);
    font-weight: 800;
}

/* Micro-Interaction Classes */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.08), 0 0 0 1px var(--gold-border) inset;
    background: #FFFFFF;
}

.interaction-hover {
    transition: var(--transition);
}

.interaction-hover:hover {
    transform: translateY(-4px);
}

/* Pulse Glow (Best Value Card) */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.2);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 107, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

.pulse-glow {
    animation: pulseGlow 3s infinite;
}

/* Glass Panels */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
    cursor: pointer;
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.95rem;
}

.full-width {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--gold-light));
    color: #FFFFFF;
}

.btn-glow {
    box-shadow: 0 10px 30px var(--gold-glow);
}

.btn-primary:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.btn-primary:hover:after {
    opacity: 1;
}

.btn-secondary {
    background: #FFFFFF;
    color: var(--text-light);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: #F8FAFC;
    border-color: var(--gold);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold-border);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.logo-text span {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--text-light);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* Fallback */
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gold-glow);
    border: 1.5px solid var(--gold-border);
    border-radius: 30px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
}

/* Stats Row */
.hero-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.stat-item {
    padding: 25px 30px;
    border-radius: var(--radius-md);
    min-width: 150px;
    text-align: left;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    text-align: left;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px rgba(17, 24, 39, 0.05);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--gold-glow);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    transition: var(--transition);
}

.service-icon i {
    font-size: 1.6rem;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    background: var(--gold);
    color: #FFFFFF;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

/* Packages */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card-wrapper {
    perspective: 1500px;
}

.flip-card-inner {
    display: grid;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    height: 100%;
}

.flip-card-inner.flipped {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    grid-area: 1 / 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    height: 100%;
    margin: 0;
}

.flip-card-front {
    transform: rotateY(0deg) translateZ(1px);
}

.flip-card-back {
    transform: rotateY(180deg) translateZ(1px);
}

.pricing-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.card-tier {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gold-tier {
    color: var(--gold);
}

.card-price {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
}

.price-val {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-light);
}

.price-currency {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 500;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-muted);
    font-size: 1rem;
}

.features-list li i {
    margin-top: 4px;
}

.features-list li strong {
    color: var(--text-light);
    font-weight: 500;
}

.pricing-card-wrapper.highlighted {
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card.highlighted {
    border: 2px solid var(--gold);
    background: #FFFFFF;
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.08);
}

.back-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
    margin-bottom: 20px;
    text-align: left;
}

.detail-group h5 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.detail-group ul {
    list-style: none;
    padding-left: 5px;
}

.detail-group li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    position: relative;
    padding-left: 12px;
}

.detail-group li::before {
    content: '•';
    color: var(--gold);
    position: absolute;
    left: 0;
    top: 0;
}

.flip-indicator {
    margin-top: auto;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gold);
    padding-top: 15px;
    transition: var(--transition);
}

.flip-indicator i {
    margin-left: 5px;
}

.mt-auto {
    margin-top: auto;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--orange), var(--gold-light));
    color: #FFFFFF;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px var(--orange-glow);
}

/* Why Us Section */
.dual-layout {
    display: flex;
    gap: 80px;
    align-items: center;
}

.dual-layout>div {
    flex: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #FFFFFF;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    background: var(--gold);
    color: #FFFFFF;
    transform: rotate(10deg);
}

.benefit-item h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

.image-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abstract-visual {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #F8FAFC, #FFFFFF, #E5E7EB);
    position: relative;
}

.abstract-visual::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gold);
    filter: blur(120px);
    opacity: 0.3;
}

.creative-spin {
    animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Form Section (Modern Floating Labels) */
.form-container {
    padding: 70px 60px;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h2 {
    font-size: 3rem;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* Large spacing between groups */
}

.form-step {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 40px;
}

.form-step:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.step-title {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #FFFFFF;
    color: var(--gold);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.form-row>* {
    flex: 1;
}

.form-floating {
    position: relative;
    width: 100%;
}

.form-floating input,
.form-floating textarea,
.form-floating select {
    width: 100%;
    padding: 24px 15px 12px 15px;
    background: #F8FAFC;
    border: 1px solid var(--glass-border);
    border-bottom: 2px solid var(--glass-border);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1.1rem;
    border-radius: 8px 8px 0 0;
}

.form-floating input:focus,
.form-floating textarea:focus,
.form-floating select:focus {
    outline: none;
    background: #FFFFFF;
    border-bottom-color: var(--gold);
}

.form-floating label {
    position: absolute;
    top: 20px;
    left: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s ease;
}

/* Trigger floating state if focused or input has data (placeholder not shown) */
.form-floating input:focus~label,
.form-floating input:not(:placeholder-shown)~label,
.form-floating textarea:focus~label,
.form-floating textarea:not(:placeholder-shown)~label,
.form-floating select:focus~label,
.form-floating select:valid~label {
    top: 6px;
    left: 15px;
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.form-floating input:focus~.input-line,
.form-floating textarea:focus~.input-line,
.form-floating select:focus~.input-line {
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    cursor: pointer;
}

.select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

/* Custom Checkbox Pills */
.services-toggle-group {
    margin-top: 10px;
}

.group-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 20px;
}

.toggle-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.toggle-pill input {
    display: none;
}

.toggle-pill span {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid var(--glass-border);
    background: #FFFFFF;
    border-radius: 30px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    user-select: none;
}

.toggle-pill:hover span {
    border-color: var(--gold);
    color: var(--text-light);
}

.toggle-pill input:checked+span {
    background: var(--gold-glow);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: none;
}

.submit-btn {
    width: 100%;
    margin-top: 20px;
    padding: 22px;
    font-size: 1.15rem;
}

.btn-text {
    transition: opacity 0.3s;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

/* Loader Animation */
.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin 1s infinite linear;
    opacity: 0;
    transition: opacity 0.3s;
}

.submit-btn.loading .loader {
    opacity: 1;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 48px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 320px;
    font-size: 1.05rem;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.footer-links a,
.footer-contact p {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Behance Expanding Accordion UI */
.behance-accordion {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    display: flex;
    gap: 10px;
    padding: 10px;
    background: #FFFFFF;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.b-panel {
    height: 100%;
    flex: 1;
    overflow: hidden;
    cursor: none;
    /* Uses custom cursor */
    border-radius: var(--radius-md);
    transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1), background 0.7s, border-color 0.7s, box-shadow 0.7s;
    background: #F8FAFC;
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.b-panel:hover {
    flex: 4;
    background: #FFFFFF;
    /* Brighten on hover */
    border-color: var(--gold);
    box-shadow: 0 10px 30px var(--gold-glow);
}

.b-panel-content {
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transform: rotate(-90deg);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.b-panel:hover .b-panel-content {
    transform: rotate(0);
}

.b-panel span {
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 3px;
    font-weight: 800;
    font-size: 1.25rem;
    white-space: nowrap;
    transition: color 0.5s;
}

.panel-icon {
    font-size: 2.5rem;
    color: var(--text-muted);
    transition: color 0.5s, transform 0.5s;
}

.b-panel:hover span,
.b-panel:hover .panel-icon {
    color: var(--gold);
}

.b-panel:hover .panel-icon {
    transform: scale(1.1);
}

/* Portfolio Case Studies */
.portfolio-cases {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 50px;
}

.case-row {
    display: flex;
    gap: 80px;
    align-items: center;
}

.case-row.reverse {
    flex-direction: row-reverse;
}

.case-info {
    flex: 1;
    padding: 50px;
    background: #FFFFFF;
    backdrop-filter: blur(24px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
    text-align: left;
}

.case-info h3 {
    font-size: 2.2rem;
    line-height: 1.2;
}

.case-cat {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 20px;
    margin-top: 15px;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--gold-border);
    border-radius: 30px;
}

.case-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.case-visuals {
    flex: 1.2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.shadow-img {
    box-shadow: 0 40px 80px rgba(17, 24, 39, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s, border 0.6s;
}

.shadow-img:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 50px 100px var(--gold-glow);
    border-color: var(--gold);
    z-index: 10;
}

.main-case-img {
    width: 85%;
    z-index: 2;
    object-fit: cover;
    max-height: 550px;
}

.stack-grp {
    display: flex;
    flex-wrap: wrap;
    width: 85%;
    justify-content: center;
    z-index: 1;
    margin-top: -60px;
    position: relative;
    gap: 20px;
}

.stacked-img {
    flex: 1 1 30%;
    max-width: 45%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
    border-radius: var(--radius-sm);
}

.stacked-img:nth-child(even) {
    margin-top: 40px !important;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 40px;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
    transform: translateY(0) scale(1);
}

.lightbox-content img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    display: block;
}

.lightbox-caption {
    margin-top: 25px;
    text-align: left;
}

#lightbox-title {
    font-size: 1.8rem;
    margin-top: 10px;
    margin-bottom: 0;
    color: var(--text-light);
    font-weight: 600;
}

/* Founder Section */
.founder-card {
    padding: 50px;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--bg-panel) 0%, #FFFFFF 100%);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.03);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.popup-scroll-fix {
    margin: 20px;
    z-index: 2000;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-light), var(--orange));
}

.founder-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.founder-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.founder-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gold-glow);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid var(--gold-border);
}

.founder-name {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 5px;
}

.founder-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.founder-bio {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 35px;
}

.founder-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Meet Founder Button 3D Animation */
.container-button {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "bt-1 bt-2 bt-3" "bt-4 bt-5 bt-6";
  position: relative;
  perspective: 800px;
  padding: 0;
  width: 170px;
  height: 47px;
  transition: all 0.3s ease-in-out;
  margin: 0 auto;
}

.container-button:active {
  transform: scale(0.95);
}

.hover {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 200;
}

.bt-1 { grid-area: bt-1; }
.bt-2 { grid-area: bt-2; }
.bt-3 { grid-area: bt-3; }
.bt-4 { grid-area: bt-4; }
.bt-5 { grid-area: bt-5; }
.bt-6 { grid-area: bt-6; }

.bt-1:hover ~ .founder-btn { transform: rotateX(15deg) rotateY(-15deg) rotateZ(0deg); box-shadow: -2px -2px #18181888; }
.bt-1:hover ~ .founder-btn::after { animation: shake 0.5s ease-in-out 0.3s; text-shadow: -2px -2px #18181888; }

.bt-3:hover ~ .founder-btn { transform: rotateX(15deg) rotateY(15deg) rotateZ(0deg); box-shadow: 2px -2px #18181888; }
.bt-3:hover ~ .founder-btn::after { animation: shake 0.5s ease-in-out 0.3s; text-shadow: 2px -2px #18181888; }

.bt-4:hover ~ .founder-btn { transform: rotateX(-15deg) rotateY(-15deg) rotateZ(0deg); box-shadow: -2px 2px #18181888; }
.bt-4:hover ~ .founder-btn::after { animation: shake 0.5s ease-in-out 0.3s; text-shadow: -2px 2px #18181888; }

.bt-6:hover ~ .founder-btn { transform: rotateX(-15deg) rotateY(15deg) rotateZ(0deg); box-shadow: 2px 2px #18181888; }
.bt-6:hover ~ .founder-btn::after { animation: shake 0.5s ease-in-out 0.3s; text-shadow: 2px 2px #18181888; }

.hover:hover ~ .founder-btn::before { background: transparent; }
.hover:hover ~ .founder-btn::after {
  content: "Click";
  top: -150%;
  transform: translate(-50%, 0);
  font-size: 34px;
  color: var(--gold);
}

.founder-btn {
  position: absolute;
  padding: 0;
  width: 170px;
  height: 47px;
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  border: 3px solid var(--orange);
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.founder-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 47px;
  background-color: var(--gold-light);
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
  z-index: -1;
}

.founder-btn::after {
  content: "Meet Founder";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 47px;
  background-color: transparent;
  font-size: 16px;
  font-weight: 800;
  line-height: 47px;
  color: #111;
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
  z-index: 2;
  font-family: var(--font-en);
}

.work-btn-new {
  position: absolute;
  padding: 0;
  width: 170px;
  height: 47px;
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  border: 3px solid var(--orange);
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.work-btn-new::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 47px;
  background-color: var(--gold-light);
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
  z-index: -1;
}

.work-btn-new::after {
  content: "View Our Work";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 47px;
  background-color: transparent;
  font-size: 16px;
  font-weight: 800;
  line-height: 47px;
  color: #111;
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
  z-index: 2;
  font-family: var(--font-en);
}

.bt-1:hover ~ .work-btn-new { transform: rotateX(15deg) rotateY(-15deg) rotateZ(0deg); box-shadow: -2px -2px #18181888; }
.bt-1:hover ~ .work-btn-new::after { animation: shake 0.5s ease-in-out 0.3s; text-shadow: -2px -2px #18181888; }

.bt-3:hover ~ .work-btn-new { transform: rotateX(15deg) rotateY(15deg) rotateZ(0deg); box-shadow: 2px -2px #18181888; }
.bt-3:hover ~ .work-btn-new::after { animation: shake 0.5s ease-in-out 0.3s; text-shadow: 2px -2px #18181888; }

.bt-4:hover ~ .work-btn-new { transform: rotateX(-15deg) rotateY(-15deg) rotateZ(0deg); box-shadow: -2px 2px #18181888; }
.bt-4:hover ~ .work-btn-new::after { animation: shake 0.5s ease-in-out 0.3s; text-shadow: -2px 2px #18181888; }

.bt-6:hover ~ .work-btn-new { transform: rotateX(-15deg) rotateY(15deg) rotateZ(0deg); box-shadow: 2px 2px #18181888; }
.bt-6:hover ~ .work-btn-new::after { animation: shake 0.5s ease-in-out 0.3s; text-shadow: 2px 2px #18181888; }

.hover:hover ~ .work-btn-new::before { background: transparent; }
.hover:hover ~ .work-btn-new::after {
  content: "Click";
  top: -150%;
  transform: translate(-50%, 0);
  font-size: 34px;
  color: var(--gold);
}

#lightbox {
  z-index: 10010 !important;
}

@keyframes shake {
  0% { left: 45%; }
  25% { left: 54%; }
  50% { left: 48%; }
  75% { left: 52%; }
  100% { left: 50%; }
}

/* Quiz Section */
.quiz-step {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.quiz-step.active {
  display: block;
  opacity: 1;
}

/* Responsiveness */
@media (max-width: 992px) {
    .pricing-table {
        grid-template-columns: 1fr;
    }

    .pricing-card-wrapper.highlighted {
        transform: none;
    }

    .dual-layout,
    .case-row {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .hero-title {
        font-size: 4rem;
    }

    .section {
        padding: 80px 0;
    }

    .image-container {
        height: auto;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    html,
    body {
        width: auto;
        overflow-x: visible;
    }

    .section {
        padding: 60px 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 100px 40px;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.open {
        right: 0;
    }

    .menu-toggle {
        display: block;
        z-index: 101;
    }

    .navbar .btn {
        display: none;
    }

    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .hero {
        min-height: auto;
        padding-top: 160px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2.6rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 50px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-desc {
        font-size: 1.05rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .pricing-card {
        padding: 40px 25px;
    }

    .price-val {
        font-size: 2.1rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .case-info {
        padding: 30px 20px;
    }

    .case-info h3 {
        font-size: 1.6rem;
    }

    .case-desc {
        font-size: 1.05rem;
        margin-bottom: 25px;
    }

    .stack-grp {
        width: 90%;
        gap: 10px;
        margin-top: -40px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }

    .form-floating {
        margin-bottom: 30px;
    }

    .form-container {
        padding: 40px 20px;
        border-radius: 16px;
    }

    .application-form {
        gap: 20px;
    }

    .behance-accordion {
        flex-direction: column;
        height: 600px;
    }

    .b-panel-content {
        transform: rotate(0);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer {
        padding-top: 60px;
    }

    .founder-card {
        padding: 30px 20px;
    }

    .founder-name {
        font-size: 2rem;
    }

    .founder-bio {
        font-size: 1rem;
    }

    .custom-cursor,
    .cursor-follower {
        display: none;
    }

    /* Disable on mobile */
    body {
        cursor: auto;
    }
}