/* ============ RESET & BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #0A2540;
    --primary-dark: #061a30;
    --accent: #F5A623;
    --accent-dark: #d48a0f;
    --secondary: #00A86B;
    --light: #F7F9FC;
    --gray: #6B7280;
    --gray-light: #E5E7EB;
    --text: #1F2937;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 20px 60px rgba(10, 37, 64, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; color: var(--primary); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.accent { color: var(--accent); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 15px; cursor: pointer; border: none; transition: var(--transition); font-family: 'Poppins', sans-serif; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--white); box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(245, 166, 35, 0.45); }
.btn-outline-dark { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }

/* ============ TOP BAR ============ */
.top-bar { background: var(--primary-dark); color: rgba(255, 255, 255, 0.85); font-size: 13px; padding: 10px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-info { display: flex; gap: 20px; flex-wrap: wrap; }
.top-info span { display: inline-flex; align-items: center; gap: 6px; }
.top-info i { color: var(--accent); }
.top-social { display: flex; gap: 12px; }
.top-social a { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); transition: var(--transition); }
.top-social a:hover { background: var(--accent); color: var(--white); }

/* ============ NAVBAR ============ */
.navbar { background: var(--white); padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); transition: var(--transition); }
.navbar.scrolled { padding: 10px 0; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 45px; height: 45px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--white); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: 'Poppins', sans-serif; font-size: 18px; }
.logo-text strong { display: block; font-size: 16px; color: var(--primary); line-height: 1.1; }
.logo-text small { font-size: 11px; color: var(--accent); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.nav-menu { display: flex; gap: 28px; }
.nav-menu a { font-weight: 500; color: var(--text); position: relative; transition: var(--transition); }
.nav-menu a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--accent); transition: var(--transition); }
.nav-menu a:hover, .nav-menu a.active { color: var(--accent); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-cta { padding: 10px 22px; font-size: 14px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* ============ NEW HERO SLIDER (Images top, Text below, No controls) ============ */
.hero { padding: 40px 0 60px; background: var(--light); }
.hero-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }

.image-slider { height: 500px; position: relative; width: 100%; }
.slide-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease-in-out; }
.slide-img.active { opacity: 1; }

.slider-text-content { padding: 50px 40px; text-align: center; max-width: 800px; margin: 0 auto; }
.slide-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; background: rgba(245, 166, 35, 0.15); border: 1px solid var(--accent); border-radius: 50px; color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 20px; letter-spacing: 1px; text-transform: uppercase; }
.slider-text-content h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 15px; font-weight: 800; line-height: 1.1; }
.slider-text-content p { font-size: 1.1rem; color: var(--gray); margin-bottom: 30px; max-width: 650px; margin-left: auto; margin-right: auto; }
.slide-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ============ QUICK CALCULATOR ============ */
.quick-calc { margin-top: -40px; position: relative; z-index: 5; padding-bottom: 60px; }
.quick-calc-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 35px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; align-items: center; }
.qcalc-header h3 { color: var(--primary); font-size: 1.4rem; display: flex; align-items: center; gap: 10px; }
.qcalc-header h3 i { color: var(--accent); }
.qcalc-header p { color: var(--gray); font-size: 14px; margin-top: 5px; }
.qcalc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--primary); }
.input-group input[type="number"] { width: 100%; padding: 12px 14px; border: 2px solid var(--gray-light); border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.input-group input[type="range"] { width: 100%; -webkit-appearance: none; height: 6px; background: var(--gray-light); border-radius: 3px; outline: none; }
.input-group input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; background: var(--accent); border-radius: 50%; cursor: pointer; box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4); }
.qcalc-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding: 25px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: var(--radius); color: var(--white); }
.result-item small { display: block; font-size: 11px; opacity: 0.8; text-transform: uppercase; letter-spacing: 1px; }
.result-item strong { display: block; font-size: 1.4rem; font-weight: 700; margin-top: 4px; color: var(--accent); }

/* ============ STATS ============ */
.stats { padding: 60px 0; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-card { text-align: center; color: var(--white); padding: 30px; background: rgba(255, 255, 255, 0.05); border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.1); }
.stat-card i { font-size: 40px; color: var(--accent); margin-bottom: 15px; }
.stat-number { font-size: 2.5rem; font-weight: 800; font-family: 'Poppins', sans-serif; margin-bottom: 5px; color: var(--white); }
.stat-label { font-size: 14px; opacity: 0.9; }

