/* ================= VARIABLES ================= */
:root {
    --navy: #0c1e35;      
    --navy-light: #152945;
    --orange: #f08323;    
    --orange-glow: #ff9e47;
    --white: #ffffff;
    --cream: #FFFBF0; /* CREAM COLOR FOR NAVBAR */
    --gray: #f7f7f7;
    --text-dark: #1a1a1a;
    --transition: all 0.4s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background: var(--white); color: var(--text-dark); overflow-x: hidden; scroll-behavior: smooth; }

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--navy); }
.text-orange { color: var(--orange) !important; }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.bg-light { background: var(--gray); }
.bg-dark { background: var(--navy); color: var(--white); }
.bg-navy-gradient { background: linear-gradient(135deg, #0c1e35, #000000); color: var(--white); }
.text-center { text-align: center; }

/* ================= 1. FAST SPLIT LOADER ================= */
.loader-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 9999; display: flex; justify-content: center; align-items: center;
    pointer-events: none;
}

.curtain {
    position: absolute; top: 0; height: 100%; width: 50%;
    background: var(--navy);
    z-index: 2;
    /* Duration 1.2s rakhi hai taaki smooth lage, Delay 0s kar diya taaki turant shuru ho */
    transition: transform 1.2s ease-in-out; 
}

.curtain.left { left: 0; transform-origin: left; }
.curtain.right { right: 0; transform-origin: right; }

.loader-container.loaded .curtain.left { transform: translateX(-100%); }
.loader-container.loaded .curtain.right { transform: translateX(100%); }

.loader-content {
    position: relative; z-index: 3; text-align: center;
    /* Text ko 0.8s mein gayab kar denge, taaki parda khulte hi wo chala jaye */
    animation: fadeOut 0.8s ease forwards; 
    /* Opacity transition taaki smooth lage */
    transition: opacity 0.5s;
}

/* Jab loaded class add ho, to text ki opacity 0 kar do */
.loader-container.loaded .loader-content {
    opacity: 0;
}

.loader-logo { font-size: 4rem; color: var(--white); letter-spacing: 2px; }
.loader-sub { font-size: 1.2rem; font-weight: 600; margin-top: 10px; letter-spacing: 1px; }

@keyframes fadeOut { 
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.8); } 
}

/* ================= SCROLL BAR & BTN ================= */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 4px; background: var(--orange);
    width: 0%; z-index: 1001; transition: width 0.1s;
}

.scroll-btn {
    position: fixed; bottom: 30px; right: 30px;
    background: var(--orange); color: var(--white);
    border: none; padding: 15px; border-radius: 50%;
    cursor: pointer; display: none; z-index: 900;
    box-shadow: 0 5px 15px rgba(240, 131, 35, 0.4);
    transition: var(--transition);
}
.scroll-btn:hover { background: var(--navy); transform: translateY(-5px); }

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed; bottom: 30px; left: 30px;
    background: #25D366; color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 900; transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ================= NAVBAR (CREAM) ================= */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; position: fixed; width: 100%; top: 0;
    background: rgb(246 239 221); /* CREAM BG */
    backdrop-filter: blur(15px);
    z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 2px solid var(--orange);
}
.logo-container { display: flex; align-items: center; gap: 10px; }
.nav-logo { height: 50px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-main { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.brand-sub { font-size: 0.8rem; font-weight: 600; color: var(--orange); letter-spacing: 1px; }

.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 600; transition: 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background: var(--orange); transition: 0.3s; }
.nav-links a:hover::after { width: 100%; }

.btn-nav { padding: 8px 25px; border: 2px solid var(--orange); border-radius: 50px; color: var(--orange) !important; }
.btn-nav:hover { background: var(--orange); color: var(--white) !important; }

/* ================= HERO SECTION & 3D BG ================= */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); overflow: hidden; }
.slider, .slide, .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.slider { z-index: -2; }
.slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; transform: scale(1); }
.slide.active { opacity: 1; animation: zoomEffect 20s infinite linear; } 
.overlay { background: rgba(12, 30, 53, 0.75); z-index: -1; }

