:root {
    /* Vibrancy & Creativity Palette */
    --primary-blue: #0066FF;
    --secondary-blue: #00C6FF;
    --accent-color: #FF2E63;
    /* Dynamic highlight */
    --dark-bg: #121212;
    --card-bg: #FFFFFF;

    /* Gradients */
    --main-gradient: linear-gradient(135deg, #0066FF 0%, #00C6FF 100%);
    --text-gradient: linear-gradient(135deg, #1d1d1f 0%, #434343 100%);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing & Layout */
    --section-padding: 6rem 8%;

    /* Modern UI Shadowns */
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
    --neon-glow: 0 0 20px rgba(0, 198, 255, 0.6);

    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f4f7f6;
    color: #333;
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
.btn {
    font-family: var(--font-heading);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Navigation - Modern & Glassy */
/* Navigation - Clean & Fast */
/* Navigation - Aesthetic & Optimized */
/* Navigation - Dynamic Island Style */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Floating Capsule Logic */
    position: fixed;
    top: 20px;
    /* Float from top */
    left: 50%;
    transform: translateX(-50%);
    /* Center horizontally */
    width: 90%;
    max-width: 900px;
    /* Limit width like a capsule */

    background: #000000;
    /* Solid Black (Dynamic Island) */
    border-radius: 100px;
    /* Full pill shape */
    padding: 0.8rem 2rem;

    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    /* Deep elegant shadow */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle highlight ring */
}

/* Scrolled state could be slightly wider or stay the same. 
   Let's ensure it stays consistent but perhaps tightens slightly for effect. */
nav.scrolled {
    width: 95%;
    /* Expand slightly on scroll? Or stay fixed? Let's keep it consistent for stability. */
    top: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}



.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.nav-logo img {
    height: 50px;
    /* Slightly bigger */
    transition: var(--transition);
    /* filter: brightness(0) invert(1); Removed to show original logo */
    opacity: 1 !important;
    visibility: visible !important;
    display: block;
}

.slogan {
    font-size: 0.8rem;
    font-weight: 700;
    color: #e5e5e5;
    /* Off-white */
    line-height: 1.1;
    text-transform: uppercase;
    border-left: 2px solid #555;
    padding-left: 12px;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #a1a1a6;
    /* Apple grey */
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    /* indicators removed per user request */
    display: none;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    display: none;
}


.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
    /* White active state */
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    /* White hamburger */
}

/* Hero Section */
header.hero {
    position: relative;
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* Fixed attachment can be jittery on mobile */
    overflow: hidden;
}

/* Reduced complexity overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    /* detailed gradient replaced with simple alpha */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

/* REMOVED: Custom Cursor Styles */
/* REMOVED: Texture Overlay */

/* Glitch Effect for Hero Title */
.hero h1 {
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -2px;
    position: relative;
    /* Cleaned up text shadow for better readability */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    /* animation: glitch-skew 3s infinite linear alternate-reverse; <- Removed constant skew */
}

.hero h1::before,
.hero h1::after {
    /* Optimization: Glitch effect removed for performance */
    display: none;
}

.hero h1:hover::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-pink);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
    opacity: 1;
    /* Show only on hover */
}

.hero h1:hover::after {
    left: -2px;
    text-shadow: -2px 0 var(--secondary-cyan);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
    opacity: 1;
    /* Show only on hover */
}

