/* 
    Yaksh Pharma - Premium Cinematic Redesign
*/

:root {
    --primary: #0799A2; /* Yaksh Teal */
    --primary-dark: #046A71;
    --primary-light: #E0F5F6;
    --secondary: #0A1118; /* Cinematic Dark */
    --secondary-light: #1A2634;
    --accent: #EE7B1C; /* Yaksh Orange */
    --accent-hover: #D96A12;
    
    --bg-dark: #05090E;
    --bg-light: #FFFFFF;
    --bg-gray: #F5F7FA;
    
    --text-light: #F0F4F8;
    --text-muted: #9BA4B5;
    --text-dark: #121820;
    
    --glass-bg-dark: rgba(10, 17, 24, 0.6);
    --glass-bg-light: rgba(255, 255, 255, 0.8);
    --glass-border-dark: rgba(255, 255, 255, 0.1);
    --glass-border-light: rgba(0, 0, 0, 0.05);
    
    --shadow-soft: 0 20px 40px rgba(0,0,0,0.05);
    --shadow-glow: 0 0 30px rgba(7, 153, 162, 0.3);
    --shadow-glow-accent: 0 0 30px rgba(238, 123, 28, 0.3);
    
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 40px;
    --radius-pill: 100px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.section { padding: 140px 0; position: relative; }
.text-center { text-align: center; }
.bg-dark-mode { background-color: var(--bg-dark); color: var(--text-light); }
.bg-gray-mode { background-color: var(--bg-gray); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.1; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 16px 36px; border-radius: var(--radius-pill); font-weight: 600; font-size: 1.1rem;
    cursor: pointer; transition: all var(--transition-smooth); border: none; outline: none;
    font-family: var(--font-heading); position: relative; overflow: hidden; z-index: 1;
}
.btn::before {
    content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%;
    background: rgba(255,255,255,0.1); transition: all var(--transition-smooth); z-index: -1;
}
.btn:hover::before { width: 100%; }
.btn:hover { transform: translateY(-3px); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-glow); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-glow-accent); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; box-shadow: var(--shadow-glow); }

/* Typography */
.section-tag {
    display: inline-block; padding: 8px 20px; background: rgba(7, 153, 162, 0.1);
    color: var(--primary); font-weight: 700; font-size: 0.9rem; text-transform: uppercase;
    letter-spacing: 2px; border-radius: var(--radius-pill); margin-bottom: 24px;
    border: 1px solid rgba(7, 153, 162, 0.2); font-family: var(--font-heading);
}
.bg-dark-mode .section-tag { background: rgba(255,255,255,0.05); color: #fff; border-color: rgba(255,255,255,0.1); }

.section-title { font-size: 4rem; margin-bottom: 24px; letter-spacing: -1px; }
.section-title span { color: var(--primary); position: relative; }
.bg-dark-mode .section-title { color: #fff; }
.section-subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; }

/* Header */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 20px 0; transition: all var(--transition-smooth);
}
.header.scrolled {
    background: var(--glass-bg-light); backdrop-filter: blur(20px);
    padding: 15px 0; box-shadow: var(--shadow-soft); border-bottom: 1px solid var(--glass-border-light);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 50px; object-fit: contain; background: #fff; padding: 5px 15px; border-radius: var(--radius-sm); }
.header.scrolled .logo-img { }

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 1rem; color: var(--text-dark); position: relative; }
.bg-dark-mode .nav-links a { color: #fff; }
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2px;
    background: var(--primary); transition: width var(--transition-smooth);
}
.nav-links a:hover::after { width: 100%; }

/* Hero Section (Cinematic) */
.hero {
    min-height: 100vh; position: relative; display: flex; align-items: center;
    padding-top: 100px; padding-bottom: 180px; overflow: hidden; background: var(--bg-dark); color: #fff;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
}
.hero-bg img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.4;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--bg-dark) 0%, rgba(5,9,14,0.7) 50%, transparent 100%);
    z-index: 1;
}
.hero-container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; }
.hero-content { max-width: 800px; }
.hero-title { font-size: 5rem; line-height: 1.05; margin-bottom: 30px; letter-spacing: -2px; }
.hero-subtitle { font-size: 1.5rem; color: var(--text-muted); margin-bottom: 50px; font-weight: 300; }
.hero-actions { display: flex; gap: 20px; }

