/* ==========================================================================
   VAISHALI MEDIA WORKS - 3D EXPERIENCE & MODERN STYLING ENGINE
   ========================================================================== */

:root {
    --primary-blue: #8a1236;
    --primary-gradient: linear-gradient(135deg, #6b0e27 0%, #8a1236 50%, #c4758a 100%);
    --accent-cyan: #2dd4bf;
    --accent-purple: #0d9488;
    --accent-gold: #f59e0b;
    --card-glass-bg: rgba(255, 255, 255, 0.45);
    --card-glass-border: rgba(255, 255, 255, 0.7);
    --card-glass-shadow: 0 20px 40px -10px rgba(138, 18, 54, 0.15), 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --text-dark: #0f172a;
    --text-muted: #475569;
}

/* Global 3D Perspective Context */
/* Never let anything widen the page sideways on phones.
   clip (unlike hidden) keeps position: sticky working; hidden is the fallback for old browsers.
   No perspective on body: it would turn position: fixed children (navbar, glow orbs) into
   scrolling elements. Tilt cards set their own perspective in JS. */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    overflow-x: hidden;
    overflow-x: clip;
    position: relative;
    background: linear-gradient(135deg, #a63a52 0%, #c4758a 30%, #eccdd4 70%, #fdf3f5 100%) fixed;
    font-family: "Epilogue", system-ui, -apple-system, sans-serif !important;
    color: #1e293b;
    margin: 0;
    padding: 0;
}

/* Ambient Floating 3D Glowing Orbs in Background */
.bg-ambient-orb-1,
.bg-ambient-orb-2,
.bg-ambient-orb-3 {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.bg-ambient-orb-1 {
    width: 45vw;
    height: 45vw;
    top: -10vw;
    left: -10vw;
    background: radial-gradient(circle, rgba(255, 200, 100, 0.45) 0%, rgba(255, 150, 50, 0) 70%);
    animation: orbFloat1 18s ease-in-out infinite alternate;
}

.bg-ambient-orb-2 {
    width: 40vw;
    height: 40vw;
    bottom: -10vw;
    right: -10vw;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.45) 0%, rgba(138, 18, 54, 0) 70%);
    animation: orbFloat2 22s ease-in-out infinite alternate;
}

.bg-ambient-orb-3 {
    width: 35vw;
    height: 35vw;
    top: 40vh;
    left: 30vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(13, 148, 136, 0) 70%);
    animation: orbFloat3 26s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 80px) scale(1.15); }
}

@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, -60px) scale(1.2); }
}

@keyframes orbFloat3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 70px) scale(0.9); }
}

/* Navbar 3D Frosted Glass */
.menu.cid-uQlH2TT71B .navbar {
    background: rgba(255, 255, 255, 0.72) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12) !important;
    padding: 0.65rem 2rem !important;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo img {
    height: 46px !important;
    max-height: 46px !important;
    width: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(220, 38, 38, 0.2));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.navbar-brand:hover .navbar-logo img {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 6px 14px rgba(220, 38, 38, 0.35));
}

.navbar-caption-wrap .navbar-caption {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #4a0a1d, #8a1236, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 600 !important;
    color: #1e293b !important;
    position: relative;
    padding: 0.5rem 1.1rem !important;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8a1236, #0d9488);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-cta-btn {
    padding: 8px 20px !important;
    font-size: 0.95rem !important;
    margin-left: 12px;
}

/* ==========================================================================
   HERO 3D SECTION & CANVAS
   ========================================================================== */
.hero-3d-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 20px 80px 20px;
    z-index: 2;
}

#hero-3d-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

.hero-content-box {
    position: relative;
    z-index: 5;
    pointer-events: auto;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 32px;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 25px 60px -15px rgba(74, 10, 29, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    transform-style: preserve-3d;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(138, 18, 54, 0.3);
    box-shadow: 0 6px 20px rgba(138, 18, 54, 0.15);
    font-weight: 800;
    font-size: 0.88rem;
    color: #6b0e27;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    transform: translateZ(25px);
}

.hero-title-main {
    font-size: clamp(2.5rem, 6vw, 4.2rem) !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    color: #0f172a !important;
    letter-spacing: -1px;
    margin-bottom: 20px;
    transform: translateZ(35px);
}

.hero-title-gradient {
    background: linear-gradient(135deg, #6b0e27 0%, #8a1236 40%, #0d9488 75%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtext-main {
    font-size: clamp(1.1rem, 2vw, 1.3rem) !important;
    font-weight: 500 !important;
    color: #334155 !important;
    line-height: 1.65 !important;
    max-width: 720px;
    margin: 0 auto 34px auto;
    transform: translateZ(25px);
}

.hero-btn-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transform: translateZ(40px);
}

/* Floating 3D Holographic Badges */
.floating-3d-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(74, 10, 29, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    font-weight: 700;
    font-size: 0.92rem;
    color: #1e293b;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 6;
}

.floating-3d-chip:hover {
    transform: translateY(-8px) scale(1.08) translateZ(50px) !important;
    box-shadow: 0 25px 50px rgba(138, 18, 54, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.chip-pos-1 { top: 18%; left: 6%; animation: float3d-1 6.5s ease-in-out infinite; }
.chip-pos-2 { top: 25%; right: 6%; animation: float3d-2 7.5s ease-in-out infinite 0.6s; }
.chip-pos-3 { bottom: 15%; left: 8%; animation: float3d-3 8.5s ease-in-out infinite 1.2s; }
.chip-pos-4 { bottom: 18%; right: 8%; animation: float3d-1 8s ease-in-out infinite 1.8s; }

@keyframes float3d-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(2deg); }
}

@keyframes float3d-2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-22px) rotate(-2deg); }
}