@keyframes glitch-anim {
    0% {
        clip: rect(32px, 9999px, 18px, 0);
    }

    20% {
        clip: rect(68px, 9999px, 8px, 0);
    }

    40% {
        clip: rect(15px, 9999px, 78px, 0);
    }

    60% {
        clip: rect(92px, 9999px, 46px, 0);
    }

    80% {
        clip: rect(5px, 9999px, 33px, 0);
    }

    100% {
        clip: rect(64px, 9999px, 52px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(12px, 9999px, 58px, 0);
    }

    20% {
        clip: rect(85px, 9999px, 14px, 0);
    }

    40% {
        clip: rect(34px, 9999px, 66px, 0);
    }

    60% {
        clip: rect(7px, 9999px, 92px, 0);
    }

    80% {
        clip: rect(42px, 9999px, 12px, 0);
    }

    100% {
        clip: rect(95px, 9999px, 3px, 0);
    }
}

@keyframes glitch-skew {
    0% {
        transform: skew(1deg);
    }

    20% {
        transform: skew(-1deg);
    }

    40% {
        transform: skew(2deg);
    }

    60% {
        transform: skew(-0.5deg);
    }

    80% {
        transform: skew(-2deg);
    }

    100% {
        transform: skew(1deg);
    }
}

.hero p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    font-weight: 500;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Buttons - "Jelly" Effect or Gradient */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    background: var(--main-gradient);
    color: white;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.5);
    background: linear-gradient(135deg, #00C6FF 0%, #0066FF 100%);
    /* Reverse gradient */
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: none;
    margin-left: 1rem;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-blue);
    border-color: white;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Sections - Creative layouts */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.section-title h2 {
    font-size: 3rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section-title p {
    color: #666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Advanced Cards - "Alive" Effect */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
    padding: 10px;
}

.card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--card-hover-glow);
    border-color: var(--secondary-cyan);
}

.card-img {
    height: 260px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.95);
}

.card:hover .card-img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.card-content {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 1));
}

.card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: #111;
    transition: color 0.3s;
}

.card:hover h3 {
    color: var(--primary-blue);
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card p {
    color: #555;
    font-size: 1.05rem;
}

/* Section Title - Animated Text */
.section-title h2 {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(to right, #2979FF, #D500F9, #FF1744);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s linear infinite;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 0.5rem;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.section-title p {
    font-size: 1.4rem;
    font-weight: 500;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Promo Section - Parallax & Modern */
.promo {
    background-size: cover !important;
    background-attachment: fixed !important;
    position: relative;
    color: white;
    text-align: center;
    overflow: hidden;
    padding: 8rem 2rem;
}

.promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 102, 255, 0.8), rgba(0, 0, 0, 0.6));
}

.promo div {
    position: relative;
    z-index: 2;
}

.promo h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Styles upgraded */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    background: #fff;
    padding: 4rem;
    border-radius: 30px;
    box-shadow: var(--card-shadow);
}

.contact-info-block,
.contact-form {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Consistent spacing */
}

.contact-info-block .btn,
.contact-form .btn {
    margin-top: auto;
}

