:root {
    --bg-dark: #000000;
    --bg-card: rgba(0, 0, 0, 0.7);
    --primary: #0d57ce;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --accent: #0ea5e9;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-text: linear-gradient(135deg, #ffffff 0%, #aea8df 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    position: relative;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
}

.container {
    max-width: 1400px;
    width: 92%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism Utility */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
}

/* Typography */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
}

p {
    color: var(--text-muted);
}

/* Buttons */
.btn {
    padding: 0.8rem 2.2rem; /* Reduced 1 step */
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(174, 168, 223, 0.2);
    border: 1px solid rgba(174, 168, 223, 0.3);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: white;
    backdrop-filter: blur(10px);
}

/* Fullscreen Gradient Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3; /* Moved further back */
    background: radial-gradient(circle at center, #051124 0%, #000000 100%);
}

.bg-glow, .bg-glow-2 {
    position: fixed;
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
    filter: blur(140px);
    opacity: 0.45;
}

.bg-glow {
    top: -10%;
    left: -10%;
}

.bg-glow-2 {
    bottom: -20%;
    right: -10%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, transparent 70%);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 8rem; /* Pushes content down a 'step' */
}

/* Hero Visual Enhancements */
.hero-visual-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(174, 168, 223, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(174, 168, 223, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}

.floating-item {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
}

.item-1 { width: 400px; height: 400px; background: var(--primary); top: -10%; left: -5%; }
.item-2 { width: 500px; height: 500px; background: var(--accent); bottom: -10%; right: -5%; }
.item-3 { width: 300px; height: 300px; background: #fff; top: 40%; left: 50%; opacity: 0.05; }


.hero-centered {
    width: 100%;
    text-align: center;
    z-index: 10;
}


.text-highlight-mode h1 {
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-description {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Header */
.main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 75px !important; /* Reduced 1 step */
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    border-bottom: 2px solid transparent !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.main-header.scrolled {
    background: rgba(2, 6, 23, 0.9) !important;
    backdrop-filter: blur(20px);
    height: 65px !important;
    border-bottom: 1px solid var(--glass-border) !important;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-left: 0.5rem; /* Pushes logo almost to the screen edge */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
}

.desktop-nav {
    margin-left: auto; /* Push nav and following items to the right */
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem; /* Reduced from 2.5rem */
}

.desktop-nav a:hover, .desktop-nav a.active {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.desktop-nav a {
    position: relative;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem; /* Slightly increased from 0.9rem */
    font-weight: 600;
    transition: 0.3s;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none; /* Hide on main desktop screen */
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.btn-book {
    padding: 0.6rem 1.6rem;
    position: relative;
    background: transparent;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
    border-radius: 12px;
}

.btn-book::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 1.5px; /* Precision 1px thin border */
    background: linear-gradient(90deg, #aea8df, #7a8fb4, #aea8df);
    background-size: 400% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: flowGradient 6s linear infinite;
}

@keyframes flowGradient {
    0% { background-position: 0% 0; }
    100% { background-position: 400% 0; }
}

.btn-book:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(174, 168, 223, 0.4);
}

.user-profile {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 120px 0 20px;
    background: #000;
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 100%; /* Expand to container width */
    margin: 0 auto;
    padding: 2rem 0; /* Padding is handled by container, but adjusting for inner spacing */
    text-align: center;
}

.about-text-container p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.8;
    text-align: justify;
}

.about-text-container strong {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 800;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specialty-item {
    padding: 0.5rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    min-height: 110px;
}

.specialty-icon {
    margin-bottom: 0.8rem;
    color: var(--primary);
    stroke-width: 1.5;
}

.specialty-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.specialty-icon-box {
    width: 52px;
    height: 52px;
    background: rgba(174, 168, 223, 0.08);
    border: 1px solid rgba(174, 168, 223, 0.2);
    border-radius: 50%; /* Fully Rounded/Circular */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    color: var(--primary);
    transition: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy smooth transition */
}

.specialty-item:hover .specialty-icon-box {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    transform: rotate(360deg) scale(1.15); /* 360 Degree Rotation */
}

.specialty-item h3 {
    color: var(--primary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.specialty-item p {
    font-size: 0.9rem;
    color: var(--text-muted) !important;
    text-align: center;
}

@media (max-width: 480px) {
    .specialties-grid {
        grid-template-columns: 1fr 1fr; /* 2 cards per line */
        gap: 1rem;
        padding: 1rem 0.5rem;
    }
    .specialty-item {
        padding: 0.8rem 0.3rem;
        min-height: 100px;
    }
    .specialty-item h3 {
        font-size: 0.85rem;
        text-align: center;
    }
    .specialty-item p {
        font-size: 0.75rem;
        text-align: center;
    }
    .specialty-icon-box {
        width: 40px;
        height: 40px;
    }
}

/* --- WORK SECTION (BLACKY THEME) --- */
.work-section {
    padding: 120px 0 80px;
    background: #000; /* Deep Black */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.work-section::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.1; 
    transform: translateY(-50%);
    z-index: -1;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Reduced size for more refined look */
    margin-bottom: 0.5rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    white-space: nowrap; /* Force single line */
}

.title-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.title-icon {
    color: var(--primary);
    opacity: 0.8;
}

.section-subtitle {
    color: var(--accent);
    font-size: 0.85rem; /* Reduced for more subtle hierarchy */
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.7; /* Slightly more transparent */
}

/* --- WORK FILTERS --- */
.work-filters {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-filter-title {
    display: none;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-3px);
}

.filter-btn.active {

    color: #ffffff;
}


.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 1.2rem;
    align-items: stretch;
}

.work-item {
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.work-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.work-img {
    height: 250px; 
    width: 100%;
    background: #1e293b;
    position: relative;
    overflow: hidden;
}

.preview-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.preview-video.active {
    opacity: 1;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.work-item:hover .play-overlay {
    opacity: 1;
}

.play-overlay svg {
    transform: scale(0.8);
    transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.work-item:hover .play-overlay svg {
    transform: scale(1);
}

.work-info {
    padding: 1.2rem;
}

.work-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--accent) !important;
    font-weight: 700;
}

.work-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

.work-category {
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
}

.work-date {
    color: var(--text-muted);
}

/* Tech Section Styles */
.tech-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 0.8rem;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.canva-box {
    background: linear-gradient(135deg, #00c4cc 0%, #7d2ae8 100%);
    border: none;
    box-shadow: 0 8px 16px rgba(0, 196, 204, 0.2);
}

.tech-card:hover .tech-icon-box {
    transform: translateY(-5px) rotate(5deg);
    border-color: var(--primary);
}

.canva-box svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.main-footer {
    padding: 80px 0 20px;
    background: radial-gradient(circle at center top, #051124 0%, #000000 100%);
    border-top: 1px solid rgba(174, 168, 223, 0.1);
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 87, 206, 0.1) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6rem;
}

.footer-info p {
    margin-top: 0.2rem;
    max-width: 450px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.desktop-nav a {
    position: relative;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem; /* Increased from 0.9rem */
    font-weight: 600;
    transition: 0.3s;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact p {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: block; /* Content will be inline inside */
}

.footer-contact span {
    font-weight: 700;
    color: var(--primary);
    margin-right: 0.5rem;
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    display: inline;
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-links h4 {
    margin-bottom: 2rem;
    color: white;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: white;
}



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

/* --- PACKAGES SECTION (BLACKY THEME) --- */
.packages-section {
    padding: 120px 0 20px;
    background: #000;
    position: relative;
    z-index: 1;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.package-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.package-card:hover {
    transform: translateY(-20px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.package-card.featured {
    border: 2px solid var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.popular-tag {
    position: absolute;
    top: -15px;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.package-features {
    list-style: none;
    width: 100%;
    margin-bottom: 3rem;
    text-align: left;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

.package-footer {
    width: 100%;
}

.package-footer .btn {
    width: 100%;
}

@media (max-width: 968px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 0.8rem;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px; 
        margin-right: 0.5rem;
        z-index: 999999; /* Ensure toggle stays above menu */
    }
    
    .mobile-toggle span {
        width: 28px;
        height: 2px;
        background: white;
        display: block;
        transition: 0.3s;
    }

    /* Full-Screen Glassy Masked Mobile Menu */
    .desktop-nav {
        position: fixed;
        top: -100vh; /* Start completely off-screen */
        left: 0;
        width: 100%;
        height: 100vh;
        /* Glassy Masked Background (Vignette) */
        background: radial-gradient(circle at center, rgba(15, 23, 42, 0.85) 0%, rgba(2, 6, 23, 0.98) 100%);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        display: flex; /* Always flex to allow transition */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 99999;
        opacity: 0;
        pointer-events: none;
        transition: top 0.8s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.5s ease;
    }

    .desktop-nav.active-mobile {
        top: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .desktop-nav ul {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .desktop-nav a {
        font-size: 2rem;
        font-weight: 800;
        color: white;
    }

    .btn-book {
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards in a single line */
        gap: 1rem;
    }

    .work-img {
        height: 140px; /* Slimmer images for 2-up layout */
    }

    .work-info {
        padding: 0.8rem;
    }

    .work-info h3 {
        font-size: 0.95rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-info p {
        margin: 1.5rem auto 0;
    }
    .social-icons {
        justify-content: center;
    }
}

/* Sticky Socials */
.sticky-socials {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-socials.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.social-item {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-item.ig { color: #E1306C; }
.social-item.fb { color: #1877F2; }
.social-item.yt { color: #FF0000; }
.social-item.wa { color: #25D366; }

.social-item:hover {
    color: white;
    transform: scale(1.1) rotate(360deg);
}

.social-item.ig:hover { background: #E1306C; }
.social-item.fb:hover { background: #1877F2; }
.social-item.yt:hover { background: #FF0000; }
.social-item.wa:hover { background: #25D366; }

.popular-tag {
    position: absolute;
    top: -15px;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.package-features {
    list-style: none;
    width: 100%;
    margin-bottom: 3rem;
    text-align: left;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

.package-footer {
    width: 100%;
}

.package-footer .btn {
    width: 100%;
}

@media (max-width: 968px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 0.8rem;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px; 
        margin-right: 0.5rem;
        z-index: 999999; /* Ensure toggle stays above menu */
    }
    
    .mobile-toggle span {
        width: 28px;
        height: 2px;
        background: white;
        display: block;
        transition: 0.3s;
    }

    /* Full-Screen Glassy Masked Mobile Menu */
    .desktop-nav {
        position: fixed;
        top: -100vh; /* Start completely off-screen */
        left: 0;
        width: 100%;
        height: 100vh;
        /* Glassy Masked Background (Vignette) */
        background: radial-gradient(circle at center, rgba(15, 23, 42, 0.85) 0%, rgba(2, 6, 23, 0.98) 100%);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        display: flex; /* Always flex to allow transition */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 99999;
        opacity: 0;
        pointer-events: none;
        transition: top 0.8s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.5s ease;
    }

    .desktop-nav.active-mobile {
        top: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .desktop-nav ul {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .desktop-nav a {
        font-size: 2rem;
        font-weight: 800;
        color: white;
    }

    .btn-book {
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards in a single line */
        gap: 1rem;
    }

    .work-img {
        height: 140px; /* Slimmer images for 2-up layout */
    }

    .work-info {
        padding: 0.8rem;
    }

    .work-info h3 {
        font-size: 0.95rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-info p {
        margin: 1.5rem auto 0;
    }
    .social-icons {
        justify-content: center;
    }
}

/* --- TECH STACK FLOWCHART --- */
.tech-stack-section {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-group {
    background: none;
    border: none;
    padding: 2rem 0;
    transition: 0.4s;
}

.tech-group-title {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.tech-group-title::after {
    content: "";
    height: 2px;
    flex: 1; /* Stretch to the right */
    background: linear-gradient(90deg, var(--primary) 0%, rgba(174, 168, 223, 0.4) 30%, transparent 100%);
    border-radius: 2px;
}
/* Removed ::before for left-aligned look */

.tech-flow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    max-width: 1400px;
    margin: 0 auto;
}

.tech-card {
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem; /* Tighter gap for smaller height */
    flex: 0 0 18% !important;
    max-width: 240px;
    min-width: 160px;
    height: 160px !important; /* FIXED 160px HEIGHT */
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3); 
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: "";
    position: absolute;
    top: 62%; /* Adjusted to sit between icon and text in 160px height */
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.tech-card:hover {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 1) 100%);
}

.tech-card:hover .tech-icon-box {
    transform: rotate(360deg) scale(1.1);
    border-radius: 50%;
    background: var(--primary);
    color: #000;
}

.tech-icon-box {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff; /* White text for icon text cases */
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.6s ease, border-radius 0.6s ease, background 0.6s ease;
}

.tech-icon-box svg {
    width: 32px;
    height: 32px;
}

/* Branded Colors */
.pr-box { background: #00005b; border: 2px solid #3131ff; color: #3131ff; }
.ae-box { background: #00005b; border: 2px solid #cf96ff; color: #cf96ff; }
.capcut-box { background: #000; border: 1px solid #fff; }
.canva-box { background: linear-gradient(45deg, #00c4cc, #7d2ae8); }
.accessory-box { background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.2); }

.tech-name {
    font-size: 1.15rem; /* Increased size by 1 step */
    font-weight: 700;
    color: #ffffff !important;
    text-align: center;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .tech-card {
        min-width: 220px;
        padding: 1.2rem 2rem;
    }
}

@media (max-width: 768px) {
    .tech-stack-section {
        margin-top: 4rem;
        padding-top: 2rem;
    }

    .tech-group-title {
        font-size: 0.95rem; /* Reduced for mobile */
        gap: 1rem;
    }

    .tech-group-title::after {
        opacity: 0.5; /* Fade out the line slightly on mobile */
    }

    .tech-flow-row {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 cards per line */
        gap: 1rem;
    }

    .tech-card {
        width: 100%;
        max-width: unset;
        min-width: unset;
        padding: 1.2rem 1rem;
    }

    .tech-name {
        font-size: 0.8rem;
    }

    .tech-icon-box {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .tech-group-title {
        text-align: left;
    }
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 10rem 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.section-header.centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 650px; /* Narrower for the centered look */
    margin: 0 auto;
}

.contact-bar {
    display: flex;
    align-items: center;
    padding: 1.2rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.contact-bar:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-right: 1.5rem;
    box-shadow: 
        inset 0 0 15px rgba(255, 255, 255, 0.05),
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 1px rgba(255, 255, 255, 0.1); /* Glassy edge shadow */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.contact-btn-pill {
    padding: 0.6rem 1.4rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
    font-size: 0.8rem;
}

.contact-btn-pill:hover {
    background: white;
    color: #000;
    transform: scale(1.05);
}

/* Social Bar Specifics */
.social-bar {
    padding: 1.5rem 2rem;
}

.contact-social-icons {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.8rem;
}

.social-block-link {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Default shadow */
}

.social-block-link svg {
    width: 22px;
    height: 22px;
}

/* Original Brand Colors */
.social-block-link.ig { color: #E1306C; }
.social-block-link.fb { color: #1877F2; }
.social-block-link.yt { color: #FF0000; }

.social-block-link.ig:hover { 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    color: white;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.4); /* IG Glow */
}
.social-block-link.fb:hover { 
    background: #1877F2; 
    color: white; 
    border-color: #1877F2; 
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.4); /* FB Glow */
}
.social-block-link.yt:hover { 
    background: #FF0000; 
    color: white; 
    border-color: #FF0000; 
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4); /* YT Glow */
}

.social-block-link:hover {
    transform: translateY(-5px) scale(1.1);
}

@media (max-width: 768px) {
    .contact-bar {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
    }

    .contact-icon-box {
        margin-right: 0;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }

    .contact-social-icons {
        justify-content: center;
    }

    .contact-value {
        font-size: 1.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .footer-info p {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-info .logo {
        justify-content: center;
    }
}
/* --- PAGINATION STYLES --- */
.work-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 5rem;
    position: relative;
    z-index: 10;
}

.page-btn, .page-num {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.page-btn:hover, .page-num:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

.page-num.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.page-btn svg {
    width: 20px;
    height: 20px;
}

.page-count {
    margin: 0 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .page-btn, .page-num {
        width: 40px;
        height: 40px;
    }
}
/* Video Modal Styles */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    width: 90%;
    max-width: 1000px;
    background: #0a0a0a;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal-overlay.active .video-modal-content {
    transform: scale(1);
}

.close-video-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.close-video-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-info {
    padding: 2rem;
    text-align: left;
}

.video-info h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.video-info p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Pagination Refined */
.work-pagination {
    margin-top: 5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.page-btn {
    width: 56px;
    height: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: scale(1.1);
}

.page-numbers {
    display: flex;
    gap: 0.8rem;
}

.page-num {
    width: 56px;
    height: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.2rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
    transition: 0.4s;
}

.page-num.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    box-shadow: 0 10px 20px rgba(13, 87, 206, 0.3);
}

.page-count {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        width: 100%;
        gap: 0;
    }

    .header-actions {
        margin-left: auto;
    }

    .mobile-toggle {
        display: flex !important;
        z-index: 10000;
        margin-right: 0.5rem;
    }

    .desktop-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        margin-left: 0;
    }

    .desktop-nav.active-mobile {
        right: 0;
    }

    .desktop-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .desktop-nav a {
        font-size: 1.5rem;
    }

    .video-modal-content {
        width: 95%;
        border-radius: 16px;
    }
    .video-info {
        padding: 1.5rem;
    }
    .video-info h2 {
        font-size: 1.4rem;
    }
    .tech-group-title {
        font-size: 1.5rem !important;
        white-space: normal; /* Allow 2 lines */
        line-height: 1.3;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .work-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        max-height: 54px; /* Show only active button */
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0 1.2rem;
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.02);
        cursor: pointer;
        width: 100% !important; /* Increased width */
        max-width: 100% !important;
    }

    .work-filters::before {
        display: none; /* Hide the label on mobile inside the box */
    }

    .work-filters.expand {
        max-height: 600px;
        background: rgba(2, 6, 23, 0.98);
        padding: 0.5rem 1.2rem;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .mobile-filter-title {
        display: none;
        position: relative;
    }

    .work-filters.expand .mobile-filter-title {
        display: block;
        order: 0;
        text-align: center;
        font-weight: 800;
        color: var(--accent);
        font-size: 0.8rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 0.5rem;
    }

    .work-filters.expand .mobile-filter-title::after {
        content: "▲";
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.7rem;
        opacity: 0.6;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
        border-radius: 8px;
        order: 2;
        padding: 0.8rem;
        margin: 0.2rem 0;
        display: none; /* Hide non-active by default */
        border: none;
        background: transparent;
    }

    .work-filters.expand .filter-btn {
        display: block;
    }

    .filter-btn.active {
        display: block; /* Always show active */
        order: 1;
        position: relative;
    }

    /* Original mobile styles below */
    .main-header .btn-book {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        text-align: center;
    }
    .nav-contact-btn {
        display: inline-block;
        padding: 0.8rem 2.5rem;
        background: var(--gradient-primary);
        border-radius: 100px;
        color: white;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.9rem;
    }
    .container {
        padding: 0 1.2rem;
    }
    .hero-content {
        width: 100%;
        padding: 0;
    }
    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }
    .tech-group-title {
        font-size: 1.3rem !important;
        text-align: center;
    }
    .hero-description {
        font-size: 0.95rem !important;
        line-height: 1.6;
        margin-top: 1.5rem;
    }
    .about-fade-text {
        font-size: 0.9rem;
        text-align: justify;
    }

    .work-meta {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.3rem !important;
    }

    .work-meta .meta-dot {
        display: none !important;
    }

    .work-meta span {
        display: block;
    }
}

.mobile-only {
    display: none;
}
