:root {
    --bg:      #f5f7fa;
    --bg2:     #edf1f7;
    --bg3:     #e4eaf2;
    --navy:    #1c3a5e;
    --navy2:   #14304f;
    --yellow:  #f9954e;
    --yellow2: #eb9148;
    --white:   #ffffff;
    --text:    #1c3a5e;
    --muted:   #5a7a9e;
    --border:  rgba(28,58,94,0.12);
    --font-display: 'Barlow Condensed', sans-serif;
    --font-body:    'Poppins', sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); overflow-x: hidden; }

.accent { color: var(--yellow2); }

/* ======================== NAVBAR ======================== */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.navbar-container { position: fixed; top: 0; left: 0; width: 100%; z-index: 200; padding: 16px 5%; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(28,58,94,0.1); transition: padding 0.3s, box-shadow 0.3s; }
.navbar-container.scrolled { padding: 10px 5%; box-shadow: 0 2px 24px rgba(28,58,94,0.16); }
.navbar-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo img { height: 56px; width: auto; }
.desktop-nav { display: flex; list-style: none; gap: 36px; }
.desktop-nav a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.5px; text-transform: uppercase; transition: color 0.25s; padding-bottom: 4px; }
.desktop-nav a:hover { color: var(--navy2); border-bottom: 2px solid var(--yellow); }
.nav-contact-btn { background: var(--yellow); color: var(--navy); text-decoration: none; padding: 10px 24px; border-radius: 4px; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; transition: background 0.25s, transform 0.2s; white-space: nowrap; }
.nav-contact-btn:hover, .nav-contact-btn.active-btn { background: var(--navy); color: var(--white); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ======================== DRAWER ======================== */
.mobile-drawer { display: none; position: fixed; top: 0; right: -100%; width: 72%; max-width: 290px; height: 100%; background: var(--white); border-left: 2px solid var(--yellow); z-index: 9999; padding: 80px 0 40px; box-shadow: -4px 0 30px rgba(28,58,94,0.15); transition: right 0.32s ease; }
.mobile-drawer.open { right: 0; }
.mobile-drawer ul { list-style: none; }
.mobile-drawer ul li { border-bottom: 1px solid rgba(28,58,94,0.08); }
.mobile-drawer ul li a { display: block; padding: 16px 28px; font-size: 16px; font-weight: 600; color: var(--navy); text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.2s, padding-left 0.2s, background 0.2s; }
.mobile-drawer ul li a:hover { color: var(--navy2); background: var(--bg3); padding-left: 36px; }
.mobile-drawer ul li:last-child { border: none; padding: 20px 20px 0; }
.mobile-drawer ul li:last-child a { background: var(--yellow); color: var(--navy); border-radius: 4px; text-align: center; padding: 13px 20px; font-weight: 700; }
.mobile-drawer ul li:last-child a:hover { background: var(--yellow2); padding-left: 20px; }
.drawer-close { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--navy); font-weight: 700; }
.drawer-backdrop { display: none; position: fixed; inset: 0; background: rgba(28,58,94,0.4); z-index: 9998; opacity: 0; transition: opacity 0.3s ease; }
.drawer-backdrop.open { opacity: 1; }

/* ======================== FLOAT BUTTONS ======================== */
.float-contact { position: fixed; right: 20px; bottom: 40px; z-index: 500; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; text-decoration: none; color: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,0.18); transition: transform 0.25s, box-shadow 0.25s; position: relative; }
.float-btn:hover { transform: scale(1.15) translateY(-3px); }
.float-btn::before { content: attr(title); position: absolute; right: 58px; background: var(--navy); color: var(--white); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px; padding: 5px 10px; border-radius: 4px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.float-btn:hover::before { opacity: 1; }
.float-phone { background: var(--navy); }
.float-mail  { background: #d44638; }
.float-wa    { background: #25d366; animation: waPulse 2.5s ease-in-out infinite; }
@keyframes waPulse { 0%,100% { box-shadow: 0 4px 16px rgba(37,211,102,0.3); } 50% { box-shadow: 0 4px 28px rgba(37,211,102,0.65); } }

/* ======================== HERO ======================== */
.page-hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; overflow: hidden; padding-top: 80px; padding-bottom: 70px; background-image: url('../images/Service1.jpg'); background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(14,36,60,0.9) 0%, rgba(14,36,60,0.65) 55%, rgba(14,36,60,0.3) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: 0 5%; max-width: 800px; }
.hero-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--yellow); border: 1px solid rgba(255,204,0,0.45); padding: 6px 16px; border-radius: 20px; margin-bottom: 18px; }
.hero-title { font-family: var(--font-display); font-size: 5.5rem; font-weight: 900; line-height: 0.95; color: var(--white); margin-bottom: 20px; text-shadow: 2px 2px 12px rgba(0,0,0,0.3); }
.hero-accent { color: var(--yellow); display: block; }
.hero-desc { font-size: 1rem; color: rgba(255,255,255,0.78); line-height: 1.7; max-width: 520px; }

/* ======================== CONTACT SECTION ======================== */
.contact-section { padding: 80px 5%; background: var(--bg); }

.contact-wrapper {
    max-width: 1200px; margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden;
    display: flex;
    box-shadow: 0 4px 30px rgba(28,58,94,0.08);
}

/* Shared utility */
.section-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--navy); border: 1px solid rgba(28,58,94,0.3); padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; }
.info-heading { font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; color: var(--navy); text-transform: uppercase; margin-bottom: 10px; line-height: 1; }
.heading-bar { width: 55px; height: 4px; background: var(--yellow); border-radius: 2px; margin-bottom: 28px; }

