/* Center search bar only on Z7 TV page */
.z7tv-search-nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}
.z7tv-search-container-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    box-shadow: none;
}
.z7tv-search-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 600px) {
    .search-nav {
        padding: 8px 0;
    }
    .search-container {
        max-width: 100% !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        position: relative;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .search-input {
        font-size: 16px;
        padding: 8px 12px;
        border-radius: 15px;
        width: 100% !important;
        flex: 1 1 0%;
        min-width: 0;
        -webkit-text-size-adjust: 100%;
        -webkit-appearance: none;
        appearance: none;
        -webkit-tap-highlight-color: transparent;
    }
}
/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Exo+2:wght@400;500;600;700&family=Rajdhani:wght@400;500;600;700&family=Audiowide&family=Iceberg&display=swap');

/* Browser compatibility and consistent rendering */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color-scheme: dark;
}

/* Reduce animation complexity on lower-end devices */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Reset and Base Styles with Cross-Browser Compatibility */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

/* Ensure consistent font rendering across browsers */
body, 
input, 
textarea, 
select, 
button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Universe Galaxy Background - Cross-browser compatible */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #1b2735;
    background: -webkit-radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    background: -moz-radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    /* Cross-browser performance optimizations */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    min-height: 100vh;
    /* Force hardware acceleration */
    will-change: transform;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, #eeeeee, transparent),
        radial-gradient(1px 1px at 90px 40px, #ffffff, transparent),
        radial-gradient(2px 2px at 160px 30px, #dddddd, transparent),
        radial-gradient(1px 1px at 30px 80px, #ffffff, transparent),
        radial-gradient(2px 2px at 120px 90px, #eeeeee, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: galaxyMove 250s linear infinite;
    z-index: -1;
    opacity: 0.6;
    /* Cross-browser performance optimizations */
    will-change: transform;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 50px 100px, #8B0000, transparent),
        radial-gradient(1px 1px at 250px 120px, #FFD700, transparent),
        radial-gradient(1px 1px at 450px 40px, #191970, transparent);
    background-repeat: repeat;
    background-size: 500px 200px;
    animation: galaxyMove 350s linear infinite reverse;
    z-index: -1;
    opacity: 0.25;
    /* Performance optimizations */
    will-change: transform;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes galaxyMove {
    from {
        transform: translateX(0px);
    }
    to {
        transform: translateX(-200px);
    }
}

@keyframes starsTwinkle {
    0% {
        opacity: 0.3;
    }
    25% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.5;
    }
    75% {
        opacity: 0.9;
    }
    100% {
        opacity: 0.3;
    }
}

@keyframes starsTwinkle2 {
    0% {
        opacity: 0.7;
    }
    20% {
        opacity: 0.3;
    }
    60% {
        opacity: 0.9;
    }
    80% {
        opacity: 0.4;
    }
    100% {
        opacity: 0.7;
    }
}

@keyframes starsTwinkle3 {
    0% {
        opacity: 0.5;
    }
    30% {
        opacity: 0.9;
    }
    70% {
        opacity: 0.2;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.5;
    }
}

@keyframes starsTwinkle4 {
    0% {
        opacity: 0.4;
    }
    40% {
        opacity: 0.8;
    }
    65% {
        opacity: 0.6;
    }
    85% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.4;
    }
}

/* Content sections with galaxy-friendly backgrounds */
.hero, .services, .portfolio, .about, .contact {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8) 0%, rgba(25, 25, 112, 0.8) 100%) !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    margin: 20px 0;
    padding: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* About section darker background for Safari compatibility */
.about {
    background: rgba(0, 0, 0, 0.8) !important;
}

/* Hero section special styling */
.hero {
    background: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* Services Hero Section - Professional layout and positioning */
.services-hero {
    background: linear-gradient(135deg, #8B0000 0%, #191970 100%) !important;
    padding: 60px 0 60px;
    text-align: center;
    position: relative;
    min-height: auto;
}

.services-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.services-hero-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    font-weight: 600;
}

.services-hero-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #FFD700;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out;
    backdrop-filter: blur(10px);
}

.hero-actions {
    margin-top: 0.5rem;
}

html {
    scroll-behavior: smooth;
}

/* Container with galaxy-friendly background */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Royal Colors for Z7 Branding */
.z-red {
    color: #8B0000;
    font-size: 2rem;
    font-weight: 800;
}

.seven-blue {
    color: #191970;
    font-size: 2rem;
    font-weight: 800;
}

@keyframes globeSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes colorPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Header & Navigation with galaxy compatibility */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    display: inline-block;
    text-decoration: none;
}

.nav-logo .brand-text {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Orbitron', 'Exo 2', 'Rajdhani', monospace;
    animation: brandGlow 3s ease-in-out infinite;
    letter-spacing: 1px;
}

.nav-logo .brand-text .z-red,
.nav-logo .brand-text .seven-blue {
    display: inline;
    transition: all 0.3s ease;
}

.nav-logo .brand-text .z-red {
    color: #8B0000;
    animation: colorAlternateZ 6s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(139, 0, 0, 0.3);
}

.nav-logo .brand-text .seven-blue {
    color: #191970;
    animation: colorAlternateSeven 6s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(25, 25, 112, 0.3);
}

/* Navigation universe text - starts immediately */
.nav-logo .brand-text .universe-text {
    color: #000000;
    font-weight: 600;
    font-size: 0.7rem;
    margin-left: 4px;
    font-family: 'Orbitron', 'Exo 2', 'Rajdhani', monospace;
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    animation: universeColorCycle 15s ease-in-out infinite;
    transition: all 0.3s ease;
}

@keyframes universeColorCycle {
    0%, 30% { 
        color: #000000;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
    35%, 65% { 
        color: #191970;
        text-shadow: 0 0 8px rgba(25, 25, 112, 0.5);
    }
    70%, 100% { 
        color: #8B0000;
        text-shadow: 0 0 8px rgba(139, 0, 0, 0.5);
    }
}

/* General universe-text animation for all instances */
.universe-text {
    animation: colorCycle 12s ease-in-out infinite;
    animation-delay: 3s; /* Default delay */
    transition: all 0.3s ease;
}

/* Footer copyright Z7 Universe - animated as one unit */
.footer-bottom .footer-brand-animated {
    animation: colorCycle 12s ease-in-out infinite;
    animation-delay: 3s;
    transition: all 0.3s ease;
}

/* Footer copyright Z7 text styling - override global colors for animation */
.footer-bottom .footer-brand-animated .z-red {
    color: inherit !important;
    font-weight: 600 !important;
    font-size: 0.9em !important;
}

.footer-bottom .footer-brand-animated .seven-blue {
    color: inherit !important;
    font-weight: 600 !important;
    font-size: 0.9em !important;
}

.footer-bottom .footer-brand-animated .universe-text {
    color: inherit !important;
}

/* Galaxy Stars Effect */
.galaxy-container {
    position: relative;
    display: inline-block;
}

.galaxy-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 0;
    animation: starBlink 3.5s ease-in-out infinite;
    /* Performance optimizations */
    will-change: opacity;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Star Colors - Christmas Theme */
.star-red {
    background: #DC143C;
    box-shadow: 0 0 3px #DC143C, 0 0 6px #DC143C;
    animation-delay: 0s;
}

.star-blue {
    background: #228B22;
    box-shadow: 0 0 3px #228B22, 0 0 6px #228B22;
    animation-delay: 0.5s;
}

.star-green {
    background: #228B22;
    box-shadow: 0 0 3px #228B22, 0 0 6px #228B22;
    animation-delay: 1s;
}

.star-pink {
    background: #B22222;
    box-shadow: 0 0 3px #B22222, 0 0 6px #B22222;
    animation-delay: 1.5s;
}

.star-purple {
    background: #32CD32;
    box-shadow: 0 0 3px #32CD32, 0 0 6px #32CD32;
    animation-delay: 2s;
}

.star-gold {
    background: #FFD700;
    box-shadow: 0 0 3px #FFD700, 0 0 6px #FFD700;
    animation-delay: 2.5s;
}

.star-white {
    background: #DC143C;
    box-shadow: 0 0 3px #DC143C, 0 0 6px #DC143C;
    animation-delay: 0.3s;
}

/* Star Blinking Animation */
@keyframes starBlink {
    0%, 100% { 
        opacity: 0;
        transform: scale(0.8);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Star Twinkling Animation */
@keyframes starTwinkle {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
        filter: brightness(1);
    }
    25% { 
        opacity: 1;
        transform: scale(1.3);
        filter: brightness(1.5);
    }
    50% { 
        opacity: 0.5;
        transform: scale(0.9);
        filter: brightness(0.8);
    }
    75% { 
        opacity: 0.9;
        transform: scale(1.1);
        filter: brightness(1.2);
    }
}

.star-twinkle {
    animation: starTwinkle 2s ease-in-out infinite;
}

.footer-brand .brand-text {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Footer brand universe text - delayed */
.footer-brand .brand-text .universe-text {
    color: #999;
    font-weight: 400;
    font-size: 0.9rem;
    margin-left: 2px;
    animation: colorCycle 12s ease-in-out infinite;
    animation-delay: 8s;
    transition: all 0.3s ease;
}

.nav-logo span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

/* Logo Image Styling */
.logo-image {
    height: 50px;
    width: auto;
    margin-right: 10px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.footer-logo-image {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    opacity: 0.9;
}

/* Hero TikTok Live Section */
.hero-live-section {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    animation: fadeInUp 1.5s ease-out 0.5s both;
    padding: 0 20px;
}

.youtube-release-section {
    margin-top: 1rem;
}

.live-banner {
    background: linear-gradient(135deg, #8B0000, #191970, #8B0000);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite, liveBounce 6s ease-in-out infinite;
    padding: 0.8rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.live-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s linear infinite;
    pointer-events: none;
}

.live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 0, 0, 0.3);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.live-dot {
    width: 12px;
    height: 12px;
    background-color: #ff0000 !important;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.live-dot-camera {
    background-color: #ffffff !important;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.7);
    animation: cameraDotPulse 1.8s ease-in-out infinite;
}

/* Up Next dot color cycle (YouTube) - blue -> red -> white -> gold */
@keyframes upnextColorCycle {
    0% {
        background-color: #191970; /* blue */
        box-shadow: 0 0 14px rgba(25, 25, 112, 0.8);
        transform: scale(1);
    }
    25% {
        background-color: #ff0000; /* red */
        box-shadow: 0 0 16px rgba(255, 0, 0, 0.85);
        transform: scale(1.05);
    }
    50% {
        background-color: #ffffff; /* white */
        box-shadow: 0 0 18px rgba(255, 255, 255, 0.95);
        transform: scale(1.1);
    }
    75% {
        background-color: #FFD700; /* gold */
        box-shadow: 0 0 18px rgba(255, 215, 0, 0.9);
        transform: scale(1.05);
    }
    100% {
        background-color: #191970; /* back to blue */
        box-shadow: 0 0 14px rgba(25, 25, 112, 0.8);
        transform: scale(1);
    }
}

/* Apply the color cycle specifically to the YouTube indicator dot */
.youtube-indicator .live-dot {
    background-color: #191970 !important;
    animation: cameraDotPulse 1.8s ease-in-out infinite, upnextColorCycle 4s linear infinite;
}

/* Navigation Live Dot */
.live-dot-nav {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #ff0000;
    border-radius: 50%;
    animation: livePulseColors 3s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.6);
    margin-left: 3px;
    vertical-align: middle;
}

/* Footer Live Dot - Blue with different timing */
.live-dot-footer {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #191970;
    border-radius: 50%;
    animation: livePulseColorsFooter 4s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(25, 25, 112, 0.6);
    margin-left: 3px;
    vertical-align: middle;
}

.live-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tiktok-icon {
    font-size: 2rem;
    animation: tikTokSpin 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.live-content {
    color: white;
}

.live-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.premiere-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.18);
    color: #FFD700;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 215, 0, 0.45);
    box-shadow: 0 8px 18px rgba(255, 215, 0, 0.12);
}

.countdown-container {
    margin-bottom: 0.8rem;
}

.countdown-text {
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
    opacity: 0.9;
    font-weight: 500;
}

.countdown-timer {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    color: white;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 0.3rem;
    background: rgba(25, 25, 112, 0.3);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-schedule {
    font-size: 0.6rem;
    opacity: 0.8;
    font-weight: 600;
}

.live-join-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(139, 0, 0, 0.4);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.upnext-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(218, 165, 32, 0.5);
    color: #000;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.upnext-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(218, 165, 32, 0.35);
    background: rgba(255, 215, 0, 0.65);
}

.youtube-release-banner {
    /* Static black-to-gold background to reduce visual clutter
       Keep the bounce animation but disable the gradient shift. */
    background: linear-gradient(135deg, #000000 0%, #FFD700 100%);
    background-size: 100% 100%;
    animation: liveBounce 5s ease-in-out infinite;
}

.camera-icon {
    font-size: 2rem;
    animation: cameraPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.live-join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.4);
    background: rgba(25, 25, 112, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: buttonGlow 3s linear infinite;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes liveBounce {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-5px) scale(1.02); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes tikTokSpin {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}

@keyframes buttonGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes cameraDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 14px rgba(255, 255, 255, 0.7);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.15);
        box-shadow: 0 0 22px rgba(255, 255, 255, 0.85);
    }
}

@keyframes livePulseColors {
    0% {
        background-color: #ff0000;
        box-shadow: 0 0 6px rgba(255, 0, 0, 0.6);
        opacity: 1;
        transform: scale(1);
    }
    33% {
        background-color: #191970;
        box-shadow: 0 0 6px rgba(25, 25, 112, 0.6);
        opacity: 0.8;
        transform: scale(1.2);
    }
    66% {
        background-color: #000000;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
        opacity: 0.6;
        transform: scale(1.1);
    }
    100% {
        background-color: #ff0000;
        box-shadow: 0 0 6px rgba(255, 0, 0, 0.6);
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes livePulseColorsFooter {
    0% {
        background-color: #191970;
        box-shadow: 0 0 6px rgba(25, 25, 112, 0.6);
        opacity: 1;
        transform: scale(1);
    }
    33% {
        background-color: #000000;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
        opacity: 0.7;
        transform: scale(1.3);
    }
    66% {
        background-color: #ff0000;
        box-shadow: 0 0 6px rgba(255, 0, 0, 0.6);
        opacity: 0.5;
        transform: scale(1.1);
    }
    100% {
        background-color: #191970;
        box-shadow: 0 0 6px rgba(25, 25, 112, 0.6);
        opacity: 1;
        transform: scale(1);
    }
}

/* Brand Logo Animations */
@keyframes brandGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(139, 0, 0, 0.2));
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(25, 25, 112, 0.4));
    }
}

@keyframes colorCycle {
    0% { 
        color: #000000;
    }
    20% { 
        color: #8B0000;
    }
    40% { 
        color: #191970;
    }
    60% { 
        color: #4B0082;
    }
    80% { 
        color: #2F4F4F;
    }
    100% { 
        color: #000000;
    }
}

@keyframes letterPulse {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 0 0 10px rgba(139, 0, 0, 0.3);
    }
    50% { 
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(139, 0, 0, 0.6);
    }
}