@keyframes float3d-3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1.5deg); }
}

@media (max-width: 991px) {
    .floating-3d-chip {
        display: none !important;
    }
}

/* ==========================================================================
   3D TACTILE BUTTONS
   ========================================================================== */
.btn-3d-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px !important;
    border-radius: 50px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #8a1236, #6b0e27) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 10px 25px -4px rgba(138, 18, 54, 0.5), 0 4px 10px rgba(138, 18, 54, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    text-decoration: none !important;
    cursor: pointer;
}

.btn-3d-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 35px -4px rgba(138, 18, 54, 0.6), 0 6px 15px rgba(138, 18, 54, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important;
}

.btn-3d-primary:active {
    transform: translateY(1px) scale(0.98);
}

.btn-3d-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px !important;
    border-radius: 50px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #4a0a1d !important;
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 22px rgba(74, 10, 29, 0.12) !important;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    text-decoration: none !important;
    cursor: pointer;
}

.btn-3d-secondary:hover {
    transform: translateY(-4px) scale(1.03);
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 16px 32px rgba(74, 10, 29, 0.2) !important;
    color: #6b0e27 !important;
}

.btn-3d-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.5) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.btn-3d-whatsapp:hover {
    box-shadow: 0 16px 35px -4px rgba(37, 211, 102, 0.65) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   3D STATS COUNTER STRIP
   ========================================================================== */
.stats-3d-container {
    position: relative;
    z-index: 10;
    margin-top: -30px;
    margin-bottom: 70px;
}

.stat-pod-3d {
    text-align: center;
    padding: 28px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(138, 18, 54, 0.12);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
}

.stat-pod-3d:hover {
    transform: translateY(-8px) scale(1.04) translateZ(20px);
    box-shadow: 0 25px 45px rgba(138, 18, 54, 0.22);
    background: rgba(255, 255, 255, 0.85);
}

.stat-pod-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(138, 18, 54, 0.3));
    transform: translateZ(25px);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, #6b0e27, #8a1236, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
    transform: translateZ(30px);
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: translateZ(15px);
}

/* ==========================================================================
   3D TILT CARDS & GLASS PANELS
   ========================================================================== */
.tilt-card {
    position: relative;
    border-radius: 24px !important;
    background: var(--card-glass-bg) !important;
    border: 1px solid var(--card-glass-border) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--card-glass-shadow) !important;
    transform-style: preserve-3d;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}

.tilt-card:hover {
    border-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 30px 65px -10px rgba(138, 18, 54, 0.25), 0 15px 30px -5px rgba(0, 0, 0, 0.08) !important;
}

.tilt-depth-1 { transform: translateZ(15px); }
.tilt-depth-2 { transform: translateZ(30px); }
.tilt-depth-3 { transform: translateZ(45px); }

/* Glare overlay */
.card-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.45), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.tilt-card:hover .card-glare {
    opacity: 1;
}

/* Services 3D Cards */
.service-icon-3d {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(138, 18, 54, 0.15), rgba(20, 184, 166, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: #8a1236;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(138, 18, 54, 0.12);
    transition: transform 0.35s ease;
}

.tilt-card:hover .service-icon-3d {
    transform: scale(1.1) translateZ(25px) rotate(-4deg);
}

/* ==========================================================================
   PRICING & PRODUCTS 3D SECTION
   ========================================================================== */
.pricing-card-3d {
    padding: 36px 30px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 480px;
    background: rgba(255, 255, 255, 0.5) !important;
}

.pricing-card-3d.popular-pkg {
    border: 2px solid #8a1236 !important;
    background: rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 25px 55px -10px rgba(138, 18, 54, 0.3) !important;
    transform: scale(1.02);
}

.popular-badge-pill {
    position: absolute;
    top: -14px;
    right: 28px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.45);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transform: translateZ(35px);
}

.pricing-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #4a0a1d;
    line-height: 1.3;
    margin-bottom: 16px;
    transform: translateZ(20px);
}

.price-tag-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    transform: translateZ(25px);
}

.price-pill-year {
    background: rgba(138, 18, 54, 0.12);
    color: #6b0e27;
    font-weight: 800;
    font-size: 1.12rem;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(138, 18, 54, 0.25);
}

.price-pill-month {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    font-weight: 800;
    font-size: 1.12rem;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.feature-check-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 28px;
    transform: translateZ(15px);
}

.feature-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.02rem;
    font-weight: 600;
    color: #334155;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.25);
}

