/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Aliyo Tesisat v2 - Ana Stil Dosyası
   Premium, Modern, Kurumsal Tasarım
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── CSS Variables ── */
:root {
    --primary: #0a2540;
    --primary-light: #314865;
    --secondary: #1991D6;
    --secondary-light: #52b6fd;
    --accent: #ED7B09;
    --accent-hover: #d46a00;
    --white: #ffffff;
    --bg: #fbf9f8;
    --bg-alt: #f6f3f2;
    --surface: #f0eded;
    --text: #1b1c1c;
    --text-muted: #43474d;
    --text-light: #74777e;
    --border: #c4c6ce;
    --border-light: #e4e2e1;
    --error: #ba1a1a;
    --success: #2e7d32;
    --dark: #111827;
    --dark-light: #1e293b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(10,37,64,0.08);
    --shadow-lg: 0 8px 30px rgba(10,37,64,0.12);
    --shadow-xl: 0 20px 60px rgba(10,37,64,0.15);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Top Bar ── */
.topbar {
    position: relative;
    z-index: 101;
    background: radial-gradient(circle at 12% 0%, rgba(82,182,253,0.28), transparent 28%), linear-gradient(90deg, #06182c 0%, #0a2540 48%, #102f52 100%);
    color: rgba(255,255,255,0.78);
    padding: 9px 0;
    font-size: 12px;
}
.topbar-inner { max-width: 1320px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; background: rgba(255,255,255,0.05); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
.topbar-item .material-symbols-outlined { font-size: 16px; color: var(--secondary-light); }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar-social-label { color: rgba(255,255,255,0.48); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; margin-right: 2px; }
.topbar-social { width: 28px; height: 28px; color: rgba(255,255,255,0.72); transition: var(--transition); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; background: rgba(255,255,255,0.04); }
.topbar-social:hover { color: var(--white); background: rgba(82,182,253,0.18); border-color: rgba(82,182,253,0.35); transform: translateY(-1px); }

/* ── Header ── */
.main-header { position: sticky; top: 0; z-index: 100; background: rgba(251,249,248,0.74); border-bottom: 1px solid rgba(228,226,225,0.7); box-shadow: 0 14px 42px rgba(10,37,64,0.06); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: var(--transition); }
.main-header::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(82,182,253,0.1), transparent 28%, rgba(237,123,9,0.07) 100%), linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.5)); z-index: 0; }
.main-header.scrolled { box-shadow: 0 18px 48px rgba(10,37,64,0.13); border-bottom-color: rgba(25,145,214,0.18); }
.header-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; height: 84px; max-width: 1320px; margin: 0 auto; padding: 0 24px; gap: 18px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; min-height: 46px; padding: 6px 10px 6px 0; }
.logo-name { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: -0.7px; white-space: nowrap; }
.logo-name span { font-weight: 300; color: var(--secondary); }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; padding: 6px; border: 1px solid rgba(196,198,206,0.5); border-radius: 999px; background: rgba(255,255,255,0.68); box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 10px 30px rgba(10,37,64,0.05); }
.main-nav a { font-size: 13px; font-weight: 700; color: var(--text-muted); padding: 10px 14px; border-radius: 999px; white-space: nowrap; transition: var(--transition); position: relative; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,250,255,0.86)); box-shadow: 0 8px 22px rgba(10,37,64,0.08), inset 0 0 0 1px rgba(25,145,214,0.14); transform: translateY(-1px); }
.main-nav a.active::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 18px; height: 3px; background: linear-gradient(90deg, var(--secondary), var(--accent)); border-radius: 999px; transform: translateX(-50%); }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 12px; border: 1px solid rgba(196,198,206,0.54); border-radius: 999px; background: rgba(255,255,255,0.68); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9); }
.header-phone { font-size: 14px; font-weight: 800; color: var(--primary); }
.header-phone:hover { color: var(--secondary); border-color: rgba(25,145,214,0.24); transform: translateY(-1px); }
.header-phone .material-symbols-outlined { font-size: 18px; font-variation-settings: 'FILL' 1; color: var(--secondary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; transition: var(--transition); cursor: pointer; border: none; white-space: nowrap; }
.btn .material-symbols-outlined { font-size: 18px; }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 2px 8px rgba(237,123,9,0.3); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(237,123,9,0.4); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: #1580c0; }
.btn-lg { padding: 16px 32px; font-size: 16px; font-weight: 700; border-radius: var(--radius); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.header-cta .btn-primary {
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff9b38 100%);
    box-shadow: 0 12px 28px rgba(237,123,9,0.25), inset 0 1px 0 rgba(255,255,255,0.28);
}
.header-cta .btn-primary:hover { box-shadow: 0 16px 34px rgba(237,123,9,0.35), inset 0 1px 0 rgba(255,255,255,0.28); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* ── Hero ── */
.hero { position: relative; background: var(--primary); color: var(--white); overflow: hidden; padding: 80px 0; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(to right, var(--primary) 0%, rgba(10,37,64,0.9) 40%, transparent 100%); }
.hero-inner { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 50px; background: rgba(25,145,214,0.2); border: 1px solid rgba(25,145,214,0.3); color: var(--secondary-light); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.hero-badge .material-symbols-outlined { font-size: 14px; }
.hero h1 { font-size: 48px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 16px; }
.hero h1 span { color: var(--secondary-light); }
.hero-desc { font-size: 18px; line-height: 1.6; color: var(--border); max-width: 520px; margin-bottom: 24px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-stats { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-stars { display: flex; gap: -4px; }
.hero-stars .star-circle { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; border: 2px solid var(--primary); margin-left: -8px; }
.hero-stars .star-circle:first-child { margin-left: 0; }
.hero-stars .star-circle .material-symbols-outlined { font-size: 14px; color: var(--primary); font-variation-settings: 'FILL' 1; }
.hero-stat-text { font-size: 14px; }
.hero-stat-text strong { display: block; font-size: 15px; }
.hero-image { position: relative; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); border: 1px solid rgba(255,255,255,0.1); }
.hero-image-glow { position: absolute; inset: 0; background: rgba(82,182,253,0.2); border-radius: var(--radius-lg); filter: blur(48px); transform: translate(16px, 16px); z-index: -1; }

/* ── Section ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header h2 { font-size: 32px; font-weight: 700; line-height: 1.3; color: var(--primary); margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--text-muted); line-height: 1.6; }

/* ── Feature Cards ── */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 24px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); transition: var(--transition); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-icon .material-symbols-outlined { font-size: 32px; color: var(--text); }
.feature-card h3 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Service Cards ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border-light); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.service-card:hover { box-shadow: var(--shadow-lg); }
.service-card-img { height: 200px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.service-card h3 { font-size: 20px; font-weight: 600; color: var(--primary); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex-grow: 1; margin-bottom: 16px; }
.service-card-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--secondary); transition: var(--transition); }
.service-card-link:hover { color: var(--primary); gap: 8px; }
.service-card-link .material-symbols-outlined { font-size: 16px; }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--white); padding: 28px; border-radius: var(--radius); border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testimonial-stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: 16px; }
.testimonial-stars .material-symbols-outlined { font-size: 20px; font-variation-settings: 'FILL' 1; }
.testimonial-card blockquote { font-size: 15px; color: var(--text); font-style: italic; line-height: 1.7; flex-grow: 1; margin-bottom: 20px; }
.testimonial-author { font-size: 14px; font-weight: 700; color: var(--primary); }
.testimonial-location { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── Footer ── */
.main-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding: 0 24px; max-width: 1400px; margin: 0 auto; }
.footer-logo { font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.footer-logo span { font-weight: 300; color: var(--secondary); }
.footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-social a:hover { color: var(--white); }
.main-footer h4, .footer h4 { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.footer-contact .material-symbols-outlined { color: var(--secondary); font-size: 20px; flex-shrink: 0; }
.footer-contact .phone-text { font-size: 18px; font-weight: 700; color: var(--white); }
.footer-bottom { margin-top: 48px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; font-size: 14px; color: rgba(255,255,255,0.35); }

/* ── Page Header ── */
.page-header { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); padding: 48px 0; }
.page-header h1 { font-size: 36px; font-weight: 700; margin-bottom: 8px; }
.page-header p { font-size: 16px; color: rgba(255,255,255,0.7); }

/* ── Page Header Image ── */
.page-header-img { width: 100%; max-height: 400px; overflow: hidden; }
.page-header-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Breadcrumb ── */
.breadcrumb-nav { background: var(--bg-alt); border-bottom: 1px solid var(--border-light); padding: 12px 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--secondary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-separator { color: var(--border); }

/* ── FAQ Accordion ── */
.faq-section { padding: 48px 0; }
.faq-item { border: 1px solid var(--border-light); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: var(--transition); }
.faq-item.active { border-color: var(--secondary); box-shadow: 0 2px 8px rgba(25,145,214,0.1); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text); background: var(--white); }
.faq-question .material-symbols-outlined { transition: transform 0.3s ease; color: var(--secondary); }
.faq-item.active .faq-question .material-symbols-outlined { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 24px 18px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── Contact Form ── */
.contact-form-wrapper { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.contact-form-wrapper h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control { width: 100%; padding: 12px 16px; border: 2px solid var(--border-light); border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font); transition: var(--transition); background: var(--bg); }
.form-control:focus { outline: none; border-color: var(--secondary); background: var(--white); box-shadow: 0 0 0 3px rgba(25,145,214,0.1); }
textarea.form-control { min-height: 100px; resize: vertical; }

/* ── Fixed CTA Buttons ── */
.fixed-cta { position: fixed; bottom: 24px; right: 24px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fixed-cta-btn { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 24px; box-shadow: var(--shadow-lg); transition: var(--transition); }
.fixed-cta-btn:hover { transform: scale(1.1); }
.cta-phone { background: var(--secondary); }
.cta-whatsapp { background: #25D366; }

/* ── Animations ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }

/* ── Page Layout (2-column) ── */
.page-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; }
.sidebar-form { position: sticky; top: 100px; }

/* ── Sub-service list ── */
.sub-service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sub-service-item { padding: 20px; background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); transition: var(--transition); }
.sub-service-item:hover { border-color: var(--secondary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sub-service-item h3 { font-size: 16px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.sub-service-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
.sub-service-item a { font-size: 13px; font-weight: 600; color: var(--secondary); }

/* ── Blog Cards ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border-light); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card-img { height: 180px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-category { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--secondary); margin-bottom: 8px; }
.blog-card h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; flex-grow: 1; }
.blog-card-meta { font-size: 12px; color: var(--text-light); margin-top: 12px; }

/* ── Content Area ── */
.content-area { line-height: 1.8; color: var(--text); }
.content-area h2 { font-size: 24px; font-weight: 700; color: var(--primary); margin: 32px 0 16px; }
.content-area h3 { font-size: 20px; font-weight: 600; color: var(--primary); margin: 24px 0 12px; }
.content-area p { margin-bottom: 16px; }
.content-area ul, .content-area ol { margin: 16px 0; padding-left: 24px; }
.content-area li { margin-bottom: 8px; }
.content-area ul li { list-style: disc; }
.content-area ol li { list-style: decimal; }

/* ── Nav Mega Menu ── */
.mega-menu-item { position: relative; }
.mega-menu-item::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 18px; }
.mega-menu-item > a { display: flex; align-items: center; gap: 4px; }
.mega-menu-item .dropdown-arrow { font-size: 18px; transition: transform 0.3s ease; }
.mega-menu-item:hover .dropdown-arrow { transform: rotate(180deg); }

.mega-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(18px) scale(0.98); min-width: 720px; background: rgba(255,255,255,0.92); border: 1px solid rgba(196,198,206,0.44); border-radius: 28px; box-shadow: 0 30px 80px rgba(10,37,64,0.16); padding: 0; opacity: 0; visibility: hidden; overflow: hidden; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: all 0.34s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1000; }
.mega-menu::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 0% 0%, rgba(82,182,253,0.18), transparent 32%), radial-gradient(circle at 100% 0%, rgba(237,123,9,0.11), transparent 28%); pointer-events: none; }
.mega-menu-item:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1); }
.mega-menu-inner { position: relative; padding: 26px; }
.mega-menu-header { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; padding: 22px; border: 1px solid rgba(25,145,214,0.1); border-radius: 22px; margin-bottom: 16px; background: linear-gradient(135deg, rgba(10,37,64,0.04), rgba(82,182,253,0.09)); }
.mega-menu-header h3 { font-size: 21px; font-weight: 800; color: var(--primary); margin-bottom: 6px; letter-spacing: -0.02em; }
.mega-menu-header p { font-size: 14px; color: var(--text-muted); line-height: 1.5; max-width: 470px; }
.mega-menu-cta { display: inline-flex; align-items: center; gap: 5px; margin-top: 0; padding: 10px 13px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--secondary); background: var(--white); box-shadow: 0 8px 20px rgba(10,37,64,0.07); }
.mega-menu-cta:hover { color: var(--primary); gap: 8px; }
.mega-menu-cta .material-symbols-outlined { font-size: 16px; transition: var(--transition); }

.mega-menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mega-menu-card { display: flex; align-items: flex-start; gap: 14px; padding: 16px; background: rgba(255,255,255,0.72); border: 1px solid rgba(196,198,206,0.34); border-radius: 18px; transition: var(--transition); box-shadow: inset 0 1px 0 rgba(255,255,255,0.82); }
.mega-menu-card:hover { background: var(--white); border-color: rgba(25,145,214,0.22); box-shadow: 0 16px 34px rgba(10,37,64,0.1); transform: translateY(-3px); }
.mega-menu-icon { width: 46px; height: 46px; background: linear-gradient(180deg, #ffffff, #eef8ff); border: 1px solid rgba(25,145,214,0.12); border-radius: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--secondary); box-shadow: 0 8px 18px rgba(10,37,64,0.07); }
.mega-menu-card:hover .mega-menu-icon { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); color: var(--white); }
.mega-menu-icon .material-symbols-outlined { font-size: 22px; }
.mega-menu-content h4 { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 4px; line-height: 1.4; }
.mega-menu-content p { font-size: 12px; color: var(--text-muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Mobile Menu Modern ── */
.mobile-overlay { position: fixed; inset: 0; background: rgba(6,24,44,0.58); backdrop-filter: blur(8px); z-index: 998; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.mobile-overlay.active { opacity: 1; visibility: visible; }

.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 420px; background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,243,242,0.98)); z-index: 999; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); overflow-y: auto; display: flex; flex-direction: column; box-shadow: -28px 0 70px rgba(10,37,64,0.22); }
.mobile-menu.active { transform: translateX(0); }

.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid rgba(196,198,206,0.42); flex-shrink: 0; background: radial-gradient(circle at top left, rgba(82,182,253,0.18), transparent 38%); }
.mobile-menu-close { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); border: 1px solid rgba(196,198,206,0.42); transition: var(--transition); box-shadow: 0 8px 20px rgba(10,37,64,0.07); }
.mobile-menu-close:hover { background: var(--border-light); }
.mobile-menu-close .material-symbols-outlined { font-size: 24px; color: var(--text); }

.mobile-search { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: var(--white); margin: 18px 20px; border: 1px solid rgba(196,198,206,0.46); border-radius: 18px; box-shadow: 0 10px 26px rgba(10,37,64,0.06); }
.mobile-search .material-symbols-outlined { font-size: 20px; color: var(--text-muted); }
.mobile-search input { flex: 1; border: none; background: none; font-size: 14px; color: var(--text); outline: none; }
.mobile-search input::placeholder { color: var(--text-light); }

.mobile-menu-nav { flex: 1; padding: 8px 0; overflow-y: auto; }

.mobile-nav-link { display: flex; align-items: center; gap: 14px; margin: 0 14px 8px; padding: 14px 16px; font-size: 15px; font-weight: 700; color: var(--text); border: 1px solid rgba(196,198,206,0.34); border-radius: 18px; background: rgba(255,255,255,0.72); transition: var(--transition); }
.mobile-nav-link:hover { color: var(--secondary); background: var(--white); box-shadow: 0 12px 24px rgba(10,37,64,0.07); transform: translateY(-1px); }
.mobile-nav-link .material-symbols-outlined { font-size: 22px; color: var(--secondary); }

.mobile-accordion { margin: 0 14px 8px; border: 1px solid rgba(196,198,206,0.34); border-radius: 18px; background: rgba(255,255,255,0.72); overflow: hidden; }
.mobile-accordion-trigger { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; font-size: 15px; font-weight: 700; color: var(--text); text-align: left; transition: var(--transition); }
.mobile-accordion-trigger:hover { background: var(--white); color: var(--secondary); }
.mobile-accordion-trigger .material-symbols-outlined:first-child { font-size: 22px; color: var(--secondary); }
.mobile-accordion-trigger .accordion-arrow { margin-left: auto; font-size: 20px; transition: transform 0.3s ease; }
.mobile-accordion.active .accordion-arrow { transform: rotate(180deg); }

.mobile-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: rgba(10,37,64,0.035); }
.mobile-accordion.active .mobile-accordion-content { max-height: 500px; }
.mobile-sub-link { display: flex; align-items: center; gap: 12px; padding: 11px 18px 11px 52px; font-size: 14px; color: var(--text-muted); transition: var(--transition); }
.mobile-sub-link:hover { color: var(--secondary); background: rgba(25,145,214,0.04); }
.mobile-sub-link .material-symbols-outlined { font-size: 18px; }

.mobile-menu-footer { padding: 20px; border-top: 1px solid rgba(196,198,206,0.42); flex-shrink: 0; background: rgba(255,255,255,0.58); }
.mobile-menu-footer .btn { width: 100%; justify-content: center; }

/* ── Hamburger Animation ── */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 9px; cursor: pointer; background: rgba(255,255,255,0.74); border: 1px solid rgba(196,198,206,0.54); border-radius: 14px; transition: var(--transition); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9); }
.hamburger:hover { background: var(--white); box-shadow: 0 10px 24px rgba(10,37,64,0.08); }
.hamburger.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.hamburger-line { width: 100%; height: 2px; background: var(--primary); border-radius: 2px; transition: all 0.3s ease; }

/* ── Detail Section ── */
.detail-section { padding: 80px 0; position: relative; overflow: hidden; }
.detail-section.alt { background: var(--white); }
.detail-section.dim { background: var(--bg-alt); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.detail-content { position: sticky; top: 100px; }
.detail-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.detail-badge.primary { background: rgba(10,37,64,0.06); color: var(--primary); border: 1px solid rgba(10,37,64,0.1); }
.detail-badge.secondary { background: rgba(25,145,214,0.1); color: var(--secondary); border: 1px solid rgba(25,145,214,0.2); }
.detail-content h2 { font-size: 36px; font-weight: 700; line-height: 1.3; color: var(--primary); margin-bottom: 16px; }
.detail-content h2 span { color: var(--secondary); }
.detail-content > p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.detail-image { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.detail-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,0.6), transparent); display: flex; align-items: flex-end; padding: 24px; }
.detail-image-overlay p { color: var(--white); font-size: 15px; font-weight: 500; line-height: 1.5; }
.detail-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.detail-card { padding: 20px; background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); transition: var(--transition); position: relative; overflow: hidden; }
.detail-card:hover { border-color: var(--secondary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.detail-card-icon { width: 48px; height: 48px; background: var(--bg); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--secondary); }
.detail-card:hover .detail-card-icon { background: var(--secondary); color: var(--white); }
.detail-card-icon .material-symbols-outlined { font-size: 24px; }
.detail-card h3 { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 6px; line-height: 1.4; }
.detail-card:hover h3 { color: var(--secondary); }
.detail-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ── Sub-service Hero Banner ── */
.sub-hero-banner { position: relative; height: 420px; overflow: hidden; background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.sub-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.sub-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,37,64,0.85) 0%, rgba(10,37,64,0.4) 60%, transparent 100%); z-index: 1; }
.sub-hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 64px; max-width: 1200px; margin: 0 auto; }
.sub-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 50px; background: rgba(25,145,214,0.25); border: 1px solid rgba(25,145,214,0.4); color: var(--secondary-light); font-size: 13px; font-weight: 600; margin-bottom: 20px; width: fit-content; }
.sub-hero-badge .material-symbols-outlined { font-size: 18px; }
.sub-hero-content h1 { font-size: 42px; font-weight: 700; color: var(--white); margin-bottom: 12px; line-height: 1.2; }
.sub-hero-content p { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 600px; line-height: 1.6; }
.sub-hero-placeholder { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%); }
.sub-hero-placeholder .sub-hero-content { text-align: center; align-items: center; }
.sub-hero-placeholder p { text-align: center; }

/* ── Related Grid ── */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.related-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.related-card img { width: 100%; height: 140px; object-fit: cover; }
.related-card-icon { height: 140px; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); }
.related-card-icon .material-symbols-outlined { font-size: 48px; color: var(--text-light); }
.related-card h3 { font-size: 15px; font-weight: 600; color: var(--primary); padding: 16px 16px 6px; }
.related-card p { font-size: 13px; color: var(--text-muted); padding: 0 16px 16px; line-height: 1.5; }

/* ── Sidebar CTA ── */
.sidebar-cta { margin-top: 20px; padding: 28px; background: var(--primary); border-radius: var(--radius); color: var(--white); text-align: center; }
.sidebar-cta .material-symbols-outlined { font-size: 36px; margin-bottom: 8px; color: var(--secondary-light); }
.sidebar-cta p { font-size: 14px; margin-bottom: 8px; opacity: 0.75; }
.sidebar-cta a { font-size: 22px; font-weight: 700; color: var(--white); }