/* Alternating color animations for Z and 7 */
@keyframes colorAlternateZ {
    0%, 45% { 
        color: #8B0000;
        text-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
    }
    50%, 95% { 
        color: #191970;
        text-shadow: 0 0 10px rgba(25, 25, 112, 0.5);
    }
    100% { 
        color: #8B0000;
        text-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
    }
}

@keyframes colorAlternateSeven {
    0%, 45% { 
        color: #191970;
        text-shadow: 0 0 10px rgba(25, 25, 112, 0.5);
    }
    50%, 95% { 
        color: #8B0000;
        text-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
    }
    100% { 
        color: #191970;
        text-shadow: 0 0 10px rgba(25, 25, 112, 0.5);
    }
}

@keyframes colorCycle {
    0% { 
        color: #8B0000;
        opacity: 0.8;
        text-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
    }
    25% { 
        color: #191970;
        opacity: 1;
        text-shadow: 0 0 10px rgba(25, 25, 112, 0.5);
    }
    50% { 
        color: #B8860B;
        opacity: 1;
        text-shadow: 0 0 15px rgba(184, 134, 11, 0.6);
    }
    75% { 
        color: #ffffff;
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }
    100% { 
        color: #8B0000;
        opacity: 0.8;
        text-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
    }
}

/* Hover effect for the entire brand */
.nav-logo:hover .brand-text .z-red {
    transform: rotateY(360deg) scale(1.1);
    transition: transform 0.8s ease;
}

.nav-logo:hover .brand-text .seven-blue {
    transform: rotateX(360deg) scale(1.1);
    transition: transform 0.8s ease 0.2s;
}

.nav-logo:hover .brand-text .universe-text {
    color: #8B0000;
    transform: translateX(5px);
    transition: all 0.8s ease 0.4s;
}

/* Animated iPhone Icon */
.phone-icon {
    margin-left: 15px;
    cursor: pointer;
    display: inline-block;
    animation: phoneFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 20;
}

.nav-logo {
    position: relative;
    z-index: 20;
}

.nav-link::after {
    z-index: 0;
}

/* Professional Phone Tooltip */
.phone-tooltip {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.phone-tooltip::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid rgba(0, 0, 0, 0.9);
}

.phone-icon:hover .phone-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-3px);
}

.phone-icon:hover .phone-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-3px);
}

/* Small TAP text on phone */
.phone-tap-text {
    position: absolute;
    bottom: 11px;
    left: 0;
    right: 0;
    font-family: 'Audiowide', 'Orbitron', monospace;
    font-size: 7px;
    font-weight: 600;
    color: #00ffff;
    text-shadow: 0 0 4px rgba(0, 255, 255, 0.8);
    letter-spacing: 0.3px;
    animation: phoneScrollText 4s linear infinite;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    line-height: 1.2;
}

