/* ===================================
   26 Harita - Kadastro Mühendislik Bürosu
   Premium Corporate Website Styles
   =================================== */

/* --- CSS Custom Properties --- */
:root {
    /* Light Theme (default) */
    --bg-primary: #fdfdfc;
    --bg-secondary: #f6f5f0;
    --bg-tertiary: #edebe2;
    --bg-card: #ffffff;
    --bg-card-hover: #faf8f5;
    --bg-hero: #0c0c16;
    --bg-hero-overlay: rgba(12, 12, 22, 0.45);

    --text-primary: #0c0c16;
    --text-secondary: #3d3d4e;
    --text-tertiary: #6d6d7e;
    --text-on-dark: #fbfaf7;
    --text-on-hero: #e8c5a8;

    --accent: #b8865c;
    --accent-light: #e8c5a8;
    --accent-dark: #8e623f;
    --accent-glow: rgba(184, 134, 92, 0.1);
    --accent-glow-strong: rgba(184, 134, 92, 0.2);

    --border: rgba(12, 12, 22, 0.05);
    --border-strong: rgba(12, 12, 22, 0.1);

    --shadow-sm: 0 2px 4px rgba(12, 12, 22, 0.02);
    --shadow-md: 0 8px 24px rgba(12, 12, 22, 0.05);
    --shadow-lg: 0 16px 40px rgba(12, 12, 22, 0.08);
    --shadow-xl: 0 24px 60px rgba(12, 12, 22, 0.12);

    --glass-bg: rgba(253, 253, 252, 0.75);
    --glass-border: rgba(253, 253, 252, 0.4);
    --glass-backdrop: blur(24px);

    --nav-bg: rgba(253, 253, 252, 0.8);

    --topo-color: rgba(12, 12, 22, 0.03);
    --services-bg: #0c0c16;
    --services-text: #fdfdfc;
    --services-card-bg: rgba(255, 255, 255, 0.03);
    --services-card-border: rgba(232, 197, 168, 0.08);
    --services-card-hover-border: rgba(232, 197, 168, 0.35);
    --services-topo: rgba(232, 197, 168, 0.03);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-base: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-brand: 'Outfit', 'Inter', -apple-system, sans-serif;
}

[data-theme="dark"] {
    --bg-primary: #070710;
    --bg-secondary: #0d0d1a;
    --bg-tertiary: #131326;
    --bg-card: #131326;
    --bg-card-hover: #1b1b36;
    --bg-hero: #070710;
    --bg-hero-overlay: rgba(7, 7, 16, 0.35);

    --text-primary: #fdfdfc;
    --text-secondary: #adb1c2;
    --text-tertiary: #7d8196;
    --text-on-dark: #fdfdfc;
    --text-on-hero: #e8c5a8;

    --accent: #e8c5a8;
    --accent-light: #f5dfcc;
    --accent-dark: #c9956b;
    --accent-glow: rgba(232, 197, 168, 0.08);
    --accent-glow-strong: rgba(232, 197, 168, 0.2);

    --border: rgba(232, 197, 168, 0.05);
    --border-strong: rgba(232, 197, 168, 0.12);

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.6);

    --glass-bg: rgba(13, 13, 26, 0.7);
    --glass-border: rgba(232, 197, 168, 0.08);
    --glass-backdrop: blur(24px);

    --nav-bg: rgba(7, 7, 10, 0.75);

    --topo-color: rgba(232, 197, 168, 0.02);
    --services-bg: #070710;
    --services-text: #fdfdfc;
    --services-card-bg: rgba(232, 197, 168, 0.02);
    --services-card-border: rgba(232, 197, 168, 0.06);
    --services-card-hover-border: rgba(232, 197, 168, 0.25);
    --services-topo: rgba(232, 197, 168, 0.02);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.75;
    overflow-x: hidden;
    position: relative;
    transition: background-color var(--transition-base), color var(--transition-base);
}

/* --- Coordinate Grid Overlay --- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(var(--border-strong) 0.5px, transparent 0.5px);
    background-size: 40px 40px;
    opacity: 0.15;
    z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

p, blockquote, li {
    text-wrap: pretty;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-dark);
}

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

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

/* --- Topographic Background Pattern --- */
.hero-topo-bg,
.services-topo-bg,
.workflow-topo-bg {
    position: absolute;
    inset: 0;
    opacity: 0.85;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' width='100%25' height='100%25'%3E%3Cg fill='none' stroke='%23e8c5a8' stroke-width='1.2'%3E%3Cpath d='M-100,180 Q300,40 600,220 T1300,120' opacity='0.15'/%3E%3Cpath d='M-100,230 Q300,90 600,270 T1300,170' opacity='0.13'/%3E%3Cpath d='M-100,280 Q300,140 600,320 T1300,220' opacity='0.11'/%3E%3Cpath d='M-100,330 Q300,190 600,370 T1300,270' opacity='0.09'/%3E%3Cpath d='M-100,380 Q300,240 600,420 T1300,320' opacity='0.08'/%3E%3Cpath d='M-100,430 Q300,290 600,470 T1300,370' opacity='0.07'/%3E%3Cpath d='M-100,480 Q300,340 600,520 T1300,420' opacity='0.06'/%3E%3Cpath d='M-100,530 Q300,390 600,570 T1300,470' opacity='0.05'/%3E%3Cpath d='M-100,580 Q300,440 600,620 T1300,520' opacity='0.04'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    transition: opacity var(--transition-base);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-logo:hover {
    color: var(--accent);
}