.hero-stats-wrapper { position: absolute; bottom: 0; left: 0; width: 100%; z-index: 3; background: linear-gradient(to top, var(--bg-dark), transparent); padding-bottom: 40px; }
.hero-stats { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; }
.stat-box { display: flex; flex-direction: column; gap: 10px; }
.stat-num { font-size: 3.5rem; font-family: var(--font-heading); font-weight: 800; color: #fff; line-height: 1; }
.stat-num span { color: var(--accent); }
.stat-label { font-size: 1rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }

/* Timeline Section */
.timeline-section { background: var(--bg-light); }
.horizontal-timeline {
    display: flex; justify-content: space-between; position: relative; margin-top: 80px; padding-bottom: 40px;
}
.horizontal-timeline::before {
    content: ''; position: absolute; top: 20px; left: 0; width: 100%; height: 2px;
    background: var(--bg-gray); z-index: 0;
}
.ht-item {
    position: relative; z-index: 1; width: 30%;
}
.ht-dot {
    width: 40px; height: 40px; background: var(--primary-light); border: 4px solid #fff;
    border-radius: 50%; box-shadow: var(--shadow-soft); display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 1.2rem; margin-bottom: 30px; transition: all 0.3s;
}
.ht-item:hover .ht-dot { background: var(--primary); color: #fff; transform: scale(1.1); box-shadow: var(--shadow-glow); }
.ht-year { font-size: 3rem; font-family: var(--font-heading); font-weight: 800; color: var(--secondary-light); opacity: 0.1; position: absolute; top: -40px; left: -10px; z-index: -1; }
.ht-title { font-size: 1.8rem; color: var(--secondary); margin-bottom: 15px; }
.ht-desc { color: var(--text-muted); font-size: 1.1rem; line-height: 1.7; }

/* Founder Section */
.founder-section { background: var(--bg-gray); overflow: hidden; }
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.founder-img-box { position: relative; border-radius: var(--radius-lg); padding: 20px; background: #fff; box-shadow: var(--shadow-soft); }
.founder-img { width: 100%; height: 700px; object-fit: cover; border-radius: var(--radius-md); }
.founder-creds {
    position: absolute; bottom: -30px; right: -30px; background: var(--secondary); color: #fff;
    padding: 30px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); width: 80%;
    border-left: 5px solid var(--accent);
}
.founder-creds h4 { font-size: 1.8rem; margin-bottom: 5px; }
.founder-creds p { color: var(--text-muted); font-size: 1rem; margin-bottom: 15px; }
.cred-list { list-style: none; }
.cred-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.cred-list i { color: var(--primary); }

.quote-box {
    margin-top: 40px; padding-left: 30px; border-left: 4px solid var(--primary);
}
.quote-text { font-size: 1.8rem; font-style: italic; color: var(--secondary); line-height: 1.4; font-weight: 500; }

/* Trust & Scale */
.scale-section { background: var(--bg-dark); color: #fff; }
.scale-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.scale-card {
    background: var(--glass-bg-dark); border: 1px solid var(--glass-border-dark);
    padding: 50px 40px; border-radius: var(--radius-lg); backdrop-filter: blur(10px);
    transition: all var(--transition-smooth); position: relative; overflow: hidden;
}
.scale-card::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(7,153,162,0.1) 0%, transparent 50%);
    opacity: 0; transition: opacity var(--transition-smooth); z-index: 0;
}
.scale-card:hover { transform: translateY(-10px); border-color: rgba(7,153,162,0.3); box-shadow: var(--shadow-glow); }
.scale-card:hover::before { opacity: 1; }
.scale-card > * { position: relative; z-index: 1; }
.sc-icon { font-size: 3rem; color: var(--accent); margin-bottom: 30px; }
.sc-title { font-size: 2rem; margin-bottom: 15px; }
.sc-desc { color: var(--text-muted); font-size: 1.1rem; }

/* Import Export Map */
.import-export { background: var(--bg-light); text-align: center; }
.map-container { position: relative; margin-top: 60px; }
.world-map-img { width: 100%; opacity: 0.2; filter: grayscale(1); }
.map-nodes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.node {
    position: absolute; width: 20px; height: 20px; background: var(--primary); border-radius: 50%;
    box-shadow: 0 0 20px var(--primary); animation: pulse-node 2s infinite;
}
@keyframes pulse-node {
    0% { box-shadow: 0 0 0 0 rgba(7,153,162,0.7); }
    70% { box-shadow: 0 0 0 20px rgba(7,153,162,0); }
    100% { box-shadow: 0 0 0 0 rgba(7,153,162,0); }
}
.node-1 { top: 40%; left: 70%; } /* India */
.node-2 { top: 30%; left: 50%; } /* Europe */
.node-3 { top: 50%; left: 80%; } /* SE Asia */
.node-4 { top: 35%; left: 20%; } /* USA */

/* Why Choose */
.why-choose { background: var(--bg-gray); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-top: 60px; }
.wc-card {
    background: #fff; padding: 40px; border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
    display: flex; gap: 25px; transition: all 0.3s;
}
.wc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.wc-icon {
    width: 70px; height: 70px; background: var(--primary-light); color: var(--primary);
    border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0;
}
.wc-content h4 { font-size: 1.5rem; margin-bottom: 10px; color: var(--secondary); }
.wc-content p { color: var(--text-muted); }

/* Footer */
.footer { background: var(--bg-dark); color: #fff; padding: 100px 0 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.footer-logo { font-size: 2.5rem; font-family: var(--font-heading); color: #fff; margin-bottom: 20px; }
.footer-desc { color: var(--text-muted); font-size: 1.1rem; max-width: 400px; }
.footer-links h4 { font-size: 1.3rem; margin-bottom: 24px; color: #fff; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: var(--text-muted); font-size: 1.1rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; color: var(--text-muted); }

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(37, 211, 102, 0.4);
}

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(50px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Mobile Menu Button */
.mobile-menu-btn { display: none; background: transparent; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }
.bg-dark-mode .mobile-menu-btn { color: #fff; }

/* Responsive */
@media (max-width: 1200px) {
    .hero-title { font-size: 4rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-actions { justify-content: center; }
    .hero-overlay { background: rgba(5,9,14,0.8); }
}
@media (max-width: 992px) {
    .section { padding: 100px 0; }
    .founder-grid, .footer-grid { grid-template-columns: 1fr; gap: 60px; }
    .horizontal-timeline { flex-direction: column; gap: 40px; margin-top: 40px; padding-left: 20px; }
    .horizontal-timeline::before { width: 2px; height: 100%; top: 0; left: 0; }
    .ht-item { width: 100%; }
    .scale-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { flex-direction: column; gap: 30px; text-align: center; }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; left: -100%; width: 100%; height: 100vh;
        background: var(--bg-dark); flex-direction: column; justify-content: center;
        padding: 40px; transition: left 0.4s ease; z-index: 999;
    }
    .nav-links.active { left: 0; }
    .nav-links a { font-size: 1.5rem; }
    .mobile-menu-btn { display: block; position: relative; z-index: 1000; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .hero { padding-bottom: 350px; } /* More space for stacked stats */
    
    .scale-grid { grid-template-columns: 1fr; }
    .founder-creds { position: relative; bottom: 0; right: 0; width: 100%; margin-top: -30px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 480px) {
    .section { padding: 80px 0; }
    .section-title { font-size: 2.2rem; }
    .stat-num { font-size: 2.5rem; }
    .wc-card { flex-direction: column; }
}