.red-dot {
    display: inline-block;
    width: 2px;
    height: 2px;
    background-color: #ff0000;
    border-radius: 50%;
    margin-right: 2px;
    animation: blinkDot 1s ease-in-out infinite;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

@keyframes blinkDot {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes phoneScrollText {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

/* Small Z7 PNG logo in navigation Contact */
.nav-contact-logo {
    height: 28px;
    width: auto;
    margin-left: 8px;
    opacity: 0.8;
    transition: all 0.3s ease;
    animation: navLogoSpinY 8s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    flex-shrink: 0;
    position: relative;
    display: inline-block;
    transform-style: preserve-3d;
    backface-visibility: visible;
    top: -1px; /* Slight vertical separation from text baseline */
}

@keyframes navLogoSpinY {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes navLogoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-1px) rotate(2deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(-0.5px) rotate(-1deg);
    }
}

.nav-link:hover .nav-contact-logo {
    opacity: 1;
    animation-play-state: paused;
    transform: scale(1.1) rotateY(0deg) rotateZ(5deg);
    filter: drop-shadow(0 4px 8px rgba(139, 0, 0, 0.3)) 
            drop-shadow(0 0 6px rgba(25, 25, 112, 0.3));
}

/* Footer Z7 PNG logo */
.footer-logo {
    height: 40px;
    width: auto;
    margin-left: 2px;
    vertical-align: middle;
    opacity: 0.7;
    transition: all 0.3s ease;
    animation: footerLogoRotateY 15s linear infinite;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
    transform-style: preserve-3d;
    backface-visibility: visible;
}

@keyframes footerLogoRotateY {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.15);
    filter: drop-shadow(0 3px 6px rgba(139, 0, 0, 0.4)) 
            drop-shadow(0 0 4px rgba(25, 25, 112, 0.4));
    animation-play-state: running;
}

/* Portfolio Z7 PNG logo */
.portfolio-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 50px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    z-index: 2;
    transform-style: preserve-3d;
    backface-visibility: visible;
}

/* Individual portfolio logo rotations with different timing */
.portfolio-item:nth-child(1) .portfolio-logo {
    animation: portfolioRotateY1 15s linear infinite;
}

.portfolio-item:nth-child(2) .portfolio-logo {
    animation: portfolioRotateY2 18s linear infinite;
    animation-delay: 2s;
}

.portfolio-item:nth-child(3) .portfolio-logo {
    animation: portfolioRotateY3 16s linear infinite;
    animation-delay: 4s;
}

.portfolio-item:nth-child(4) .portfolio-logo {
    animation: portfolioRotateY4 20s linear infinite;
    animation-delay: 1s;
}

.portfolio-item:nth-child(5) .portfolio-logo {
    animation: portfolioRotateY5 17s linear infinite;
    animation-delay: 3s;
}

.portfolio-item:nth-child(6) .portfolio-logo {
    animation: portfolioRotateY6 19s linear infinite;
    animation-delay: 5s;
}

