/* CSS Variables & Reset */
:root {
    --bg-color: #050505;
    /* Deep Black/Gray */
    --surface-1: #0a0a0a;
    --surface-2: #141414;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;

    /* Brand Colors */
    --brand-primary: #FFD700;
    /* Gold/Yellow from screenshot */
    --brand-secondary: #ff9900;
    --accent-blue: #3b82f6;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #ff9e0b 100%);
    --gradient-dark: linear-gradient(to bottom, #0a0a0a, #000000);

    --header-height: 90px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --max-width: 1400px;
    --border-light: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.container {
    max-width: 1300px;
    /* Slightly wider for modern feel */
    margin: 0 auto;
    padding: 0 30px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* Navbar - Modern Floating Pill */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    background: rgba(255, 255, 255, 0.03);
    /* Much more transparent */
    backdrop-filter: blur(16px) saturate(180%);
    /* Strong blur + saturation for "glass" pop */
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Crisper border */
    border-radius: 100px;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    /* Glassmorphism shadow */
    transition: all 0.3s ease;
}

/* Scrolled state (optional, if we want it to shrink or change) */
.navbar.scrolled {
    background: rgba(5, 5, 5, 0.6);
    /* Little darker on scroll but still glassy */
    backdrop-filter: blur(20px);
    border-color: rgba(255, 215, 0, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
    /* Remove default container padding inside pill */
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-second {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: lowercase;
    letter-spacing: 1px;
}

/* Logo "Lightning" Icon Simulation - REMOVED */
/* .logo::before {
    content: '⚡';
    font-size: 1.8rem;
    color: var(--brand-primary);
    margin-right: 5px;
} */

.logo .dot {
    color: var(--brand-primary);
    font-size: 2rem;
    /* Make the dot slightly larger for impact */
    line-height: 0;
    margin-left: 2px;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.nav-btn {
    margin-left: 20px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 100px 40px 40px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mobile-menu .nav-links li {
    width: 100%;
    margin: 0;
    padding: 0;
}

.mobile-menu .nav-links a {
    font-size: 1.2rem;
    padding: 15px 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu .nav-links a:hover,
.mobile-menu .nav-links a.active {
    color: var(--brand-primary);
    padding-left: 10px;
    border-bottom-color: rgba(255, 215, 0, 0.2);
}

.mobile-menu .nav-btn {
    margin: 30px 0 0 0;
    width: 100%;
    text-align: center;
    display: block;
    padding: 15px 20px;
    font-size: 1.1rem;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Form Validation Styles */
.form-group {
    position: relative;
}

.error-message {
    display: block;
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-message.show {
    opacity: 1;
}

input.error,
textarea.error {
    border-color: #ff4444 !important;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2) !important;
}

input.success,
textarea.success {
    border-color: #00ff88 !important;
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2) !important;
}

.btn-loader {
    display: none;
}

.btn-full-width {
    width: 100%;
}

.footer-cta-btn {
    margin-top: 15px;
    display: inline-block;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Portfolio Item Click States */
.portfolio-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 4px;
}

.portfolio-item:active {
    transform: scale(0.98);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(20, 20, 30, 1) 0%, rgba(5, 5, 5, 1) 100%);
    overflow: hidden;
}

/* Dynamic Background Glows */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    filter: blur(80px);
    z-index: 0;
    animation: floatingGlow 10s infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08), transparent 70%);
    filter: blur(60px);
    z-index: 0;
    animation: floatingGlow 8s infinite alternate-reverse;
}

/* Standardize standard movement */
@keyframes floatingGlow {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

/* "Frosted Glass" Living Background */
.jarvis-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    background: #050505;
    /* Deep base */
}

/* The Frosted Glass Layer */
.jarvis-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(120px);
    /* Heavy blur for frosted effect */
    -webkit-backdrop-filter: blur(120px);
    z-index: 2;
    background: rgba(5, 5, 5, 0.3);
    /* Slight tint */
}

.breathing-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    /* Higher opacity because it's behind blur */
    filter: blur(40px);
    /* Soften edges before the main glass blur */
    z-index: 1;
}

/* Moving Shapes Animation */
.orb-1 {
    width: 600px;
    height: 600px;
    background: #3b82f6;
    top: -20%;
    left: -20%;
    animation: wander 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #8b5cf6;
    bottom: -10%;
    right: -10%;
    animation: wander 25s infinite alternate-reverse cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #f59e0b;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseMove 15s infinite ease-in-out;
}

/* "Har thori der bad" movement */
@keyframes wander {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(400px, 100px) rotate(45deg);
    }

    66% {
        transform: translate(200px, 400px) rotate(90deg);
    }

    100% {
        transform: translate(500px, 200px) rotate(135deg);
    }
}

@keyframes pulseMove {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translate(-30%, -70%) scale(1.5);
        opacity: 0.7;
    }

    100% {
        transform: translate(-70%, -30%) scale(1);
        opacity: 0.4;
    }
}


.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
    /* Switch to left align for split layout */
    padding: 0 20px;
}

.hero-text h1 {
    font-size: clamp(2.6rem, 4.5vw, 3.9rem);
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: capitalize;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.hero-text h1 .gradient-text {
    display: inline-block;
    position: relative;
    background-size: 200% auto;
    animation: textShimmer 4s linear infinite;
}

/* Underline decoration for emphasis */
.hero-text h1 .gradient-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--brand-primary);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

@keyframes textShimmer {
    to {
        background-position: 200% center;
    }
}

.hero-text {
    max-width: 100%;
}

.hero-text p {
    font-size: 1.15rem;
    /* Reduced from 1.35rem */
    color: var(--text-muted);
    max-width: 600px;
    /* Tighter width for readability */
    margin: 0 0 35px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    justify-content: flex-start;
    /* Left align buttons */
    gap: 20px;
}

/* Hero Visuals - Image Slider */
.hero-visual {
    position: relative;
    height: 500px;
    perspective: 1000px;
    z-index: 1;
    overflow: hidden;
    border-radius: 20px;
}

/* Hero Cards Slider */
.hero-cards-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cards-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    clip-path: inset(0);
}

