/* ==========================================================================
   HOSANNA DECORS & EVENTS - CSS DESIGN SYSTEM & PREMIUM STYLES
   ========================================================================== */

/* --- Fonts & Core Setup --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #070709;
    --bg-card: rgba(255, 255, 255, 0.025);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.18);
    
    --primary-pink: #ff5e8b;
    --primary-pink-glow: rgba(255, 94, 139, 0.3);
    --text-white: #f8f9fa;
    --text-muted: #a0a0a5;
    
    --glow-indigo: rgba(79, 70, 229, 0.25);
    --glow-pink: rgba(219, 39, 119, 0.25);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* --- Base Resets & Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-pink);
}

/* --- Background Ambient Light & Liquid Globs --- */
.bg-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #111115, var(--bg-dark));
    pointer-events: none;
}

#hero-particles-canvas,
.section-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}


.liquid-glob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    mix-blend-mode: screen;
    pointer-events: none;
}

.glob-1 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--glow-indigo) 0%, transparent 70%);
    top: -10vw;
    left: -10vw;
    animation: floatGlob1 25s infinite alternate ease-in-out;
}

.glob-2 {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--glow-pink) 0%, transparent 70%);
    bottom: -15vw;
    right: -10vw;
    animation: floatGlob2 30s infinite alternate ease-in-out;
}

.glob-3 {
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, var(--primary-pink-glow) 0%, transparent 70%);
    top: 30vh;
    left: 50%;
    transform: translateX(-50%);
    animation: floatGlob3 20s infinite alternate ease-in-out;
}

@keyframes floatGlob1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(8vw, 12vh) scale(1.15); }
}

@keyframes floatGlob2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10vw, -8vh) scale(0.9); }
}

@keyframes floatGlob3 {
    0% { transform: translate(-50%, 0) scale(0.9); }
    100% { transform: translate(-45%, 15vh) scale(1.1); }
}

/* --- Glassmorphism & Premium UI Elements --- */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--border-glass-hover);
    box-shadow: 0 15px 50px 0 rgba(255, 94, 139, 0.05);
}

.glass-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 30px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 150%;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glass-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* --- Typography Utilities --- */
.title-pink {
    font-family: var(--font-heading);
    background: linear-gradient(
        120deg, 
        #ff5e8b 0%, 
        #ff5e8b 30%, 
        #f3e5ab 45%, 
        #fff9e6 50%, 
        #f3e5ab 55%, 
        #ff5e8b 70%, 
        #ff5e8b 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: titleGoldShimmer 4.5s linear infinite;
}

@keyframes titleGoldShimmer {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

.subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-pink);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Scroll Entrance Animations (Reveal) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-left {
    transform: translateX(-40px);
}

.reveal.reveal-right {
    transform: translateX(40px);
}

.reveal.in-view {
    opacity: 1;
    transform: translate(0);
}

/* --- Buttons --- */
.btn-pink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ff8da1 0%, var(--primary-pink) 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-pink-glow);
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.btn-pink i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-pink:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 94, 139, 0.5);
}

.btn-pink:hover i {
    transform: translateX(4px);
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 31px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-weight: 600;
    border-radius: 30px;
    border: 1px solid var(--border-glass);
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--text-white);
    transform: translateY(-3px);
}

/* ==========================================================================
   SECTION SPECIFIC STYLES
   ========================================================================== */

/* --- Floating Glass Navbar --- */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 100;
    transition: var(--transition-smooth);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    border-radius: 50px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo h1 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-logo span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    display: block;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-pink);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-contact-btn {
    display: block;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Header scrolled state */
header.scrolled {
    top: 10px;
    width: 95%;
}

header.scrolled .navbar {
    padding: 10px 30px;
    background: rgba(7, 7, 9, 0.75);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* --- Hero Section & Parallax --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 0 20px;
}

.hero-parallax-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    animation: heroCinematicDrift 28s ease-in-out infinite alternate;
}