@keyframes portfolioRotateY1 {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes portfolioRotateY2 {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes portfolioRotateY3 {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes portfolioRotateY4 {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes portfolioRotateY5 {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes portfolioRotateY6 {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.portfolio-item:nth-child(7) .portfolio-logo {
    animation: portfolioRotateY7 14s linear infinite;
    animation-delay: 1.5s;
}

.portfolio-item:nth-child(8) .portfolio-logo {
    animation: portfolioRotateY8 9.5s linear infinite;
    animation-delay: 3.5s;
}

.portfolio-item:nth-child(9) .portfolio-logo {
    animation: portfolioRotateY9 15s linear infinite;
    animation-delay: 2.5s;
}

.portfolio-item:nth-child(10) .portfolio-logo {
    animation: portfolioRotateY10 10.5s linear infinite;
    animation-delay: 4.5s;
}

.portfolio-item:nth-child(11) .portfolio-logo {
    animation: portfolioRotateY11 16s linear infinite;
    animation-delay: 1.8s;
}

.portfolio-item:nth-child(12) .portfolio-logo {
    animation: portfolioRotateY12 12.5s linear infinite;
    animation-delay: 3.8s;
}

@keyframes portfolioRotateY7 {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes portfolioRotateY8 {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes portfolioRotateY9 {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes portfolioRotateY10 {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes portfolioRotateY11 {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes portfolioRotateY12 {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.portfolio-item:hover .portfolio-logo {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(139, 0, 0, 0.5)) 
            drop-shadow(0 0 6px rgba(25, 25, 112, 0.4));
    animation-play-state: running;
}

/* Portfolio TV Text */
.portfolio-text {
    position: absolute;
    top: 50px;
    right: 22.5px;
    font-family: 'Audiowide', 'Iceberg', 'Orbitron', monospace;
    font-size: 0.35rem;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                 0 0 20px rgba(139, 0, 0, 0.6),
                 0 0 30px rgba(25, 25, 112, 0.4);
    letter-spacing: 3px;
    z-index: 3;
    animation: tvTextGlow 20s ease-in-out infinite;
    transition: all 0.3s ease;
    text-align: center;
    width: 25px;
    text-transform: uppercase;
}

@keyframes tvTextGlow {
    0% {
        color: #ffffff;
        text-shadow: 0 0 15px rgba(255, 255, 255, 1),
                     0 0 25px rgba(255, 255, 255, 0.8),
                     0 0 35px rgba(255, 255, 255, 0.6);
        transform: scale(1);
    }
    33% {
        color: #ff4444;
        text-shadow: 0 0 15px rgba(255, 68, 68, 1),
                     0 0 25px rgba(139, 0, 0, 0.8),
                     0 0 35px rgba(139, 0, 0, 0.6);
        transform: scale(1.05);
    }
    66% {
        color: #4444ff;
        text-shadow: 0 0 15px rgba(68, 68, 255, 1),
                     0 0 25px rgba(25, 25, 112, 0.8),
                     0 0 35px rgba(25, 25, 112, 0.6);
        transform: scale(1.05);
    }
    100% {
        color: #ffffff;
        text-shadow: 0 0 15px rgba(255, 255, 255, 1),
                     0 0 25px rgba(255, 255, 255, 0.8),
                     0 0 35px rgba(255, 255, 255, 0.6);
        transform: scale(1);
    }
}

/* Staggered TV text animations for natural feel */
.portfolio-item:nth-child(1) .portfolio-text {
    animation-delay: 0s;
}

.portfolio-item:nth-child(2) .portfolio-text {
    animation-delay: 3s;
}

.portfolio-item:nth-child(3) .portfolio-text {
    animation-delay: 6s;
}

.portfolio-item:nth-child(4) .portfolio-text {
    animation-delay: 9s;
}

.portfolio-item:nth-child(5) .portfolio-text {
    animation-delay: 12s;
}

.portfolio-item:nth-child(6) .portfolio-text {
    animation-delay: 15s;
}

.portfolio-item:nth-child(7) .portfolio-text {
    animation-delay: 2s;
}

.portfolio-item:nth-child(8) .portfolio-text {
    animation-delay: 5s;
}

.portfolio-item:nth-child(9) .portfolio-text {
    animation-delay: 8s;
}

.portfolio-item:nth-child(10) .portfolio-text {
    animation-delay: 11s;
}

.portfolio-item:nth-child(11) .portfolio-text {
    animation-delay: 14s;
}

.portfolio-item:nth-child(12) .portfolio-text {
    animation-delay: 17s;
}

.portfolio-item:hover .portfolio-text {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 1),
                 0 0 30px rgba(139, 0, 0, 1),
                 0 0 40px rgba(25, 25, 112, 0.8);
}

/* Portfolio image container positioning */
.portfolio-image {
    position: relative;
}

.iphone {
    width: 32px;
    height: 64px;
    background: linear-gradient(145deg, #1c1c1e, #000000);
    border-radius: 8px;
    border: 2px solid #2c2c2e;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 
                inset 0 1px 2px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.iphone-screen {
    width: 26px;
    height: 56px;
    background: linear-gradient(145deg, #000000, #1a1a1a);
    border-radius: 6px;
    position: absolute;
    top: 4px;
    left: 3px;
    display: flex;
    flex-direction: column;
    font-size: 6px;
    color: #ffffff;
    overflow: hidden;
    border: 1px solid #2c2c2e;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
}

.status-bar {
    height: 8px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2px;
    font-size: 4px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.3);
}

.signal-bars::before {
    content: '●●●';
    font-size: 3px;
}

.time {
    font-size: 4px;
    font-weight: bold;
}

.battery::before {
    content: '🔋';
    font-size: 4px;
}

.home-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2px;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 2px;
}

.app-icon {
    width: 8px;
    height: 8px;
    background: transparent;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5px;
    border: none;
    transition: all 0.2s ease;
}

.phone-app {
    background: linear-gradient(145deg, #34c759, #30d158);
    animation: phonePulse 2s ease-in-out infinite;
}

.messages-app {
    background: linear-gradient(145deg, #007aff, #0051d0);
}

.camera-app {
    background: linear-gradient(145deg, #8e8e93, #636366);
}

.photos-app {
    background: linear-gradient(145deg, #ff9500, #ff8c00);
}

.dock {
    display: flex;
    justify-content: space-around;
    background: transparent;
    border-radius: 4px;
    padding: 1px;
    margin-top: auto;
}

.dock-app {
    width: 6px;
    height: 6px;
    background: transparent;
    border-radius: 1px;
    font-size: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-indicator {
    width: 12px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes phonePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 0 2px rgba(52, 199, 89, 0.3);
    }
}

/* Removed green indicator light to prevent clash with phone emoji */
.iphone-screen::before {
    display: none;
}

/* White button at bottom */
.iphone-screen::after {
    content: '';
    width: 8px;
    height: 2px;
    background: linear-gradient(145deg, #ffffff, #cccccc);
    border-radius: 1px;
    position: absolute;
    bottom: 6px;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.8),
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* Blue blinking light - centered on top */
.blue-light {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5px;
    height: 2.5px;
    background: #0099ff;
    border-radius: 50%;
    animation: phoneLightBlink3 2.2s ease-in-out infinite;
    animation-delay: 1s;
    box-shadow: 0 0 4px rgba(0, 153, 255, 0.8);
}

@keyframes phoneLightBlink3 {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.4);
    }
}

/* Tiny blinking lights on the phone - aligned across top */
.iphone::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 3px;
    width: 3px;
    height: 3px;
    background: #00ff00;
    border-radius: 50%;
    animation: phoneLightBlink1 2s ease-in-out infinite;
    box-shadow: 0 0 4px rgba(0, 255, 0, 0.8);
}

.iphone::after {
    content: '';
    position: absolute;
    top: 1px;
    right: 3px;
    width: 2px;
    height: 2px;
    background: #ff0066;
    border-radius: 50%;
    animation: phoneLightBlink2 2.5s ease-in-out infinite;
    animation-delay: 0.5s;
    box-shadow: 0 0 3px rgba(255, 0, 102, 0.8);
}

@keyframes phoneLightBlink1 {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes phoneLightBlink2 {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

.call-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(139, 0, 0, 0.4);
    border-radius: 4px;
    animation: callPulse 2s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(2deg);
    }
    50% {
        transform: translateY(-1px) rotate(0deg);
    }
    75% {
        transform: translateY(-2px) rotate(-1deg);
    }
}

@keyframes callPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.phone-icon:hover .iphone {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(52, 199, 89, 0.4), 
                inset 0 1px 2px rgba(255, 255, 255, 0.1);
    border-color: #34c759;
}

.phone-icon:hover .iphone-screen {
    background: linear-gradient(145deg, #000000, #111111);
    border-color: #34c759;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.7),
                0 0 8px rgba(52, 199, 89, 0.3);
}

.phone-icon:hover .phone-app {
    animation: phonePulse 0.8s ease-in-out infinite;
    transform: scale(1.2);
}

.phone-icon:hover .call-pulse {
    animation: callPulse 0.5s ease-in-out infinite;
    background: rgba(139, 0, 0, 0.6);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-link:hover {
    color: #8B0000;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #8B0000;
    transition: width 0.3s ease;
}

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

/* Active page navigation link - blue color */
.nav-link.active {
    color: #191970 !important; /* Navy blue */
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background-color: #191970; /* Navy blue underline */
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Search Navigation Bar */
.search-nav {
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    position: sticky;
    top: 80px;
    z-index: 999;
}

.search-container {
    max-width: 300px;
    margin: 0;
    margin-left: -20px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    font-size: 12px;
    outline: none;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    border-color: #8B0000;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.search-btn {
    background: linear-gradient(135deg, #8B0000, #191970);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(139, 0, 0, 0.3);
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.5);
}

.search-icon {
    font-size: 14px;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 350px;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 8px;
    display: none;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.search-result-item:hover {
    background: rgba(139, 0, 0, 0.2);
    padding-left: 25px;
}

.search-result-item:last-child {
    border-bottom: none;
}

.result-title {
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 14px;
}

.result-section {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #8B0000 0%, #191970 100%) !important;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 0, 0, 0.8), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(0, 255, 0, 0.6), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(0, 100, 255, 0.7), transparent),
        radial-gradient(1px 1px at 15px 80px, rgba(255, 215, 0, 0.9), transparent),
        radial-gradient(2px 2px at 70px 20px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 85px 60px, rgba(255, 20, 147, 0.6), transparent),
        radial-gradient(2px 2px at 30px 50px, rgba(50, 205, 50, 0.7), transparent),
        radial-gradient(1px 1px at 60px 10px, rgba(255, 69, 0, 0.8), transparent);
    background-size: 120px 100px;
    animation: starsTwinkle 15s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(1px 1px at 110px 25px, rgba(138, 43, 226, 0.7), transparent),
        radial-gradient(2px 2px at 45px 85px, rgba(255, 165, 0, 0.6), transparent),
        radial-gradient(1px 1px at 75px 45px, rgba(0, 191, 255, 0.8), transparent),
        radial-gradient(2px 2px at 25px 65px, rgba(255, 105, 180, 0.7), transparent),
        radial-gradient(1px 1px at 95px 15px, rgba(144, 238, 144, 0.6), transparent),
        radial-gradient(2px 2px at 55px 75px, rgba(255, 255, 224, 0.8), transparent);
    background-size: 140px 110px;
    animation: starsTwinkle2 18s ease-in-out infinite 3s;
    z-index: 1;
    pointer-events: none;
}

/* Inline Process Section */
.hero-process {
    margin-top: 3rem;
    padding: 0 20px;
}

.process-steps-inline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.process-steps-inline h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.steps-inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.step-inline {
    text-align: center;
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    position: relative;
    transition: transform 0.2s ease, background 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-inline:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
}

.step-number-inline {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #8B0000, #191970);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.step-inline h4 {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0.5rem 0 0.3rem 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.step-inline p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Animated Emojis - Home page only */
.step-inline:nth-child(1) h4 {
    animation: phoneRing 2s ease-in-out infinite;
}

.step-inline:nth-child(2) h4 {
    animation: paintBrush 3s ease-in-out infinite;
}

.step-inline:nth-child(3) h4 {
    animation: rocketLaunch 2.5s ease-in-out infinite;
}

/* Disable h4 animations for non-home pages */
body:not(.home-page) .step-inline:nth-child(1) h4,
body:not(.home-page) .step-inline:nth-child(2) h4,
body:not(.home-page) .step-inline:nth-child(3) h4 {
    animation: none;
}

@keyframes phoneRing {
    0%, 100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    10%, 30% {
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }
    20%, 40% {
        -webkit-transform: rotate(10deg);
        transform: rotate(10deg);
    }
    50%, 90% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@keyframes paintBrush {
    0%, 100% {
        -webkit-transform: scale(1) rotate(0deg);
        transform: scale(1) rotate(0deg);
    }
    25% {
        -webkit-transform: scale(1.1) rotate(-5deg);
        transform: scale(1.1) rotate(-5deg);
    }
    50% {
        -webkit-transform: scale(1.05) rotate(5deg);
        transform: scale(1.05) rotate(5deg);
    }
    75% {
        -webkit-transform: scale(1.1) rotate(-3deg);
        transform: scale(1.1) rotate(-3deg);
    }
}

@keyframes rocketLaunch {
    0%, 100% {
        -webkit-transform: translateY(0px) scale(1);
        transform: translateY(0px) scale(1);
    }
    20% {
        -webkit-transform: translateY(-3px) scale(1.05);
        transform: translateY(-3px) scale(1.05);
    }
    40% {
        -webkit-transform: translateY(-1px) scale(1.02);
        transform: translateY(-1px) scale(1.02);
    }
    60% {
        -webkit-transform: translateY(-4px) scale(1.08);
        transform: translateY(-4px) scale(1.08);
    }
    80% {
        -webkit-transform: translateY(-2px) scale(1.03);
        transform: translateY(-2px) scale(1.03);
    }
}

/* Emoji-only animations for non-home pages */
.step-inline h4 span.emoji {
    display: inline-block;
    transition: transform 0.3s ease;
}

.step-inline:nth-child(1) h4 span.emoji {
    animation: phoneRingEmoji 2s ease-in-out infinite;
}

.step-inline:nth-child(2) h4 span.emoji {
    animation: paintBrushEmoji 3s ease-in-out infinite;
}

.step-inline:nth-child(3) h4 span.emoji {
    animation: rocketLaunchEmoji 2.5s ease-in-out infinite;
}

@keyframes phoneRingEmoji {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
    50%, 90% {
        transform: rotate(0deg);
    }
}

@keyframes paintBrushEmoji {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    75% {
        transform: scale(1.1) rotate(-2deg);
    }
}

@keyframes rocketLaunchEmoji {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    20% {
        transform: translateY(-3px) scale(1.05);
    }
    40% {
        transform: translateY(-1px) scale(1.02);
    }
    60% {
        transform: translateY(-4px) scale(1.08);
    }
    80% {
        transform: translateY(-2px) scale(1.03);
    }
}

@keyframes starMove {
    from { transform: translateY(0px); }
    to { transform: translateY(-100px); }
}

@keyframes starMove {
    from { transform: translateY(0px); }
    to { transform: translateY(-100px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-container::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    right: -50%;
    bottom: -100%;
    background: 
        radial-gradient(1px 1px at 35px 55px, rgba(255, 182, 193, 0.6), transparent),
        radial-gradient(2px 2px at 80px 35px, rgba(173, 216, 230, 0.7), transparent),
        radial-gradient(1px 1px at 50px 80px, rgba(255, 228, 181, 0.5), transparent),
        radial-gradient(2px 2px at 15px 45px, rgba(221, 160, 221, 0.8), transparent);
    background-size: 160px 120px;
    animation: starsTwinkle3 22s ease-in-out infinite 7s;
    z-index: -1;
    pointer-events: none;
}

.hero-container::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    right: -50%;
    bottom: -100%;
    background: 
        radial-gradient(1px 1px at 65px 25px, rgba(255, 99, 71, 0.5), transparent),
        radial-gradient(2px 2px at 25px 70px, rgba(135, 206, 235, 0.6), transparent),
        radial-gradient(1px 1px at 85px 50px, rgba(255, 215, 0, 0.7), transparent);
    background-size: 180px 130px;
    animation: starsTwinkle4 20s ease-in-out infinite 12s;
    z-index: -1;
    pointer-events: none;
}

/* Hero Rotating Logo */
.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.rotating-logo {
    height: 180px;
    width: auto;
    animation: logoRotateY 15s linear infinite;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
    cursor: pointer;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    backface-visibility: visible;
}

@keyframes logoGoldTransform {
    0%, 30% {
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
    }
    50% {
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2)) 
                drop-shadow(0 0 20px rgba(184, 134, 11, 0.8)) 
                drop-shadow(0 0 40px rgba(184, 134, 11, 0.5))
                drop-shadow(0 0 60px rgba(184, 134, 11, 0.3))
                sepia(0.7) saturate(1.6) hue-rotate(3deg) brightness(1.15);
    }
    70%, 100% {
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
    }
}

@keyframes goldOverlay {
    0%, 60% {
        background: linear-gradient(45deg, rgba(255, 215, 0, 0), rgba(255, 215, 0, 0));
        opacity: 0;
    }
    70%, 100% {
        background: linear-gradient(45deg, rgba(255, 215, 0, 0.8), rgba(255, 165, 0, 0.6));
        opacity: 1;
    }
}

.rotating-logo:hover {
    animation-play-state: paused;
    transform: scale(1.1) rotateY(0deg);
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.3));
}

@keyframes logoHoverPulse {
    0%, 100% {
        transform: scale(1.1) rotateY(0deg);
        filter: drop-shadow(0 12px 30px rgba(139, 0, 0, 0.4)) 
                drop-shadow(0 0 20px rgba(25, 25, 112, 0.3));
    }
    50% {
        transform: scale(1.15) rotateY(5deg);
        filter: drop-shadow(0 15px 35px rgba(139, 0, 0, 0.6)) 
                drop-shadow(0 0 25px rgba(25, 25, 112, 0.5));
    }
}

/* Y-axis rotation animation for logo */
@keyframes logoRotateY {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* About Section Smaller Rotating Logo */
.about-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.rotating-logo-small {
    height: 120px;
    width: auto;
    animation: logoRotateY 15s linear infinite;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
    cursor: pointer;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    backface-visibility: visible;
}

.rotating-logo-small:hover {
    animation-play-state: paused;
    transform: scale(1.1) rotateY(0deg);
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.9);
}

/* Services Hero Title - Professional styling to match hero-title */
.services-hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.9);
}

/* Hero Slogan */
.hero-slogan {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-weight: 300;
    opacity: 0.7;
    letter-spacing: 0.5px;
    animation: fadeInUp 1.5s ease-out;
}

.slogan-lights {
    color: #8B0000;
    animation: colorShiftLights 12s ease-in-out infinite;
}

.slogan-camera {
    color: #191970;
    animation: colorShiftCamera 12s ease-in-out infinite;
}

.slogan-action {
    color: #ffffff;
    animation: colorShiftAction 12s ease-in-out infinite;
}

@keyframes colorShiftLights {
    0% { color: #8B0000; }
    33% { color: #191970; }
    66% { color: #ffffff; }
    100% { color: #8B0000; }
}

@keyframes colorShiftCamera {
    0% { color: #191970; }
    33% { color: #ffffff; }
    66% { color: #8B0000; }
    100% { color: #191970; }
}

@keyframes colorShiftAction {
    0% { color: #ffffff; }
    33% { color: #8B0000; }
    66% { color: #191970; }
    100% { color: #ffffff; }
}


/* Section Title - Professional styling for content sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 2rem;
    margin-top: 3rem;
    line-height: 1.3;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 2;
}

/* Alternative section title for better visibility */
.section-title-visible {
    font-size: 2.5rem;
    font-weight: 600;
    color: #DAA520;
    margin-bottom: 2rem;
    margin-top: 3rem;
    line-height: 1.3;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 0 15px rgba(218, 165, 32, 0.8), 2px 2px 6px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e0e6ed;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow, background;
}

/* Button Icons */
.btn-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 0.9em;
    vertical-align: middle;
    line-height: 1;
}

.btn-primary .btn-icon {
    color: #FFD700;
    font-size: 0.9em;
    animation: dollarSpin 3s linear infinite;
    transform-style: preserve-3d;
    backface-visibility: visible;
    vertical-align: middle;
}

.btn-secondary .btn-icon {
    font-size: 0.75em;
    animation: starPulse 2s ease-in-out infinite;
    vertical-align: middle;
}

/* Simple Star Pulse Animation */
@keyframes starPulse {
    0%, 100% { 
        opacity: 0.7;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Gold Dollar Spin Animation */
@keyframes dollarSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.btn-primary {
    background: linear-gradient(135deg, #8B0000, #B22222) !important;
    color: white !important;
    border: 2px solid #8B0000 !important;
    box-shadow: 0 3px 8px rgba(139, 0, 0, 0.2), 
                0 0 12px rgba(139, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    will-change: transform, box-shadow, background;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #191970, #191970) !important;
    color: white !important;
    border-color: #191970 !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(25, 25, 112, 0.3),
                0 0 20px rgba(25, 25, 112, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

.btn-secondary {
    background: linear-gradient(135deg, #191970, #191970) !important;
    color: white !important;
    border: 2px solid #191970 !important;
    box-shadow: 0 3px 8px rgba(25, 25, 112, 0.2),
                0 0 12px rgba(25, 25, 112, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    will-change: transform, box-shadow, background;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #8B0000, #B22222) !important;
    color: white !important;
    border-color: #8B0000 !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3),
                0 0 20px rgba(139, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

/* Cross-button hover effects triggered by JavaScript */
.btn-primary.other-hovered {
    background: linear-gradient(135deg, #191970, #4169E1) !important;
    border-color: #4169E1 !important;
    box-shadow: 0 8px 20px rgba(25, 25, 112, 0.4),
                0 0 25px rgba(25, 25, 112, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.btn-secondary.other-hovered {
    background: linear-gradient(135deg, #8B0000, #B22222) !important;
    border-color: #B22222 !important;
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.4),
                0 0 25px rgba(139, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.btn-secondary:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

/* Hero Button Glow Animation */
@keyframes heroButtonGlow {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
    }
    25% { 
        box-shadow: 0 4px 20px rgba(220, 20, 60, 0.4), 0 0 30px rgba(255, 255, 255, 0.2);
    }
    50% { 
        box-shadow: 0 4px 25px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 255, 255, 0.3);
    }
    75% { 
        box-shadow: 0 4px 20px rgba(0, 82, 204, 0.4), 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #8B0000 0%, #191970 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
}

.section-header h2:hover {
    color: #FFA500;
    transform: scale(1.02);
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 215, 0, 0.5);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #8B0000, #191970);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #FFFFFF;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Quick Process Section */
.quick-process {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 0;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
}

.quick-process .process-steps {
    margin: 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(25, 25, 112, 0.08), rgba(139, 0, 0, 0.08));
    border-radius: 15px;
    border: 2px solid rgba(25, 25, 112, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.quick-process .process-steps h3 {
    color: #191970;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(25, 25, 112, 0.1);
}

/* Services Section */
.services {
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Clear, crisp title visibility within services grid */
.services-grid .section-title {
    /* Clean, simple gold color */
    color: #FFD700 !important;
    background: none !important;
    -webkit-background-clip: none !important;
    -moz-background-clip: none !important;
    background-clip: none !important;
    -webkit-text-fill-color: #FFD700 !important;
    -moz-text-fill-color: #FFD700 !important;
    /* No shadows, no blur, just clean text */
    text-shadow: none !important;
    font-weight: 700 !important;
    /* No backgrounds, borders, or blur effects */
    padding: 0 !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Simple gold title override */
.gold-title {
    color: #FFD700 !important;
    background: none !important;
    -webkit-text-fill-color: #FFD700 !important;
    text-shadow: none !important;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Service Pricing Badge */
.service-pricing {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #8B0000, #191970);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    animation: pricePulse 3s ease-in-out infinite;
    z-index: 10;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transform: rotate(-45deg);
    transition: all 0.6s;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translate(50%, 50%);
}

.service-icon {
    color: #007bff;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00FFFF; /* Cyan for better visibility on grey buttons */
    margin-bottom: 1rem;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 
        /* Single clean shadow for depth */
        0 2px 8px rgba(0, 0, 0, 0.3),
        /* Subtle cyan glow for visibility */
        0 0 20px rgba(0, 255, 255, 0.4);
    transform: translateZ(10px); /* Pop out effect */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Make page titles clickable too */
.hero-title, 
.services-hero-title,
.section-header h2 {
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-title:hover,
.services-hero-title:hover,
.section-header h2:hover {
    transform: scale(1.02);
}

.service-card h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    z-index: -1;
    transition: all 0.4s ease;
}

.service-card h3::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    border-radius: 8px;
    z-index: -1;
    transition: left 1.5s ease;
}

.service-card:hover h3 {
    background: linear-gradient(135deg, #8B0000, #191970, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: none; /* Stop neon glow on hover to show gradient */
    text-shadow: none; /* Remove text shadow for gradient effect */
}

.service-card:hover h3::after {
    left: 100%;
}

@keyframes neonGlow {
    from {
        text-shadow: 
            /* White outline for contrast */
            -2px -2px 0 #ffffff,
            2px -2px 0 #ffffff,
            -2px 2px 0 #ffffff,
            2px 2px 0 #ffffff,
            /* Black shadow for depth */
            -3px -3px 0 #000000,
            3px 3px 0 #000000,
            /* Neon glow layers */
            0 0 5px #191970,
            0 0 10px #191970,
            0 0 15px #191970,
            0 0 20px #191970;
    }
    to {
        text-shadow: 
            /* White outline for contrast */
            -2px -2px 0 #ffffff,
            2px -2px 0 #ffffff,
            -2px 2px 0 #ffffff,
            2px 2px 0 #ffffff,
            /* Black shadow for depth */
            -3px -3px 0 #000000,
            3px 3px 0 #000000,
            /* Enhanced neon glow */
            0 0 10px #191970,
            0 0 20px #191970,
            0 0 30px #191970,
            0 0 40px #191970,
            0 0 50px #4169E1;
    }
}

/* Call to Action Popup Modal */
.cta-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

@media (max-width: 600px) {
    .cta-modal {
        display: none;
        position: fixed !important;
        z-index: 10000;
        left: 0;
        top: 0;
        width: 100vw !important;
        height: 100vh !important;
        min-height: 100vh !important;
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    .cta-modal.show {
        display: flex !important;
    }
    .cta-modal-content {
        position: relative !important;
        max-width: 98vw !important;
        width: 100vw !important;
        min-width: 0 !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        border-radius: 14px !important;
        padding: 1.2rem 0.7rem !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

.cta-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.cta-modal-content {
    background: #1b1b3c;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10001;
    display: block;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cta-modal h2 {
    color: #FFD700 !important;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: none !important;
    -webkit-background-clip: none !important;
    -webkit-text-fill-color: #FFD700 !important;
    background-clip: none !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
}

.cta-modal p {
    color: #ffffff !important;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
}

.cta-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    background: linear-gradient(135deg, #8B0000, #B22222);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
    background: linear-gradient(135deg, #A00000, #CD5C5C);
    text-decoration: none;
    color: white;
}

.cta-btn-secondary {
    background: linear-gradient(135deg, #191970, #4169E1);
    box-shadow: 0 4px 15px rgba(25, 25, 112, 0.3);
}

.cta-btn-secondary:hover {
    background: linear-gradient(135deg, #1E1E8F, #4682B4);
    box-shadow: 0 8px 25px rgba(25, 25, 112, 0.4);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: white;
}

.service-card p {
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Service Quote Button */
.service-quote-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: #8B0000;
    border: 2px solid #8B0000;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.service-quote-btn:hover {
    background-color: #8B0000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
    animation: quoteButtonFade 3s ease-in-out infinite;
}

@keyframes quoteButtonFade {
    0% {
        background-color: #8B0000;
        box-shadow: 0 8px 20px rgba(139, 0, 0, 0.4);
    }
    50% {
        background-color: #191970;
        box-shadow: 0 8px 20px rgba(25, 25, 112, 0.4);
    }
    100% {
        background-color: #8B0000;
        box-shadow: 0 8px 20px rgba(139, 0, 0, 0.4);
    }
}

/* Animated Emoji Styles */
.animated-emoji {
    font-size: 3rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Zoom In Animation - Subtle */
.zoom-in {
    animation: zoomIn 3s ease-in-out infinite;
}

@keyframes zoomIn {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Shake Animation - Gentle */
.shake {
    animation: shake 3s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

/* Glow Animation - Enhanced Visibility */
.glow {
    animation: glow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 12px #00ffff);
}

@keyframes glow {
    0%, 100% { 
        filter: drop-shadow(0 0 8px #00ffff) drop-shadow(0 0 16px #00ffff); 
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 20px #00ffff) drop-shadow(0 0 30px #00ffff); 
        transform: scale(1.05);
    }
}

/* Sparkle Animation - Changed to Simple Pulse */
.sparkle {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Smooth Pulse Animation - For Website Design */
.smooth-pulse {
    animation: smoothPulse 3s ease-in-out infinite;
}

@keyframes smoothPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 1;
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.08) rotate(0deg); 
        opacity: 0.9;
        filter: brightness(1.2);
    }
}

/* Wave Animation */
.wave {
    animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.05); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.05); }
}

/* Pulse Star Animation - For Post-Production */
.pulse-star {
    animation: pulseStar 2.5s ease-in-out infinite;
}

@keyframes pulseStar {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 1;
        filter: brightness(1) drop-shadow(0 0 5px #ffd700);
    }
    50% { 
        transform: scale(1.12) rotate(0deg); 
        opacity: 0.9;
        filter: brightness(1.3) drop-shadow(0 0 15px #ffd700);
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8B0000;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.about-text p {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Main Services Section */
.services {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(25, 25, 112, 0.1) 50%, rgba(75, 0, 130, 0.1) 100%);
    backdrop-filter: blur(10px);
}

/* About Section */
.about {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(139, 0, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(25, 25, 112, 0.2) 0%, transparent 50%);
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8B0000, #191970, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.about-text > p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 400;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(139, 0, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8B0000, #191970);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-logo img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(139, 0, 0, 0.3));
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: linear-gradient(45deg, #191970 0%, #8B0000 50%, #4B0082 100%);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.team-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Mission & Values Section */
.mission-values {
    padding: 5rem 0;
    background: linear-gradient(135deg, #8B0000 0%, #191970 50%, #4B0082 100%);
    position: relative;
    overflow: hidden;
}

.mission-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.mission-values::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.value-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(139, 0, 0, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(139, 0, 0, 0.05), transparent);
    transform: rotate(-45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.value-card:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translate(20%, 20%);
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 0, 0, 0.3);
    box-shadow: 0 16px 48px rgba(139, 0, 0, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.value-card h3 {
    color: #8B0000;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-card p {
    color: #2c3e50;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Responsive improvements for About page */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text > p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .value-card {
        padding: 1.5rem 1rem;
    }
    
    .team-member {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 3rem 0;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .mission-values,
    .team-section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .value-icon {
        font-size: 2.5rem;
    }
    
    .member-avatar {
        font-size: 3rem;
    }
}

/* Contact Methods Section */
.contact-methods {
    padding: 5rem 0;
    background: linear-gradient(135deg, #8B0000 0%, #191970 50%, #4B0082 100%);
    position: relative;
    overflow: hidden;
}

.contact-methods::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.contact-methods::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(45deg, #191970 0%, #8B0000 50%, #4B0082 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Services Details Section */
.services-details {
    padding: 4rem 0;
    background: transparent;
    color: #333333;
    position: relative;
    z-index: 1;
}

/* Ensure galaxy background is visible behind services section */
.services-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, rgba(25, 25, 112, 0.05) 50%, rgba(75, 0, 130, 0.05) 100%);
    z-index: -1;
}

.services-details h2,
.services-details h3,
.services-details h4 {
    color: #8B0000;
}

.services-details p {
    color: #333333;
}

/* Only make the description under "Why Choose Z7 Universe?" gold */
.services-details .section-header p {
    color: #FFD700 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7) !important;
}

.services-highlight {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05), rgba(25, 25, 112, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(139, 0, 0, 0.1);
}

/* Team Member Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.team-member {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(139, 0, 0, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 0, 0, 0.3);
    box-shadow: 0 20px 60px rgba(139, 0, 0, 0.15);
}

/* Small external link button in top-right of team member cards */
.external-link-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #191970;
    color: #fff;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.15s ease, filter 0.15s ease;
    animation: linkColorShift 10s ease-in-out infinite;
    -webkit-animation: linkColorShift 10s ease-in-out infinite;
    z-index: 5;
}
.external-link-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

@keyframes linkColorShift {
    0% { background: #191970; color: #ffffff; }
    25% { background: #8B0000; color: #ffffff; }
    50% { background: #000000; color: #FFD700; }
    75% { background: #DAA520; color: #000000; }
    100% { background: #191970; color: #ffffff; }
}

/* Different phases so buttons aren't synchronized */
.external-link-btn.link-phase-1 {
    animation-duration: 10s;
    animation-delay: 0s;
}
.external-link-btn.link-phase-2 {
    animation-duration: 10s;
    animation-delay: 3s; /* start 3s later to be out-of-phase */
}

.member-avatar {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.team-member h3 {
    color: #8B0000;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #191970;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-bio {
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Contact Method Cards */
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.method-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.method-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(139, 0, 0, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.method-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.method-card h3 {
    color: #8B0000;
    margin-bottom: 15px;
    font-weight: 700;
}

.method-card p {
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 20px;
}

.method-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #8B0000, #191970);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.method-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
}

/* FAQ Items */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(139, 0, 0, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
    color: #8B0000;
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-item p {
    color: #2c3e50;
    line-height: 1.6;
}

.services-highlight h3 {
    color: #8B0000;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    width: 100%;
    box-sizing: border-box;
}

.service-item {
    text-align: center;
    padding: 0.8rem 0.5rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: 1px solid rgba(139, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.12);
}

.service-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    display: block;
    transition: transform 0.2s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.css-star {
    background: linear-gradient(135deg, #191970, #4169E1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(25, 25, 112, 0.3));
    transition: all 0.3s ease;
}

.service-item:hover .css-star {
    background: linear-gradient(135deg, #8B0000, #B22222);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(139, 0, 0, 0.4));
    transform: scale(1.1);
}

.clean-star {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
    }
}

.service-item h4 {
    color: #191970;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    line-height: 1.1;
}

.service-item p {
    color: #666;
    font-size: 0.7rem;
    line-height: 1.2;
    margin: 0;
}

.process-steps {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(25, 25, 112, 0.05), rgba(139, 0, 0, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(25, 25, 112, 0.1);
}

.process-steps h3 {
    color: #191970;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.step {
    text-align: center;
    padding: 1.2rem 0.8rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(25, 25, 112, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(25, 25, 112, 0.15);
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #8B0000, #191970);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.step h4 {
    color: #8B0000;
    font-size: 1rem;
    margin: 0.6rem 0 0.3rem 0;
    font-weight: 600;
}

.step p {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 4rem 2rem;
    color: #666;
    font-size: 1.1rem;
}

/* Portfolio Section */
.portfolio {
    background-color: #f8f9fa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 
                0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.portfolio-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 
                0 8px 20px rgba(139, 0, 0, 0.15),
                0 0 40px rgba(25, 25, 112, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.2);
}

@keyframes portfolioGlow {
    0% {
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15), 
                    0 0 20px rgba(139, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15), 
                    0 0 30px rgba(25, 25, 112, 0.4);
    }
    100% {
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15), 
                    0 0 20px rgba(139, 0, 0, 0.3);
    }
}

.portfolio-image .image-placeholder {
    background: linear-gradient(135deg, #1b2735 0%, #090a0f 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-family: 'Orbitron', 'Exo 2', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                 0 0 30px rgba(139, 0, 0, 0.6),
                 0 0 40px rgba(25, 25, 112, 0.4);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: z7tvTextGlow 9s ease-in-out infinite;
}

.z7tv-feature-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.z7tv-feature-link .portfolio-image {
    transition: transform 0.4s ease;
}

.z7tv-feature-link:hover .portfolio-image {
    transform: translateY(-4px);
}

@keyframes z7tvTextGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                     0 0 30px rgba(139, 0, 0, 0.6),
                     0 0 40px rgba(25, 25, 112, 0.4);
    }
    25% {
        text-shadow: 0 0 25px rgba(255, 0, 0, 0.9),
                     0 0 35px rgba(255, 0, 0, 0.7),
                     0 0 45px rgba(255, 0, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 25px rgba(0, 0, 255, 0.9),
                     0 0 35px rgba(0, 0, 255, 0.7),
                     0 0 45px rgba(0, 0, 255, 0.5);
    }
    75% {
        text-shadow: 0 0 25px rgba(255, 215, 0, 0.9),
                     0 0 35px rgba(255, 215, 0, 0.7),
                     0 0 45px rgba(255, 215, 0, 0.5);
    }
}

.portfolio-image .image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 0, 0, 0.8), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(0, 255, 0, 0.6), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(0, 100, 255, 0.7), transparent),
        radial-gradient(1px 1px at 15px 80px, rgba(255, 215, 0, 0.9), transparent),
        radial-gradient(2px 2px at 70px 20px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 85px 60px, rgba(255, 20, 147, 0.6), transparent),
        radial-gradient(2px 2px at 30px 50px, rgba(50, 205, 50, 0.7), transparent),
        radial-gradient(1px 1px at 60px 10px, rgba(255, 69, 0, 0.8), transparent);
    background-size: 120px 100px;
    animation: starsTwinkle 15s ease-in-out infinite;
    z-index: 1;
}

.portfolio-info {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.8));
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(139, 0, 0, 0.1);
}

.portfolio-info h3 {
    font-family: 'Orbitron', 'Exo 2', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8B0000, #191970, #FFD700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.4rem;
    letter-spacing: 0.25px;
    text-shadow: 0 2px 4px rgba(139, 0, 0, 0.1);
}

.portfolio-info p {
    color: #191970;
    font-size: 0.5rem;
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 0.15px;
    opacity: 0.9;
    line-height: 1.4;
}

/* YouTube Video Preview Styling */
.portfolio-video {
    padding: 0 2.5rem 2rem 2.5rem;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.portfolio-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 315px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-video iframe:hover {
    transform: scale(1.02);
}

/* Responsive video sizing */
@media (max-width: 992px) {
    .portfolio-video iframe {
        min-height: 240px;
    }
}

@media (max-width: 768px) {
    .portfolio-video iframe {
        min-height: 220px;
    }
}

@media (max-width: 480px) {
    .portfolio-video iframe {
        min-height: 180px;
    }
    
    .portfolio-video {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}

/* Contact Section */
.contact .section-header p {
    color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(25, 25, 112, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #8B0000;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-item p {
    color: #ffffff;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-item p a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item p a:hover {
    color: #00ffff;
    text-decoration: underline;
    text-shadow: 0 0 15px #00ffff;
    transform: scale(1.05);
}

.business-hours p {
    transition: all 0.3s ease;
    cursor: pointer;
}

.business-hours:hover p {
    color: #00ffff;
    text-shadow: 0 0 15px #00ffff;
    transform: scale(1.05);
}

.contact-form {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: #000;
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #999;
}

.footer-links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

.footer-brochure-link {
    background: linear-gradient(270deg, #8B0000, #B22222, #191970, #4169E1, #8B0000) !important;
    background-size: 400% 400% !important;
    animation: brochure-gradient-fade 8s ease-in-out infinite;
    color: white !important;
    padding: 8px 18px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    border: 2px solid #8B0000 !important;
    box-shadow: 0 3px 8px rgba(139, 0, 0, 0.2), 0 0 12px rgba(139, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    will-change: transform, box-shadow, background-position;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    display: inline-block !important;
    z-index: 1000 !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: rgba(220, 20, 60, 0.3) !important;
    touch-action: manipulation !important;
}

@keyframes brochure-gradient-fade {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@-webkit-keyframes brochure-gradient-fade {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.footer-brochure-link:active {
    background: linear-gradient(135deg, #8B0000, #B22222) !important;
    transform: translateY(-1px) scale(1.01) !important;
    transition: all 0.1s ease !important;
}

.footer-brochure-link:hover {
    color: white !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #191970, #191970) !important;
    border-color: #191970 !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 20px rgba(25, 25, 112, 0.3), 0 0 20px rgba(25, 25, 112, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Mobile-specific footer button styles */
@media (max-width: 768px) {
    .footer-brochure-link {
        padding: 5px 10px !important;
        font-size: 0.85rem !important;
        min-height: 28px !important;
        min-width: 80px !important;
        margin: 0 !important;
        display: inline-block !important;
        text-align: center !important;
        width: auto !important;
        border-radius: 16px !important;
        border: 2px solid #8B0000 !important;
        box-shadow: 0 2px 5px rgba(139, 0, 0, 0.18), 0 0 8px rgba(139, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.18);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
        will-change: transform, box-shadow, background-position !important;
        background: linear-gradient(270deg, #8B0000, #B22222, #191970, #4169E1, #8B0000) !important;
        background-size: 400% 400% !important;
        animation: brochure-gradient-fade 8s ease-in-out infinite !important;
    }
    .footer-brochure-link:hover {
        background: linear-gradient(135deg, #191970, #191970) !important;
        border-color: #191970 !important;
        transform: translateY(-3px) scale(1.02) !important;
        box-shadow: 0 8px 20px rgba(25, 25, 112, 0.3), 0 0 20px rgba(25, 25, 112, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    }
    .footer-brochure-link:active {
        background: linear-gradient(135deg, #8B0000, #B22222) !important;
        transform: translateY(-1px) scale(1.01) !important;
        transition: all 0.1s ease !important;
    }
}


.footer-social p {
    color: #999;
    margin-bottom: 1rem;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: #999;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-link.tiktok:hover {
    background: linear-gradient(45deg, #ff0050, #00f2ea);
    color: white;
    border-color: transparent;
}

.social-link.youtube:hover {
    background: #ff0000;
    color: white;
    border-color: transparent;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    border-color: transparent;
}

.social-icon {
    font-size: 1.2rem;
    animation: socialPulse 3s ease-in-out infinite;
}

.star-mini {
    font-size: 0.8rem;
    margin-left: auto;
    animation: starFloat 2s ease-in-out infinite;
    font-weight: bold;
}

.star-mini.red {
    color: #8B0000 !important;
    text-shadow: 0 0 3px rgba(139, 0, 0, 0.5);
    animation-delay: 0s;
}

.star-mini.blue {
    color: #191970 !important;
    text-shadow: 0 0 3px rgba(25, 25, 112, 0.5);
    animation-delay: 0.7s;
}

.star-mini.white {
    color: white !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation-delay: 1.4s;
}

.social-text {
    font-weight: 600;
}

/* Social Icon Animation */
@keyframes socialPulse {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.1);
    }
}

/* Star Float Animation */
@keyframes starFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-3px) scale(1.2);
        opacity: 1;
    }
}

/* Price Badge Pulse Animation */
@keyframes pricePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(139, 0, 0, 0.5);
    }
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

/* Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-live-section {
        margin-top: 2rem;
    }
    
    .live-banner {
        margin: 0 1rem;
        padding: 1.5rem;
        max-width: none;
    }
    
    .live-title {
        font-size: 1.2rem;
    }
    
    .countdown-timer {
        font-size: 1.5rem;
        padding: 0.4rem 0.8rem;
    }
    
    .live-join-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .tiktok-icon {
        font-size: 1.5rem;
    }

    /* Hero inline process mobile styles */
    .hero-process {
        margin-top: 2rem;
        padding: 0 10px;
    }

    .process-steps-inline {
        padding: 1rem;
    }

    .process-steps-inline h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .steps-inline {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .step-inline {
        padding: 0.8rem 0.5rem;
    }

    .step-number-inline {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }

    .step-inline h4 {
        font-size: 0.8rem;
    }

    .step-inline p {
        font-size: 0.65rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Mobile Search Navigation */
    .search-nav {
        padding: 8px 0;
    }
    
    .search-container {
        max-width: 100%;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .search-input {
        font-size: 16px; /* Prevent mobile zoom - must be 16px or larger */
        padding: 8px 12px;
        border-radius: 15px;
        width: 100%;
        -webkit-text-size-adjust: 100%; /* Prevent text size adjustment */
        -webkit-appearance: none; /* Remove default styling */
        appearance: none; /* Standard property */
        -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
    }
    
    .search-input::placeholder {
        font-size: 16px; /* Must match input font-size */
    }
    
    .search-btn {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }
    
    .search-icon {
        font-size: 12px;
    }
    
    .search-results {
        width: calc(100vw - 40px);
        left: -10px;
        margin-top: 5px;
        max-height: 200px;
    }
    
    .search-result-item {
        padding: 8px 12px;
    }
    
    .result-title {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .result-section {
        font-size: 10px;
    }

    /* Optimize animations for mobile */
    body::before,
    body::after {
        animation-duration: 300s, 400s;
        opacity: 0.5;
    }
    
    .live-dot-nav,
    .live-dot-footer {
        animation-duration: 3s, 4s;
    }
    
    /* Reduce emoji animations on mobile */
    .step-inline:nth-child(1) h4,
    .step-inline:nth-child(2) h4,
    .step-inline:nth-child(3) h4 {
        animation-duration: 4s, 5s, 6s;
    }

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

    .services-hero-title {
        font-size: 2.2rem;
    }

    .marketing-packages-title {
        top: -50px !important;
    }

    .services-hero {
        padding: 60px 0 50px;
        min-height: auto;
    }

    .services-hero-content {
        padding: 30px 15px;
    }

    .services-hero-highlights {
        gap: 1rem;
    }

    .highlight-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
        margin-top: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-image {
        height: 35px;
    }

    .footer-logo-image {
        height: 30px;
    }

    .rotating-logo {
        height: 160px;
    }

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

    .services-hero-title {
        font-size: 1.8rem;
    }

    .marketing-packages-title {
        top: -50px !important;
    }

    .services-hero {
        padding: 50px 0 40px;
        min-height: auto;
    }

    .services-hero-content {
        padding: 20px 15px;
    }

    .services-hero-highlights {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .highlight-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-top: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    /* About section mobile styles */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        width: 100%;
    }

    .service-item {
        padding: 0.8rem 0.4rem;
        min-height: 100px;
    }

    .service-icon {
        font-size: 1.3rem;
    }

    .service-item h4 {
        font-size: 0.8rem;
    }

    .service-item p {
        font-size: 0.65rem;
    }

    /* Quick Process mobile styles */
    .quick-process {
        padding: 2rem 0;
    }

    .quick-process .process-steps {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .quick-process .process-steps h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step {
        padding: 1.2rem 0.8rem;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .step h4 {
        font-size: 0.9rem;
    }

    .step p {
        font-size: 0.75rem;
    }

    .services-highlight, .process-steps {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    /* Black backgrounds for about and contact sections on mobile */
    .about, .contact {
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
    }
}

/* Removed spinning animation for website design - using smooth-pulse instead */

/* Services Preview Section */
.services-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(25, 25, 112, 0.1) 50%, rgba(75, 0, 130, 0.1) 100%);
    backdrop-filter: blur(10px);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.preview-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.preview-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.preview-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.preview-card h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.preview-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.preview-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, #8B0000, #191970);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.preview-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(25, 25, 112, 0.2);
    background: linear-gradient(45deg, #191970, #191970);
}

/* Company Overview Section */
.company-overview {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.overview-text h2 {
    background: linear-gradient(135deg, #8B0000, #191970, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}

.overview-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #8B0000;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.overview-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #8B0000, #191970);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.overview-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(25, 25, 112, 0.2);
    background: linear-gradient(45deg, #191970, #191970);
}

.overview-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.overview-logo {
    position: relative;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.9) 0%, rgba(25, 25, 112, 0.9) 50%, rgba(75, 0, 130, 0.9) 100%);
    backdrop-filter: blur(20px);
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-contact-info {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-contact-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Mobile Responsive for new sections */
@media (max-width: 768px) {
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .preview-card {
        padding: 20px;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .overview-text h2 {
        font-size: 28px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-contact-info {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
}

/* Business Card Modal */
.business-card-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.business-card-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.business-card-modal-content {
    background: linear-gradient(135deg, rgba(27, 27, 60, 0.98), rgba(139, 0, 0, 0.98));
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: modalFadeIn 0.3s ease-out;
    position: relative;
    backdrop-filter: blur(10px);
}

.business-card-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.business-card-close:hover {
    color: #FFD700;
}

.business-card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.business-card-img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.business-card-img:hover {
    transform: scale(1.05);
}

.business-card-download {
    margin-top: 1rem;
}

.download-btn {
    background: linear-gradient(135deg, #8B0000, #B22222);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
    background: linear-gradient(135deg, #A00000, #CD5C5C);
    text-decoration: none;
    color: white;
}

/* Team Member Click Hints */
.business-card-hint {
    font-size: 0.9rem;
    color: #FFD700;
    margin-top: 0.5rem;
    opacity: 0.8;
    font-style: italic;
}

.team-member {
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-member:hover .business-card-hint {
    opacity: 1;
    color: #00FFFF;
}

@media (max-width: 768px) {
    .business-card-modal-content {
        padding: 1.5rem;
        margin: 10px;
    }
    
    .business-card-img {
        max-height: 300px;
    }
}

/* Why Choose Z7 Universe Benefits Section - Gold Text with High Specificity */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.3);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* High specificity selectors to override any existing styles */
.benefits-grid .benefit-card .benefit-title,
.benefits-grid .benefit-card h3.benefit-title,
.benefit-card .benefit-title {
    color: #ffffff !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
}

.benefits-grid .benefit-card .benefit-description,
.benefits-grid .benefit-card p.benefit-description,
.benefit-card .benefit-description {
    color: #ffffff !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    opacity: 1 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
    font-weight: 400 !important;
}

/* Mobile Footer Optimization */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-social .social-links {
        gap: 1rem;
        justify-content: center;
    }
}

/* Real-time Clock and Weather Widget */
.top-widget {
    display: none !important;
    visibility: hidden !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    z-index: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.top-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.widget-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
}

.widget-row:last-child {
    margin-bottom: 0;
}

.widget-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.widget-icon {
    font-size: 0.8rem;
    min-width: 16px;
    text-align: center;
}

.clock-display {
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.5px;
}

.weather-display {
    font-weight: 500;
    color: #87CEEB;
}

.weather-temp {
    color: #000000;
    font-weight: 600;
}

.location-display {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .top-widget {
        top: 68px; /* A bit higher on mobile */
        right: 0; /* Extend to right edge */
        left: 0; /* Start from the very beginning - full width */
        padding: 3px 8px;
        font-size: 0.65rem;
        height: 28px; /* Shorter on mobile */
    }
    
    .widget-content {
        gap: 8px;
    }
    
    .widget-icon {
        font-size: 0.7rem;
        min-width: 12px;
    }
    
    .location-display {
        font-size: 0.55rem;
    }
}

@media (max-width: 480px) {
    .top-widget {
        top: 70px; /* A bit higher on small phones */
        right: 0; /* Extend to right edge */
        left: 0; /* Start from the very beginning - full width */
        padding: 2px 6px;
        font-size: 0.6rem;
        height: 24px; /* Very compact on small screens */
    }
    
    .widget-content {
        gap: 6px;
    }
    
    .location-display {
        display: none; /* Hide location on very small screens */
    }
}