.cards-track {
    display: flex;
    gap: 25px;
    width: fit-content;
    animation: slideCardsHorizontal 40s linear infinite;
    will-change: transform;
    align-items: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    position: relative;
}

.cards-track:hover {
    animation-play-state: paused;
}

.hero-card {
    width: 280px;
    min-width: 280px;
    height: 100%;
    min-height: 350px;
    border-radius: 20px;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.hero-card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.service-card-hh {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.image-sr-mm {
    margin-bottom: 20px;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
}

.image-sr-mm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    display: block;
}

.image-sr-mm:has(img) i {
    display: none;
}

.image-sr-mm i {
    font-size: 3.5rem;
    color: white;
    opacity: 0.9;
    display: block;
}

.hero-card h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-card.card-1,
.hero-card.card-2,
.hero-card.card-3,
.hero-card.card-4,
.hero-card.card-5,
.hero-card.card-6 {
    background: transparent;
    width: 280px;
    min-width: 280px;
    height: auto;
    min-height: auto;
}

.hero-card.card-1 .service-card-hh,
.hero-card.card-2 .service-card-hh,
.hero-card.card-3 .service-card-hh,
.hero-card.card-4 .service-card-hh,
.hero-card.card-5 .service-card-hh,
.hero-card.card-6 .service-card-hh {
    padding: 0;
    height: auto;
}

.hero-card.card-1 .image-sr-mm,
.hero-card.card-2 .image-sr-mm,
.hero-card.card-3 .image-sr-mm,
.hero-card.card-4 .image-sr-mm,
.hero-card.card-5 .image-sr-mm,
.hero-card.card-6 .image-sr-mm {
    margin-bottom: 0;
    height: auto;
    width: 100%;
    border-radius: 20px;
    display: block;
}

.hero-card.card-1 .image-sr-mm img,
.hero-card.card-2 .image-sr-mm img,
.hero-card.card-3 .image-sr-mm img,
.hero-card.card-4 .image-sr-mm img,
.hero-card.card-5 .image-sr-mm img,
.hero-card.card-6 .image-sr-mm img {
    border-radius: 20px;
    object-fit: contain;
    width: 100%;
    height: auto;
    display: block;
}

.hero-card.card-1 h3 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}


/* Auto Slide Animation - Horizontal */
@keyframes slideCardsHorizontal {
    0% {
        transform: translateX(0) translateZ(0);
    }
    100% {
        transform: translateX(calc(-50% - 0px)) translateZ(0);
    }
}

.glowing-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--brand-glow), transparent 60%);
    filter: blur(60px);
    opacity: 0.6;
    animation: pulseGlow 5s infinite alternate;
}

/* Tech Orbs (Gol Icons) */
.tech-orb {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.8rem;
    animation: floatOrb 6s ease-in-out infinite;
    z-index: 2;
}

.tech-orb i {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
}

/* Specific Orbs Positioning & Colors */
.orbit-1 {
    /* WordPress */
    top: 15%;
    right: 15%;
    color: #21759b;
    border-color: rgba(33, 117, 155, 0.7);
    box-shadow: 0 0 20px rgba(33, 117, 155, 0.4), inset 0 0 20px rgba(33, 117, 155, 0.2), 0 10px 30px rgba(0, 0, 0, 0.4);
    animation-delay: 0s;
}

.orbit-1 i {
    filter: drop-shadow(0 0 10px rgba(33, 117, 155, 0.7));
}

.orbit-2 {
    /* PHP */
    bottom: 25%;
    left: 10%;
    color: #777bb4;
    border-color: rgba(119, 123, 180, 0.7);
    box-shadow: 0 0 18px rgba(119, 123, 180, 0.4), inset 0 0 18px rgba(119, 123, 180, 0.2), 0 10px 30px rgba(0, 0, 0, 0.4);
    animation-delay: 2s;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.orbit-2 i {
    filter: drop-shadow(0 0 8px rgba(119, 123, 180, 0.7));
}

.orbit-3 {
    /* Laravel */
    top: 40%;
    right: -5%;
    color: #ff2d20;
    border-color: rgba(255, 45, 32, 0.7);
    box-shadow: 0 0 25px rgba(255, 45, 32, 0.5), inset 0 0 25px rgba(255, 45, 32, 0.3), 0 10px 30px rgba(0, 0, 0, 0.4);
    animation-delay: 1.5s;
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.orbit-3 i {
    filter: drop-shadow(0 0 12px rgba(255, 45, 32, 0.8));
}

.orbit-4 {
    /* Facebook */
    bottom: 15%;
    right: 25%;
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.7);
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.4), inset 0 0 20px rgba(24, 119, 242, 0.2), 0 10px 30px rgba(0, 0, 0, 0.4);
    animation-delay: 3s;
    width: 65px;
    height: 65px;
}

.orbit-4 i {
    filter: drop-shadow(0 0 10px rgba(24, 119, 242, 0.7));
}

.orbit-5 {
    /* Google */
    top: 25%;
    left: 40%;
    color: #ea4335;
    border-color: rgba(234, 67, 53, 0.7);
    box-shadow: 0 0 20px rgba(234, 67, 53, 0.4), inset 0 0 20px rgba(234, 67, 53, 0.2), 0 10px 30px rgba(0, 0, 0, 0.4);
    animation-delay: 1s;
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
}

.orbit-5 i {
    filter: drop-shadow(0 0 10px rgba(234, 67, 53, 0.7));
}

.orbit-6 {
    /* Instagram */
    top: 60%;
    left: 20%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(214, 36, 159, 0.6);
    border-width: 2px;
    box-shadow: 0 0 20px rgba(214, 36, 159, 0.4), inset 0 0 20px rgba(214, 36, 159, 0.2);
    animation-delay: 4s;
    width: 75px;
    height: 75px;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Instagram gradient icon */
.orbit-6 i {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(214, 36, 159, 0.6));
    display: inline-block;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}


@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) rotateY(-10deg);
    }

    50% {
        transform: translateY(-20px) rotateY(-5deg);
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Mobile adjustments for Split Hero */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 50px;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        height: 300px;
        margin-top: 40px;
    }

    /* Hero Cards Mobile */
    .hero-card {
        width: 220px;
        min-width: 220px;
        min-height: 280px;
    }
    
    .service-card-hh {
        padding: 20px 15px;
    }
    
    .image-sr-mm {
        height: 150px;
    }
    
    .image-sr-mm i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .hero-card h3 {
        font-size: 1rem;
    }
    
    .cards-track {
        gap: 15px;
    }
}