.hero-parallax-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(0);
    will-change: transform;
    filter: blur(25px); /* Soft focus intro blur */
    transition: filter 2.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-parallax-bg.focused {
    filter: blur(0);
}

/* Dark Overlay on Hero to ensure text readability */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(7, 7, 9, 0.4) 0%,
        rgba(7, 7, 9, 0.7) 60%,
        var(--bg-dark) 100%
    );
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-white);
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Hero Staggered Reveal Animations --- */
.hero-fade-down {
    opacity: 0;
    display: inline-block;
    transform: translateY(-20px);
    animation: heroFadeDownKey 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.hero-fade-up-1 {
    opacity: 0;
    transform: translateY(50px);
    animation: heroHeadingReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

.hero-fade-up-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUpKey 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
}

.hero-fade-up-3 {
    opacity: 0;
    transform: translateY(25px);
    animation: heroFadeUpKey 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}

@keyframes heroCinematicDrift {
    0% {
        transform: scale(1.0) translate(0, 0);
    }
    100% {
        transform: scale(1.08) translate(-1.5%, -0.8%);
    }
}

@keyframes heroFadeDownKey {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeUpKey {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroHeadingReveal {
    0% {
        opacity: 0;
        transform: translateY(60px);
        clip-path: inset(100% 0 0 0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.about-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.vision-mission-card {
    padding: 25px;
}

.vision-mission-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-pink);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vision-mission-card p {
    font-style: italic;
    color: var(--text-white);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Metric Stats Counter Grid */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-pink);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* --- Services Grid & Hover Panels --- */
.services {
    padding: 100px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-image-wrapper {
    position: relative;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.service-card:hover h3 {
    color: var(--primary-pink);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.service-features li {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 15px;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Interactive Gallery & Masonry --- */
.gallery {
    padding: 100px 0;
    position: relative;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-pink);
    color: #000;
    border-color: var(--primary-pink);
    font-weight: 600;
    box-shadow: 0 4px 15px var(--primary-pink-glow);
}

/* Masonry Columns */
.gallery-grid {
    columns: 4 250px;
    column-gap: 20px;
    width: 100%;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-smooth);
    border-radius: 12px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-pink);
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.8rem;
    color: var(--text-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Gallery transitions */
.gallery-item.hidden {
    display: none;
}

/* --- Infrastructure & In-House Section --- */
.infrastructure {
    padding: 100px 0;
    position: relative;
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.infra-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.infra-header {
    margin-bottom: 20px;
}

.infra-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--primary-pink);
}

.infra-header span {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.infra-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.infra-highlights {
    list-style: none;
    margin-bottom: 30px;
}

.infra-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.infra-highlights li i {
    color: var(--primary-pink);
    font-size: 1rem;
}

.infra-location-map {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

/* --- Infinite Client Marquee --- */
.clients-marquee-section {
    padding: 35px 0; /* Reduced padding from 60px to keep container compact */
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    position: relative;
    overflow: hidden;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    display: flex;
    position: relative;
}

.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.marquee-content {
    display: inline-flex;
    gap: 80px;
    animation: marqueeAnimation 45s linear infinite;
    align-items: center;
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75px; /* Increased height from 50px */
    padding: 0 10px;
    transition: var(--transition-fast);
    border-radius: 10px;
}

.marquee-item img {
    height: 55px; /* Increased logo height from 35px */
    width: auto;
    max-width: 200px; /* Increased max-width from 160px */
    object-fit: contain;
    filter: grayscale(1) opacity(0.5);
    transition: all 0.3s ease;
}

.marquee-item:hover img {
    filter: grayscale(0) opacity(1.0);
}

@keyframes marqueeAnimation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Contact & Custom Booking Form --- */
.contact {
    padding: 100px 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-intro h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-intro p {
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-pink);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-white);
}

.contact-text p, 
.contact-text a {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-text a:hover {
    color: var(--primary-pink);
}

/* Form Styles */
.contact-form-panel {
    padding: 40px;
}

.contact-form-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-form-panel p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--primary-pink);
}

.form-label {
    position: absolute;
    top: 12px;
    left: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-smooth);
}

/* Floating labels */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-input:-webkit-autofill ~ .form-label,
.form-input:autofill ~ .form-label {
    top: -16px;
    font-size: 0.75rem;
    color: var(--primary-pink);
    letter-spacing: 1px;
}

/* Chrome/Edge/Safari Autofill Style Overrides */
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover, 
.form-input:-webkit-autofill:focus, 
.form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #121217 inset !important;
    -webkit-text-fill-color: var(--text-white) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-glass) !important;
    box-shadow: 0 0 0px 1000px #121217 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}


textarea.form-input {
    min-height: 100px;
    resize: vertical;
}

/* Custom dropdown styled glassmorphic select */
.form-select-wrapper {
    position: relative;
    border-bottom: 1px solid var(--border-glass);
}

.form-select {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.form-select:focus {
    outline: none;
}

.form-select option {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 10px;
}

.form-select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 5px;
    top: 12px;
    color: var(--text-muted);
    pointer-events: none;
}

.form-status {
    margin-top: 15px;
    font-size: 0.9rem;
    display: none;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: block;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: block;
}

/* --- Footer --- */
footer {
    background: #040405;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-glass);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--primary-pink);
    color: #000;
    border-color: var(--primary-pink);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px var(--primary-pink-glow);
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-pink);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links ul a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--text-white);
}

/* --- Fullscreen Lightbox Modal --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 5, 0.95);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    color: var(--text-white);
    margin-top: 20px;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--text-white);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-nav:hover {
    background: var(--primary-pink);
    color: #000;
    border-color: var(--primary-pink);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

/* --- Preloader Overlay & Animations --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.preloader-logo {
    width: 150px;
    height: auto;
    animation: logoEntrance 1.8s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 15px var(--primary-pink-glow));
}

.preloader-bar {
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px auto 0;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: var(--primary-pink);
    animation: loadingBar 1.5s infinite ease-in-out;
    box-shadow: 0 0 8px var(--primary-pink);
}

@keyframes logoEntrance {
    0% {
        transform: scale(0.95);
        filter: drop-shadow(0 2px 10px rgba(255, 94, 139, 0.35)) brightness(0.95);
    }
    100% {
        transform: scale(1.03);
        filter: drop-shadow(0 4px 22px rgba(255, 94, 139, 0.55)) brightness(1.1);
    }
}

@keyframes loadingBar {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* --- Navigation & Footer Logo Enhancements --- */
.logo-img {
    height: 48px;
    width: auto;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1, .logo-text h2 {
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.nav-logo:hover .logo-img {
    transform: translateY(-3px) scale(1.05);
    filter: drop-shadow(0 4px 15px rgba(255, 94, 139, 0.45)) drop-shadow(0 2px 25px rgba(255, 215, 0, 0.25));
}

.nav-logo:hover .logo-text h1 {
    color: var(--text-white);
    text-shadow: 0 0 12px rgba(255, 94, 139, 0.4);
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-logo-wrapper:hover .footer-logo {
    transform: translateY(-4px) scale(1.05);
    filter: drop-shadow(0 4px 15px rgba(255, 94, 139, 0.45)) drop-shadow(0 2px 25px rgba(255, 215, 0, 0.25));
}

.footer-logo-wrapper:hover .logo-text h2 {
    color: var(--text-white);
    text-shadow: 0 0 12px rgba(255, 94, 139, 0.4);
}

.footer-logo-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.2;
}

.footer-logo-wrapper span {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    display: block;
    margin-top: 2px;
}

/* ==========================================================================
   RESPONSIVENESS & MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 3.2rem;
    }
    
    .about-grid, 
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .infra-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-prev {
        left: 20px;
    }
    
    .lightbox-next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    header {
        top: 10px;
        width: 95%;
    }
    
    .navbar {
        padding: 15px 25px;
        border-radius: 30px;
    }
    
    .nav-links {
        display: none; /* Toggle handled in JS */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(7, 7, 9, 0.93) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        padding: 35px 25px !important;
        border-radius: 20px;
        border: 1px solid rgba(255, 215, 0, 0.12) !important;
        gap: 20px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85) !important;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-contact-btn {
        display: none; /* Hide in header for mobile */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Responsive logo text to fit small screens */
    .nav-logo {
        gap: 8px;
    }
    
    .logo-img {
        height: 38px;
    }
    
    .logo-text h1 {
        font-size: 1.15rem;
        letter-spacing: 1px;
    }
    
    .logo-text span {
        font-size: 0.6rem;
        letter-spacing: 1px;
        margin-top: -1px;
    }
    
    /* Reduced section spacing for compact mobile screens */
    .about, 
    .services, 
    .gallery, 
    .infrastructure, 
    .contact {
        padding: 60px 0;
    }
 
    /* Mobile Hero Full View Background (Contain layout) */
    .hero {
        background-color: transparent !important;
        height: auto !important; /* Allow natural scrolling overflow on short viewports */
        min-height: 100vh !important; /* Fill screen at minimum */
        display: block !important; /* Restore natural vertical document flow */
        padding-bottom: 90px !important; /* Space at bottom for mouse scroll indicator */
        position: relative !important;
    }

    .hero-parallax-wrapper {
        background-color: #070709 !important; /* Match image black level for seamless blending */
        z-index: -2 !important; /* Keep behind gradient overlays and text */
        top: 80px !important; /* Position precisely below floating glass navbar */
        height: calc(100vh - 80px) !important; /* Fit remaining viewport height */
        position: absolute !important;
    }

    .hero-parallax-bg {
        background-size: contain !important; /* Show full image, no cropping */
        background-repeat: no-repeat !important;
        background-position: center top !important; /* Align stage to top inside wrapper */
        height: 100% !important;
        width: 100% !important;
        top: 0 !important;
    }

    .hero-content {
        padding: 0 15px;
        margin-top: calc(80px + 66.67vw + 20px) !important; /* Position text exactly below the 3:2 landscape image */
        margin-bottom: 25px !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .hero-content .subtitle {
        font-size: 0.72rem;
        letter-spacing: 2px;
        margin-bottom: 20px;
        padding: 4px 12px;
        background: rgba(255, 94, 139, 0.08);
        border: 1px solid rgba(255, 94, 139, 0.2);
        border-radius: 20px;
        display: inline-block;
        text-shadow: 0 0 10px rgba(255, 94, 139, 0.3);
    }

    .hero-content h2 {
        font-size: 2.1rem; /* Highly balanced size for narrow mobile viewports */
        line-height: 1.25;
        margin-bottom: 22px;
        letter-spacing: 0.5px;
        font-weight: 800;
    }
    
    .hero-content p {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: 35px;
        padding: 0 10px;
        color: rgba(255, 255, 255, 0.85);
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
        padding: 0 15px; /* Clean proportional margins */
    }

    .hero-ctas .btn-pink,
    .hero-ctas .btn-glass {
        width: 100%;
        padding: 14px 28px;
        font-size: 0.95rem;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
    }

    /* Claude/Fable style Glowing Borders & Shadows on Cards */
    .glass-card, .glass-panel {
        background: rgba(10, 10, 15, 0.65) !important;
        border: 1px solid rgba(255, 215, 0, 0.08) !important; /* Subtle gold ember halo border */
        box-shadow: 
            0 8px 32px 0 rgba(0, 0, 0, 0.5), 
            inset 0 1px 0 0 rgba(255, 255, 255, 0.04) !important;
        transition: border-color 0.4s ease, box-shadow 0.4s ease;
    }
    
    .glass-card:hover, .glass-panel:hover {
        border-color: rgba(255, 94, 139, 0.25) !important;
        box-shadow: 
            0 12px 40px 0 rgba(255, 94, 139, 0.05),
            inset 0 1px 0 0 rgba(255, 255, 255, 0.06) !important;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    /* 3-Column Compact Metric Stats on Mobile */
    .about-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin-top: 30px;
    }
    
    .stat-item {
        padding: 12px 6px !important;
        background: rgba(255, 255, 255, 0.01);
        border-radius: 10px;
    }
    
    .stat-number {
        font-size: 1.6rem !important;
    }
    
    .stat-label {
        font-size: 0.65rem !important;
        letter-spacing: 1px !important;
    }
 
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        margin-bottom: 20px;
        padding: 24px !important;
    }

    .service-image-wrapper {
        height: 190px !important;
        border-radius: 10px;
    }

    /* 2-Column Responsive Masonry Portfolio Grid */
    .gallery-grid {
        columns: 2 150px !important;
        column-gap: 12px !important;
    }

    .gallery-item {
        margin-bottom: 12px !important;
        border-radius: 10px;
    }

    .gallery-overlay {
        padding: 12px !important;
    }

    .gallery-overlay h4 {
        font-size: 0.88rem !important;
    }

    .gallery-overlay p {
        font-size: 0.68rem !important;
    }
    
    /* Reduce form padding for maximum width space */
    .contact-form-panel {
        padding: 25px 20px;
    }
 
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .lightbox-prev, 
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* --- Multi-Section Particles Layer Safety --- */
.about,
.services,
.gallery,
.infrastructure,
.contact {
    overflow: hidden;
}

.about .container,
.services .container,
.gallery .container,
.infrastructure .container,
.contact .container {
    position: relative;
    z-index: 1;
}


/* --- Collapsible Gallery Section & Unlock Panel --- */
.gallery-unlock-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0 60px;
    width: 100%;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 2;
    position: relative;
}

.gallery-unlock-card {
    max-width: 580px;
    width: 100%;
    text-align: center;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.gallery-unlock-icon {
    font-size: 2.8rem;
    color: var(--primary-pink);
    text-shadow: 0 0 20px var(--primary-pink-glow);
    animation: pulseGlowEmber 2s infinite alternate ease-in-out;
}

.gallery-unlock-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-white);
    margin: 0;
}

.gallery-unlock-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

#unlock-gallery-btn {
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(255, 94, 139, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#unlock-gallery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 94, 139, 0.6);
}

.gallery-grid-wrapper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
    width: 100%;
}

.gallery-grid-wrapper.open {
    max-height: 8000px; /* High threshold to fit the full masonry layout */
    opacity: 1;
}

@keyframes pulseGlowEmber {
    0% { transform: scale(1); opacity: 0.8; filter: drop-shadow(0 0 5px var(--primary-pink-glow)); }
    100% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 15px var(--primary-pink-glow)); }
}

