:root {
    --primary: #012a62;
    --primary-light: #034287;
    --primary-dark: #001533;
    --accent: #475059;
    --accent-hover: #30363d;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-section: #f0f4f8;
    --text-main: #334155;
    --text-light: #64748b;
    --text-heading: #0f172a;
    --border: #e2e8f0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px -10px rgba(0,0,0,0.12);
    --transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1);
    --transition-bounce: all 0.5s cubic-bezier(0.34,1.56,0.64,1);
    --shadow-glow: 0 10px 30px -10px rgba(1,42,98,0.5);
    --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); color: var(--text-main); background-color: var(--bg-main); line-height: 1.6; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--text-heading); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition-bounce); }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.text-center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 30px; border-radius: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition-bounce); position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transition: transform .7s ease; z-index: -1; }
.btn:hover::after { transform: translateX(120%) skewX(-18deg); }
.btn-primary { background-image: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -14px rgba(1,42,98,.65); }
.btn-secondary { background-color: transparent; color: var(--text-heading); border: 2px solid var(--border); }
.btn-secondary:hover { background-color: var(--bg-main); color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.btn-outline { background-color: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background-color: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-whatsapp { background-color: #25D366; color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,0.35); }
.btn-whatsapp:hover { background-color: #1ebe5d; transform: translateY(-4px) scale(1.02); }

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; background-color: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: blur(24px); z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.5); box-shadow: 0 4px 30px rgba(0,0,0,0.03); transition: var(--transition-bounce); }
.navbar.scrolled { background-color: #fff; box-shadow: 0 8px 30px -18px rgba(1,42,98,.55); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100px; }
.logo img { height: 80px; width: auto; object-fit: contain; transition: var(--transition-bounce); }
.logo:hover img { transform: scale(1.04); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-family: var(--font-heading); font-weight: 600; color: var(--text-heading); font-size: 1rem; position: relative; padding-bottom: 4px; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; border-radius: 2px; background: var(--primary); transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.hamburger { display: none; cursor: pointer; }
.hamburger .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--text-heading); transition: var(--transition-bounce); }

/* Hero */
.hero {
    position: relative; width: 100%; margin-top: 100px; overflow: hidden; padding: 80px 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(1,42,98,0.10) 0%, transparent 42%),
        radial-gradient(circle at 82% 78%, rgba(0,102,204,0.08) 0%, transparent 42%),
        linear-gradient(135deg, #ffffff 0%, #e6f0fa 50%, #f0f4f8 100%);
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(1,42,98,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(1,42,98,0.055) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 30%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}
.hero-gradient-mesh { position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(circle at 20% 30%, rgba(1,42,98,0.10) 0%, transparent 38%), radial-gradient(circle at 80% 20%, rgba(0,102,204,0.08) 0%, transparent 35%), radial-gradient(circle at 60% 80%, rgba(1,42,98,0.07) 0%, transparent 40%); filter: blur(50px); animation: meshMove 18s ease-in-out infinite alternate; }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(70px); opacity: 0.55; }
.hero-orb-1 { width: min(420px, 60vw); height: min(420px, 60vw); top: -80px; right: -60px; background: radial-gradient(circle, rgba(1,42,98,0.14) 0%, transparent 70%); animation: orbFloat1 14s ease-in-out infinite alternate; }
.hero-orb-2 { width: min(360px, 55vw); height: min(360px, 55vw); bottom: -60px; left: -40px; background: radial-gradient(circle, rgba(0,102,204,0.12) 0%, transparent 70%); animation: orbFloat2 16s ease-in-out infinite alternate; }
.hero .container { position: relative; z-index: 1; }
.hero-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-content-left { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, rgba(1,42,98,0.1), rgba(1,42,98,0.03)); color: var(--primary); padding: 8px 18px; border-radius: 50px; font-size: 0.95rem; font-weight: 700; border: 1px solid rgba(1,42,98,0.12); backdrop-filter: blur(10px); position: relative; box-shadow: 0 6px 18px -8px rgba(1,42,98,.35); animation: tcse-rise .9s cubic-bezier(.16,1,.3,1) both; }
.hero-badge::before { content: ''; position: absolute; inset: -1px; border-radius: 50px; padding: 1px; background: linear-gradient(135deg, rgba(1,42,98,0.35), rgba(0,102,204,0.18), rgba(1,42,98,0.35)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; }
.hero-title { font-size: clamp(2.8rem,4vw,4.2rem); letter-spacing: -0.02em; color: var(--primary-dark); line-height: 1.15; text-align: left; animation: tcse-rise .9s cubic-bezier(.16,1,.3,1) .08s both; }
.hero-title span { background-image: linear-gradient(135deg, var(--primary) 0%, #0066cc 55%, var(--primary-light) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; position: relative; display: inline-block; }
.hero-title span::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 5px; border-radius: 999px; background: linear-gradient(90deg, var(--primary), #0066cc, var(--primary-light)); opacity: 0.35; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-light); max-width: 540px; text-align: left; line-height: 1.6; animation: tcse-rise .9s cubic-bezier(.16,1,.3,1) .16s both; }
.hero-cta { display: flex; gap: 16px; animation: tcse-rise .9s cubic-bezier(.16,1,.3,1) .24s both; margin-top: 4px; }
.hero-stats { display: flex; gap: 32px; margin-top: 10px; padding: 16px 28px; background: rgba(255,255,255,0.82); backdrop-filter: blur(12px); border-radius: 20px; box-shadow: 0 12px 40px -12px rgba(1,42,98,0.12); border: 1px solid transparent; background-clip: padding-box; animation: tcse-rise .9s cubic-bezier(.16,1,.3,1) .32s both; width: max-content; max-width: 100%; flex-wrap: wrap; position: relative; }
.hero-stats::before { content: ''; position: absolute; inset: -1px; border-radius: 20px; padding: 1px; background: linear-gradient(135deg, rgba(1,42,98,0.25), rgba(0,102,204,0.15), rgba(1,42,98,0.25)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; }
.hero-stat h4 { font-size: 2rem; background-image: linear-gradient(135deg, var(--primary), var(--primary-light)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 4px; line-height: 1; }
.hero-stat p { font-size: 0.85rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-stat { transition: var(--transition); }
.hero-stat:hover { transform: translateY(-4px); }
.hero-visual-right { position: relative; width: 100%; min-height: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; animation: tcse-rise 1s cubic-bezier(.16,1,.3,1) .2s both; }
.hero-carousel-small { width: 100%; max-width: 540px; aspect-ratio: 4/3.2; position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 25px 60px -12px rgba(1,42,98,0.2); background: #fff; border: 1px solid transparent; background-clip: padding-box; z-index: 2; animation: float 6s ease-in-out infinite; flex-shrink: 0; }
.hero-carousel-small::before { content: ''; position: absolute; inset: -1px; border-radius: 24px; padding: 1px; background: linear-gradient(135deg, rgba(1,42,98,0.30), rgba(0,102,204,0.20), rgba(1,42,98,0.30)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; }
.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease, transform 1.2s ease; display: flex; align-items: center; justify-content: center; padding: 10px; transform: scale(0.95); }
.carousel-slide.active { opacity: 1; z-index: 2; transform: scale(1); }
.carousel-slide.active img { animation: tcse-kenburns 8s ease-out both; }
.carousel-slide img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.visual-backdrop { position: absolute; width: 90%; height: 90%; background: linear-gradient(135deg, var(--primary) 0%, #0066cc 50%, var(--primary-light) 100%); border-radius: 50%; filter: blur(80px); opacity: 0.18; z-index: 1; top: 5%; left: 5%; animation: pulseGlow 8s ease-in-out infinite; }

/* Section Title */
.section-title { font-size: 2.4rem; margin-bottom: 16px; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 50px; height: 4px; background: linear-gradient(90deg, var(--primary-light), var(--primary)); border-radius: 2px; }
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }
.section-header { margin-bottom: 56px; }
.section-header p { font-size: 1.05rem; color: var(--text-light); max-width: 560px; margin: 16px auto 0; }
.section-header .section-title { position: relative; display: inline-block; padding-bottom: 14px; }
.section-header .section-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 56px; height: 4px; border-radius: 999px; transform: translateX(-50%); background: linear-gradient(90deg, var(--primary), var(--primary-light)); }

/* About */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 16px; }
.stats { display: flex; gap: 32px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
.stat-item h3 { font-size: 2.2rem; background-image: linear-gradient(135deg, var(--primary), var(--primary-light)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 4px; }
.stat-item p { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 0; }
.stat-item { transition: var(--transition); }
.stat-item:hover { transform: translateY(-4px); }
.about-visual { background: linear-gradient(135deg, #eef4ff 0%, #ffffff 100%); border-radius: var(--radius); padding: 48px 40px; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.about-visual-title { font-size: 1.4rem; color: var(--primary); margin-bottom: 24px; }
.about-features { display: flex; flex-direction: column; gap: 16px; }
.about-feature-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border-radius: 10px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: var(--transition); }
.about-feature-item:hover { transform: translateX(6px); background: color-mix(in srgb, var(--primary) 5%, transparent); }
.about-feature-item .icon { flex-shrink: 0; display: inline-flex; color: var(--primary); transition: var(--transition-bounce); }
.about-feature-item:hover .icon { transform: scale(1.15) rotate(8deg); }
.about-feature-item h4 { font-size: 1rem; color: var(--text-heading); margin-bottom: 2px; }
.about-feature-item p { font-size: 0.85rem; color: var(--text-light); margin: 0; }

/* Products */
.products { background: var(--bg-section); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.product-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease, border-color .45s ease; position: relative; }
.product-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.16,1,.3,1); z-index: 2; }
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 25%, var(--border)); }
.card-img { position: relative; height: 220px; padding: 0; overflow: hidden; background-image: linear-gradient(135deg, var(--bg-section), #e6edf5); border-bottom: 1px solid var(--border); }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.product-card:hover .card-img img { transform: scale(1.07); }
.card-img span { position: absolute; left: 12px; bottom: 12px; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 800; color: var(--primary); background: rgba(255,255,255,0.75); backdrop-filter: blur(6px); padding: 4px 12px; border-radius: 50px; letter-spacing: 1.5px; text-transform: uppercase; }
.card-content { padding: 24px; }
.card-content h3 { font-size: 1.15rem; margin-bottom: 14px; color: var(--text-heading); min-height: 52px; }
.features { margin-bottom: 20px; }
.features li { font-size: 0.92rem; color: var(--text-light); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.features li span { font-weight: 600; color: var(--text-main); margin-right: 4px; }

/* Why Choose Us */
.why-choose-us { background: #fff; }

/* Blog / Testimonials */
.blog { background: var(--bg-section); }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 36px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease, border-color .45s ease; position: relative; }
.testimonial-card::before { content: '"'; position: absolute; top: 16px; left: 24px; font-size: 5rem; color: var(--accent); opacity: 0.2; font-family: Georgia, serif; line-height: 1; }
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); border-color: rgba(1,42,98,0.1); }
.testimonial-card p { font-size: 1rem; color: var(--text-main); line-height: 1.7; }

/* Contact */
.contact { background: #fff; }
.contact-card { background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1.5fr; overflow: hidden; border: 1px solid var(--border); }
.contact-info { background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 100%); padding: 48px 40px; color: white; }
.contact-info h2 { color: white; margin-bottom: 10px; font-size: 2rem; }
.contact-info > p { color: rgba(255,255,255,0.75); margin-bottom: 36px; }
.info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.info-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.info-item strong { display: block; color: rgba(255,255,255,0.6); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.info-item span { color: rgba(255,255,255,0.9); font-size: 0.95rem; }
.contact-form-container { padding: 48px; }
.contact-form-container h3 { font-size: 1.5rem; margin-bottom: 8px; color: var(--text-heading); }
.contact-form-container > p { color: var(--text-light); margin-bottom: 28px; font-size: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem; background-color: var(--bg-main); color: var(--text-main); transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 4px rgba(3,66,135,.12); background-color: #fff; }

/* Footer */
footer { background: #f8fafc; color: var(--text-main); padding: 64px 0 24px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { height: 80px; margin-bottom: 16px; }
.footer-col p { color: var(--text-light); max-width: 280px; font-size: 0.95rem; line-height: 1.7; }
.footer-col h4 { color: var(--primary-dark); font-size: 1.1rem; margin-bottom: 20px; }
.footer-col a { display: block; color: var(--text-main); margin-bottom: 10px; font-size: 0.95rem; transition: var(--transition); }
.footer-col a:hover { color: var(--primary); transform: translateX(4px); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-light); font-size: 0.88rem; }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: #25D366; border-radius: 50%; width: 62px; height: 62px; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -10px rgba(37,211,102,.7); z-index: 9999; transition: var(--transition-bounce); animation: tcse-float 3s ease-in-out infinite; font-size: 1.6rem; }
.whatsapp-float:hover { transform: scale(1.1); }

/* Scroll Animations */
.slide-up { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
.slide-up.visible { opacity: 1; transform: translateY(0); }
.slide-left { opacity: 0; transform: translateX(-50px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
.slide-right { opacity: 0; transform: translateX(50px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
.slide-left.visible, .slide-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

/* Keyframes */
@keyframes tcse-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes tcse-kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes tcse-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes float { 0% { transform: perspective(1000px) rotateY(-8deg) translateY(0); } 50% { transform: perspective(1000px) rotateY(-8deg) translateY(-15px); } 100% { transform: perspective(1000px) rotateY(-8deg) translateY(0); } }
@keyframes pulseGlow { 0% { opacity: 0.15; transform: scale(1); filter: blur(80px); } 50% { opacity: 0.25; transform: scale(1.05); filter: blur(100px); } 100% { opacity: 0.15; transform: scale(1); filter: blur(80px); } }
@keyframes meshMove { 0% { transform: scale(1) translate(0,0); } 50% { transform: scale(1.08) translate(-2%,1%); } 100% { transform: scale(1) translate(1%,-1%); } }
@keyframes orbFloat1 { 0% { transform: translate(0,0); } 100% { transform: translate(-30px,20px); } }
@keyframes orbFloat2 { 0% { transform: translate(0,0); } 100% { transform: translate(25px,-18px); } }

/* Accessibility */
a:focus-visible, button:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

/* =====================
   Responsive
   ===================== */

/* Tablet */
@media (max-width: 992px) {
    .section { padding: 72px 0; }
    .hero { padding: 60px 0; }
    .hero-split { grid-template-columns: 1fr; gap: 40px; }
    .hero-content-left { align-items: center; text-align: center; }
    .hero-title { text-align: center; }
    .hero-subtitle { text-align: center; max-width: 100%; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; width: 100%; }
    .hero-visual-right { min-height: unset; }
    .hero-carousel-small { max-width: 460px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visual { padding: 32px 24px; }
    .stats { gap: 20px; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .contact-card { grid-template-columns: 1fr; }
    .contact-form-container { padding: 36px 28px; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Mobile */
@media (max-width: 768px) {
    * { max-width: 100%; }
    html, body { overflow-x: hidden; width: 100%; }
    .section { padding: 52px 0; }
    .container { padding: 0 16px; width: 100%; }

    /* Navbar */
    .nav-container { height: 70px; }
    .logo img { height: 54px; }
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .nav-links { position: fixed; left: -100%; top: 70px; flex-direction: column; background-color: #fff; width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 27px rgba(0,0,0,0.08); padding: 20px 0; gap: 0; z-index: 999; }
    .nav-links a { padding: 14px 0; font-size: 1rem; display: block; width: 100%; }
    .nav-links.active { left: 0; }

    /* Hero */
    .hero { margin-top: 70px; padding: 44px 0 36px; overflow: hidden; }
    .hero-split { grid-template-columns: 1fr; gap: 32px; }
    .hero-content-left { align-items: center; text-align: center; width: 100%; }
    .hero-badge { font-size: 0.78rem; padding: 6px 12px; white-space: normal; text-align: center; max-width: 100%; }
    .hero-title { font-size: clamp(1.75rem, 7vw, 2.4rem); text-align: center; word-break: break-word; }
    .hero-subtitle { font-size: 0.95rem; text-align: center; max-width: 100%; }
    .hero-cta { flex-direction: column; width: 100%; gap: 12px; }
    .hero-cta .btn { width: 100%; }
    .hero-stats { width: 100%; gap: 0; padding: 12px 8px; justify-content: space-around; flex-wrap: nowrap; }
    .hero-stat h4 { font-size: 1.4rem; }
    .hero-stat p { font-size: 0.72rem; }
    .hero-visual-right { width: 100%; min-height: unset; }
    .hero-carousel-small { width: 100%; max-width: 100%; aspect-ratio: 4/3; }
    .carousel-label { white-space: normal; text-align: center; font-size: 0.72rem; width: 90%; }
    .hero-orb-1, .hero-orb-2 { display: none; }

    /* Section titles */
    .section-title { font-size: 1.75rem; }
    .section-header p { font-size: 0.95rem; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 28px; }
    .about-visual { padding: 20px 14px; }
    .stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
    .stat-item { text-align: center; }
    .stat-item h3 { font-size: 1.8rem; }

    /* Products */
    .product-grid { grid-template-columns: 1fr; }
    .card-content h3 { min-height: unset; font-size: 1rem; }

    /* Why Us */
    .about-feature-item { padding: 14px 12px !important; }

    /* Blog */
    .testimonial-grid { grid-template-columns: 1fr; }
    .testimonial-card { padding: 24px 18px; }

    /* Contact */
    .contact-card { grid-template-columns: 1fr; }
    .contact-info { padding: 28px 18px; }
    .contact-form-container { padding: 24px 18px; }
    .form-row { grid-template-columns: 1fr; }
    .info-item span { font-size: 0.85rem; word-break: break-word; }

    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 24px; }
    .footer-logo { height: 56px; }
    .footer-col a { font-size: 0.9rem; word-break: break-word; }
    footer { padding: 44px 0 20px; }

    /* Lightbox */
    .img-modal { padding: 16px; }
    .img-modal-content img { max-height: 50vh; padding: 12px; }

    /* WhatsApp float */
    .whatsapp-float { width: 50px; height: 50px; bottom: 18px; right: 14px; }
}

/* Small mobile */
@media (max-width: 400px) {
    .hero-title { font-size: 1.6rem; }
    .hero-stats { flex-direction: column; align-items: center; gap: 10px; }
    .hero-stat { text-align: center; }
    .section-title { font-size: 1.5rem; }
    .btn { font-size: 0.9rem; padding: 11px 20px; }
}

/* =====================
   Hero Enhancements
   ===================== */

/* Extra orb */
.hero-orb-3 {
  width: 300px; height: 300px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(1,42,98,0.07) 0%, transparent 70%);
  animation: orbFloat2 20s ease-in-out infinite alternate;
}

/* Badge dot pulse */
.badge-dot {
  width: 8px; height: 8px;
  background: #25D366;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(37,211,102,0); }
}

/* Feature checklist */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: tcse-rise .9s cubic-bezier(.16,1,.3,1) .2s both;
}
.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}
.hero-feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
  background: rgba(1,42,98,0.08);
  border-radius: 50%;
  padding: 3px;
  width: 22px; height: 22px;
}

/* Stat divider */
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Carousel label */
.carousel-label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(1,42,98,0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 50px;
  white-space: nowrap;
  z-index: 5;
  letter-spacing: 0.5px;
  transition: opacity 0.4s ease;
}

/* Carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  position: relative;
  z-index: 3;
  width: 100%;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(.16,1,.3,1);
  padding: 0;
}
.dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}
.dot:hover { background: var(--primary-light); }

/* Image Lightbox Modal */
.img-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9998;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
  animation: modalFadeIn 0.25s ease;
}
.img-modal.open { display: flex; }
.img-modal-content {
  position: relative;
  max-width: 700px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: modalSlideUp 0.3s cubic-bezier(.16,1,.3,1);
}
.img-modal-content img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  padding: 24px;
  background: var(--bg-section);
}
.img-modal-content p {
  padding: 14px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-heading);
  text-align: center;
  border-top: 1px solid var(--border);
}
.img-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  line-height: 1;
  transition: background 0.2s;
}
.img-modal-close:hover { background: rgba(0,0,0,0.8); }
.card-img { cursor: zoom-in; }
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalSlideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