/* ============ SECTION HEADERS ============ */
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag { display: inline-block; padding: 6px 18px; background: rgba(10, 37, 64, 0.08); color: var(--primary); border-radius: 50px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 15px; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 15px; }
.section-header p { color: var(--gray); max-width: 600px; margin: 0 auto; }

/* ============ ABOUT ============ */
.about { padding: 100px 0; background: var(--light); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: 20px; box-shadow: var(--shadow-lg); height: 450px; object-fit: cover; width: 100%; }
.about-badge { position: absolute; bottom: -20px; right: -20px; background: var(--accent); color: var(--white); padding: 20px 25px; border-radius: 15px; text-align: center; box-shadow: var(--shadow); }
.about-badge strong { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.about-badge span { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.about-text h2 { margin-bottom: 20px; font-size: 2.2rem; }
.about-text > p { color: var(--gray); margin-bottom: 25px; }
.about-features { display: grid; gap: 20px; margin-bottom: 30px; }
.feature { display: flex; gap: 15px; align-items: flex-start; }
.feature i { width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.feature h4 { font-size: 1rem; margin-bottom: 4px; }
.feature p { color: var(--gray); font-size: 14px; margin: 0; }

/* ============ SERVICES ============ */
.services { padding: 100px 0; }
.service-tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px; }
.tab-btn { padding: 14px 24px; background: var(--white); border: 2px solid var(--gray-light); border-radius: 50px; cursor: pointer; font-weight: 600; color: var(--text); transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; font-family: 'Poppins', sans-serif; font-size: 14px; }
.tab-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.tab-btn.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); border-color: var(--primary); }
.tab-btn.active i { color: var(--accent); }
.tab-panels { position: relative; }
.tab-panel { display: none; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; background: var(--white); padding: 35px; border-radius: 20px; box-shadow: var(--shadow); animation: fadeIn 0.5s ease; }
.tab-panel.active { display: grid; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.panel-img img { border-radius: 15px; width: 100%; height: 400px; object-fit: cover; }
.panel-content h3 { font-size: 1.9rem; margin-bottom: 15px; }
.panel-content > p { color: var(--gray); margin-bottom: 20px; font-size: 1.05rem; }
.panel-list { list-style: none; margin-bottom: 25px; }
.panel-list li { padding: 10px 0; display: flex; align-items: center; gap: 12px; }
.panel-list i { color: var(--secondary); font-size: 20px; }

/* ============ WHY US (Photos with readable gradients) ============ */
.why-us { padding: 100px 0; background: var(--light); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { position: relative; height: 380px; border-radius: 15px; overflow: hidden; background-size: cover; background-position: center; transition: var(--transition); }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.why-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,0.95) 0%, rgba(10,37,64,0.6) 40%, rgba(10,37,64,0.1) 100%); z-index: 1; }
.why-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 25px; z-index: 2; color: var(--white); }
.why-content i { font-size: 28px; color: var(--accent); margin-bottom: 12px; display: block; }
.why-content h4 { color: var(--white); margin-bottom: 8px; font-size: 1.15rem; }
.why-content p { color: rgba(255, 255, 255, 0.85); font-size: 14px; line-height: 1.5; }

/* ============ TESTIMONIALS ============ */
.testimonials { padding: 100px 0; background: var(--white); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.testimonial { background: var(--white); padding: 35px; border-radius: 15px; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-light); }
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stars { color: var(--accent); font-size: 18px; margin-bottom: 15px; letter-spacing: 2px; }
.testimonial > p { color: var(--gray); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.t-author strong { display: block; color: var(--primary); }
.t-author small { color: var(--gray); font-size: 12px; }

/* ============ CALCULATOR ============ */
.calculator { padding: 100px 0; background: var(--light); }
.calc-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.calc-info h2 { margin-bottom: 20px; font-size: 2.2rem; }
.calc-info > p { color: var(--gray); margin-bottom: 25px; font-size: 1.05rem; }
.calc-features { display: grid; gap: 12px; }
.calc-features div { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.calc-features i { color: var(--secondary); font-size: 18px; }
.calc-card { background: var(--white); padding: 40px; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-light); }
.calc-field { margin-bottom: 30px; }
.calc-field label { display: block; font-weight: 600; color: var(--primary); margin-bottom: 10px; font-size: 14px; }
.value-display { font-size: 1.8rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; font-family: 'Poppins', sans-serif; }
.calc-field input[type="range"] { width: 100%; -webkit-appearance: none; height: 8px; background: linear-gradient(to right, var(--accent) 0%, var(--accent) 50%, var(--gray-light) 50%); border-radius: 4px; outline: none; }
.calc-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; background: var(--white); border: 3px solid var(--accent); border-radius: 50%; cursor: pointer; box-shadow: 0 2px 10px rgba(245, 166, 35, 0.4); }
.range-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray); margin-top: 6px; }
.calc-results { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 30px; border-radius: 15px; color: var(--white); margin-top: 25px; }
.result-main { text-align: center; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); margin-bottom: 20px; }
.result-main small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.8; }
.result-main strong { display: block; font-size: 2.8rem; font-weight: 800; color: var(--accent); margin-top: 8px; font-family: 'Poppins', sans-serif; }
.result-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
.result-row small { display: block; font-size: 11px; opacity: 0.8; text-transform: uppercase; letter-spacing: 1px; }
.result-row strong { display: block; font-size: 1.3rem; margin-top: 4px; }

