/* === Variables === */
:root {
    --primary: #0B1F4D;
    --primary-light: #142d5e;
    --gold: #D4AF37;
    --gold-light: #e3c55a;
    --white: #ffffff;
    --soft-white: #F8F9FB;
    --gray: #F8F9FB;
    --text: #2a2a2a;
    --text-light: #555555;
    --shadow: 0 4px 20px rgba(11, 31, 77, 0.06);
    --shadow-lg: 0 10px 40px rgba(11, 31, 77, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; overflow-x: hidden; background: var(--soft-white); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* === Utilities === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hero .container { margin: 0; margin-left: 30px; }
.gold-text { color: var(--gold); }
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag { display: inline-block; background: var(--gold); color: var(--primary); font-size: 0.8rem; font-weight: 600; padding: 6px 16px; border-radius: 20px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--primary); margin-bottom: 10px; }
.section-desc { color: var(--text-light); max-width: 600px; margin: 0 auto; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: var(--gold); color: var(--primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-full { width: 100%; justify-content: center; }

/* === Navbar === */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 8px 0; transition: var(--transition); background: rgba(248, 249, 251, 0.92); backdrop-filter: blur(10px); }
.navbar.scrolled { background: var(--white); box-shadow: 0 2px 20px rgba(11, 31, 77, 0.06); padding: 5px 0; }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 6px; }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; }
.logo-img { width: 65px; height: 65px; border-radius: 8px; object-fit: contain; mix-blend-mode: multiply; background: transparent; }
.logo-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.2rem; color: var(--primary); display: block; line-height: 1; margin-bottom: -2px; }
.logo-tagline { font-size: 0.65rem; color: var(--text-light); letter-spacing: 0.5px; margin-top: 0; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 0.9rem; position: relative; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--primary); color: var(--white) !important; padding: 10px 20px !important; border-radius: 6px; }
.nav-cta:hover { background: var(--gold); color: var(--primary) !important; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { display: block; width: 25px; height: 3px; background: var(--primary); margin: 5px 0; border-radius: 3px; transition: var(--transition); }
.nav-close-li { display: none; }

/* === Hero === */
.hero { min-height: auto; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 70px; background: url('../images/hero_section.webp') right center/cover no-repeat; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 70px; background: linear-gradient(to right, rgba(248,249,251,0.97) 0%, rgba(248,249,251,0.88) 35%, rgba(248,249,251,0) 55%); }
.hero-content { position: relative; z-index: 3; max-width: 650px; padding: 80px 0 70px; text-align: left; }


.hero-logo-area { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.hero-logo-img { width: 50px; height: 50px; border-radius: 8px; object-fit: contain; mix-blend-mode: multiply; background: transparent; }
.hero-logo-name { display: block; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.3rem; color: var(--primary); line-height: 1.2; }
.hero-logo-tag { display: block; font-size: 0.7rem; color: var(--gold); letter-spacing: 0.5px; }

.hero h1 { margin-bottom: 16px; line-height: 1.15; margin-top: 30px; }
.hero-h1-dark { font-family: 'Playfair Display', serif; font-size: 3.2rem; font-weight: 700; color: var(--primary); display: block; margin-bottom: -10px; }
.hero-h1-gold { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--gold); display: block; }
.hero-divider { width: 80px; height: 3px; background: var(--gold); margin: 16px 0; border-radius: 2px; }
.hero-subtitle { font-size: 1.15rem; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.hero-desc { font-size: 0.95rem; color: var(--text-light); margin-bottom: 30px; line-height: 1.7; }

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary { background: var(--primary); color: var(--white); padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 10px; transition: var(--transition); }
.btn-hero-primary:hover { background: var(--gold); color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3); }
.btn-hero-outline { background: transparent; color: var(--primary); padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--primary); transition: var(--transition); }
.btn-hero-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

/* Hero Bottom Bar */
.hero-bottom-bar { position: relative; background: var(--primary); display: flex; justify-content: space-between; align-items: center; padding: 18px 50px; z-index: 10; border-top: 3px solid var(--gold); }
.hero-bar-item { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: rgba(255,255,255,0.9); }
.hero-bar-icon { width: 36px; height: 36px; background: rgba(212, 175, 55, 0.15); border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.85rem; flex-shrink: 0; }
.hero-bar-item strong { color: var(--white); font-size: 1rem; }

/* === About === */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.about-content p { color: var(--text-light); margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 30px; }
.about-feature { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 500; }
.about-feature i { color: var(--gold); font-size: 1rem; }
.about-image { display: flex; justify-content: center; }
.about-card { background: linear-gradient(135deg, var(--primary), var(--primary-light)); padding: 40px 30px; border-radius: var(--radius); color: var(--white); text-align: center; }
.about-card-icon { width: 70px; height: 70px; background: rgba(212, 175, 55, 0.15); border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; color: var(--gold); }
.about-card h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 12px; }
.about-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* === Services === */
.services { background: var(--soft-white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); padding: 30px 24px; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); border: 1px solid transparent; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.service-icon { width: 55px; height: 55px; background: rgba(212, 175, 55, 0.1); border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--gold); margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 8px; }
.service-card p { font-size: 0.88rem; color: var(--text-light); }

/* === Why Us === */
.why-us { background: var(--white); }

