/* ============================================
   SENYUM MEDIA - Modern Design System
   ============================================ */

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

/* ─── CSS Variables ──────────────────────── */
:root {
    --primary: #004D40;
    --primary-light: #00897B;
    --primary-dark: #00332C;
    --accent: #0062CC;
    --accent-light: #4D94E8;
    --accent-gradient: linear-gradient(135deg, #0062CC 0%, #00897B 100%);
    --gold: #FFB300;
    --gold-light: #FFD54F;
    --bg-dark: #0A1628;
    --bg-section: #F4F7FA;
    --bg-white: #FFFFFF;
    --text-primary: #1A2332;
    --text-secondary: #5A6B7F;
    --text-light: #8896A8;
    --text-white: #FFFFFF;
    --glass-bg: rgba(255,255,255,0.08);
    --glass-border: rgba(255,255,255,0.15);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

/* ─── Reset & Base ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
}

a { text-decoration: none; color: var(--accent); transition: var(--transition); }
a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ─── NAVBAR ─────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(0, 51, 44, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
}

.brand-text {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.navbar-logo {
    height: 45px;
    width: auto;
    max-width: 200px;
    transition: var(--transition);
}

.navbar.scrolled .navbar-logo {
    height: 38px;
}

.navbar-brand .logo-icon {
    width: 42px;
    height: 42px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 98, 204, 0.3);
}

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }

.nav-links a {
    color: rgba(255,255,255,0.8);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: white;
    background: rgba(255,255,255,0.12);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ─── HERO SLIDER ────────────────────────── */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    transition: opacity 1s ease-in-out, visibility 0s linear 1s;
}

.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1s ease-in-out, visibility 0s linear 0s; }

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,51,44,0.85) 0%, rgba(0,77,64,0.6) 50%, rgba(0,98,204,0.3) 100%);
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-text { max-width: 650px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gold-light);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 179, 0, 0.3);
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-title span,
.hero-title .typing-text {
    color: #00FFD1;
    -webkit-text-fill-color: #00FFD1;
    text-shadow: 0 2px 15px rgba(0, 255, 209, 0.3);
}
.hero-title .typing-cursor {
    background: #00FFD1;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 520px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 98, 204, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 98, 204, 0.45);
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
    color: white;
}

.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--gold);
    width: 36px;
    border-radius: 6px;
}

/* ─── STATS COUNTER ──────────────────────── */
.stats-section {
    position: relative;
    margin-top: -60px;
    z-index: 10;
    padding-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.stat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
    background: var(--accent-gradient);
    color: white;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ─── SECTION COMMON ─────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-section); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 98, 204, 0.08);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title span { color: var(--accent); }

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ─── ABOUT SECTION ──────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrap { position: relative; }

.about-image-wrap img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent-gradient);
    color: white;
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.about-image-badge .big-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-image-badge .badge-text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

/* ─── VISI MISI ──────────────────────────── */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vm-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.vm-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.vm-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
}

.vm-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.vm-card p, .vm-card ol {
    color: var(--text-secondary);
    line-height: 1.8;
}

.vm-card ol { padding-left: 20px; }
.vm-card ol li { margin-bottom: 8px; }

/* ─── CULTURE SECTION ────────────────────── */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.culture-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.culture-card::before {
    content:'';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.culture-card:hover::before { transform: scaleX(1); }
.culture-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.culture-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0,98,204,0.1), rgba(0,137,123,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.culture-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 12px; }
.culture-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ─── BRANCHES ───────────────────────────── */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.branch-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.branch-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-img img { width: 100%; height: 100%; object-fit: cover; }
.branch-img .placeholder-icon { font-size: 3rem; color: rgba(255,255,255,0.3); }

.branch-info { padding: 24px; }

.branch-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.branch-name i { color: var(--accent); }

.branch-address {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.branch-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

/* ─── BRANDS MARQUEE ─────────────────────── */
.brands-wrapper { overflow: hidden; position: relative; }

.brands-track {
    display: flex;
    gap: 40px;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.brands-track:hover { animation-play-state: paused; }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.brand-item {
    flex: 0 0 auto;
    width: 110px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.brand-item:hover {
    box-shadow: var(--shadow-sm);
    transform: scale(1.08);
    border-color: var(--accent);
}

.brand-item img { max-height: 40px; object-fit: contain; filter: grayscale(100%); transition: var(--transition); }
.brand-item:hover img { filter: grayscale(0%); }
.brand-name-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
}
.brand-item:hover .brand-name-text { color: var(--accent); }

/* ─── NEWS & ARTICLES ────────────────────── */
.news-grid, .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card, .article-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover, .article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.news-card:hover .card-image img, .article-card:hover .card-image img { transform: scale(1.05); }

.card-image .placeholder-icon { font-size: 3rem; color: rgba(255,255,255,0.3); }

.card-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    padding: 4px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: white;
    font-weight: 500;
}

.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.card-body h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
}

.card-link:hover { gap: 10px; color: var(--primary-light); }

.see-all-btn {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* ─── TESTIMONIALS ───────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.15;
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: serif;
    line-height: 1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-info h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.testimonial-info span { font-size: 0.85rem; color: var(--text-light); }

.testimonial-message {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-reply {
    background: rgba(0, 98, 204, 0.05);
    border-left: 3px solid var(--accent);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.testimonial-reply strong { color: var(--accent); font-size: 0.85rem; }

/* ─── CONTACT / GUESTBOOK ────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,98,204,0.2) 0%, transparent 70%);
}

.contact-info-card h3 { font-size: 1.5rem; margin-bottom: 24px; position: relative; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-text h4 { font-size: 0.95rem; margin-bottom: 4px; font-weight: 600; }
.contact-item-text p { font-size: 0.9rem; opacity: 0.8; line-height: 1.6; }

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    position: relative;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-4px);
    color: white;
}

.guestbook-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
}

.guestbook-form h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.guestbook-form .form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-section);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 98, 204, 0.1);
    background: white;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 98, 204, 0.35);
}

.form-alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-top: 16px;
    display: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-alert.success { background: #E8F5E9; color: #2E7D32; display: block; }
.form-alert.error { background: #FFEBEE; color: #C62828; display: block; }

/* ─── FOOTER ─────────────────────────────── */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand .logo-text .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }

.footer-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--gold); padding-left: 6px; }

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ─── SCROLL TO TOP ──────────────────────── */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible { display: flex; }
.scroll-top:hover { transform: translateY(-4px); }

/* ─── WHATSAPP FLOAT ─────────────────────── */
.wa-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    z-index: 999;
    animation: waPulse 2s ease-in-out infinite;
}

.wa-float:hover { transform: scale(1.1); color: white; }

@keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55); }
}

/* ─── ARTICLE PAGES ──────────────────────── */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 140px 0 60px;
    text-align: center;
    color: white;
}

.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; }
.page-header p { font-size: 1.1rem; opacity: 0.8; }

.article-detail-section { padding: 60px 0; }
.article-detail-content {
    max-width: 800px;
    margin: 0 auto;
}
.article-detail-content h1 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.article-detail-content .article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 32px;
}
.article-detail-content .article-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
}
.article-detail-content .article-body p { margin-bottom: 20px; }
.article-detail-content .article-body ul, 
.article-detail-content .article-body ol { margin-bottom: 20px; padding-left: 24px; }
.article-detail-content .article-body li { margin-bottom: 8px; }

.related-articles { padding: 60px 0; background: var(--bg-section); }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .about-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 51, 44, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px;
        border-radius: 0 0 16px 16px;
    }

    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-card { padding: 20px 16px; }
    .stat-number { font-size: 1.8rem; }

    .about-grid { grid-template-columns: 1fr; }
    .vm-grid { grid-template-columns: 1fr; }
    .culture-grid { grid-template-columns: 1fr; }
    .news-grid, .articles-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .branches-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .hero-title { font-size: 2rem; }
    .hero-desc { font-size: 0.95rem; }
    .hero-buttons { flex-direction: column; }

    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-card { padding: 16px 12px; }
    .stat-number { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════
   PREMIUM ENHANCEMENTS
   ═══════════════════════════════════════════════════════ */

/* ─── 1. WHATSAPP FLOATING BUTTON ──────────────────── */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.7rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: waPulse 2s infinite;
}
.wa-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    color: white;
}
.wa-float::after {
    content: 'Chat Kami';
    position: absolute;
    right: 70px;
    background: #075E54;
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: var(--font-body);
}
.wa-float:hover::after {
    opacity: 1;
    transform: translateX(0);
}
@keyframes waPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7), 0 0 0 15px rgba(37, 211, 102, 0.08); }
}

/* ─── 2. BACK TO TOP BUTTON ────────────────────────── */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 77, 64, 0.3);
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 77, 64, 0.4);
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

/* ─── 3. PRELOADER ─────────────────────────────────── */
.preloader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #0B1121 0%, #004D40 50%, #00332C 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top: 3px solid #00E0A8;
    border-right: 3px solid #00BFA5;
    border-radius: 50%;
    animation: preloaderSpin 0.8s linear infinite;
    margin-bottom: 20px;
}
.preloader-text {
    color: rgba(255,255,255,0.7);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 2px;
    animation: preloaderPulse 1.5s ease infinite;
}
@keyframes preloaderSpin {
    to { transform: rotate(360deg); }
}
@keyframes preloaderPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ─── 4. SCROLL PROGRESS BAR ──────────────────────── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #00E0A8, #00BFA5, #00897B, #004D40);
    z-index: 100000;
    transition: width 0.05s linear;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 8px rgba(0, 224, 168, 0.4);
}

/* ─── 5. LIGHTBOX ──────────────────────────────────── */
.lightbox-trigger {
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lightbox-trigger:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    cursor: zoom-out;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-overlay img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.lightbox-overlay.active img {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
}
.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}
.lightbox-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    max-width: 80%;
}

/* ─── 6. DARK / LIGHT MODE ─────────────────────────── */
.theme-toggle {
    position: fixed;
    bottom: 100px;
    left: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #334155, #1e293b);
    border: 2px solid rgba(255,255,255,0.1);
    color: #fbbf24;
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

/* Dark mode styles */
body.dark-mode {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --text-dark: #e2e8f0;
    --text-body: #cbd5e1;
    --text-muted: #94a3b8;
}
body.dark-mode .section { background: var(--bg-primary); }
body.dark-mode .stats-section { background: #0c1427; }
body.dark-mode .about-card,
body.dark-mode .branch-card,
body.dark-mode .news-card,
body.dark-mode .article-card,
body.dark-mode .testimonial-card,
body.dark-mode .guestbook-form,
body.dark-mode .card { 
    background: var(--bg-card); 
    border-color: rgba(255,255,255,0.05);
}
body.dark-mode .section-title,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4 { color: #f1f5f9; }
body.dark-mode p, body.dark-mode li { color: #cbd5e1; }
body.dark-mode .section-badge { background: rgba(0, 224, 168, 0.1); color: #4ade80; }
body.dark-mode .stat-card { background: #162036; border-color: rgba(255,255,255,0.05); }
body.dark-mode .stat-label { color: #94a3b8; }
body.dark-mode .stat-number { color: #f1f5f9; }
body.dark-mode .contact-info-card { background: #162036; }
body.dark-mode .footer { background: #070d1a; }
body.dark-mode .footer-bottom { border-color: rgba(255,255,255,0.05); }
body.dark-mode input,
body.dark-mode textarea {
    background: #0f172a;
    border-color: rgba(255,255,255,0.1);
    color: #e2e8f0;
}
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder { color: #64748b; }
body.dark-mode .theme-toggle {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
    border-color: rgba(251, 191, 36, 0.3);
}
body.dark-mode .brand-logo-card { background: #162036; border-color: rgba(255,255,255,0.05); }
body.dark-mode .vm-card { background: #162036; border-color: rgba(255,255,255,0.05); }
body.dark-mode .culture-card { background: #162036; border-color: rgba(255,255,255,0.05); }

/* ─── 7. TYPING ANIMATION ─────────────────────────── */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: #00E0A8;
    margin-left: 4px;
    animation: cursorBlink 0.7s infinite;
    vertical-align: text-bottom;
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.typing-text {
    display: inline;
}

/* ─── 8. LAZY LOAD IMAGES ──────────────────────────── */
img[data-src],
img.lazy-load {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
img[data-src].loaded,
img.lazy-load.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ADJUSTMENTS ───────────────────────── */
@media (max-width: 768px) {
    .wa-float { width: 52px; height: 52px; font-size: 1.4rem; bottom: 20px; right: 20px; }
    .wa-float::after { display: none; }
    .scroll-top { width: 42px; height: 42px; bottom: 82px; right: 22px; }
    .theme-toggle { width: 42px; height: 42px; bottom: 20px; left: 20px; font-size: 1rem; }
    .lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; }
}