.logo-icon,
.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    color: var(--accent);
    transition: transform var(--transition-fast);
}

[data-theme="dark"] .logo-img {
    content: url('assets/logo-accent-transparent.png');
}

.logo-text {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    display: block;
    padding: 8px 18px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--accent-glow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- Theme Toggle Button --- */
.theme-toggle {
    background: var(--accent-glow);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--accent-glow-strong);
    color: var(--accent);
    transform: scale(1.05);
}

.theme-toggle .icon-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: block;
}

/* --- Mobile Hamburger --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-hero);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-hero-overlay);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 24px 80px;
}

.hero-logo-wrap {
    margin-bottom: 28px;
}

.hero-logo,
.hero-logo-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    color: var(--accent-light);
    filter: drop-shadow(0 0 35px rgba(232, 197, 168, 0.25));
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.hero-title {
    font-family: var(--font-brand);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 800;
    letter-spacing: 6px;
    color: var(--accent-light);
    margin-bottom: 8px;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: var(--font-brand);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2.5px;
    margin-bottom: 24px;
    opacity: 0.95;
}

.hero-desc {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(232, 197, 168, 0.6);
    max-width: 500px;
    margin: 0 auto 40px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-cta {
    display: inline-block;
    padding: 14px 40px;
    background: var(--accent);
    color: var(--bg-hero);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(201, 149, 107, 0.3);
}

.hero-cta:hover {
    background: var(--accent-light);
    color: var(--bg-hero);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 149, 107, 0.4);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent-light), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 48px; }
    50% { opacity: 0.8; height: 64px; }
}

/* --- Section Common --- */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 6px 18px;
    background: var(--accent-glow);
    border-radius: 50px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

/* --- About Section --- */
.about {
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.about-lead {
    font-size: 1.12rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text p + p {
    margin-top: 16px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    color: var(--accent);
    flex-shrink: 0;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-left: auto;
}

/* --- Services Section --- */
.services {
    background: var(--services-bg);
    color: var(--services-text);
    overflow: hidden;
}

.services .section-tag {
    background: rgba(232, 197, 168, 0.1);
    color: var(--accent-light);
}

.services .section-title {
    color: var(--services-text);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 36px 28px;
    background: var(--services-card-bg);
    border: 1px solid var(--services-card-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(232, 197, 168, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.service-card:hover {
    background: rgba(232, 197, 168, 0.04);
    border-color: var(--services-card-hover-border);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    color: var(--accent-light);
    margin-bottom: 24px;
    transition: transform var(--transition-base), color var(--transition-base);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: #ffffff;
}

.service-card h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.service-card p {
    font-size: 0.9rem;
    color: rgba(242, 239, 233, 0.6);
    line-height: 1.75;
}

/* --- Team Section --- */
.team {
    background: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.team-card {
    perspective: 800px;
}

.team-card-inner {
    text-align: center;
    padding: 56px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.team-card-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent-light));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.team-card-inner:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.team-card-inner:hover::after {
    transform: scaleX(1);
}

.team-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: var(--accent-glow);
    border-radius: 50%;
    color: var(--accent);
    border: 2px solid var(--accent-glow-strong);
}

.team-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.team-role {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding: 4px 16px;
    background: var(--accent-glow);
    border-radius: 50px;
}

.team-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.team-phone,
.team-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.team-phone:hover,
.team-email:hover {
    color: var(--accent);
    background: var(--accent-glow);
}

/* --- Contact Section --- */
.contact {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.contact-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    color: var(--accent);
    flex-shrink: 0;
    padding-top: 10px;
}

.contact-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.contact-item p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-item a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-social {
    display: flex;
    gap: 12px;
    padding-top: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 380px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.contact-map iframe {
    display: block;
    width: 100%;
    min-height: 380px;
}

/* --- Footer --- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.footer-logo .logo-icon {
    color: var(--accent);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact-col p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-contact-col a {
    color: var(--text-secondary);
}

.footer-contact-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    color: var(--text-tertiary);
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--accent);
}

/* --- Hero TIN Canvas --- */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

/* --- Value Cards (About) --- */
.about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    position: relative;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.value-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.value-number {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.25;
    margin-bottom: 12px;
}

.value-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.value-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Workflow Timeline --- */
.workflow {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.workflow-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 64px;
}

/* Timeline horizontal connecting line */
.workflow-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 48px;
    right: 48px;
    height: 1px;
    border-top: 2px dashed var(--border-strong);
    z-index: 1;
}

.workflow-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.workflow-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.workflow-item:hover .workflow-badge {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.1);
}

.workflow-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    width: 100%;
}

.workflow-item:hover .workflow-content {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.workflow-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.workflow-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Scroll Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for service cards */
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.06s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.12s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.18s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.24s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(7) { transition-delay: 0.36s; }
.services-grid .service-card:nth-child(8) { transition-delay: 0.42s; }
.services-grid .service-card:nth-child(9) { transition-delay: 0.48s; }
.services-grid .service-card:nth-child(10) { transition-delay: 0.54s; }
.services-grid .service-card:nth-child(11) { transition-delay: 0.6s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid,
    .about-values,
    .workflow-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    .workflow-timeline::before {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1;
        min-width: 180px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        z-index: 999;
    }

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

    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 32px;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        letter-spacing: 4px;
    }

    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .services-grid,
    .about-values,
    .workflow-timeline {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map {
        min-height: 300px;
    }

    .contact-map iframe {
        min-height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .about-stats {
        flex-direction: column;
    }

    .stat-card {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 80px 16px 60px;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .hero-cta {
        padding: 12px 32px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 24px 20px;
    }

    .team-card-inner {
        padding: 36px 24px;
    }
}

/* --- Selection Color --- */
::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    z-index: 1050;
    transition: width 0.1s ease-out;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition-base), opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* --- Converter Section --- */
.converter-section {
    background: var(--bg-secondary);
}

.converter-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 8px;
}

.converter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    max-width: 860px;
    margin: 32px auto 0;
}

.converter-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 36px;
    align-items: center;
}

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

.input-with-unit {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-unit input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    background: var(--bg-primary);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent);
    outline: none;
    transition: border-color var(--transition-fast);
}