@media (max-width: 768px) {
    .gallery-unlock-card {
        padding: 30px 20px;
        gap: 18px;
    }
    .gallery-unlock-card h3 {
        font-size: 1.5rem;
    }
    .gallery-unlock-card p {
        font-size: 0.9rem;
    }
}

/* --- Scroll Down Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Hidden on desktop view */
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.75;
    transition: var(--transition-smooth);
    z-index: 2;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    position: relative;
    display: block;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.scroll-wheel {
    width: 2.5px;
    height: 6px;
    background: var(--primary-pink);
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 6px var(--primary-pink);
    animation: scrollWheelAnim 1.8s infinite ease-in-out;
}

.scroll-text {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

@keyframes scrollWheelAnim {
    0% {
        top: 6px;
        opacity: 1;
        height: 6px;
    }
    50% {
        top: 13px;
        opacity: 0.25;
        height: 8px;
    }
    100% {
        top: 6px;
        opacity: 1;
        height: 6px;
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: flex !important;
        bottom: 15px;
        gap: 4px;
    }
    .scroll-text {
        display: none; /* Hide text on mobile for spacing */
    }
    .scroll-mouse {
        width: 18px;
        height: 28px;
    }
    .scroll-wheel {
        width: 2px;
        height: 5px;
        top: 5px;
    }
}
