/* Global & Background Settings */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    background-image: url('WhatsApp Image 2026-09-10 at 11.18.39.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding-top: 80px;
}

.overlay {
    background: linear-gradient(180deg, rgba(10, 15, 30, 0.3) 0%, rgba(10, 15, 30, 0.7) 100%);
    min-height: 100vh; width: 100%; position: fixed; top: 0; left: 0; z-index: -1;
}

/* NAVIGATION BAR */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(10, 15, 30, 0.85); backdrop-filter: blur(12px);
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 50px; z-index: 1000;
    border-bottom: 1px solid rgba(251, 211, 141, 0.3);
}

.nav-brand { display: flex; align-items: center; gap: 15px; font-family: 'Cinzel', serif; font-size: 1.5rem; color: #fbd38d; font-weight: bold; text-decoration: none;}
.nav-logo { width: 45px; height: 45px; border-radius: 50%; border: 2px solid #fbd38d; }

.nav-menu { display: flex; align-items: center; width: 100%; justify-content: flex-end; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0 auto;}
.nav-links a { color: #e2e8f0; text-decoration: none; font-size: 1.05rem; transition: color 0.3s; font-weight: 400; text-transform: uppercase; letter-spacing: 1px;}
.nav-links a:hover { color: #fbd38d; }

/* Mobile Menu Toggle (Hamburger Icon) */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 6px; z-index: 1001; }
.menu-toggle .bar { width: 28px; height: 3px; background-color: #fbd38d; transition: all 0.3s ease; border-radius: 5px; }

/* Glassmorphism Card Style */
.glass-card {
    background: rgba(20, 25, 40, 0.45); backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5); padding: 30px;
    transition: all 0.4s ease; position: relative;
}
.glass-card:hover {
    transform: translateY(-5px); box-shadow: 0 15px 45px 0 rgba(0, 0, 0, 0.8);
    border-color: rgba(251, 211, 141, 0.4); background: rgba(30, 35, 55, 0.6);
}

/* Typography & Layout */
h1, h2, h3, h4 { font-family: 'Cinzel', serif; color: #fbd38d; text-align: center; }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; min-height: 80vh;}
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 35px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 35px; }
.section-title { font-size: 2.8rem; margin: 50px 0 40px; text-shadow: 2px 2px 8px rgba(0,0,0,0.8); }

/* Buttons */
.wa-btn {
    display: block; width: 100%; padding: 16px; margin-top: 20px;
    background: linear-gradient(135deg, #25D366, #128C7E); color: white;
    text-align: center; text-decoration: none; font-weight: 600;
    border-radius: 12px; font-size: 1.1rem; border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer; transition: all 0.3s;
}
.wa-btn:hover { background: linear-gradient(135deg, #128C7E, #075E54); transform: translateY(-2px); }

/* Footer */
footer { margin-top: 50px; padding: 50px 20px; background: rgba(10, 15, 30, 0.85); border-top: 1px solid rgba(251, 211, 141, 0.2); text-align: center; }

/* Native Translation System */
.lang-btn {
    background-color: rgba(20, 25, 40, 0.8); color: #fbd38d; border: 1px solid #fbd38d;
    border-radius: 20px; padding: 6px 15px; cursor: pointer; font-family: 'Poppins', sans-serif;
    font-weight: 600; font-size: 0.9rem; margin-left: 20px; transition: 0.3s;
}
.lang-btn:hover { background-color: rgba(251, 211, 141, 0.2); }
.lang-hi { display: none !important; }
body.hi .lang-en { display: none !important; }
body.hi .lang-hi { display: block !important; }
body.hi span.lang-hi, body.hi a.lang-hi { display: inline !important; }
body.hi li.lang-hi { display: list-item !important; }
body.hi h1.lang-hi, body.hi h2.lang-hi, body.hi h3.lang-hi, body.hi h4.lang-hi, body.hi p.lang-hi, body.hi div.lang-hi { display: block !important; }

/* =========================================
   UPI PAYMENT MODAL STYLES
   ========================================= */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px);
    z-index: 2000; justify-content: center; align-items: center;
}
.modal-content {
    background: rgba(15, 20, 35, 0.95); border: 2px solid #fbd38d;
    border-radius: 15px; padding: 30px 20px; text-align: center;
    max-width: 380px; width: 90%; box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    position: relative; animation: slideDown 0.3s ease-out;
}
@keyframes slideDown { from { transform: translateY(-30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-modal {
    position: absolute; top: 10px; right: 15px; font-size: 1.8rem;
    color: #cbd5e0; cursor: pointer; line-height: 1;
}
.close-modal:hover { color: #fbd38d; }
.qr-img { width: 220px; height: 220px; border-radius: 10px; margin: 15px auto; border: 3px solid #fbd38d; display: block; object-fit: cover;}
.upi-text { font-size: 1.1rem; color: #fbd38d; margin-bottom: 15px; font-weight: bold; background: rgba(251, 211, 141, 0.1); padding: 8px; border-radius: 8px;}

/* =========================================
   MOBILE RESPONSIVENESS (IPHONE FIXES)
   ========================================= */
@media (max-width: 768px) {
    /* Navbar Shrink */
    .navbar { padding: 10px 15px; }
    .nav-logo { width: 35px; height: 35px; }
    .nav-brand { font-size: 1.2rem; }
    .menu-toggle { display: flex; } 
    
    .nav-menu {
        position: fixed; top: 60px; left: -100%; width: 100%; height: auto;
        background: rgba(10, 15, 30, 0.98); backdrop-filter: blur(16px);
        flex-direction: column; padding: 25px 20px; gap: 15px;
        transition: 0.4s ease-in-out; border-bottom: 1px solid rgba(251, 211, 141, 0.3);
    }
    .nav-menu.active { left: 0; }
    .nav-links { flex-direction: column; align-items: center; width: 100%; margin: 0; gap: 20px; }
    .lang-btn { margin: 10px auto 0; display: block; font-size: 0.9rem; padding: 8px 25px; }

    /* Hamburger Animation */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* iPhone Content Shrink - Fixes overlapping & weird sizing */
    body { padding-top: 60px; }
    .container { padding: 10px; }
    .title-main { font-size: 2.2rem !important; margin-top: 15px !important; }
    .subtitle { font-size: 0.95rem !important; margin-bottom: 30px !important; padding: 0 10px; }
    .section-title { font-size: 1.8rem !important; margin: 30px 0 25px !important; }
    
    .grid-3, .grid-2 { gap: 20px !important; }
    .glass-card { padding: 20px 15px !important; }
    .glass-card h3 { font-size: 1.4rem !important; }
    
    /* Shrinking Consultation specific elements */
    .price { font-size: 2rem !important; margin: 10px 0 !important; }
    ul.features li { font-size: 0.85rem !important; margin-bottom: 8px !important; line-height: 1.4 !important; padding-left: 20px !important;}
    
    /* Shrink Buttons */
    .wa-btn { padding: 12px !important; font-size: 1rem !important; margin-top: 15px !important; }
    
    /* Shrink Popup on small phones */
    .modal-content { padding: 20px 15px; }
    .qr-img { width: 180px; height: 180px; }
}