/* ============ APPLY FORM ============ */
.apply { padding: 100px 0; background: var(--white); }
.apply-wrapper { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: flex-start; }
.apply-info h2 { margin-bottom: 20px; font-size: 2.2rem; }
.apply-info > p { color: var(--gray); margin-bottom: 25px; font-size: 1.05rem; }
.apply-benefits { display: grid; gap: 15px; margin-bottom: 30px; }
.apply-benefits div { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.apply-benefits i { color: var(--secondary); font-size: 18px; }
.apply-contact { background: var(--light); padding: 25px; border-radius: 12px; }
.apply-contact h4 { margin-bottom: 12px; }
.apply-contact p { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-size: 14px; }
.apply-contact i { color: var(--accent); }
.apply-form { background: var(--white); padding: 40px; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-light); }
.apply-form h3 { margin-bottom: 30px; color: var(--primary); font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { padding: 13px 16px; border: 2px solid var(--gray-light); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.1); }
.checkbox-group label { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--gray); cursor: pointer; }
.checkbox-group input { width: auto; margin-top: 3px; }
.checkbox-group a { color: var(--accent); font-weight: 600; }

/* ============ CONTACT ============ */
.contact { padding: 100px 0; background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; }
.contact-info-card { background: var(--white); padding: 40px; border-radius: 20px; box-shadow: var(--shadow); }
.contact-info-card h3 { margin-bottom: 30px; font-size: 1.5rem; }
.contact-item { display: flex; gap: 15px; margin-bottom: 25px; }
.contact-item i { width: 45px; height: 45px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--white); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item strong { display: block; color: var(--primary); margin-bottom: 3px; }
.contact-item p { color: var(--gray); font-size: 14px; margin: 0; line-height: 1.5; }
.contact-map iframe { width: 100%; height: 100%; min-height: 450px; border: none; border-radius: 20px; box-shadow: var(--shadow); }

/* ============ FOOTER ============ */
.footer { background: var(--primary-dark); color: rgba(255, 255, 255, 0.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-col .logo { margin-bottom: 15px; }
.footer-col .logo-text strong { color: var(--white); }
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; background: rgba(255, 255, 255, 0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social a:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.footer-col ul a { transition: var(--transition); }
.footer-col ul a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact i { color: var(--accent); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; text-align: center; font-size: 13px; }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float { position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background: #25D366; color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); z-index: 99; transition: var(--transition); animation: pulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse { 0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.8), 0 0 0 15px rgba(37, 211, 102, 0); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .about-grid, .calc-wrapper, .apply-wrapper, .contact-grid { grid-template-columns: 1fr; }
    .why-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .quick-calc-card { grid-template-columns: 1fr; }
    .tab-panel.active { grid-template-columns: 1fr; }
    .panel-img img { height: 300px; }
}

@media (max-width: 768px) {
    .nav-menu { position: fixed; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; box-shadow: var(--shadow); transform: translateY(-150%); transition: var(--transition); gap: 15px; }
    .nav-menu.active { transform: translateY(0); }
    .hamburger { display: flex; }
    .nav-cta { display: none; }
    .image-slider { height: 300px; }
    .slider-text-content { padding: 30px 20px; }
    .slider-text-content h1 { font-size: 1.8rem; }
    .top-info { font-size: 11px; gap: 10px; }
    .qcalc-inputs, .form-row { grid-template-columns: 1fr; }
    .qcalc-result { grid-template-columns: 1fr; }
    .service-tabs { gap: 8px; }
    .tab-btn { padding: 12px 16px; font-size: 13px; }
    .why-grid, .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-badge { right: 10px; bottom: -15px; padding: 15px 20px; }
    .about-img img { height: 350px; }
}