.feature-check-list li:last-child {
    border-bottom: none;
}

.feature-check-list i {
    font-size: 1.25rem;
    color: #10b981;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.25));
}

/* ==========================================================================
   CLIENTS 3D CARDS
   ========================================================================== */
.client-card-3d {
    padding: 30px !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.58) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 15px 35px rgba(138, 18, 54, 0.12) !important;
    height: 100%;
}

.client-logo-img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s ease;
    transform: translateZ(25px);
}

.client-card-3d:hover .client-logo-img {
    transform: scale(1.08) translateZ(35px);
}

.client-name-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #4a0a1d;
    margin-bottom: 6px;
    transform: translateZ(20px);
}

/* ==========================================================================
   CONTACT 3D SECTION & FORM
   ========================================================================== */
.contact-3d-panel {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 28px !important;
    padding: 40px !important;
    box-shadow: 0 20px 50px rgba(138, 18, 54, 0.15) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.form-control-3d {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(203, 213, 225, 0.85) !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    font-size: 1rem !important;
    color: #1e293b !important;
    font-weight: 500;
    transition: all 0.25s ease !important;
}

.form-control-3d:focus {
    background: #ffffff !important;
    border-color: #a63a52 !important;
    box-shadow: 0 0 0 4px rgba(166, 58, 82, 0.2), 0 8px 16px rgba(166, 58, 82, 0.1) !important;
    outline: none !important;
    transform: translateY(-2px);
}

.contact-card-3d {
    padding: 34px !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.58) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    text-align: center;
    height: 100%;
}

.contact-icon-bubble {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a1236, #0d9488);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 16px;
    box-shadow: 0 10px 20px rgba(138, 18, 54, 0.3);
    transform: translateZ(25px);
}

/* Floating WhatsApp / Quick Contact Widget */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-whatsapp-btn:hover {
    transform: scale(1.12) rotate(8deg);
    color: #ffffff !important;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ==========================================================================
   ANIMATION CLASSES (FIXES MISSING CSS IN ORIGINAL CODE)
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-up {
    transform: translateY(40px);
}

.animate-fade-down {
    transform: translateY(-40px);
}

.animate-fade-left {
    transform: translateX(40px);
}

.animate-fade-right {
    transform: translateX(-40px);
}

.animate-zoom-in {
    transform: scale(0.85);
}

.animate-on-scroll.is-visible {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}

.delay-100 { transition-delay: 0.1s !important; }
.delay-200 { transition-delay: 0.2s !important; }
.delay-300 { transition-delay: 0.3s !important; }
.delay-400 { transition-delay: 0.4s !important; }
.delay-500 { transition-delay: 0.5s !important; }

/* Phones & tablets: slide in from below instead of from the side, so cards
   never start outside the screen and widen the page */
@media (max-width: 991px) {
    .animate-fade-left,
    .animate-fade-right {
        transform: translateY(30px);
    }
}

/* Phones: Bootstrap's widest gutter (g-5) is wider than the container padding */
@media (max-width: 575.98px) {
    .g-5,
    .gx-5 {
        --bs-gutter-x: 1.5rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content-box {
        padding: 24px 18px;
    }
    .pricing-card-3d.popular-pkg {
        transform: none;
    }
    .contact-3d-panel {
        padding: 24px 16px !important;
    }
    .hero-btn-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-3d-primary, .btn-3d-secondary {
        width: 100%;
    }
}

/* ==========================================================================
   ENHANCED UI POLISH & MICRO-INTERACTIONS
   ========================================================================== */

/* Crisp Hamburger Toggle */
.navbar-toggler {
    border: none !important;
    padding: 8px 12px !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hamburger {
    position: relative;
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #4a0a1d;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Card Glow Effect on Hover */
.tilt-card {
    transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.tilt-card:hover {
    border-color: rgba(196, 117, 138, 0.8) !important;
    box-shadow: 0 25px 50px -12px rgba(138, 18, 54, 0.25), 0 0 25px rgba(166, 58, 82, 0.15) !important;
}

/* Section Title Accents */
.display-3, .display-4 {
    letter-spacing: -0.03em;
}

/* Badge Glow */
.badge.bg-primary {
    background: linear-gradient(135deg, #6b0e27, #a63a52) !important;
    box-shadow: 0 4px 14px rgba(138, 18, 54, 0.3);
    font-weight: 700;
    letter-spacing: 0.8px;
}

/* Service Card Hover Accent */
.tilt-card:hover .service-icon-3d {
    background: linear-gradient(135deg, #8a1236, #0d9488);
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(138, 18, 54, 0.35);
}

/* Verified Client Badge */
.bg-success-subtle {
    background-color: rgba(16, 185, 129, 0.12) !important;
    color: #059669 !important;
}

/* Smooth Focus States */
a:focus-visible, button:focus-visible {
    outline: 3px solid #a63a52 !important;
    outline-offset: 2px !important;
}

/* Selection Color */
::selection {
    background: rgba(138, 18, 54, 0.25);
    color: #4a0a1d;
}