/* Sections Layout */
section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Package Tabs */
.package-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0 50px;
    flex-wrap: wrap;
}

.package-tab {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.package-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    transition: left 0.3s ease;
    z-index: -1;
}

.package-tab:hover {
    color: white;
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.package-tab:hover::before {
    left: 0;
}

.package-tab.active {
    background: var(--gradient-gold);
    color: #000;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.package-tab.active::before {
    left: 0;
}

.pricing-card[data-category] {
    transition: all 0.3s ease;
}

.pricing-card[data-category].hidden {
    display: none !important;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    text-transform: capitalize;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Intro / Impress Them Section */
.intro-section {
    background: linear-gradient(to bottom, var(--bg-color), var(--surface-1));
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.intro-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

/* Services Section */
.services {
    background-color: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--surface-1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card i {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--brand-primary);
    background: rgba(255, 215, 0, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1) rotate(5deg);
    background: var(--brand-primary);
    color: #000;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: white;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Stats Strip */
.stats-strip {
    background: var(--surface-1);
    border-bottom: none;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--brand-primary);
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Portfolio Tabs */
.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0 50px;
    flex-wrap: wrap;
}

.portfolio-tab {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.portfolio-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    transition: left 0.3s ease;
    z-index: -1;
}

.portfolio-tab:hover {
    color: white;
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.portfolio-tab:hover::before {
    left: 0;
}

.portfolio-tab.active {
    background: var(--gradient-gold);
    color: #000;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.portfolio-tab.active::before {
    left: 0;
}

.portfolio-item[data-category] {
    transition: all 0.3s ease;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Portfolio Item */
.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    min-height: 450px;
    background: var(--surface-2);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Portfolio Images */
.portfolio-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    transition: background 0.3s;
    z-index: 1;
}

.portfolio-item:hover::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
}

.portfolio-item:nth-child(1) {
    background-image: url('../assets/portfolio/web-design/portfolio-1.jpg');
    background-position: top center;
    /* Modern Web Design */
}

.portfolio-item:nth-child(2) {
    background-image: url('../assets/portfolio/web-design/portfolio-2.webp');
    background-position: top center;
    /* E-commerce Platform */
}

.portfolio-item:nth-child(3) {
    background-image: url('../assets/portfolio/web-design/portfolio-3.webp');
    background-position: top center;
    /* Business Website */
}

.portfolio-item:nth-child(4) {
    background-image: url('../assets/portfolio/portfolio-4.webp');
    background-position: top center;
    /* Portfolio Website */
}

.portfolio-item:nth-child(5) {
    background-image: url('../assets/portfolio/portfolio-5.jpg');
    background-position: top center;
    /* Landing Page */
}

.portfolio-item:nth-child(6) {
    background-image: url('../assets/portfolio/portfolio-6.jpg');
    background-position: top center;
    /* Dashboard Design */
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: white;
    font-weight: 700;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-align: center;
}

.portfolio-overlay p {
    color: var(--brand-primary);
    font-size: 1rem;
    font-weight: 500;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Portfolio Lightbox Modal */
.portfolio-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
}

.lightbox-close:hover {
    background: var(--brand-primary);
    color: #000;
    border-color: var(--brand-primary);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox-image {
        max-height: 85vh;
    }

    .lightbox-close {
        top: -40px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}


/* Pricing Section */
.slider-controls {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-grid.slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 0 40px;
    /* Space for shadow/hover */
    width: 100%;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
}

.pricing-grid.slider-track::-webkit-scrollbar {
    display: none;
}

.pricing-card {
    min-width: 364px;
    max-width: 394px;
    background: var(--surface-1);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    scroll-snap-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.1);
    transform-style: preserve-3d;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.02), rgba(255, 215, 0, 0.1));
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(6px);
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--brand-primary);
    color: #000;
}

.prev-btn {
    left: -28px;
}

.next-btn {
    right: -28px;
}

@media (max-width: 1300px) {
    .prev-btn {
        left: 10px;
        background: rgba(0, 0, 0, 0.8);
    }

    .next-btn {
        right: 10px;
        background: rgba(0, 0, 0, 0.8);
    }

    .slider-controls {
        padding: 0 20px;
    }
}

.pricing-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4), 
        0 0 20px rgba(255, 215, 0, 0.2);
}

.pricing-card:hover::before {
    opacity: 0.5;
}

.pricing-card.featured {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 2px solid rgba(255, 215, 0, 0.4);
    padding: 45px 35px;
    z-index: 2;
    box-shadow: 
        0 10px 30px -8px rgba(255, 215, 0, 0.2),
        0 0 15px rgba(255, 215, 0, 0.15);
    transform: translateY(-3px) perspective(1000px) rotateX(1deg);
    position: relative;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.03), rgba(255, 215, 0, 0.15));
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.35;
    }
}

.pricing-card.featured:hover {
    transform: translateY(-5px) perspective(1000px) rotateX(2deg) scale(1.01);
    box-shadow: 
        0 15px 35px -6px rgba(255, 215, 0, 0.25),
        0 0 20px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

.pricing-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
    border-radius: 30px 30px 0 0;
    opacity: 0.5;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary);
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: white;
}

.card-header .price-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 8px 0 10px 0;
}

.card-header .old-price {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.6;
    line-height: 1;
    display: inline-block;
}

.card-header .price {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    display: inline-block;
}

.card-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
    /* Push button to bottom */
    max-height: 220px;
    /* Restrict height to enable scroll */
    overflow-y: auto;
    padding-right: 10px;
    /* Space for scrollbar */
}

/* Custom Slim Scrollbar */
.features-list::-webkit-scrollbar {
    width: 4px;
}

.features-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.features-list::-webkit-scrollbar-thumb {
    background: var(--brand-primary);
    border-radius: 4px;
}