/* === Calculators Home Section === */
.calculators-home { background: var(--soft-white); }
.calc-home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.calc-home-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid transparent; box-shadow: var(--shadow); transition: var(--transition); text-decoration: none; }
.calc-home-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.calc-home-icon { width: 55px; height: 55px; background: rgba(212, 175, 55, 0.1); border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--gold); margin-bottom: 16px; }
.calc-home-card h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 8px; }
.calc-home-card p { font-size: 0.85rem; color: var(--text-light); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { padding: 30px 24px; border-radius: var(--radius); border: 1px solid rgba(212, 175, 55, 0.15); transition: var(--transition); background: var(--soft-white); }
.why-card:hover { border-color: var(--gold); box-shadow: var(--shadow); background: var(--white); }
.why-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--gold); opacity: 0.6; margin-bottom: 10px; }
.why-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; color: var(--text-light); }

/* === Contact === */
.contact { background: var(--soft-white); }

/* === Partners === */
.partners { background: var(--white); }
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 24px; border-radius: var(--radius); background: var(--soft-white); border: 2px solid rgba(212, 175, 55, 0.15); transition: var(--transition); text-decoration: none; }
.partner-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.partner-icon { width: 65px; height: 65px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--gold); margin-bottom: 18px; }
.partner-logo { height: 50px; max-width: 160px; object-fit: contain; margin-bottom: 18px; mix-blend-mode: multiply; background: transparent; }
.partner-brand { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; margin-bottom: 14px; padding: 12px 24px; border-radius: 8px; }
.partner-brand.alice { color: #1a73e8; background: rgba(26, 115, 232, 0.08); }
.partner-brand.samco { color: #e63946; background: rgba(230, 57, 70, 0.08); }
.partner-brand.wealthy { color: #6c63ff; background: rgba(108, 99, 255, 0.08); }
.partner-card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--primary); margin-bottom: 10px; }
.partner-card p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 18px; }
.partner-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--gold); }
.partner-card:hover .partner-btn { color: var(--primary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--primary); margin-bottom: 12px; }
.contact-info > p { color: var(--text-light); margin-bottom: 24px; }
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-item i { width: 40px; height: 40px; background: var(--gold); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.85rem; color: var(--primary); margin-bottom: 2px; }
.contact-item a, .contact-item span { font-size: 0.9rem; color: var(--text-light); }
.contact-item a:hover { color: var(--gold); }
.contact-social { display: flex; gap: 12px; margin-top: 24px; }
.contact-social a { width: 42px; height: 42px; border-radius: 8px; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.contact-social a:hover { background: var(--gold); color: var(--primary); }

.contact-form-wrap { background: var(--white); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--primary); margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 16px; border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 8px; font-family: inherit; font-size: 0.9rem; transition: var(--transition); background: var(--soft-white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1); }
.form-group textarea { resize: vertical; }

/* === Footer === */
.footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-img { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; }
.footer .logo-name { color: var(--white); }
.footer .logo-tagline { color: rgba(255,255,255,0.5); }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--gold); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; }
.footer-contact li i { color: var(--gold); margin-top: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 0.85rem; }
.disclaimer { font-size: 0.75rem !important; color: rgba(255,255,255,0.4); margin-top: 8px; }

/* === Float Buttons === */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.6rem; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 999; animation: floatBounce 3s ease-in-out infinite; }

.whatsapp-float:hover { transform: scale(1.1); animation: none; }

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(37, 211, 102, 0.5); }
}

/* === Responsive === */
@media (max-width: 992px) {
    .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); flex-direction: column; align-items: flex-start; padding: 20px 30px 30px; gap: 0; transition: var(--transition); box-shadow: -5px 0 30px rgba(0,0,0,0.15); overflow-y: auto; }
    .nav-links.active { right: 0; }
    .nav-close-li { display: block !important; width: 100%; text-align: right; border: none !important; margin-bottom: 10px; }
    .nav-close { background: none; border: none; font-size: 1.5rem; color: var(--primary); cursor: pointer; padding: 10px; transition: var(--transition); }
    .nav-close:hover { color: var(--gold); }
    .nav-links li { width: 100%; border-bottom: 1px solid rgba(212, 175, 55, 0.15); }
    .nav-links a { color: var(--primary) !important; font-size: 0.95rem; font-weight: 500; display: block; padding: 14px 0; }
    .nav-links a:hover { color: var(--gold) !important; padding-left: 8px; }
    .nav-cta { background: var(--gold) !important; color: var(--primary) !important; text-align: center; border-radius: 8px !important; margin-top: 10px; padding: 12px 20px !important; }
    .nav-toggle { display: block; }
    .hero { flex-direction: column; min-height: auto; }
    .hero-left { width: 100%; padding: 100px 30px 60px; }
    .hero-right { width: 100%; height: 300px; }
    .hero-diagonal { display: none; }
    .hero-h1-dark, .hero-h1-gold { font-size: 2.4rem; }
    .hero-bottom-bar { flex-wrap: wrap; gap: 12px; padding: 16px 20px; position: relative; }
    .hero-bar-item { flex: 1 1 45%; background: rgba(255,255,255,0.1); padding: 12px; border-radius: 8px; }
    .about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .calc-home-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 1.8rem; }
    .hero-left { padding: 90px 20px 40px; }
    .hero-h1-dark, .hero-h1-gold { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-btns { flex-direction: column; }
    .hero-bottom-bar { flex-direction: column; gap: 10px; padding: 14px 16px; position: relative; }
    .hero-bar-item { flex: 1 1 100%; background: rgba(255,255,255,0.1); padding: 12px; border-radius: 8px; width: 100%; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .calc-home-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px; }
}