.input-with-unit input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.unit-badge {
    position: absolute;
    right: 14px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.converter-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.result-box {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 18px 14px;
    text-align: center;
    transition: transform var(--transition-fast);
}

.result-box:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.result-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.result-val {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* --- FAQ Section --- */
.faq-section {
    background: var(--bg-primary);
}

.faq-container {
    max-width: 860px;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-arrow {
    color: var(--accent);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid var(--border-color);
    margin-top: 4px;
    padding-top: 16px;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 88px;
    width: 48px;
    height: 48px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

@media (max-width: 768px) {
    .converter-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .converter-results {
        grid-template-columns: 1fr;
    }
    .whatsapp-float {
        bottom: 24px;
        right: 80px;
        width: 44px;
        height: 44px;
    }
}

/* --- Map Direct Link Button --- */
.map-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 18px;
    background-color: var(--accent);
    color: #ffffff !important;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.map-link-btn svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.map-link-btn:hover {
    background-color: var(--accent-dark);
    color: #ffffff !important;
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.map-link-btn:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* --- Service Card Link Button --- */
.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.service-card-link:hover {
    color: var(--accent-light);
    transform: translateX(4px);
}

/* --- Service Subpage Styles --- */
.page-header {
    position: relative;
    padding: 140px 0 60px;
    background: var(--bg-hero);
    color: var(--text-on-dark);
    text-align: center;
    overflow: hidden;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: rgba(232, 197, 168, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--accent-light);
}

.page-title {
    font-family: var(--font-brand);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--accent-light);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.page-lead {
    font-size: 1.1rem;
    color: rgba(232, 197, 168, 0.75);
    max-width: 680px;
    margin: 0 auto;
    font-weight: 300;
}

.service-detail-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

@media (max-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.detail-content h2 {
    font-family: var(--font-brand);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 36px 0 16px;
}

.detail-content h2:first-child {
    margin-top: 0;
}

.detail-content p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 28px 0;
}

@media (max-width: 600px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent-glow);
    color: var(--accent);
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 12px;
}

.step-card h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 0;
    line-height: 1.5;
}

.doc-checklist {
    list-style: none;
    margin: 20px 0;
    display: grid;
    gap: 12px;
}

.doc-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-secondary);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.doc-checklist svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 96px;
}

.sidebar-card h3 {
    font-family: var(--font-brand);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.sidebar-card p {
    font-size: 0.92rem;
    color: var(--text-tertiary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: var(--accent);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all var(--transition-fast);
}

.sidebar-btn:hover {
    background: var(--accent-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.sidebar-btn.secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

.sidebar-btn.secondary:hover {
    background: var(--accent-glow);
    color: var(--accent);
}

.cta-banner {
    background: linear-gradient(135deg, #131326 0%, #070710 100%);
    border: 1px solid var(--border-strong);
    padding: 56px 36px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--text-on-dark);
    margin-top: 60px;
}

.cta-banner h3 {
    font-family: var(--font-brand);
    font-size: 1.8rem;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.cta-banner p {
    color: rgba(232, 197, 168, 0.7);
    max-width: 600px;
    margin: 0 auto 28px;
    font-size: 1rem;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}



/* --- SEO Interlinking Mesh Network --- */
.other-services-mesh {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.other-services-mesh h3 {
    font-family: var(--font-brand);
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.other-service-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.other-service-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    background: var(--accent-glow);
}