.features-list li {
    padding: 10px 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li i {
    color: var(--brand-primary);
}

.features-list li.disabled {
    opacity: 0.5;
    text-decoration: line-through;
}

.features-list li.disabled i {
    color: #555;
}

/* Button Container */
.pricing-card .button-container {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    width: 100%;
    align-items: stretch;
}

/* Package Button */
.pricing-card .button-container .package-btn,
.pricing-card .button-container .btn {
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: flex !important;
    font-size: 0.85rem !important;
    padding: 10px 16px !important;
}

/* Live Chat Button */
.pricing-card .button-container .btn-chat {
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--brand-primary);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.pricing-card .btn-chat:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.pricing-card .btn-chat i {
    font-size: 1rem;
}

/* Combo Section */
.combo-section {
    margin-top: 80px;
    padding-bottom: 50px;
}

.combo-card {
    background: #000;
    border: 1px solid #222;
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.1);
}

.combo-info {
    padding: 60px;
    background: linear-gradient(135deg, #111, #000);
    position: relative;
}

/* "All-in-one" Text Style */
.combo-info h3 {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 30px;
}

.combo-info h3 span {
    display: block;
    font-size: 1.2rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.combo-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.combo-list li {
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.combo-list li i {
    color: var(--brand-primary);
}

.combo-pricing {
    background: var(--brand-primary);
    /* Fallback */
    background: linear-gradient(135deg, #ffb700, #ff8c00);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #000;
    position: relative;
}

/* Cutout effect simulation could go here */

.discount-label {
    background: #000;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.old-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.combo-pricing .new-price {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Readable on bright bg */
    background: none;
    /* Reset gradient text for this specific bg */
    -webkit-text-fill-color: #000;
    color: #000;
}

.combo-btn {
    background: #000;
    color: white;
    box-shadow: none;
}

.combo-btn:hover {
    background: #222;
    transform: translateY(-2px);
}


/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--surface-1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.quote-icon {
    font-size: 2rem;
    color: var(--brand-primary);
    opacity: 0.3;
    margin-bottom: 20px;
}

.feedback-text {
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333;
}

.client-info h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.client-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}


/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: var(--surface-1);
    padding: 60px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: white;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--brand-primary);
    font-size: 1.2rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: #000;
}

/* Book Consultation Section styling reuse */
.consultation-section {
    padding: 100px 0;
    position: relative;
    /* Removed solid gold background */
}

.consultation-wrapper {
    background: rgba(10, 10, 10, 0.6);
    /* Dark Glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Add a subtle glow behind the wrapper */
.consultation-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.consult-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    /* Switch back to white for dark bg */
}

.consult-text h2 .gradient-text {
    /* Re-enable gradient for dark bg */
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    /* Remove underline */
}

.consult-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-info-list {
    list-style: none;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: white;
    /* White text */
}

.info-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    margin-right: 15px;
}

/* Pricing Section & Slider */
.slider-controls {
    position: relative;
    width: 100%;
}

.pricing-container {
    display: flex;
    /* Horizontal Layout */
    overflow-x: hidden;
    /* Hide scrollbar for desktop, use buttons */
    scroll-behavior: smooth;
    /* Smooth scrolling */
    gap: 30px;
    padding: 20px 5px;
    /* Add vertical padding for shadows */
    width: 100%;
    box-sizing: border-box;
}

/* Yellow Slider Buttons (Inside Box or default) */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #fbbf24;
    /* Brand Yellow */
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #f59e0b;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.6);
}

.prev-btn {
    left: 0;
}

/* Inside/Edge Left */
.next-btn {
    right: 0;
}

/* Inside/Edge Right */



/* Consultation Form Specifics */
.consult-form {
    background: #000;
    /* Black Form */
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle border */
    position: relative;
    overflow: hidden;
}

.consult-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), #fbbf24);
}

.consult-form .inline-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.consult-form input,
.consult-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #111;
    /* Dark input background */
    border-radius: 12px;
    color: #fff;
    /* White text */
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.3s;
}

.consult-form input::placeholder,
.consult-form textarea::placeholder {
    color: #64748b;
    /* Muted placeholder */
    opacity: 1;
}

.consult-form input:focus,
.consult-form textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: #0a0a0a;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.consult-form .btn-primary {
    background: #fbbf24;
    /* Brand Yellow/Gold */
    color: #000;
    /* Black text for contrast */
    font-weight: 700;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    /* Matching glow */
    transition: all 0.3s ease;
}

.consult-form .btn-primary:hover {
    background: #f59e0b;
    /* Slightly darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.footer-cta .btn-primary {
    padding: 18px 50px;
    font-size: 1.2rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--brand-primary), #fbbf24);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    border: none;
    margin-top: 20px;
    display: inline-block;
}

/* Specific styling for the relocated footer button */
.footer-logo .btn-primary {
    padding: 10px 25px;
    /* Smaller padding */
    font-size: 0.9rem;
    /* Smaller font */
    border-radius: 50px;
    background: linear-gradient(135deg, var(--brand-primary), #fbbf24);
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.footer-logo .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #fbbf24, var(--brand-primary));
}

.footer-cta .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #fbbf24, var(--brand-primary));
}

.consult-form .btn-primary:hover {
    background: #222;
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--text-muted);
}