/* Video Gallery Styles */
.video-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-video-frame iframe {
    border-radius: 20px;
    box-shadow: var(--neon-box-shadow);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.video-card iframe {
    width: 100%;
    height: 200px;
    border: none;
}

/* Social Feeds Styles */
.social-feeds-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.social-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    text-align: center;
    max-width: 400px;
    width: 100%;
    transition: var(--transition);
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.social-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.social-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

/* Instagram Specifics */
.instagram-card {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
}

.instagram-card .social-header h3,
.instagram-card p {
    color: white;
}

.instagram-preview-btn {
    display: block;
    margin: 2rem auto;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.instagram-preview-btn:hover {
    background: white;
    color: #e1306c;
    transform: scale(1.1) rotate(5deg);
}

.btn-insta {
    background: white;
    color: #e1306c;
    border: none;
}

.btn-insta:hover {
    background: #f0f0f0;
    color: #e1306c;
}

.info-item {
    padding: 1.25rem;
    /* Slightly reduced padding */
    background: #f8faff;
    border-radius: 15px;
    /* margin-bottom: 1.5rem; Removed in favor of gap */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border-left: 5px solid var(--primary-blue);
    transition: var(--transition);
    /* flex: 1; Removed so they don't stretch unnecessarily */
    display: flex;
    align-items: center;
    /* Center content vertically if needed */
}

.info-item:hover {
    transform: translateX(10px);
}

.info-icon {
    font-size: 1.5rem;
    /* Ensure icon stays aligned */
    margin-right: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px;
    /* margin-bottom: 1.5rem; Removed in favor of gap */
    background: #f9f9f9;
    border: 2px solid transparent;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: #fff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 5px rgba(0, 102, 255, 0.1);
    outline: none;
}

/* Footer - Clean Dark */
footer {
    background: #111;
    color: #aaa;
    padding: 5rem 8%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

footer h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
}

footer a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: var(--secondary-blue);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
}

.copyright {
    background: #0a0a0a;
    color: #555;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25D366;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(15deg);
}

.whatsapp-float svg {
    width: 40px;
    height: 40px;
    fill: white;
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 5%;
        /* Smaller padding for mobile */
    }

    nav {
        padding: 0.8rem 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background: rgba(0, 0, 0, 0.95);
        /* Darker background for contrast */
        width: 100%;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        z-index: 20005;
        /* Ensure it covers everything */
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hero h1 {
        font-size: 2.5rem;
        /* Smaller hero text */
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
        margin-left: 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    /* Fix Grid Overflow */
    .grid-container,
    .video-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        gap: 30px;
        padding: 0;
    }

    /* Fix Contact Form Sizing */
    .contact-container {
        padding: 2rem 1.5rem;
        flex-direction: column;
    }

    .contact-info-block,
    .contact-form {
        flex: 1 1 auto;
        /* Allow shrinking */
        min-width: 100%;
        width: 100%;
    }

    /* Adjustments for better touch targets */
    .nav-links a {
        font-size: 1.5rem;
        margin: 1rem 0;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    /* Viewport width */
    height: 100vh;
    background: #ffffff;
    z-index: 10000;

    /* Using Grid for perfect centering */
    display: grid;
    place-items: center;

    /* Splash Transition Props */
    transition: clip-path 2.5s cubic-bezier(0.85, 0, 0.15, 1), visibility 2.5s;
    clip-path: circle(150% at 50% 50%);
}

#preloader.loaded {
    clip-path: circle(0% at 50% 50%);
    visibility: hidden;
}

/* Preloader Logo Style */
.loader-content {
    /* Container for logo and spinner */
    position: relative;
    width: 300px;
    height: 300px;
    /* Grid again to center children */
    display: grid;
    place-items: center;
}

.spinner {
    /* Absolute relative to loader-content, but grid also helps */
    position: absolute;
    inset: 0;
    /* Fill container */
    margin: auto;

    width: 250px;
    height: 250px;
    border: 4px solid transparent;
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
    z-index: 1;
    background: transparent;
}

.spinner::before {
    content: "";
    position: absolute;
    inset: 15px;
    /* simplified sizing */
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--secondary-blue);
    animation: spin 3s linear infinite reverse;
}

