/* --- 1. RESET & VARIABLES --- */
:root {
    --primary: #ec4899;
    --primary-dark: #be185d;
    --dark: #0f172a; 
    --gray-bg: #f8fafc;
    --white: #ffffff;
    --radius: 12px;
    --font-main: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--gray-bg);
    color: #334155;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-main); color: var(--dark); font-weight: 700; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
img { max-width: 100%; height: auto; display: block; }

/* Scroll Progress */
#progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 10000; background: transparent; }
#progress-bar { height: 100%; background: var(--primary); width: 0%; transition: width 0.1s; }

/* --- 2. HEADER --- */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 9999;
    padding: 12px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.header-content { display: flex; justify-content: space-between; align-items: center; }

/* LOGO */
.logo-link { display: flex; align-items: center; text-decoration: none; }
.main-logo { height: 50px; width: auto; object-fit: contain; }
.logo-link:hover .main-logo { transform: scale(1.02); transition: 0.3s; }

/* BUTTONS */
.cta-button {
    padding: 12px 30px; border-radius: 50px; text-decoration: none;
    font-weight: 700; font-size: 0.85rem; transition: all 0.3s ease;
    display: inline-flex; align-items: center; gap: 8px; 
    text-transform: uppercase; letter-spacing: 0.5px;
}
.desktop-cta { background: var(--dark); color: white; }
.desktop-cta:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3); }
.mobile-cta { display: none; background: #25D366; color: white; }

/* --- 3. HERO --- */
.hero { 
    padding: 140px 0 100px; text-align: center; position: relative; 
    background: white; overflow: hidden; 
}
.hero-bg-blobs {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05), transparent 60%);
    animation: rotate 60s linear infinite; pointer-events: none;
    will-change: transform;
}
.relative-z { position: relative; z-index: 1; }
.badge {
    background: #eff6ff; color: #1d4ed8; padding: 8px 20px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    display: inline-block; margin-bottom: 25px;
}
.hero-title { 
    font-size: clamp(2.2rem, 5vw, 4.5rem); 
    margin: 15px 0 25px; line-height: 1.15; letter-spacing: -1px; font-weight: 800; 
}
.text-highlight { color: var(--primary); }
.hero-sub { 
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #64748b; margin: 0 auto 40px; max-width: 650px; font-weight: 400; padding: 0 10px;
}
.btn-group { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.primary { background: var(--primary); color: white; box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3); }
.primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(236, 72, 153, 0.5); background: var(--primary-dark); }
.secondary { border: 2px solid #e2e8f0; color: var(--dark); background: transparent; }
.secondary:hover { border-color: var(--dark); background: transparent; }
.pulse-btn { animation: pulse 2s infinite; }

/* --- 4. STATS --- */
.stats-section { background: var(--dark); color: white; padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 30px; text-align: center; }
.stat-item h3, .stat-item .count, .stat-item span { 
    font-size: clamp(2rem, 4vw, 3.5rem); 
    color: var(--primary); font-weight: 800; line-height: 1; 
}
.stat-item p { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.8; margin-top: 8px; }

/* --- 5. SERVICES --- */
.services { padding: 80px 0; background: var(--gray-bg); }
.section-header { text-align: center; margin-bottom: 60px; max-width: 800px; margin: 0 auto 60px; }
.section-title { font-size: 2.5rem; margin-bottom: 10px; letter-spacing: -1px; }
.section-subtitle { font-size: 1.1rem; color: #64748b; font-family: var(--font-serif); font-style: italic; }

.grid-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card {
    background: white; padding: 40px 30px; border-radius: var(--radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); transition: 0.3s; 
    border: 1px solid white; height: 100%;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.icon-box { font-size: 2rem; margin-bottom: 20px; color: var(--primary); background: #fdf2f8; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: #64748b; }

/* --- 6. PROCESS --- */
.process-section { padding: 100px 0; background: white; }
.process-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
    text-align: center; 
    margin-top: 60px; 
    position: relative;
}
.process-grid::before {
    content: ''; position: absolute; top: 35px; left: 15%; right: 15%; height: 2px; background: #e2e8f0; z-index: 0;
}
.process-step { position: relative; padding: 10px; z-index: 1; }
.step-icon {
    width: 70px; height: 70px; background: white; border: 2px solid var(--primary); color: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 800; margin: 0 auto 25px;
    box-shadow: 0 0 0 10px white; transition: 0.3s;
}
.process-step:hover .step-icon { background: var(--primary); color: white; transform: scale(1.1); }
.step-content h3 { margin-bottom: 15px; font-size: 1.4rem; }
.step-content p { color: #64748b; font-size: 0.95rem; }

/* --- 7. GALLERIES (NO WHITE SIDES) --- */
.gallery-section { padding: 80px 0; background: white; overflow: hidden; }
.clients { padding: 80px 0; background: var(--gray-bg); overflow: hidden; }

.marquee-wrapper { width: 100%; overflow: hidden; white-space: nowrap; margin-bottom: 30px; }
/* Clean Edge-to-Edge Scrolling */
.marquee-content { display: inline-flex; gap: 30px; will-change: transform; }

.move-left .marquee-content { animation: scrollLeft 45s linear infinite; } /* Slower, smoother speed */
.move-right .marquee-content { animation: scrollRight 45s linear infinite; }
.marquee-wrapper:hover .marquee-content { animation-play-state: paused; }

.gallery-img-wrapper {
    width: 320px; height: 220px; border-radius: 12px; overflow: hidden; flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); position: relative; background: #f1f5f9;
}
.gallery-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-img-wrapper:hover img { transform: scale(1.1); }

.client-logo-wrapper {
    width: 160px; height: 100px; display: flex; align-items: center; justify-content: center;
    background: white; border-radius: 12px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    opacity: 1; transition: 0.3s; flex-shrink: 0; padding: 20px;
}
.client-logo-wrapper:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.client-img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* --- 8. FOOTER --- */
.main-footer { background: var(--dark); color: white; padding: 80px 0 20px; }
.filter-white { filter: brightness(0) invert(1); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; margin-bottom: 50px; }

.footer-logo { height: 50px; width: auto; margin-bottom: 25px; }
.brand-quote { font-family: var(--font-serif); color: #94a3b8; font-size: 1.1rem; margin-bottom: 30px; max-width: 350px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a { 
    width: 45px; height: 45px; background: rgba(255,255,255,0.08); border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; color: white; 
    text-decoration: none; transition: 0.3s; font-size: 1.1rem;
}
.social-icons a:hover { background: var(--primary); transform: rotate(360deg); }

.footer-heading { color: white; margin-bottom: 25px; font-size: 1.2rem; letter-spacing: 1px; }

.contact-row { display: flex; gap: 20px; margin-bottom: 25px; align-items: flex-start; }
.contact-row i { color: var(--primary); margin-top: 5px; font-size: 1.2rem; width: 20px; text-align: center; }
.contact-row strong { color: white; display: block; font-size: 1rem; margin-bottom: 5px; }
.contact-row p, .contact-row a { color: #cbd5e1; font-size: 0.95rem; text-decoration: none; transition: 0.2s; }
.contact-row a:hover { color: var(--primary); }
.big-phone a { font-size: 1.4rem; font-weight: 700; color: white; }

/* 3 Email Stack */
.email-stack { display: flex; flex-direction: column; gap: 6px; }
.email-stack a { display: block; word-break: break-all; font-size: 0.9rem; color: #cbd5e1; text-decoration: none; }
.email-stack a:hover { color: var(--primary); }

/* Pan India */
.pan-india-title { color: white; font-size: 0.9rem; font-weight: 700; margin-bottom: 15px; letter-spacing: 1px; opacity: 0.8; }
.locations-tag { margin-bottom: 25px; }
.locations-tag span { 
    background: rgba(255,255,255,0.05); padding: 6px 12px; border-radius: 6px; 
    font-size: 0.8rem; margin: 0 5px 5px 0; display: inline-block; color: #cbd5e1; border: 1px solid rgba(255,255,255,0.1);
}

.map-container { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); position: relative; }
.map-btn { display: block; background: #1e293b; color: white; text-align: center; padding: 12px; font-weight: 600; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.map-btn:hover { background: var(--primary); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; text-align: center; color: #64748b; font-size: 0.9rem; }

/* SCROLL TOP */
.scroll-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; 
    background: var(--primary); color: white; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); text-decoration: none; 
    opacity: 0; pointer-events: none; transition: 0.4s; z-index: 999;
}
.scroll-top.show { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-5px); }

/* --- ANIMATIONS --- */
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(236, 72, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- DEVICE QUERIES --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .process-grid { gap: 20px; }
    .process-grid::before { left: 5%; right: 5%; }
    .footer-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 50px; text-align: left; }
    .process-grid { grid-template-columns: 1fr; margin-top: 30px; }
    .process-grid::before { display: none; }
    .process-step { display: flex; text-align: left; gap: 20px; align-items: flex-start; }
    .step-icon { margin: 0; flex-shrink: 0; width: 60px; height: 60px; font-size: 1.2rem; }
    .desktop-cta { display: none; }
    .mobile-cta { display: inline-flex; }
    .main-logo { height: 40px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .gallery-img-wrapper { width: 260px; height: 180px; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .hero { padding: 110px 0 60px; }
    .hero-title { font-size: 2.2rem; }
    .btn-group { flex-direction: column; width: 100%; }
    .cta-button { width: 100%; justify-content: center; }
    .process-step { flex-direction: column; align-items: center; text-align: center; }
    .step-icon { margin: 0 auto 15px; }
}