.footer-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 15px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-email {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-email i {
    color: var(--brand-primary);
    font-size: 1rem;
}

.footer-email:hover {
    color: var(--brand-primary);
}

.footer-phone {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-phone i {
    color: var(--brand-primary);
    font-size: 1rem;
}

.footer-phone:hover {
    color: var(--brand-primary);
}

.footer-address {
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-address i {
    color: var(--brand-primary);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-address span {
    flex: 1;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--brand-primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--brand-primary);
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.9rem;
}

.footer-bottom .production-partner {
    margin-top: 15px;
    color: #888;
    font-size: 0.85rem;
}


/* =========================================
   MOBILE RESPONSIVENESS (Consolidated & Polished)
   ========================================= */

@media (max-width: 900px) {

    /* Visual Typography Fixes */
    .h1 {
        font-size: 3rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    /* Packages Section Header */
    .packages .section-header h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 12px;
    }

    .packages .section-header p {
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
        padding: 0 10px;
    }

    /* Package Tabs Mobile */
    .package-tabs {
        gap: 10px;
        margin: 30px 0 40px;
    }

    .package-tab {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Pricing Slider Fix */
    .packages .container {
        padding: 0 10px;
        max-width: 100%;
    }

    .slider-controls {
        position: relative;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .pricing-container {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 20px 15px 50px;
        -webkit-overflow-scrolling: touch;
        scroll-padding: 0 15px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-card {
        min-width: calc(100vw - 70px);
        max-width: calc(100vw - 70px);
        scroll-snap-align: start;
        flex-shrink: 0;
        margin-right: 0;
        padding: 30px 25px;
        border-radius: 25px;
        box-sizing: border-box;
        border: 1px solid rgba(255, 215, 0, 0.2);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 12px rgba(255, 215, 0, 0.1);
    }

    .pricing-card::before {
        border-radius: 25px;
        filter: blur(5px);
        opacity: 0.25;
    }

    .pricing-card:hover {
        border-color: rgba(255, 215, 0, 0.35);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 18px rgba(255, 215, 0, 0.2);
    }

    .pricing-card.featured {
        padding: 32px 25px;
        border-width: 2px;
        box-shadow: 
            0 8px 25px -6px rgba(255, 215, 0, 0.2),
            0 0 15px rgba(255, 215, 0, 0.15);
    }

    .pricing-card.featured::before {
        filter: blur(6px);
        opacity: 0.25;
    }

    /* Card Header Mobile */
    .card-header {
        margin-bottom: 25px;
        padding-bottom: 18px;
    }

    .card-header h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .card-header .price-wrapper {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        justify-content: center;
        margin: 6px 0 8px 0;
    }

    .card-header .old-price {
        font-size: 0.9rem;
        opacity: 0.6;
        line-height: 1;
    }

    .card-header .price {
        font-size: 1.9rem;
        margin: 0;
        line-height: 1;
    }

    .card-header p {
        font-size: 0.9rem;
    }

    .popular-tag {
        font-size: 0.75rem;
        padding: 6px 16px;
        top: -12px;
    }

    /* Features List Mobile */
    .features-list {
        max-height: 200px;
        margin-bottom: 25px;
        padding-right: 8px;
    }

    .features-list li {
        padding: 8px 0;
        font-size: 0.9rem;
    }

    .features-list li i {
        font-size: 0.85rem;
    }

    /* Package Buttons Mobile */
    .pricing-card .button-container {
        flex-direction: row !important;
        gap: 10px;
        padding-top: 15px;
        width: 100%;
        align-items: stretch;
    }

    .pricing-card .button-container .btn,
    .pricing-card .button-container .package-btn {
        flex: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 44px;
        padding: 10px 14px !important;
        font-size: 0.8rem !important;
        display: flex !important;
    }

    .pricing-card .button-container .btn-chat {
        flex: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 44px;
        font-size: 0.8rem;
        padding: 10px 14px;
        display: flex !important;
        gap: 5px;
    }

    /* Force Show Buttons on Mobile */
    .slider-controls {
        position: relative;
        width: 100%;
        overflow: visible;
    }

    .slider-btn {
        display: flex !important;
        position: absolute;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        background: rgba(251, 191, 36, 0.95);
        color: #000;
        z-index: 100;
        top: 50%;
        transform: translateY(-50%);
        box-shadow: 0 4px 15px rgba(251, 191, 36, 0.5);
        border: none;
        border-radius: 50%;
    }

    .slider-btn:hover {
        background: #f59e0b;
        transform: translateY(-50%) scale(1.1);
    }

    .prev-btn {
        left: 5px !important;
        right: auto !important;
    }

    .next-btn {
        right: 5px !important;
        left: auto !important;
    }

    .slider-controls {
        padding: 0 10px;
    }

    /* Layout Unstacking */
    .combo-card {
        grid-template-columns: 1fr !important;
    }

    .combo-info {
        padding: 30px !important;
    }

    .combo-info h3 {
        font-size: 1.8rem !important;
    }

    .combo-info h3 span {
        font-size: 1rem !important;
    }

    .combo-image {
        height: 250px;
        /* Reduced specific height */
    }

    /* Consultation Section Mobile Fix */
    .consultation-wrapper {
        display: flex;
        flex-direction: column;
        padding: 30px !important;
        gap: 30px !important;
    }

    .consult-text h2 {
        font-size: 2rem !important;
        text-align: center;
    }

    .consult-text p {
        font-size: 1rem !important;
        text-align: center;
    }

    .consult-form {
        padding: 25px !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* Navbar Adjustment */
    .navbar {
        padding: 12px 20px;
        height: auto;
        min-height: 60px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        top: 10px;
        width: 95%;
    }

    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-links,
    .nav-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo {
        font-size: 1.3rem;
    }

    /* Hero Section - Clean Stack */
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: auto;
        overflow: hidden;
    }

    /* Reduce background effects on mobile */
    .hero::before,
    .hero::after {
        opacity: 0.4;
    }

    .jarvis-bg {
        opacity: 0.7;
    }

    .jarvis-bg::after {
        backdrop-filter: blur(80px);
        -webkit-backdrop-filter: blur(80px);
        opacity: 0.9;
        background: rgba(5, 5, 5, 0.4);
    }

    .breathing-orb {
        opacity: 0.4;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 20px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        gap: 40px;
        grid-template-columns: 1fr;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-text {
        padding: 0 15px;
        order: 1;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .hero-text h1 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
        line-height: 1.3;
        margin-bottom: 24px;
        letter-spacing: -0.3px;
        font-weight: 700;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
    }

    .hero-text h1 .gradient-text {
        display: inline-block;
        margin-top: 8px;
        line-height: 1.2;
    }

    .hero-text h1 .gradient-text::after {
        height: 6px;
        bottom: 3px;
    }

    .hero-text p {
        font-size: clamp(1rem, 3vw, 1.1rem);
        margin-bottom: 32px;
        line-height: 1.75;
        max-width: 100%;
        text-align: center;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 400;
        padding: 0 5px;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: row;
        gap: 12px;
        width: 100%;
        margin-top: 10px;
        flex-wrap: wrap;
    }

    .hero-btns .btn {
        flex: 1;
        min-width: 140px;
        min-height: 48px;
        padding: 14px 20px;
        font-size: 0.95rem;
        font-weight: 600;
    }

    /* Hero Visual - Optimize for Mobile */
    .hero-visual {
        order: 2;
        height: 300px;
        width: 100%;
        margin: 0 auto;
        max-width: 100%;
        position: relative;
        z-index: 1;
        box-sizing: border-box;
    }

    .hero-card {
        width: 200px;
        min-width: 200px;
        min-height: 250px;
    }
    
    .service-card-hh {
        padding: 15px 10px;
    }
    
    .image-sr-mm {
        height: 130px;
    }
    
    .image-sr-mm i {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .hero-card h3 {
        font-size: 0.9rem;
    }
    
    .cards-track {
        gap: 12px;
    }

    /* Floating Icons - Smaller on Mobile */
    .tech-orb {
        transform: scale(0.5);
        opacity: 0.85;
        border-width: 2px;
    }

    /* Improve all orbs visibility on mobile */
    .orbit-1 {
        border-color: rgba(33, 117, 155, 0.8);
        box-shadow: 0 0 15px rgba(33, 117, 155, 0.5), inset 0 0 15px rgba(33, 117, 155, 0.3);
    }

    .orbit-1 i {
        filter: drop-shadow(0 0 8px rgba(33, 117, 155, 0.8));
    }

    .orbit-2 {
        border-color: rgba(119, 123, 180, 0.8);
        box-shadow: 0 0 14px rgba(119, 123, 180, 0.5), inset 0 0 14px rgba(119, 123, 180, 0.3);
    }

    .orbit-2 i {
        filter: drop-shadow(0 0 7px rgba(119, 123, 180, 0.8));
    }

    .orbit-3 {
        border-color: rgba(255, 45, 32, 0.8);
        box-shadow: 0 0 18px rgba(255, 45, 32, 0.6), inset 0 0 18px rgba(255, 45, 32, 0.4);
    }

    .orbit-3 i {
        filter: drop-shadow(0 0 10px rgba(255, 45, 32, 0.9));
    }

    .orbit-4 {
        border-color: rgba(24, 119, 242, 0.8);
        box-shadow: 0 0 15px rgba(24, 119, 242, 0.5), inset 0 0 15px rgba(24, 119, 242, 0.3);
    }

    .orbit-4 i {
        filter: drop-shadow(0 0 8px rgba(24, 119, 242, 0.8));
    }

    .orbit-5 {
        border-color: rgba(234, 67, 53, 0.8);
        box-shadow: 0 0 15px rgba(234, 67, 53, 0.5), inset 0 0 15px rgba(234, 67, 53, 0.3);
    }

    .orbit-5 i {
        filter: drop-shadow(0 0 8px rgba(234, 67, 53, 0.8));
    }

    .orbit-6 {
        border-color: rgba(214, 36, 159, 0.8);
        box-shadow: 0 0 16px rgba(214, 36, 159, 0.6), inset 0 0 16px rgba(214, 36, 159, 0.4);
    }

    .orbit-6 i {
        filter: drop-shadow(0 0 8px rgba(214, 36, 159, 0.9));
    }

    .glowing-circle {
        width: 250px;
        height: 250px;
        opacity: 0.4;
    }

    /* Grids & Spacing */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    /* Mobile Horizontal Sliders (Portfolio & Testimonials) */
    /* Portfolio Tabs Mobile */
    .portfolio-tabs {
        gap: 10px;
        margin: 30px 0 40px;
    }

    .portfolio-tab {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .portfolio-grid,
    .testimonials-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        gap: 20px;
        padding: 10px 20px 40px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0 -20px;
        width: calc(100% + 40px);
    }

    .portfolio-item,
    .testimonial-card {
        min-width: 85vw;
        max-width: 85vw;
        scroll-snap-align: center;
        flex-shrink: 0;
        white-space: normal;
    }

    /* Form Overhaul for Mobile */
    .consult-form {
        padding: 30px 20px;
    }

    .consult-form .inline-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* STRICT INPUT SIZING */
    .consult-form input,
    .consult-form textarea,
    .contact-form input,
    .contact-form textarea,
    .form-control {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        height: auto;
        min-height: 44px;
        padding: 15px;
        margin-bottom: 15px;
        font-size: 16px;
    }

    .consult-form button,
    .contact-form button {
        width: 100% !important;
        min-height: 44px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    section {
        padding: 60px 0;
    }

    /* Payment Modal Mobile Styles */
    .payment-modal,
    .payment-thankyou {
        max-width: 95% !important;
        padding: 30px 20px !important;
    }

    .payment-option {
        padding: 15px !important;
        gap: 15px !important;
    }

    .payment-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }

    .payment-details h3 {
        font-size: 1rem !important;
    }

    .order-details {
        padding: 20px 15px !important;
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .next-steps {
        padding: 15px !important;
    }

    /* Footer Cleanup */
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-logo {
        align-items: center;
    }
}

@media (max-width: 480px) {

    /* Typography Scaling for Phones */
    .hero {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-text {
        padding: 0 12px;
    }

    .hero-text h1 {
        font-size: clamp(1.7rem, 7vw, 2rem) !important;
        line-height: 1.35;
        margin-bottom: 20px;
        letter-spacing: -0.2px;
        word-break: break-word;
    }

    .hero-text h1 .gradient-text {
        display: inline-block;
        margin-top: 6px;
        line-height: 1.25;
    }

    .hero-text h1 .gradient-text::after {
        height: 5px;
        bottom: 2px;
    }

    .hero-text p {
        font-size: clamp(0.95rem, 3.5vw, 1.05rem);
        line-height: 1.8;
        margin-bottom: 28px;
        padding: 0;
        color: rgba(255, 255, 255, 0.85);
    }

    .tech-orb {
        transform: scale(0.4);
        opacity: 0.9;
        border-width: 2px;
    }

    /* All orbs visibility for small phones */
    .orbit-1 {
        box-shadow: 0 0 12px rgba(33, 117, 155, 0.6), inset 0 0 12px rgba(33, 117, 155, 0.4);
    }

    .orbit-2 {
        box-shadow: 0 0 11px rgba(119, 123, 180, 0.6), inset 0 0 11px rgba(119, 123, 180, 0.4);
    }

    .orbit-3 {
        box-shadow: 0 0 14px rgba(255, 45, 32, 0.7), inset 0 0 14px rgba(255, 45, 32, 0.5);
    }

    .orbit-4 {
        box-shadow: 0 0 12px rgba(24, 119, 242, 0.6), inset 0 0 12px rgba(24, 119, 242, 0.4);
    }

    .orbit-5 {
        box-shadow: 0 0 12px rgba(234, 67, 53, 0.6), inset 0 0 12px rgba(234, 67, 53, 0.4);
    }

    .orbit-6 {
        box-shadow: 0 0 13px rgba(214, 36, 159, 0.7), inset 0 0 13px rgba(214, 36, 159, 0.5);
    }

    .hero-visual {
        height: 450px;
        width: 100%;
        max-width: 100%;
    }

    .hero-card {
        width: 180px;
        min-width: 180px;
        min-height: 220px;
    }
    
    .service-card-hh {
        padding: 12px 8px;
    }
    
    .image-sr-mm {
        height: 120px;
    }
    
    .image-sr-mm i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .hero-card h3 {
        font-size: 0.8rem;
    }
    
    .cards-track {
        gap: 10px;
    }

    /* Packages Section Small Phones */
    .packages .container {
        padding: 0 8px;
    }

    .packages .section-header h2 {
        font-size: 1.7rem;
    }

    /* Package Tabs Small Mobile */
    .package-tabs {
        gap: 8px;
        margin: 25px 0 35px;
    }

    .package-tab {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .pricing-container {
        padding: 20px 12px 50px;
        gap: 12px;
    }

    .pricing-card {
        min-width: calc(100vw - 56px);
        max-width: calc(100vw - 56px);
        padding: 25px 20px;
        border: 1px solid rgba(255, 215, 0, 0.2);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 215, 0, 0.1);
    }

    .pricing-card::before {
        border-radius: 20px;
        filter: blur(4px);
        opacity: 0.2;
    }

    .pricing-card:hover {
        border-color: rgba(255, 215, 0, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.15);
    }

    .pricing-card.featured {
        box-shadow: 
            0 6px 20px -4px rgba(255, 215, 0, 0.2),
            0 0 12px rgba(255, 215, 0, 0.15);
    }

    .pricing-card.featured::before {
        filter: blur(5px);
        opacity: 0.2;
    }

    .card-header .price-wrapper {
        flex-direction: row;
        gap: 6px;
        align-items: center;
        justify-content: center;
        margin: 5px 0 6px 0;
    }

    .card-header .old-price {
        font-size: 0.85rem;
        opacity: 0.6;
        line-height: 1;
    }

    .card-header .price {
        font-size: 1.7rem;
        line-height: 1;
    }

    .features-list {
        max-height: 180px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        position: absolute;
        transform: translateY(-50%);
    }

    .prev-btn {
        left: 3px !important;
        right: auto !important;
    }

    .next-btn {
        right: 3px !important;
        left: auto !important;
    }

    .hero-btns {
        flex-direction: row;
        gap: 10px;
    }

    .hero-btns .btn {
        flex: 1;
        min-width: 120px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .tech-orb {
        transform: scale(0.4);
        opacity: 0.85;
    }

    /* Instagram orb visibility for small phones */
    .orbit-6 {
        border-width: 2px;
        box-shadow: 0 0 12px rgba(214, 36, 159, 0.6), inset 0 0 12px rgba(214, 36, 159, 0.4);
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .intro-content h2 {
        font-size: 1.6rem;
    }

    /* Card Padding Fixes */
    .pricing-card,
    .testimonial-card,
    .portfolio-overlay {
        padding: 25px;
    }

    /* Portfolio Tabs Small Mobile */
    .portfolio-tabs {
        gap: 8px;
        margin: 25px 0 35px;
    }

    .portfolio-tab {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    /* Footer CTA */
    .footer-cta {
        padding: 30px 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-cta h2 {
        font-size: 1.5rem;
    }

    .footer-logo .btn-primary {
        width: 100%;
    }

    /* Footer Cleanup */
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        align-items: center;
        /* Center Flex Items */
    }

    .footer-links {
        flex-direction: column;
        /* Stack links vertically or remove line for horizontal center */
        gap: 20px;
        align-items: center;
        justify-content: center;
        width: 100%;
        display: flex;
        /* Ensure flex for centering */
    }

    .footer-logo {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-contact {
        align-items: center;
        text-align: center;
    }

    .footer-email {
        justify-content: center;
    }

    /* Prevent Horizontal Overflow */
    body,
    html {
        overflow-x: hidden;
        width: 100%;
    }
}

/* Thank You Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    max-width: 400px;
    max-height: 90vh;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Custom Scrollbar for Popup Content - Stylish */
.popup-content {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-primary) rgba(255, 255, 255, 0.05);
    scroll-behavior: smooth;
}

.popup-content::-webkit-scrollbar {
    width: 8px;
}

.popup-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin: 5px 0;
}

.popup-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand-primary) 0%, #ff9900 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.3);
}

.popup-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff9900 0%, var(--brand-primary) 100%);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), inset 0 0 5px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.4);
    transform: scaleX(1.1);
}

.popup-content::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #ffaa00 0%, #ffcc00 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

/* Glow behind popup */
.popup-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 60%);
    z-index: -1;
    animation: rotate 10s linear infinite;
}

.popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-primary), #fbbf24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #000;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.popup-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
}

.popup-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* How We Work CTA Button */
.hww-cta .btn-outline {
    padding: 10px 25px !important;
    font-size: 0.95rem !important;
    border-radius: 50px;
    border-width: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hww-cta .btn-outline i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.hww-cta .btn-outline:hover i {
    transform: rotate(20deg) scale(1.1);
    color: var(--brand-primary);
}

/* Payment Gateway Modal Styles */
.payment-modal {
    max-width: 500px;
    padding: 35px 30px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: rotate(90deg);
}

.payment-modal .payment-header {
    text-align: center;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.payment-modal .payment-header .popup-icon {
    background: linear-gradient(135deg, var(--brand-primary), #fbbf24);
    margin-bottom: 10px;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
}

.payment-modal .payment-header h2 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.payment-modal .package-info {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.payment-modal .package-info strong {
    color: white;
    font-size: 0.95rem;
}

.payment-modal .payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
    flex: 1;
    min-height: 0;
}

.payment-modal .payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--surface-1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    color: white;
    flex-shrink: 0;
}

.payment-option:hover {
    border-color: var(--brand-primary);
    background: rgba(255, 215, 0, 0.05);
    transform: translateX(5px);
}

.payment-option:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.payment-modal .payment-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--brand-primary);
    flex-shrink: 0;
}

.payment-icon.paypal-icon {
    background: rgba(0, 48, 135, 0.1);
    color: #003087;
}

.payment-modal .payment-details {
    flex: 1;
}

.payment-modal .payment-details h3 {
    font-size: 1.05rem;
    margin-bottom: 3px;
    color: white;
}

.payment-modal .payment-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.payment-option i.fa-chevron-right {
    color: var(--text-muted);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.payment-option:hover i.fa-chevron-right {
    transform: translateX(5px);
    color: var(--brand-primary);
}

.payment-modal .payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 8px;
    color: #00ff88;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: auto;
}

.payment-security i {
    font-size: 1.2rem;
}

/* Card Payment Form Modal */
.payment-form-modal {
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    padding: 30px 25px;
    text-align: left;
    overflow: hidden;
    box-sizing: border-box;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.payment-form-modal .payment-header {
    margin-bottom: 18px;
}

.payment-form-modal .payment-header .popup-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.payment-form-modal .payment-header h2 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.payment-form-modal .payment-header .package-info {
    margin-top: 8px;
    font-size: 0.9rem;
}

.payment-form-modal .payment-header .package-info strong {
    font-size: 0.95rem;
}

.card-payment-form {
    margin-top: 15px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}

.card-payment-form .form-group label {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

/* Custom Scrollbar Styling - Stylish */
.card-payment-form {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-primary) rgba(255, 255, 255, 0.05);
    scroll-behavior: smooth;
}

.card-payment-form::-webkit-scrollbar {
    width: 8px;
}

.card-payment-form::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin: 5px 0;
}

.card-payment-form::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand-primary) 0%, #ff9900 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.3);
}