.loading-text {
    /* Logo container */
    z-index: 2;
    position: absolute;
    inset: 0;
    margin: auto;

    width: 160px;
    /* Big Logo */
    height: 160px;

    background-image: url('../images/logo1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    animation: pulse-logo 2s infinite ease-in-out;
    text-indent: -9999px;
    overflow: hidden;
}

@keyframes pulse-logo {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-loader {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    /* Above preloader */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    margin: auto;
    padding: 0;
    border-radius: 20px;
    width: 95%;
    max-width: 1200px;
    /* Increased width */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Horizontal Modal Layout */
.modal-grid {
    display: flex;
    flex-direction: row;
    height: 600px;
    /* Increased height */
}

.modal-image-col {
    flex: 1.2;
    /* Give image slightly more width */
    background: #ffffff;
    /* White bg for clean look with contain */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-image-col img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensures full image is visible */
    display: block;
    transition: transform 0.8s;
}

.modal-image-col:hover img {
    transform: scale(1.05);
}

.modal-info-col {
    flex: 1;
    padding: 4rem;
    /* More padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    position: relative;
}

.modal-body {
    /* Deprecated in new layout but kept for safety */
    padding: 0;
}

.modal-divider {
    height: 4px;
    width: 60px;
    background: var(--main-gradient);
    margin: 1rem 0 2rem 0;
    /* Align left */
    border-radius: 2px;
}

/* Override old image styles */
#modalImg {
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    max-height: none;
}

@media (max-width: 768px) {
    .modal-grid {
        flex-direction: column;
        height: auto;
    }

    .modal-image-col {
        height: 250px;
    }

    .modal-info-col {
        padding: 2rem;
    }
}

#modalDesc {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.close-btn:hover {
    color: var(--primary-blue);
    transform: rotate(90deg);
}

/* TV Switch On Animation */
@keyframes tvSwitchOn {
    0% {
        opacity: 0;
        transform: scale(0.1, 0.005);
        filter: brightness(2);
    }

    40% {
        opacity: 1;
        transform: scale(1, 0.005);
        filter: brightness(3);
    }

    70% {
        transform: scale(1, 1.1);
        filter: brightness(1.5);
    }

    100% {
        opacity: 1;
        transform: scale(1, 1);
        filter: brightness(1);
    }
}

.animate-splash {
    animation: tvSwitchOn 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    transform-origin: center center;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 20000;
    /* Highest priority */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 102, 255, 0.2);
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 20001;
}

.lightbox-close:hover {
    color: var(--primary-blue);
    transform: rotate(90deg) scale(1.2);
}

/* Floating Left Social Sidebar */
.social-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.social-float-btn {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
}

.social-float-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Specific Colors on Hover */
.fb-btn:hover {
    background: #1877F2;
    color: white;
    transform: translateX(5px) scale(1.1);
}

.insta-btn:hover {
    background: #E1306C;
    color: white;
    transform: translateX(5px) scale(1.1);
}

.yt-btn:hover {
    background: #FF0000;
    color: white;
    transform: translateX(5px) scale(1.1);
}

@media (max-width: 768px) {
    .social-sidebar {
        display: none;
        /* Hide sidebar on mobile to avoid clutter */
    }
}

/* Floating WhatsApp Button - Optimized & Attention Grabbing */
.whatsapp-float {
    position: fixed;
    width: 80px;
    /* Increased from 70px */
    height: 80px;
    /* Increased from 70px */
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 40px;
    /* Larger icon */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    /* High priority */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    /* Hidden by default for preloader sync */
    opacity: 0;
    visibility: hidden;
    transform: scale(0) translateY(20px);
    pointer-events: none;

    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float.is-visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.whatsapp-float svg {
    width: 45px;
    /* Larger icon */
    height: 45px;
    fill: white;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    /* Darker WhatsApp Green */
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover svg {
    transform: rotate(10deg);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Simulated WhatsApp Chat Bubbles */
#whatsapp-chat-sim {
    position: fixed;
    bottom: 120px;
    /* Above the button */
    right: 40px;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
    pointer-events: none;
    /* Let clicks pass through if needed, though usually messages block */
}

.wa-message {
    background: #ffffff;
    color: #111;
    padding: 10px 15px;
    border-radius: 15px 15px 0 15px;
    /* Rounded with tail on bottom-right */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    align-self: flex-end;
    /* Align right like received messages? No, usually sender is left, but this is "us" talking to user. Let's make it look like a notification from "Us" */
    /* Actually, if "CadImpresiones" is talking to the user, and the widget is on the right... */
    /* Let's style it like an incoming message bubble */
    border-radius: 15px 15px 5px 15px;
    position: relative;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 2px solid #25d366;
    /* Green accent */
}

.wa-message.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.wa-message::before {
    /* Avatar/Name could go here if requested, keeping simple for now */
    content: 'CadImpresiones';
    display: block;
    font-size: 0.7rem;
    color: #25d366;
    font-weight: 700;
    margin-bottom: 3px;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 70px;
        height: 70px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 35px;
        height: 35px;
    }

    #whatsapp-chat-sim {
        right: 25px;
        bottom: 100px;
        width: 250px;
    }
}