/* --- GLOBAL VARIABLES --- */
:root {
    --primary: #02884d;
    --primary-dark: #016035;
    --secondary: #2196f3;
    --accent: #ffc107;
    --dark: #121212;
    --light: #f8f9fa;
    --glass: rgba(255, 255, 255, 0.1);
    --text-main: #333;
    --text-light: #555;
    --white: #fff;
    --overlay: rgba(0,0,0,0.6);
}

/* --- BASE RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { line-height: 1.6; color: var(--text-main); background: var(--white); overflow-x: hidden; scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }

/* --- HEADER ELEMENTS --- */
.top-bar { background: var(--primary); color: var(--white); padding: 10px 0; font-size: 0.9rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

header { background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.logo img { max-height: 60px; width: auto; }

/* --- MENU --- */
.nav-menu { display: flex; gap: 20px; align-items: center; }
.nav-link { font-weight: 600; padding: 8px 16px; color: var(--text-main); border-radius: 50px; transition: 0.3s; }
.nav-link:hover { background: rgba(2, 136, 77, 0.1); color: var(--primary); }
.nav-link.active { background: var(--primary); color: var(--white); }

.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--white); min-width: 240px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); border-top: 3px solid var(--primary); opacity: 0; visibility: hidden; transition: 0.3s; transform: translateY(10px); z-index: 999; border-radius: 0 0 8px 8px; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { display: block; padding: 12px 20px; border-bottom: 1px solid #f5f5f5; font-size: 0.9rem; color: #555; }
.dropdown-menu li a:hover { background: #f0f9f4; color: var(--primary); padding-left: 25px; }

/* --- BUTTONS --- */
.btn { padding: 12px 30px; border-radius: 50px; font-weight: 600; cursor: pointer; display: inline-block; border: none; transition: 0.3s; text-align: center; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 5px 15px rgba(2, 136, 77, 0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); }
.btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-calc { background: linear-gradient(135deg, var(--secondary), #1976d2); color: white; padding: 10px 20px; border-radius: 50px; font-weight: bold; font-size: 0.9rem; border: none; cursor: pointer; }
.btn-calc:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4); }

/* --- LAYOUT & GRIDS --- */
.section { padding: 80px 0; position: relative; }
.bg-light { background: linear-gradient(180deg, #f8fdfa 0%, #e8f5e9 100%); } 

.title-header { text-align: center; margin-bottom: 60px; }
.title-header h4 { color: var(--secondary); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 10px; font-weight: 700; }
.title-header h2 { color: var(--primary); font-size: 2.5rem; margin-bottom: 15px; font-weight: 700; }
.title-header p { color: var(--text-light); max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

/* --- HERO ANIMATION SECTION --- */
.hero-split-section {
    position: relative;
    min-height: 750px;
    background: radial-gradient(circle at 30% 50%, #1a2a6c, #b21f1f, #fdbb2d); 
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%); 
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 40px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TEXT SLIDER STYLES (NEW) --- */
.hero-text { color: white; padding-left: 20px; z-index: 10; position: relative; height: 400px; display: flex; align-items: center; }
.hero-text-slider { position: relative; width: 100%; height: 100%; }

.text-slide {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-40%);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
    pointer-events: none;
}

.text-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%);
    pointer-events: auto;
}

/* Slide Content */
.badge-glow {
    color: #ffc107; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 20px;
    display: inline-block; background: rgba(255,255,255,0.15); padding: 8px 20px; border-radius: 50px;
    border: 1px solid rgba(255,193,7,0.6);
}
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; font-weight: 800; margin-bottom: 25px; text-shadow: 0 5px 20px rgba(0,0,0,0.8); color: white; }
.hero-text p { font-size: 1.15rem; color: #f0f0f0; margin-bottom: 35px; line-height: 1.7; max-width: 95%; }

/* Solar System Animation */
.solar-system-wrapper { position: relative; height: 500px; width: 100%; display: flex; align-items: center; justify-content: center; perspective: 1000px; z-index: 5; }
.solar-system-wrapper:hover .orbit, .solar-system-wrapper:hover .planet-box { animation-play-state: paused; }
.sun-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 110px; height: 110px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 60px rgba(255, 255, 255, 0.5); z-index: 10; animation: pulseLogo 3s infinite alternate; }
.sun-center img { width: 70px; height: auto; }
.orbit { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px dashed rgba(255, 255, 255, 0.15); border-radius: 50%; pointer-events: none; }
.planet-box { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; width: 120px; pointer-events: auto; cursor: pointer; transition: transform 0.3s; text-decoration: none; }
.planet-box:hover { z-index: 20; transform: translate(-50%, -50%) scale(1.15); }
.planet { width: 60px; height: 60px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--primary); box-shadow: 0 0 20px rgba(255,255,255,0.3); margin-bottom: 8px; transition: 0.3s; }
.planet-box:hover .planet { background: #ffc107; color: #333; }
.planet-label { color: white; font-size: 0.8rem; font-weight: 600; background: rgba(0,0,0,0.7); padding: 4px 10px; border-radius: 12px; white-space: nowrap; border: 1px solid rgba(255,255,255,0.2); }
.planet-popup { visibility: hidden; opacity: 0; background-color: white; color: var(--primary); padding: 8px 12px; border-radius: 6px; position: absolute; bottom: 110%; left: 50%; transform: translateX(-50%); z-index: 20; font-size: 0.8rem; width: max-content; transition: opacity 0.3s; border: 2px solid #ffc107; font-weight: bold; }
.planet-box:hover .planet-popup { visibility: visible; opacity: 1; }

.orbit-1 { width: 260px; height: 260px; animation: spinCW 14s linear infinite; }
.orbit-2 { width: 390px; height: 390px; animation: spinCCW 20s linear infinite; }
.orbit-3 { width: 500px; height: 500px; animation: spinCW 28s linear infinite; }
.orbit-1 .planet-box { animation: spinCCW 14s linear infinite; }
.orbit-2 .planet-box { animation: spinCW 20s linear infinite; }
.orbit-3 .planet-box { animation: spinCCW 28s linear infinite; }

@keyframes spinCW { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinCCW { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes pulseLogo { 0% { box-shadow: 0 0 50px rgba(255, 255, 255, 0.5); transform: translate(-50%, -50%) scale(1); } 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); transform: translate(-50%, -50%) scale(0.95); } }

/* --- HIGHLIGHTS & SERVICES --- */
.stats-overlap { margin-top: -80px; position: relative; z-index: 10; padding-bottom: 60px; }
.feature-box { background: white; padding: 30px 20px; border-radius: 15px; text-align: center; box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-bottom: 5px solid var(--primary); transition: all 0.3s ease; height: 100%; }
.feature-box:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0,0,0,0.15); border-color: var(--accent); }
.feature-icon { width: 70px; height: 70px; background: var(--bg-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 15px; transition: 0.3s; }
.feature-box:hover .feature-icon { background: var(--primary); color: white; }
.feature-box h3 { margin-bottom: 5px; color: var(--text-main); font-size: 1.8rem; font-weight: 800; }
.feature-box p { color: var(--text-light); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; }

.service-card { background: white; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; height: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eaeaea; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(2, 136, 77, 0.15); border-color: var(--primary); }
.service-img { height: 220px; width: 100%; overflow: hidden; position: relative; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-img img { transform: scale(1.1); }
.service-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; background: white; text-align: left; }
.service-body h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--text-main); font-weight: 700; }
.service-body p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 15px; line-height: 1.6; }
.service-list { list-style: none; padding: 0; margin-bottom: 20px; flex-grow: 1; }
.service-list li { margin-bottom: 8px; font-size: 0.9rem; color: #555; display: flex; align-items: center; gap: 10px; }
.service-list li i { color: var(--primary); font-size: 1rem; }
.read-more { color: var(--secondary); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; margin-top: auto; }
.read-more:hover { gap: 10px; color: var(--primary); }

/* --- WHY CHOOSE US --- */
.why-us-content h4 { color: var(--secondary); text-transform: uppercase; margin-bottom: 10px; }
.why-us-content h2 { color: var(--primary); font-size: 2.2rem; margin-bottom: 20px; }
.why-us-list { list-style: none; margin-top: 30px; }
.why-us-list li { margin-bottom: 20px; display: flex; align-items: start; gap: 15px; }
.why-us-icon { width: 50px; height: 50px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }

/* --- PROCESS & FAQ --- */
.process-timeline { position: relative; margin-top: 40px; }
.process-timeline::before { content: ''; position: absolute; top: 50px; left: 10%; width: 80%; height: 3px; background: #e0e0e0; z-index: 0; display: block; border-radius: 4px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 1; }
.step-card { background: white; padding: 40px 20px 30px; border-radius: 15px; text-align: center; border: 1px solid #eee; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.step-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--secondary); }
.step-badge { width: 70px; height: 70px; background: var(--white); color: var(--primary); border: 4px solid var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: bold; margin: -75px auto 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: 0.3s; }
.step-card:hover .step-badge { background: var(--primary); color: white; border-color: var(--accent); transform: scale(1.1); }
.step-card h4 { color: var(--text-main); margin-bottom: 10px; font-weight: 700; }
.step-card p { color: var(--text-light); font-size: 0.9rem; }

.accordion { background-color: white; color: var(--text-dark); cursor: pointer; padding: 20px 25px; width: 100%; border: 1px solid #eee; text-align: left; outline: none; font-size: 1.1rem; font-weight: 600; transition: 0.4s; border-radius: 8px; margin-bottom: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); display: flex; justify-content: space-between; align-items: center; }
.accordion:hover, .accordion.active { background-color: var(--bg-light); color: var(--primary); border-color: var(--primary); }
.accordion.active { background-color: var(--primary); color: white; border-color: var(--primary); }
.accordion::after { content: '\002B'; font-weight: bold; font-size: 1.5rem; }
.accordion.active::after { content: "\2212"; }
.panel { padding: 0 25px; background-color: white; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; margin-bottom: 15px; border-radius: 0 0 8px 8px; border-left: 4px solid var(--primary); box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.panel p { margin: 20px 0; color: var(--text-light); line-height: 1.7; }

/* --- FOOTER --- */
footer { background: #1a1a1a; color: #ccc; padding-top: 60px; }
.social-icons a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; margin-right: 10px; color: white; transition: 0.3s; }
.social-icons a:hover { background: var(--primary); }

/* --- MOBILE --- */
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 992px) {
    .grid-2, .grid-3, .grid-4, .hero-container, .process-grid { grid-template-columns: 1fr !important; }
    .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: white; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
    .nav-menu.active { display: flex; }
    .hamburger { display: block; }
    .dropdown-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 20px; background: #f9f9f9; }
    .dropdown.active .dropdown-menu { display: block; }
    .hero-text { order: 1; text-align: center; padding-left: 0; margin-bottom: 30px; }
    .solar-system-wrapper { order: 2; transform: scale(0.7); height: 350px; }
    .hero-split-section { padding-bottom: 50px; }
    .process-timeline::before { display: none; }
    .step-badge { margin: 0 auto 15px; }
    .step-card { margin-bottom: 20px; }
    .feature-box { top: 0; margin-bottom: 20px; }
    .stats-overlap { margin-top: 0; padding-top: 40px; }
}

/* Modal */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); align-items: center; justify-content: center; }
.modal-content { background: white; padding: 30px; border-radius: 10px; width: 90%; max-width: 450px; position: relative; }
.close-btn { position: absolute; top: 10px; right: 20px; font-size: 28px; cursor: pointer; }
.form-control { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; margin-bottom: 15px; }
.result-box { background: #e8f5e9; padding: 15px; margin-top: 15px; display: none; border-radius: 5px; }