/* =========================================
   STYLE.CSS - PROFESSIONAL UPGRADE (FIXED)
   ========================================= */

:root {
    --primary: #2A9D8F;
    --primary-dark: #21867a;
    --secondary: #264653;
    --accent: #E9C46A;
    --bg-light: #F8F9FA;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; scroll-behavior: smooth; }
body { background-color: var(--bg-light); color: #444; overflow-x: hidden; }

/* --- NAVIGATION FIXED --- */
nav {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0.8rem 5%; 
    background: rgba(255,255,255,0.98);
    position: fixed; 
    width: 100%; 
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    height: 80px; /* Tinggi navigasi fix */
}

.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    height: 100%; /* Agar container mengikuti tinggi nav */
}

.nav-logo { 
    height: 50px !important; /* Paksa tinggi maksimal 50px */
    width: auto; 
    object-fit: contain;
}

.logo-text { font-size: 1.4rem; font-weight: 700; color: var(--secondary); }
.logo-text span { color: var(--primary); }

.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--secondary); font-weight: 500; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* --- BUTTONS --- */
.cta-button {
    padding: 12px 30px; background: var(--primary); color: white;
    border: none; border-radius: 50px; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: 0.3s; box-shadow: 0 5px 15px rgba(42,157,143,0.3);
    display: inline-block;
}
.cta-button:hover { background: var(--secondary); transform: translateY(-2px); }
.secondary-btn { color: var(--secondary); text-decoration: none; font-weight: 600; margin-left: 20px; }
.secondary-btn:hover { color: var(--primary); }
.full-width { width: 100%; margin-top: 10px; }

/* --- HERO SECTION --- */
.hero {
    height: 95vh; display: flex; align-items: center; justify-content: center;
    background: url('https://source.unsplash.com/1600x900/?counseling,calm') center/cover no-repeat;
    position: relative; text-align: center; padding: 0 20px; margin-top: 0;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,0.85), rgba(255,255,255,0.95)); }
.hero-content { position: relative; max-width: 800px; animation: fadeInUp 1s ease; margin-top: 60px; }
.badge-hero { background: #e3fdfd; color: var(--primary-dark); padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; display: inline-block; margin-bottom: 15px; }
.hero h1 { font-size: 3rem; color: var(--secondary); line-height: 1.2; margin-bottom: 1rem; }
.hero p { font-size: 1.1rem; color: #666; margin-bottom: 2rem; }

/* --- TRUST BAR --- */
.trust-bar {
    display: flex; justify-content: center; gap: 2rem; padding: 2rem 5%;
    background: white; border-bottom: 1px solid #eee; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #555; }
.trust-item i { color: var(--primary); font-size: 1.2rem; }

/* --- ABOUT --- */
.about-hypno { padding: 5rem 5%; text-align: center; background: white; }
.container { max-width: 900px; margin: 0 auto; }
.about-hypno h2 { font-size: 2.2rem; color: var(--secondary); margin-bottom: 1.5rem; }
.about-hypno p { font-size: 1.1rem; line-height: 1.8; color: #555; }

/* --- PROFILE TERAPIS SECTION --- */
.profile-section { padding: 5rem 5%; background: #f0f7f7; }
.profile-wrapper {
    display: flex; align-items: center; gap: 4rem; max-width: 1000px; margin: 0 auto;
    background: white; padding: 3rem; border-radius: 20px; box-shadow: var(--shadow);
}
.profile-img img {
    width: 300px; height: 350px; object-fit: cover; border-radius: 15px;
    box-shadow: 10px 10px 0 var(--accent);
}
.profile-info h4 { color: var(--primary); text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; margin-bottom: 10px; }
.profile-info h2 { font-size: 2rem; color: var(--secondary); margin-bottom: 5px; }
.profile-info .role { font-style: italic; color: #777; margin-bottom: 20px; }
.profile-info .bio { line-height: 1.7; margin-bottom: 20px; color: #555; }
.cert-list { list-style: none; }
.cert-list li { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.cert-list i { color: var(--primary); }

/* --- CARDS (LAYANAN) --- */
.section-wrapper { padding: 5rem 5%; }
.section-title { text-align: center; font-size: 2.2rem; color: var(--secondary); margin-bottom: 3rem; }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card {
    background: white; padding: 2rem; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s; border: 1px solid #eee; text-align: left;
}
.card:hover { transform: translateY(-5px); border-color: var(--primary); }
.icon-box { width: 60px; height: 60px; background: #e0f2f1; color: var(--primary); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.5rem; margin-bottom: 1.5rem; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.8rem; color: var(--secondary); }
.card p { font-size: 0.9rem; color: #666; line-height: 1.6; }

/* --- TESTIMONIALS --- */
.testimonials { padding: 5rem 5%; background: var(--secondary); color: white; }
.testimonials .section-title { color: white; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testi-card { background: rgba(255,255,255,0.1); padding: 2rem; border-radius: 15px; backdrop-filter: blur(5px); }
.stars { color: var(--accent); margin-bottom: 1rem; }
.testi-card p { font-style: italic; line-height: 1.6; margin-bottom: 1.5rem; opacity: 0.9; }
.client { font-weight: 700; color: var(--accent); }

/* --- MODAL --- */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000; justify-content: center; align-items: center; }
.modal-overlay.active { display: flex; animation: fadeIn 0.3s; }
.modal-content { background: white; padding: 2.5rem; width: 95%; max-width: 550px; border-radius: 15px; position: relative; max-height: 90vh; overflow-y: auto; }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 2rem; cursor: pointer; }
.modal-header { text-align: center; margin-bottom: 25px; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* --- LOADER --- */
.loader { display: none; width: 30px; height: 30px; border: 4px solid #f3f3f3; border-top: 4px solid var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 15px auto; }

/* --- FLOATING WA --- */
.floating-wa {
    position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white;
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 35px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 999;
    transition: 0.3s;
}
.floating-wa:hover { transform: scale(1.1); }

/* --- FOOTER --- */
footer { background: white; padding: 4rem 5% 1rem; border-top: 5px solid var(--primary); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; margin-bottom: 2rem; }
.footer-brand h3 { color: var(--secondary); margin-bottom: 10px; }
.footer-contact h4 { color: var(--primary); margin-bottom: 15px; }
.footer-contact p { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.license { text-align: center; border-top: 1px solid #eee; padding-top: 2rem; font-size: 0.8rem; color: #888; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links { display: none; } 
    .mobile-menu-icon { display: block !important; } /* Tampilkan menu icon di HP */
    
    .hero h1 { font-size: 2rem; }
    
    .profile-wrapper { flex-direction: column; padding: 2rem; text-align: center; }
    .profile-img img { width: 100%; height: auto; }
    
    .grid-container, .testi-grid { grid-template-columns: 1fr; }
    
    .grid-2 { grid-template-columns: 1fr; }
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }