/* ================================================================
   BONAS MEDICAL — Master Responsive Stylesheet (Netlink Possibilities Theme)
   Colors: Navy Blue (#0A1628), Vibrant Red (#E63946), Warm Gold (#F4A21E)
   Fully Responsive for All Viewports (320px to 2500px)
   ================================================================ */

/* ─── GOOGLE FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── CSS VARIABLES (Netlink exact palette) ─── */
:root {
    --primary:       #0A1628;
    --primary-light: #1E3A5F;
    --accent:        #E63946;
    --accent-dark:   #C8102E;
    --gold:          #F4A21E;
    --light:         #F5F7FA;
    --light-bg:      #EDF2F7;
    --white:         #FFFFFF;
    --text:          #2D3748;
    --text-light:    #718096;
    --border:        #E2E8F0;
    --shadow:        0 4px 24px rgba(10, 22, 40, 0.08);
    --shadow-lg:     0 16px 40px rgba(10, 22, 40, 0.16);
    --radius:        16px;
    --radius-sm:     8px;
    --transition:    all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --nav-height:    78px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
    width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; font-weight: 700; color: var(--primary); word-wrap: break-word; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ─── LAYOUT & CONTAINERS ─── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.grid   { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.text-center { text-align: center; }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 48px;
}
.btn-primary  { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 6px 20px rgba(230, 57, 70, 0.28); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(230,57,70,0.42); }

.btn-secondary { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 6px 20px rgba(10, 22, 40, 0.2); }
.btn-secondary:hover { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(10, 22, 40, 0.35); }

.btn-outline { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.6); backdrop-filter: blur(4px); }
.btn-outline:hover { background: #fff; color: var(--primary); border-color: #fff; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255,255,255,0.25); }

.btn-outline-accent { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline-accent:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }

.btn-light { background: var(--white); color: var(--primary); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.btn-light:hover { background: var(--light); color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-3px); }

.btn-sm { padding: 9px 22px; font-size: 0.88rem; min-height: 40px; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; min-height: 52px; }

/* ─── TOP BAR ─── */
.topbar {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    font-size: 0.83rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-link { color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 6px; transition: color 0.2s; white-space: nowrap; }
.topbar-link:hover { color: var(--gold); }
.topbar-link i { color: var(--gold); font-size: 0.85rem; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { color: rgba(255,255,255,0.7); font-size: 0.85rem; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
.topbar-social a:hover { color: var(--accent); transform: translateY(-2px); }

/* ─── NAVBAR ─── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 16px rgba(10,22,40,0.08);
    transition: all 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(10,22,40,0.18); height: 70px; --nav-height: 70px; }
.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.nav-logo-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(230,57,70,0.25);
    transition: var(--transition);
}
.nav-brand:hover .nav-logo-icon { transform: rotate(5deg) scale(1.05); background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name { font-size: 1.25rem; font-weight: 800; color: var(--primary); letter-spacing: -0.3px; white-space: nowrap; }
.nav-logo-name span { color: var(--accent); }
.nav-logo-sub { font-size: 0.68rem; color: var(--text-light); font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 8px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%; right: 50%;
    height: 2.5px;
    background: var(--accent);
    transition: all 0.3s ease;
    border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after { left: 16px; right: 16px; }
.nav-link:hover { color: var(--accent); background: rgba(230,57,70,0.06); }
.nav-link.active { color: var(--accent); }
.nav-cta-btn {
    background: var(--accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
    margin-left: 12px;
    border: 2px solid var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(230,57,70,0.3);
    white-space: nowrap;
}
.nav-cta-btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,57,70,0.45); }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    outline: none;
    width: 44px;
    height: 44px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--accent); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--accent); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
    position: fixed;
    top: var(--nav-height); left: 0; width: 100%; height: calc(100vh - var(--nav-height));
    background: var(--white);
    z-index: 999;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
    overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-nav-link {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    border-radius: 8px;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--accent); background: var(--light); padding-left: 24px; }
.mobile-cta {
    margin-top: 14px;
    text-align: center;
    background: var(--accent);
    color: #fff;
    padding: 16px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
}

/* ─── HERO SECTION ─── */
.hero {
    position: relative;
    padding: clamp(80px, 12vw, 130px) 0 clamp(60px, 8vw, 100px) 0;
    color: #fff;
    overflow: hidden;
    background-color: var(--primary);
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    pointer-events: none;
}
.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 57, 70, 0.22);
    border: 1px solid rgba(230, 57, 70, 0.5);
    color: #ff8a93;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    font-weight: 700;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.hero-badge i { color: var(--gold); }
.hero-title {
    font-size: clamp(2rem, 5.5vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-title .accent { color: var(--accent); text-shadow: 0 2px 12px rgba(230,57,70,0.5); }
.hero-title .gold { color: var(--gold); text-shadow: 0 2px 12px rgba(244,162,30,0.5); }
.hero-description {
    font-size: clamp(0.98rem, 2vw, 1.18rem);
    color: rgba(255,255,255,0.92);
    line-height: 1.7;
    margin-bottom: 38px;
    max-width: 730px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.hero-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: rgba(10, 22, 40, 0.82);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 26px 32px;
    margin-top: 20px;
    box-shadow: var(--shadow-lg);
}
.hero-stat { text-align: center; }
.hero-stat-number {
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(244,162,30,0.3);
}
.hero-stat-label {
    font-size: clamp(0.78rem, 2vw, 0.88rem);
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

/* ─── PAGE BANNER (Subpages) ─── */
.page-banner {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: clamp(50px, 8vw, 75px) 0;
    color: #fff;
    text-align: center;
}
.page-banner-title { font-size: clamp(1.8rem, 4.5vw, 2.6rem); color: #fff; margin-bottom: 10px; font-weight: 900; }
.page-banner-subtitle { font-size: clamp(0.95rem, 2.2vw, 1.08rem); color: rgba(255,255,255,0.85); max-width: 680px; margin: 0 auto 16px auto; }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 0.92rem; color: rgba(255,255,255,0.7); flex-wrap: wrap; }
.breadcrumb a { color: var(--gold); font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; color: var(--accent); }

/* ─── SECTIONS ─── */
.section { padding: clamp(50px, 8vw, 90px) 0; }
.section-dark { background: var(--primary); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.75); }
.section-light { background: var(--light); }
.section-accent { background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%); color: #fff; }

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto clamp(30px, 5vw, 50px) auto;
}
.section-badge {
    display: inline-block;
    background: rgba(230, 57, 70, 0.12);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}
.section-dark .section-badge { background: rgba(230, 57, 70, 0.25); color: #ff8a93; }
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}
.section-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.06rem);
    color: var(--text-light);
    line-height: 1.7;
}

/* ─── SERVICE CARDS & DETAIL GRIDS ─── */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: clamp(24px, 4vw, 34px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(230, 57, 70, 0.4);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
    width: 64px; height: 64px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    transition: var(--transition);
    flex-shrink: 0;
}
.service-card:hover .service-icon-wrap {
    background: var(--accent);
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35);
}
.service-icon {
    font-size: 1.7rem;
    color: var(--accent);
    transition: var(--transition);
}
.service-card:hover .service-icon { color: #fff; }
.service-title { font-size: clamp(1.2rem, 3vw, 1.35rem); font-weight: 800; margin-bottom: 12px; color: var(--primary); }
.service-desc { font-size: 0.96rem; color: var(--text-light); line-height: 1.65; margin-bottom: 22px; flex-grow: 1; }
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--accent);
    transition: var(--transition);
}
.service-link:hover { color: var(--accent-dark); gap: 14px; }

/* Responsive Service Detail Grid (For services page layout) */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}
.service-detail-grid.reverse {
    grid-template-columns: 1fr 1.2fr;
}
.service-detail-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

/* ─── WHY CARDS ─── */
.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}
.why-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(230, 57, 70, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.why-icon {
    width: 46px; height: 46px;
    background: var(--accent);
    color: #fff;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(230,57,70,0.3);
    transition: var(--transition);
}
.why-card:hover .why-icon { transform: scale(1.1) rotate(-5deg); background: var(--gold); color: var(--primary); }
.why-title { font-size: 1.08rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.why-desc { font-size: 0.9rem; color: rgba(255,255,255,0.72); line-height: 1.5; }

/* ─── STAT CARDS ─── */
.stat-card {
    text-align: center;
    padding: 20px 16px;
    transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); }
.stat-number { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 900; color: #fff; line-height: 1; margin-bottom: 8px; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.stat-label { font-size: clamp(0.82rem, 2vw, 0.95rem); color: rgba(255,255,255,0.9); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 44px; height: 3px; background: rgba(255,255,255,0.4); margin: 12px auto 0 auto; border-radius: 2px; }

/* ─── TESTIMONIAL CARDS ─── */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: clamp(24px, 4vw, 34px);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(230,57,70,0.3); }
.testimonial-stars { color: var(--gold); font-size: 1.15rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.98rem; color: var(--text); font-style: italic; line-height: 1.7; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(230,57,70,0.25);
    flex-shrink: 0;
}
.testimonial-name { font-size: 1.02rem; font-weight: 800; color: var(--primary); }
.testimonial-role { font-size: 0.84rem; color: var(--text-light); }

/* ─── CTA BANNER ─── */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: clamp(60px, 8vw, 85px) 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-title { font-size: clamp(1.8rem, 4.5vw, 2.5rem); color: #fff; font-weight: 900; margin-bottom: 16px; }
.cta-subtitle { font-size: clamp(0.98rem, 2.2vw, 1.12rem); color: rgba(255,255,255,0.88); max-width: 720px; margin: 0 auto 34px auto; line-height: 1.7; }
.cta-buttons { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-cta-white {
    background: #fff;
    color: var(--primary);
    padding: 15px 38px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    min-height: 52px;
}
.btn-cta-white:hover { background: var(--accent); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 28px rgba(230,57,70,0.45); }
.btn-cta-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.18); border-color: #fff; transform: translateY(-3px); }

/* ─── CONTACT & FORMS ─── */
.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: clamp(24px, 4vw, 32px);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(230,57,70,0.3); }
.contact-icon {
    width: 56px; height: 56px;
    background: rgba(230, 57, 70, 0.12);
    color: var(--accent);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.contact-card:hover .contact-icon { background: var(--accent); color: #fff; transform: scale(1.08); }
.contact-info-title { font-size: 1.15rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.contact-info-text { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; word-break: break-word; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.9rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.form-control {
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text);
    transition: var(--transition);
    outline: none;
    background: var(--light);
}
.form-control:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.14);
}
textarea.form-control { resize: vertical; min-height: 135px; }
.alert-success {
    background: #DEF7EC;
    border: 1px solid #31C48D;
    color: #03543F;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-weight: 700;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
}
.footer-top { padding: clamp(50px, 8vw, 75px) 0 40px 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
    gap: 40px;
}
.footer-logo-text { font-size: 1.45rem; font-weight: 900; color: #fff; }
.footer-logo-text span { color: var(--accent); }
.footer-logo-sub { font-size: 0.72rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; font-weight: 600; }
.footer-desc { color: rgba(255,255,255,0.68); line-height: 1.7; margin-bottom: 24px; font-size: 0.9rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}
.footer-social-link:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 6px 16px rgba(230,57,70,0.4); }

.footer-heading { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 36px; height: 2.5px;
    background: var(--accent);
    border-radius: 2px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link { color: rgba(255,255,255,0.72); transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.footer-link i { color: var(--accent); font-size: 0.75rem; transition: transform 0.2s; }
.footer-link:hover { color: var(--gold); transform: translateX(5px); }
.footer-link:hover i { transform: translateX(3px); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact-icon { color: var(--gold); font-size: 1rem; margin-top: 4px; flex-shrink: 0; }
.footer-contact-text { color: rgba(255,255,255,0.78); line-height: 1.5; font-size: 0.88rem; word-break: break-word; }
.footer-contact-text a { color: rgba(255,255,255,0.88); }
.footer-contact-text a:hover { color: var(--accent); }

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.86rem;
}
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy a { color: var(--gold); font-weight: 700; }
.footer-copy a:hover { color: var(--accent); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-link { color: rgba(255,255,255,0.6); }
.footer-bottom-link:hover { color: #fff; }

/* ─── BACK TO TOP ─── */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-dark); transform: translateY(-5px); box-shadow: 0 10px 28px rgba(230,57,70,0.45); }

/* ─── ANIMATION REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   RESPONSIVE MEDIA QUERIES (FINE-TUNED FOR ALL BREAKPOINTS)
   ================================================================ */

/* ─── 1. LARGE LAPTOPS & DESKTOPS (<= 1200px) ─── */
@media (max-width: 1200px) {
    .container { max-width: 980px; padding: 0 20px; }
    .hero-stats-bar { grid-template-columns: repeat(4, 1fr); padding: 22px 20px; }
}

/* ─── 2. TABLETS LANDSCAPE & MEDIUM COMPUTERS (<= 992px) ─── */
@media (max-width: 992px) {
    .container { max-width: 750px; }
    .nav-links, .nav-cta-btn { display: none !important; }
    .hamburger { display: flex !important; }
    
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    
    .service-detail-grid, .service-detail-grid.reverse {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .service-detail-img { height: 260px; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .hero-stats-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .hero-buttons { gap: 12px; }
}

/* ─── 3. TABLETS PORTRAIT & LARGE PHONES (<= 768px) ─── */
@media (max-width: 768px) {
    .container { max-width: 100%; padding: 0 18px; }
    
    .topbar { padding: 8px 0; }
    .topbar-inner { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
    .topbar-left { justify-content: center; gap: 12px; }
    .topbar-right { display: none; } /* Hide extra topbar icons to clean up phone header */

    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    
    .hero { padding-top: 90px; }
    .hero-buttons { flex-direction: column; align-items: stretch; width: 100%; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    
    .cta-buttons { flex-direction: column; align-items: stretch; width: 100%; }
    .cta-buttons .btn-cta-white, .cta-buttons .btn-cta-outline { width: 100%; justify-content: center; }
    
    .contact-card { flex-direction: column; align-items: flex-start; gap: 14px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
    .footer-bottom-links { justify-content: center; }
}

/* ─── 4. MOBILE PHONES (<= 576px) ─── */
@media (max-width: 576px) {
    .grid-4 { grid-template-columns: 1fr; }
    
    .nav-logo-name { font-size: 1.1rem; }
    .nav-logo-sub { font-size: 0.6rem; letter-spacing: 0.4px; }
    .nav-logo-icon { width: 40px; height: 40px; font-size: 1.2rem; }
    
    .hero-stats-bar { grid-template-columns: 1fr; gap: 16px; padding: 20px 16px; }
    .stat-divider { margin-bottom: 8px; }
    
    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 1rem; }
    
    .service-card { padding: 22px 18px; }
    .service-icon-wrap { width: 52px; height: 52px; margin-bottom: 16px; }
    .service-icon { font-size: 1.4rem; }
}

/* ─── 5. EXTRA SMALL SCREENS (<= 380px) ─── */
@media (max-width: 380px) {
    .container { padding: 0 12px; }
    .topbar-left { flex-direction: column; gap: 4px; }
    .nav-brand { gap: 8px; }
    .nav-logo-name { font-size: 1rem; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
}