.card-payment-form::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff9900 0%, var(--brand-primary) 100%);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), inset 0 0 5px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.4);
    transform: scaleX(1.1);
}

.card-payment-form::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #ffaa00 0%, #ffcc00 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.card-payment-form .form-group {
    margin-bottom: 10px;
}

.card-payment-form label {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
}

.card-payment-form input {
    width: 100%;
    padding: 10px 12px;
    background: var(--surface-1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.card-payment-form input:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: rgba(255, 215, 0, 0.05);
}

.card-payment-form input.error {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.05);
}

.card-payment-form input::placeholder {
    color: var(--text-muted);
}

.card-payment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.card-payment-form .error-message {
    display: block;
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-payment-form .error-message.show {
    opacity: 1;
}

.card-payment-form .payment-security {
    margin: 12px 0;
    padding: 8px 12px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    font-size: 0.8rem;
    border-radius: 6px;
}

.card-payment-form .payment-security i {
    color: #00ff88;
}

.card-payment-form .btn-full-width {
    width: 100%;
    margin-top: 10px;
}

.card-payment-form .btn-loader {
    display: none;
}

.card-payment-form button[disabled] .btn-text {
    display: none;
}

.card-payment-form button[disabled] .btn-loader {
    display: inline-block;
}

/* Responsive Styles for Payment Form Modal */
@media (max-width: 768px) {
    .popup-overlay {
        padding: 10px;
        align-items: center;
        justify-content: center;
    }
    
    .payment-form-modal {
        max-width: calc(100vw - 20px);
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        padding: 20px 18px;
        margin: 0;
        border-radius: 20px;
    }
    
    .card-payment-form {
        margin-top: 12px;
    }
    
    .card-payment-form .form-group {
        margin-bottom: 10px;
    }
    
    .card-payment-form .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .popup-content {
        max-width: calc(100vw - 20px);
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        padding: 25px 20px;
        margin: 0;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .popup-overlay {
        padding: 0;
        align-items: flex-start;
        padding-top: 10px;
    }
    
    .payment-form-modal {
        max-width: 100vw;
        width: 100vw;
        max-height: 100vh;
        height: 100vh;
        padding: 20px 15px;
        margin: 0;
        border-radius: 0;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    
    .payment-form-modal .payment-header {
        margin-bottom: 12px;
        flex-shrink: 0;
    }
    
    .payment-form-modal .payment-header h2 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .payment-form-modal .payment-header .package-info {
        font-size: 0.9rem;
    }
    
    .payment-form-modal .popup-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .card-payment-form {
        margin-top: 10px;
        flex: 1;
        min-height: 0;
    }
    
    .card-payment-form .form-group {
        margin-bottom: 10px;
    }
    
    .card-payment-form label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .card-payment-form input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .card-payment-form small {
        font-size: 0.75rem;
    }
    
    .card-payment-form .payment-security {
        margin: 12px 0;
        padding: 8px;
        font-size: 0.75rem;
    }
    
    .card-payment-form .btn-full-width {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .popup-content {
        max-width: 100vw;
        width: 100vw;
        max-height: 100vh;
        height: 100vh;
        padding: 20px 15px;
        margin: 0;
        border-radius: 0;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    
    .close-modal {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
}

/* Payment Thank You Modal */
.payment-thankyou {
    max-width: 600px;
    padding: 50px 40px;
}

.success-icon {
    background: linear-gradient(135deg, #00ff88, #00cc6f);
    width: 100px;
    height: 100px;
    font-size: 3rem;
    color: white;
    margin-bottom: 25px;
}

.thankyou-content {
    text-align: left;
    margin: 30px 0;
}

.thankyou-message {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    text-align: center;
}

.thankyou-message strong {
    color: var(--brand-primary);
}

.order-details {
    background: var(--surface-1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.detail-value {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.next-steps {
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid var(--brand-primary);
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
}

.next-steps h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: white;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.next-steps li i {
    color: var(--brand-primary);
    font-size: 0.9rem;
}