/* Info panel */
.info-panel { flex: 0 0 380px; padding: 44px 36px; background: var(--bg2); display: flex; flex-direction: column; gap: 0; }

.info-block { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.info-block:last-of-type { border-bottom: none; }

.info-icon { width: 38px; height: 38px; background: rgba(28,58,94,0.08); border: 1px solid rgba(28,58,94,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.info-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 3px; }
.info-val { font-size: 0.9rem; color: var(--text); line-height: 1.55; }
.info-link { font-size: 0.9rem; color: var(--navy); font-weight: 600; text-decoration: none; transition: color 0.2s; }
.info-link:hover { color: var(--yellow2); }

.quick-btns { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.quick-btn { display: flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 4px; font-weight: 700; font-size: 0.88rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; transition: 0.25s; background: var(--navy); color: var(--white); }
.quick-btn:hover { background: var(--navy2); transform: translateY(-2px); }
.quick-btn.wa { background: #25d366; }
.quick-btn.wa:hover { background: #1ebe5b; }

/* Panel divider */
.panel-divider { width: 1px; background: var(--border); flex-shrink: 0; }

/* Form panel */
.form-panel { flex: 1; padding: 44px 44px; }

.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
.form-row { display: flex; gap: 14px; }
.form-row.full { flex-direction: column; }
.form-row.split { flex-direction: row; }
.form-row.submit-row { justify-content: flex-start; }

.contact-form input,
.contact-form textarea {
    flex: 1; width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    font-size: 0.92rem; color: var(--text);
    font-family: var(--font-body);
    outline: none; resize: none;
    transition: border-color 0.25s, background 0.25s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--yellow); background: var(--white); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }

.submit-btn { background: var(--navy); color: var(--white); border: none; border-radius: 6px; padding: 14px 44px; font-size: 0.95rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; font-family: var(--font-body); transition: background 0.25s, transform 0.2s; }
.submit-btn:hover { background: var(--navy2); transform: translateY(-2px); }
.submit-btn.submitted { background: #28a745; }

/* ======================== FOOTER ======================== */
.footer-outer-wrapper { background: var(--navy); padding: 60px 5% 0; }
.footer-container { max-width: 1400px; margin: 0 auto; }
.footer-main { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-col { flex: 1; }
.brand-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.f-logo { height: 48px; }
.f-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; line-height: 1.2; color: var(--white); }
.f-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.footer-col h3 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--white); margin-bottom: 18px; }
.footer-col h3 + h3 { margin-top: 20px; }
.links ul { list-style: none; padding: 0; }
.links ul li { margin-bottom: 10px; }
.links ul li a { text-decoration: none; color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: 0.25s; }
.links ul li a:hover { color: var(--yellow); padding-left: 6px; }
.address { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 18px; }
.address i { color: var(--yellow); margin-right: 6px; }
.contact-persons { display: flex; gap: 20px; margin-bottom: 14px; flex-wrap: wrap; }
.person p { font-weight: 700; font-size: 12px; color: var(--white); margin-bottom: 4px; }
.contact-link, .email-link { text-decoration: none; color: rgba(255,255,255,0.6); font-size: 12px; display: flex; align-items: center; gap: 7px; transition: 0.25s; }
.contact-link i, .email-link i { color: var(--yellow); }
.contact-link:hover, .email-link:hover { color: var(--yellow); }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 12px; color: rgba(255,255,255,0.3); letter-spacing: 0.5px; }

/* ======================== TABLET ======================== */
@media (max-width: 992px) {
    .hero-title { font-size: 4.5rem; }
    .contact-wrapper { flex-direction: column; }
    .info-panel { flex: none; width: 100%; }
    .panel-divider { width: 100%; height: 1px; }
    .form-panel { padding: 36px 28px; }
    .footer-main { flex-wrap: wrap; }
}

/* ======================== MOBILE ======================== */
@media (max-width: 768px) {
    .logo img { height: 38px; }
    .logo-name { font-size: 0.78rem; letter-spacing: 0.5px; }
    .navbar-container { padding: 12px 4%; }
    .logo img { height: 44px; }
    .desktop-nav { display: none; }
    .nav-contact-btn { display: none; }
    .hamburger { display: flex; }
    .mobile-drawer { display: block; }
    .drawer-backdrop { display: block; pointer-events: none; }
    .drawer-backdrop.open { pointer-events: auto; }

    .float-contact { right: 14px; bottom: 28px; gap: 10px; }
    .float-btn { width: 42px; height: 42px; font-size: 15px; }
    .float-btn::before { display: none; }

    .page-hero { min-height: 52vh; padding-bottom: 44px; }
    .hero-title { font-size: 3.2rem; }
    .hero-desc { font-size: 0.9rem; }

    .contact-section { padding: 50px 4%; }
    .info-panel { padding: 28px 20px; }
    .quick-btns { flex-direction: column; }
    .quick-btn { justify-content: center; }
    .form-panel { padding: 28px 20px; }
    .info-heading { font-size: 2rem; }
    .form-row.split { flex-direction: column; }
    .submit-btn { width: 100%; }

    .footer-outer-wrapper { padding: 50px 5% 0; }
    .footer-main { flex-direction: column; gap: 28px; }
    .contact-persons { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.6rem; }
    .info-heading { font-size: 1.75rem; }
}