@keyframes zoomEffect { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* Floating Shapes */
.shapes div { position: absolute; background: rgba(240, 131, 35, 0.2); border-radius: 50%; filter: blur(40px); z-index: -1; animation: float 10s infinite alternate; }
.shape-1 { width: 300px; height: 300px; top: -10%; left: -10%; }
.shape-2 { width: 200px; height: 200px; bottom: 20%; right: -5%; animation-delay: 2s; }
.shape-3 { width: 150px; height: 150px; top: 40%; left: 40%; background: rgba(255,255,255,0.1); }

@keyframes float { from { transform: translateY(0); } to { transform: translateY(50px); } }

.hero-content { z-index: 10; padding: 20px; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 10px; text-shadow: 0 5px 15px rgba(0,0,0,0.3); color: white; }
.hero-content h2 { font-size: 1.5rem; font-weight: 400; color: var(--orange); margin-bottom: 20px; }

/* Buttons */
.btn { display: inline-block; padding: 15px 35px; margin: 10px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: var(--transition); text-transform: uppercase; cursor: pointer; position: relative; overflow: hidden; }
.btn-primary { background: var(--orange); color: var(--white); border: 2px solid var(--orange); }
.btn-primary:hover { background: transparent; color: var(--orange); box-shadow: 0 0 20px rgba(240, 131, 35, 0.6); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

.scroll-down-indicator { position: absolute; bottom: 30px; display: flex; flex-direction: column; align-items: center; color: rgba(255,255,255,0.6); animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* ================= MARQUEE BUTTONS (NEW) ================= */
.marquee-section {
    background: var(--navy);
    padding: 30px 0;
    /* overflow: hidden;  <-- Isse HATA DO */
    /* white-space: nowrap; <-- Isse bhi HATA DO */
    
    /* Naya Code: */
    text-align: center; /* Butons ko center me layega */
    border-top: 4px solid var(--orange);
    border-bottom: 4px solid var(--orange);
}

.marquee-content { display: flex;       /* Flexbox use karein */
    flex-wrap: wrap;     /* Mobile pe next line me aa jayenge */
    justify-content: center; /* Bilkul beech me rahenge */
    gap: 15px; }

.marquee-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 10px 25px; margin: 0 15px;
    border-radius: 50px; font-weight: 700;
    border: 1px solid var(--orange);
    cursor: pointer; transition: 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.marquee-tag i { margin: 5px; }

.marquee-tag:hover {
    background: var(--orange); color: var(--navy);
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 0 20px var(--orange);
}

.marquee-section:hover .marquee-content { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* ================= 3D TILT CARDS & FEATURES ================= */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 2rem; }

.tilt-card {
    background: var(--white);
    border-radius: 15px; padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.1s ease-out, box-shadow 0.3s;
    transform-style: preserve-3d; perspective: 1000px;
    border-bottom: 4px solid transparent;
}
.tilt-card:hover {
    border-bottom: 4px solid var(--orange);
    box-shadow: 0 20px 40px rgba(12, 30, 53, 0.15);
}

.feature-box { text-align: center; }
.icon-3d { font-size: 3rem; color: var(--orange); margin-bottom: 1rem; transform: translateZ(20px); }
.feature-box h3, .feature-box p { transform: translateZ(10px); }

/* ================= CATALOGUE ================= */
.section { padding: 6rem 0; }
.container { max-width: 1200px; margin: auto; padding: 0 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.card { position: relative; overflow: hidden; }
.card-img-placeholder {
    height: 200px; background: var(--navy-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: var(--orange);
    border-radius: 10px 10px 0 0;
}
.card-content { padding: 1.5rem; text-align: center; }
.card h3 { color: var(--navy); margin-bottom: 5px; }
.link-text { color: var(--orange); text-decoration: none; font-weight: 600; display: inline-block; margin-top: 10px; transition: 0.3s; }
.link-text:hover { letter-spacing: 1px; }

/* ================= PROCESS (Timeline) ================= */
.process-wrapper { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; text-align: center; margin-top: 4rem; position: relative; }
.process-line { position: absolute; top: 40px; left: 0; width: 100%; height: 2px; background: rgba(255,255,255,0.2); z-index: 0; display: none; } 

.process-step { flex: 1; min-width: 200px; position: relative; z-index: 1; }
.step-icon {
    width: 80px; height: 80px; background: var(--orange); color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 800; margin: 0 auto 20px;
    box-shadow: 0 0 0 10px rgba(240, 131, 35, 0.2); transition: 0.3s;
}
.process-step:hover .step-icon { transform: scale(1.1) rotate(10deg); background: var(--white); color: var(--orange); }
.process-step h4 { color: var(--white); font-size: 1.3rem; margin-bottom: 5px; }
.process-step p { color: #ccc; font-size: 0.9rem; }
@media(min-width: 768px) { .process-line { display: block; } }

/* ================= CONTACT & FOOTER ================= */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin: 3rem 0; }
.contact-item { background: rgba(255,255,255,0.1); padding: 2rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; }
.contact-item:hover { background: rgba(255,255,255,0.2); transform: translateY(-5px); }
.c-icon { font-size: 2rem; color: var(--orange); margin-bottom: 1rem; }
.contact-item h3 { color: var(--white); margin-bottom: 5px; }
.contact-item p { color: #ddd; }

.social-links { margin: 2rem 0; }
.s-icon {
    display: inline-flex; width: 50px; height: 50px;
    background: rgba(255,255,255,0.1); color: var(--white);
    border-radius: 50%; align-items: center; justify-content: center;
    font-size: 1.2rem; margin: 0 10px; text-decoration: none; transition: 0.3s;
}
.s-icon:hover { transform: translateY(-5px); }
.s-icon.insta:hover { background: #E1306C; }
.s-icon.fb:hover { background: #4267B2; }
.s-icon.whatsapp:hover { background: #25D366; }

footer { padding: 2rem; text-align: center; background: #000; color: #666; font-size: 0.9rem; border-top: 1px solid #333; }

/* ================= ANIMATION CLASSES ================= */
.animate-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s ease forwards; }
.scroll-reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.scroll-reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; transition-delay: 0.6s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Mobile Menu */
.hamburger { display: none; cursor: pointer; }
.line { width: 25px; height: 3px; background: var(--navy); margin: 5px; transition: 0.3s; }
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links { position: fixed; right: -100%; top: 70px; height: 100vh; background: var(--white); flex-direction: column; width: 100%; justify-content: flex-start; padding-top: 50px; transition: 0.3s; }
    .nav-links.active { right: 0; }
    .hero-content h1 { font-size: 2.2rem; }
    .curtain { transition: transform 0.5s ease-in-out 1s; } 
}
/* ================= MISSING WORKSHOP LAYOUT CSS ================= */
.flex-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap; /* Mobile par niche layega */
}

.text-col { flex: 1; min-width: 300px; }
.img-col { flex: 1; text-align: center; color: #ddd; font-size: 8rem; }

/* Stats Counter Styling */
.stats-container { display: flex; gap: 30px; margin-top: 2rem; }
.stat-item h2 { font-size: 2.5rem; color: var(--orange); display: inline; }
.stat-item span { font-size: 2.5rem; color: var(--orange); font-weight: 800; }
.stat-item p { font-size: 0.9rem; font-weight: 600; color: var(--navy); }

/* Mobile Adjustment */
@media (max-width: 768px) {
    .flex-row { text-align: center; flex-direction: column-reverse; }
    .stats-container { justify-content: center; }
}