/* =========================================
   Terminal Lojistik - Design System
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --red: #E53E3E;
    --red-dark: #C53030;
    --red-light: #FEB2B2;
    --dark: #0D0D0D;
    --dark-bg: #111111;
    --dark-card: #1A1A1A;
    --dark-card-2: #1E1E1E;
    --dark-border: rgba(255, 255, 255, 0.08);
    --light-bg: #F7F7F8;
    --light-card: #FFFFFF;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --text-dark: #1A1A1A;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--white);
    background: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
 HEADER WRAPPER
 ========================================= */
.header-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10000;
}

.header-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.8) 50%,
            rgba(0, 0, 0, 0.3) 80%,
            transparent 100%);
}

/* =========================================
 TOP BAR
 ========================================= */
.top-bar {
    background: transparent;
    border-bottom: none;
    padding: 8px 0;
    font-size: 13px;
    color: var(--gray-400);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--gray-400);
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar .email-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================================
 HEADER / NAVBAR
 ========================================= */
.navbar {
    background: transparent;
    padding: 16px 0;
    position: relative;
    border-bottom: none;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    height: 48px;
    width: auto;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
}

.navbar-logo .logo-text span {
    color: var(--red);
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-300);
    position: relative;
    padding: 4px 0;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--red);
}

.nav-quote-btn {
    background: var(--red);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: 2px solid var(--red);
}

.nav-quote-btn:hover {
    background: transparent;
    color: var(--red) !important;
}

.lang-switch {
    background: transparent;
    border: 1px solid var(--dark-border);
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lang-switch:hover {
    border-color: var(--red);
    transform: scale(1.05);
}

.lang-switch .flag-img {
    width: 24px;
    height: auto;
    display: block;
    border-radius: 2px;
}

/* Mobile menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10001;
    position: relative;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9998;
}

.nav-overlay.active {
    display: block;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero .container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 25%, transparent 50%),
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.85) 30%,
            rgba(0, 0, 0, 0.4) 45%,
            transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 1100;
    max-width: 600px;
    padding: 160px 0 60px;
    text-align: left;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
    text-align: left;
}

.hero-content h1 .highlight {
    color: var(--red);
    display: block;
}

.hero-content .hero-line {
    width: 60px;
    height: 3px;
    background: var(--red);
    margin: 24px 0;
}

.hero-content p {
    font-size: 16px;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: var(--white);
    padding: 14px 32px;
    border: 2px solid var(--red);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: transparent;
    color: var(--red);
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
    position: relative;
    margin-top: -60px;
    z-index: 10;
    padding-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 30px 24px;
    border-right: 1px solid var(--dark-border);
    transition: var(--transition);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: rgba(229, 62, 62, 0.05);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border: 2px solid var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--red);
    fill: none;
    stroke-width: 2;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stat-desc {
    font-size: 11px;
    color: var(--gray-400);
    margin-top: 2px;
}

/* =========================================
   REFERENCES SECTION
   ========================================= */
.references-section {
    padding: 80px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-line-center {
    width: 50px;
    height: 3px;
    background: var(--red);
    margin: 16px auto 0;
}

.references-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.carousel-arrow:hover {
    background: rgba(229, 62, 62, 0.8);
    border-color: rgba(229, 62, 62, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.7);
}

.carousel-arrow:hover svg {
    stroke: #fff;
}

.carousel-arrow-left {
    left: 10px;
}

.carousel-arrow-right {
    right: 10px;
}

.references-carousel {
    display: flex;
    gap: 60px;
    width: fit-content;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    position: relative;
    z-index: 1;
    min-width: 100%;
}

.references-carousel::-webkit-scrollbar {
    display: none;
}

@media (hover: hover) {
    .references-carousel:hover {
        animation-play-state: paused;
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.reference-item {
    flex-shrink: 0;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: var(--radius);
    padding: 24px 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.reference-item:hover {
    background: #ffffff;
    border-color: rgba(229, 62, 62, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(229, 62, 62, 0.2);
}

.reference-logo {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    padding: 10px;
}

.reference-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reference-item:hover .reference-logo img {
    transform: scale(1.08);
}

.reference-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.3;
}

.reference-description {
    font-size: 11px;
    line-height: 1.5;
    color: var(--gray-500);
    text-align: center;
    font-style: italic;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.reference-item:hover .reference-description {
    color: var(--text-dark);
}

.reference-testimonial {
    font-size: 12px;
    line-height: 1.6;
    color: var(--gray-600);
    text-align: center;
    font-style: italic;
    padding: 12px 16px;
    margin-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

.reference-testimonial::before {
    content: '"';
    position: absolute;
    left: 8px;
    top: 8px;
    font-size: 24px;
    color: var(--red);
    opacity: 0.3;
    font-family: var(--font-serif);
    line-height: 1;
}

.reference-item:hover .reference-testimonial {
    color: var(--text-dark);
}

/* =========================================
   REFERENCES - INLINE TESTIMONIALS
   ========================================= */
.ref-testimonials-wrapper {
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}

.ref-testimonials-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ref-testimonial-slide {
    min-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 0 8px;
}

.ref-testimonial-quote-icon {
    flex-shrink: 0;
}

.ref-testimonial-quote-icon svg {
    width: 48px;
    height: 48px;
    fill: var(--red);
    opacity: 0.7;
}

.ref-testimonial-body {
    flex: 1;
}

.ref-testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
}

.ref-star {
    width: 18px;
    height: 18px;
}

.ref-star-full {
    fill: #F59E0B;
}

.ref-star-empty {
    fill: #4B5563;
}

.ref-testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-300);
    font-style: italic;
    margin-bottom: 12px;
}

.ref-testimonial-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
    font-style: italic;
}

.ref-testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.ref-testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--gray-500);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.ref-testimonial-dot.active {
    background: var(--red);
}

.ref-testimonial-dot:hover {
    background: var(--red-light);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-section {
    padding: 80px 0 100px;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: var(--services-bg-url, url('../images/services-bg.png')) no-repeat center center;
    background-size: cover;
    opacity: 0.45;
    pointer-events: none;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 42%;
    background: #fff;
    z-index: 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
}

.section-line {
    width: 50px;
    height: 3px;
    background: var(--red);
    margin-top: 16px;
}

.services-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.services-left {
    flex: 0 0 auto;
}

.services-right {
    max-width: 400px;
    padding-left: 20px;
    border-left: 3px solid var(--red);
    color: var(--gray-300);
    font-size: 15px;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    cursor: default;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--red);
    fill: none;
    stroke-width: 1.5;
}

.service-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card .card-line {
    display: none;
}

.service-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* =========================================
   ALT BANNER SECTION
   ========================================= */
.alt-banner-section {
    padding: 80px 0;
    background: #f0f0f0;
}

.alt-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.alt-banner-bg {
    position: absolute;
    inset: 0;
}

.alt-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alt-banner-content {
    position: relative;
    z-index: 1;
    padding: 60px;
    max-width: 520px;
}

.alt-banner-content h2 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.alt-banner-content h2 .highlight {
    display: block;
    color: var(--red);
    font-style: italic;
}

.alt-banner-content .section-line {
    margin-top: 16px;
    margin-bottom: 20px;
}

.alt-banner-content p {
    font-size: 15px;
    color: var(--gray-200);
    line-height: 1.7;
    margin-bottom: 28px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.alt-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition);
}

.alt-banner-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

@media (max-width: 768px) {
    .alt-banner {
        min-height: 300px;
    }

    .alt-banner-content {
        padding: 32px;
    }

    .alt-banner-content h2 {
        font-size: 32px;
    }
}

/* =========================================
   RICH CONTENT (from Quill editor)
   ========================================= */
.rich-content p,
.hero-desc p,
.service-desc p,
.ref-testimonial-text p,
.reference-description p {
    margin-bottom: 0.5em;
}

.rich-content p:last-child,
.hero-desc p:last-child,
.service-desc p:last-child,
.ref-testimonial-text p:last-child,
.reference-description p:last-child {
    margin-bottom: 0;
}

.rich-content ul,
.rich-content ol,
.hero-desc ul,
.hero-desc ol,
.service-desc ul,
.service-desc ol {
    margin: 0.5em 0;
    padding-left: 1.5em;
}

.rich-content li,
.hero-desc li,
.service-desc li {
    margin-bottom: 0.25em;
}

.rich-content strong,
.hero-desc strong,
.service-desc strong,
.ref-testimonial-text strong,
.reference-description strong {
    font-weight: 700;
}

.rich-content em,
.hero-desc em,
.service-desc em,
.ref-testimonial-text em,
.reference-description em {
    font-style: italic;
}

/* =========================================
   FOOTER
   ========================================= */
.footer-wrapper {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.footer-cta {
    position: relative;
    padding: 100px 0;
}

.footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.footer-cta .container {
    position: relative;
    z-index: 1;
}

.footer-cta h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.footer-cta h2 .highlight {
    color: var(--red);
    font-style: italic;
}

.footer-cta .section-line {
    margin-top: 16px;
    margin-bottom: 20px;
}

.footer-cta p {
    font-size: 16px;
    color: var(--gray-200);
    max-width: 500px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.footer {
    background: rgba(10, 10, 10, 0.9);
    padding: 60px 0 0;
    border-top: 1px solid var(--dark-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 280px 200px 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
}

.footer-brand .footer-logo span {
    color: var(--red);
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--gray-300);
    align-items: flex-start;
}

.footer-info-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--red);
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-menu h4,
.footer-certs h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--white);
}

.footer-menu h4::after,
.footer-certs h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--red);
    margin-top: 10px;
    margin-bottom: 20px;
}

.footer-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-300);
    padding: 6px 0;
}

.footer-menu a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-menu a svg {
    width: 14px;
    height: 14px;
    stroke: var(--red);
    fill: none;
}

.footer-certs h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--white);
}

.footer-static-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    align-items: center;
}

.footer-static-logos img {
    width: 100%;
    max-height: 70px;
    object-fit: contain;
    justify-self: center;
}

.certs-main {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    align-items: center;
}

.cert-badge {
    width: 80px;
    height: auto;
    opacity: 0.85;
    transition: var(--transition);
}

.cert-badge:hover {
    opacity: 1;
}

.iso-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.iso-item {
    text-align: center;
}

.iso-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.iso-item .iso-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
}

.iso-item .iso-desc {
    font-size: 10px;
    color: var(--gray-400);
    line-height: 1.3;
}

.footer-legal {
    margin-top: 24px;
}

.footer-legal-header {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.footer-legal-header strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.footer-legal-header span {
    display: block;
    font-size: 11px;
    color: var(--gray-400);
    line-height: 1.4;
}

.footer-legal-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-300);
    padding: 4px 0;
}

.footer-legal-link svg {
    width: 14px;
    height: 14px;
    stroke: var(--red);
    fill: none;
}

.footer-legal-link:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    color: var(--gray-400);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--dark-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--red);
    background: var(--red);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: var(--gray-400);
}

.footer-social a:hover svg {
    fill: var(--white);
}

/* =========================================
   PAGE HERO (Inner pages)
   ========================================= */
.page-hero {
    position: relative;
    padding: 100px 0 80px;
    background: var(--dark-bg);
    overflow: hidden;
    min-height: 500px;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--dark-bg) 0%, rgba(17,17,17,0.3) 60%, transparent 100%);
}

.page-hero .container {
    position: relative;
    z-index: 3;
}

.page-hero .section-tag {
    margin-bottom: 16px;
    font-size: 15px;
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.page-hero h1 .highlight {
    color: #E53E3E;
    font-style: italic;
    display: block;
}

.page-hero .hero-line {
    width: 50px;
    height: 3px;
    background: var(--red);
    margin: 20px 0;
    position: relative;
    z-index: 2;
}

.page-hero .subtitle {
    font-size: 14px;
    color: var(--gray-300);
    font-style: italic;
}

.page-hero p {
    font-size: 15px;
    color: var(--gray-300);
    max-width: 550px;
    margin-top: 12px;
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.page-hero-about {
    padding: 200px 0 80px;
    min-height: 660px;
    background-color: #050505;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.page-hero-about .container {
    position: relative;
    z-index: 3;
}

.page-hero-about h1 {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 2px 16px rgba(0,0,0,0.8), 0 0 6px rgba(0,0,0,0.5);
    -webkit-font-smoothing: antialiased;
}

.page-hero-about h1 .highlight {
    color: #E53E3E;
    text-shadow: 0 2px 16px rgba(0,0,0,0.8), 0 0 6px rgba(0,0,0,0.5);
}

.page-hero-top {
    max-width: 560px;
    position: relative;
}

.page-hero-intro {
    margin-top: 36px;
    max-width: 560px;
    border-left: 3px solid var(--red);
    padding-left: 20px;
}

.page-hero-intro p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.85;
    margin-bottom: 14px;
}

.page-hero-intro p.en {
    font-style: italic;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    line-height: 1.75;
}

/* --- Operations --- */
.about-operations {
    padding: 90px 0;
    background: var(--light-bg);
    color: var(--text-dark);
}

.about-ops-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-ops-text h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.about-ops-text h2 .highlight {
    color: var(--red);
}

.about-ops-text .subtitle {
    font-size: 14px;
    color: var(--gray-500);
    font-style: italic;
    margin-top: 4px;
    margin-bottom: 8px;
}

.about-ops-text p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-top: 16px;
}

.about-ops-text p.en {
    font-style: italic;
    color: var(--gray-400);
    font-size: 13px;
}

.about-ops-img {
    position: relative;
}

.about-ops-img img {
    border-radius: 16px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-ops-img::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--red);
    border-radius: 16px;
    z-index: -1;
}

/* --- Why Choose Us --- */
.why-section {
    padding: 90px 0;
    background: #f5f5f5;
    color: var(--text-dark);
    text-align: center;
}

.why-section .section-tag {
    color: var(--red);
}

.why-section .section-title {
    color: var(--text-dark);
}

.why-section .section-subtitle {
    font-size: 14px;
    font-style: italic;
    color: var(--gray-500);
    margin-top: 4px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
    text-align: center;
}

.why-card {
    padding: 40px 28px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200,16,46,0.08);
    border-radius: 50%;
}

.why-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--red);
    fill: none;
    stroke-width: 1.5;
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.why-card .why-subtitle {
    font-size: 13px;
    font-style: italic;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.why-card p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.7;
}

.why-card p.en {
    font-style: italic;
    color: var(--gray-400);
    font-size: 12px;
    margin-top: 8px;
}

/* --- Vision --- */
.vision-section {
    padding: 90px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.vision-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.vision-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17,17,17,0.8) 0%, rgba(17,17,17,0.6) 50%, rgba(17,17,17,0.4) 100%);
    z-index: 1;
}

.vision-section .section-tag {
    color: var(--red);
}

.vision-content {
    position: relative;
    z-index: 1;
}

.vision-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.vision-content h2 .highlight {
    color: var(--red);
}

.vision-content .subtitle {
    font-size: 14px;
    font-style: italic;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.vision-content p {
    font-size: 15px;
    color: var(--gray-300);
    line-height: 1.8;
    max-width: 640px;
}

.vision-content p + p {
    margin-top: 16px;
}

.vision-content p.bold {
    font-weight: 700;
    color: var(--white);
}

.vision-content p.en {
    font-style: italic;
    color: var(--gray-400);
    font-size: 13px;
    margin-top: 8px;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.page-hero-contact {
    padding: 220px 0 80px;
    min-height: 600px;
    background-color: #050505;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-contact h1 {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 2px 16px rgba(0,0,0,0.8), 0 0 6px rgba(0,0,0,0.5);
}

.page-hero-contact h1 .highlight {
    color: #E53E3E;
    text-shadow: 0 2px 16px rgba(0,0,0,0.8), 0 0 6px rgba(0,0,0,0.5);
}

.contact-section {
    padding: 60px 0 80px;
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
}

.contact-info-box {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 32px;
}

.contact-info-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-box .subtitle {
    font-size: 13px;
    font-style: italic;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-detail svg {
    width: 20px;
    height: 20px;
    stroke: var(--red);
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-detail p {
    font-size: 13px;
    color: var(--gray-300);
}

.contact-map {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 20px 0;
    height: 200px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.quote-form-box {
    background: var(--light-card);
    border-radius: var(--radius);
    padding: 40px;
    color: var(--text-dark);
}

.quote-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.quote-form-header svg {
    width: 40px;
    height: 40px;
    stroke: var(--red);
    fill: none;
}

.quote-form-header h3 {
    font-size: 22px;
    font-weight: 700;
}

.quote-form-header .subtitle {
    font-size: 13px;
    font-style: italic;
    color: var(--gray-500);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 4px;
}

.form-group.full,
.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.form-group label .required {
    color: var(--red);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-main);
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-group .placeholder-hint {
    font-size: 11px;
    color: var(--gray-400);
    font-style: italic;
    margin-top: 4px;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--red-dark);
}

.form-disclaimer {
    text-align: center;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-disclaimer svg {
    width: 14px;
    height: 14px;
    stroke: var(--gray-400);
    fill: none;
}

/* =========================================
   JOIN PAGE
   ========================================= */
.page-hero-join {
    padding: 220px 0 80px;
    min-height: 660px;
    background-color: #050505;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-join h1 {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 2px 16px rgba(0,0,0,0.8), 0 0 6px rgba(0,0,0,0.5);
}

.page-hero-join h1 .highlight {
    color: #E53E3E;
    text-shadow: 0 2px 16px rgba(0,0,0,0.8), 0 0 6px rgba(0,0,0,0.5);
}

.join-who {
    padding: 80px 0;
    background: var(--light-bg);
    color: var(--text-dark);
}

.join-who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.join-who-text h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.join-who-text h2::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--red);
    margin-bottom: 16px;
}

.join-who-text p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 12px;
}

.join-who-text p.en {
    font-style: italic;
    color: var(--gray-400);
    font-size: 13px;
}

.join-who-img img {
    border-radius: var(--radius);
    width: 100%;
}

.join-looking {
    padding: 80px 0;
    background: var(--white);
    color: var(--text-dark);
    text-align: center;
}

.join-looking .section-line {
    margin: 16px auto 0;
}

.join-looking .section-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 12px;
}

.join-looking .section-subtitle-en {
    font-size: 13px;
    font-style: italic;
    color: var(--gray-400);
}

.attr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.attr-card {
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 32px 20px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.attr-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
}

.attr-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attr-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--red);
    fill: none;
}

.attr-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.attr-card .attr-subtitle {
    font-size: 12px;
    font-style: italic;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.attr-card p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
}

.attr-card p.en {
    font-style: italic;
    color: var(--gray-400);
    font-size: 12px;
    margin-top: 8px;
}

.join-process {
    padding: 80px 0;
    background: var(--dark-bg);
    text-align: center;
}

.join-process h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
}

.join-process .subtitle {
    font-size: 14px;
    font-style: italic;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.join-process p {
    font-size: 14px;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto 24px;
}

.join-process p.en {
    font-style: italic;
    color: var(--gray-400);
    font-size: 13px;
}

.email-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0;
}

.email-badge svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
    fill: none;
}

.btn-cv {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.btn-cv:hover {
    background: var(--red-dark);
}

.btn-cv svg {
    width: 18px;
    height: 18px;
    stroke: var(--white);
    fill: none;
}

.join-quote-section {
    padding: 60px 0;
    background: #ffffff;
    text-align: center;
}

.join-quote {
    max-width: 800px;
    margin: 0 auto;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    position: relative;
    padding: 0 40px;
}

.join-quote::before {
    content: '"';
    font-size: 60px;
    color: var(--red);
    position: absolute;
    left: 0;
    top: -20px;
    font-family: var(--font-serif);
}

.join-quote::after {
    content: '"';
    font-size: 60px;
    color: var(--red);
    position: absolute;
    right: 0;
    bottom: -40px;
    font-family: var(--font-serif);
}

.join-quote strong {
    color: var(--text-dark);
    font-weight: 700;
}

.join-quote p.en {
    font-style: italic;
    color: var(--gray-400);
    font-size: 13px;
    margin-top: 8px;
}

/* =========================================
   BLOG / TERMINAL AKTİF
   ========================================= */
.blog-hero {
    position: relative;
    padding: 200px 0 80px;
    min-height: 580px;
    background-color: #050505;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-hero .container {
    position: relative;
    z-index: 3;
}

.blog-hero-content {
    max-width: 550px;
}

.blog-hero-content h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.8), 0 0 6px rgba(0,0,0,0.5);
}

.blog-hero-content h1 .highlight {
    color: #E53E3E;
    text-shadow: 0 2px 16px rgba(0,0,0,0.8), 0 0 6px rgba(0,0,0,0.5);
}

.blog-hero-excerpt {
    font-size: 15px;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-category-tag {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray-300);
    margin-bottom: 24px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta svg {
    width: 14px;
    height: 14px;
    stroke: var(--gray-400);
    fill: none;
}

.blog-meta-dark {
    color: var(--gray-500);
}

.blog-meta-dark svg {
    stroke: var(--gray-400);
}

.blog-hero-detail {
    min-height: 420px;
}

/* --- Posts Grid Section --- */
.blog-section {
    padding: 60px 0 80px;
    background: var(--light-bg);
    color: var(--text-dark);
}

.blog-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.blog-section-header h2 {
    font-size: 24px;
    font-weight: 800;
}

.blog-section-header a {
    color: var(--red);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.blog-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-img .blog-category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
}

.blog-card-body {
    padding: 20px;
}

.blog-card-body .blog-meta {
    color: var(--gray-500);
    margin-bottom: 12px;
}

.blog-card-body .blog-meta svg {
    stroke: var(--gray-400);
}

.blog-card-body h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.blog-card-body p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card-body .read-more {
    color: var(--red);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- Featured Article Detail --- */
.blog-featured-detail {
    padding: 80px 0;
    background: var(--white);
    color: var(--text-dark);
}

.blog-featured-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.blog-featured-text .blog-category-tag {
    margin-bottom: 12px;
}

.blog-featured-text h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.blog-featured-content {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
}

.blog-featured-content p {
    margin-bottom: 12px;
}

.btn-primary-outline {
    background: transparent;
    color: var(--red);
    border: 2px solid var(--red);
}

.btn-primary-outline:hover {
    background: var(--red);
    color: var(--white);
}

/* --- Blog Sidebar --- */
.blog-sidebar {
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 32px;
}

.blog-sidebar h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-dark);
    line-height: 1.4;
}

.sidebar-services {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.sidebar-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: rgba(229, 62, 62, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--red);
    fill: none;
}

.sidebar-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.sidebar-item p {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- Article Detail Page --- */
.blog-detail-section {
    padding: 60px 0 80px;
    background: var(--light-bg);
    color: var(--text-dark);
}

.blog-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-article-image {
    margin-bottom: 32px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.blog-article-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

.blog-detail-content .content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-600);
}

.blog-detail-content .content p {
    margin-bottom: 16px;
}

.blog-detail-content .content h2,
.blog-detail-content .content h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin: 32px 0 12px;
}

.blog-detail-content .content h2 {
    font-size: 22px;
}

.blog-detail-content .content h3 {
    font-size: 18px;
    color: var(--red);
}

.blog-detail-content .content img {
    border-radius: var(--radius-sm);
    margin: 20px 0;
    max-width: 100%;
}

.blog-detail-content .content ul,
.blog-detail-content .content ol {
    margin: 12px 0;
    padding-left: 24px;
}

.blog-detail-content .content li {
    margin-bottom: 8px;
}

.blog-related {
    margin-top: 60px;
}

.blog-related h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-dark);
}

/* --- Stats Light Variant --- */
.stats-section-light {
    padding: 48px 0;
    background: var(--light-bg);
}

.stats-grid-light {
    background: var(--white);
    border: 1px solid var(--gray-200);
    margin-top: 0;
}

.stats-grid-light .stat-item {
    color: var(--text-dark);
}

.stats-grid-light .stat-number {
    color: var(--text-dark);
}

.stats-grid-light .stat-icon svg {
    stroke: var(--red);
}

/* --- All News Page --- */
.page-hero-blog-all {
    padding: 200px 0 60px;
    min-height: 380px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.page-hero-blog-all::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--blog-all-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 0;
}

.page-hero-blog-all .container {
    position: relative;
    z-index: 1;
}

.page-hero-blog-all h1 {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 2px 16px rgba(0,0,0,0.8);
}

.page-hero-blog-all h1 .highlight {
    color: #E53E3E;
}

.blog-all-section {
    padding: 48px 0 80px;
    background: var(--light-bg);
    color: var(--text-dark);
}

.blog-search-bar {
    margin-bottom: 40px;
}

.blog-search-form {
    display: flex;
    gap: 12px;
    max-width: 600px;
}

.search-input-wrap {
    flex: 1;
    position: relative;
}

.search-input-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: var(--gray-400);
    fill: none;
}

.search-input-wrap input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    background: var(--white);
    color: var(--text-dark);
    transition: var(--transition);
}

.search-input-wrap input:focus {
    border-color: var(--red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.btn-search {
    padding: 12px 28px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-search:hover {
    background: #c53030;
}

.search-result-info {
    margin-top: 12px;
    font-size: 13px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-result-info a {
    color: var(--red);
    font-weight: 600;
}

.blog-grid-all {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.blog-grid-all .blog-card-img {
    height: 180px;
}

.blog-grid-all .blog-card-body h3 {
    font-size: 14px;
}

.blog-grid-all .blog-card-body p {
    font-size: 12px;
    margin-bottom: 12px;
}

.blog-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.blog-pagination nav {
    display: flex;
    gap: 4px;
}

.blog-pagination .pagination {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.blog-pagination .page-item .page-link:hover {
    border-color: var(--red);
    color: var(--red);
}

.blog-pagination .page-item.active .page-link {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.blog-pagination .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
}

.blog-empty {
    text-align: center;
    padding: 80px 0;
}

.blog-empty svg {
    width: 48px;
    height: 48px;
    stroke: var(--gray-300);
    fill: none;
    margin-bottom: 16px;
}

.blog-empty p {
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* =========================================
   QUOTE PAGE (Full page)
   ========================================= */
.quote-page {
    padding: 80px 0;
    background: var(--dark);
}

.quote-page .quote-form-box {
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================
   ALERTS / FLASH MESSAGES
   ========================================= */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid rgba(72, 187, 120, 0.3);
    color: #48BB78;
}

.alert-error {
    background: rgba(229, 62, 62, 0.1);
    border: 1px solid rgba(229, 62, 62, 0.3);
    color: var(--red);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-section::before {
        height: 350px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .iso-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid-all {
        grid-template-columns: repeat(3, 1fr);
    }

    .attr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: #0a0a0a;
        flex-direction: column;
        padding: 80px 32px;
        gap: 24px;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(229, 62, 62, 0.2);
        z-index: 9999;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.7);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .page-hero-about,
    .page-hero-join,
    .page-hero-contact {
        padding: 160px 0 60px;
    }

    .blog-hero {
        padding: 160px 0 60px;
        min-height: 420px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-layout {
        flex-direction: column;
    }

    .services-right {
        max-width: 100%;
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--red);
        padding-top: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-intro-grid,
    .about-ops-grid,
    .contact-grid,
    .join-who-grid,
    .blog-featured-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-cta h2 {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .attr-grid {
        grid-template-columns: 1fr 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid-all {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-search-form {
        flex-direction: column;
    }

    .page-hero-blog-all {
        padding: 160px 0 50px;
        min-height: auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero-content h1 {
        font-size: 28px;
    }

    /* Footer sertifika logoları mobilde taşmasın */
    .footer-static-logos {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .footer-static-logos img {
        max-height: 55px;
    }

    .iso-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    /* Referans carousel mobilde düzgün çalışsın */
    .reference-item {
        width: 160px;
        padding: 16px 12px;
    }

    .references-carousel {
        gap: 30px;
    }

    .reference-logo {
        height: 70px;
    }

    /* Footer CTA mobil */
    .footer-cta {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .services-section::before {
        height: 280px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--dark-border);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .attr-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid-all {
        grid-template-columns: 1fr;
    }

    .iso-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certs-main {
        flex-direction: column;
    }

    .footer-static-logos img {
        max-height: 40px;
    }

    .reference-item {
        width: 140px;
        padding: 12px 10px;
    }

    .references-carousel {
        gap: 20px;
    }

    .reference-logo {
        height: 60px;
    }
}

/* =========================================
   ADMIN PANEL STYLES
   ========================================= */

/* --- Base --- */
.admin-body {
    font-family: var(--font-main);
    background: #F8FAFC;
    color: #1F2937;
    min-height: 100vh;
    font-size: 14px;
    line-height: 1.6;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar --- */
.admin-sidebar {
    width: 270px;
    background: linear-gradient(180deg, #0F172A 0%, #1A2332 100%);
    color: white;
    padding: 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255,255,255,0.04);
}

.admin-sidebar::-webkit-scrollbar {
    width: 4px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
}

.admin-sidebar-logo {
    padding: 24px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-sidebar-logo img {
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

.admin-sidebar-logo img:hover {
    filter: brightness(1.3);
    transform: scale(1.03);
}

.admin-sidebar-logo span {
    color: var(--red);
}

.admin-nav {
    flex: 1;
    padding: 16px 0 8px;
    overflow-y: auto;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    margin: 2px 12px;
    font-size: 13.5px;
    color: #8B9DC3;
    transition: all 0.2s ease;
    border-radius: 8px;
    position: relative;
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #E2E8F0;
}

.admin-nav a.active {
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.15) 0%, rgba(229, 62, 62, 0.08) 100%);
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.12);
}

.admin-nav a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 55%;
    background: var(--red);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 10px rgba(229, 62, 62, 0.5);
}

.admin-nav a svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.admin-nav a:hover svg {
    opacity: 0.9;
}

.admin-nav a.active svg {
    opacity: 1;
    color: #F87171;
}

.admin-nav .nav-section {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #475569;
    padding: 24px 20px 8px;
    margin: 0 12px;
    position: relative;
}

.admin-nav .nav-section:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.04);
}

/* Sidebar logout hover */
.admin-sidebar .admin-btn-danger:hover {
    background: rgba(220,38,38,0.18) !important;
    border-color: rgba(220,38,38,0.3) !important;
    color: #FCA5A5 !important;
    transform: translateY(-1px);
}

/* --- Main Content --- */
.admin-content {
    flex: 1;
    margin-left: 270px;
    padding: 32px 40px;
    min-height: 100vh;
}

/* --- Header --- */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.admin-header h1 {
    font-size: 26px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.3px;
}

.admin-header-subtitle {
    font-size: 14px;
    color: #64748B;
    font-weight: 400;
    margin-top: 4px;
}

/* --- Toolbar (filters/search above tables) --- */
.admin-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.admin-toolbar input,
.admin-toolbar select {
    padding: 8px 14px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 13px;
    font-family: var(--font-main);
    background: #FFFFFF;
    transition: all 0.2s ease;
    color: #1F2937;
}

.admin-toolbar input:focus,
.admin-toolbar select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.08);
}

/* --- Cards --- */
.admin-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
    border: 1px solid #F1F5F9;
    transition: box-shadow 0.2s ease;
}

.admin-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.admin-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
    color: #0F172A;
}

/* --- Card Header (title + action button) --- */
.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F1F5F9;
}

.admin-card-header h3 {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* --- Stats Grid / Dashboard Cards --- */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.admin-stat-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid #F1F5F9;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.admin-stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--red);
    border-radius: 0 4px 4px 0;
}

.admin-stat-card.stat-blue::before { background: #3B82F6; }
.admin-stat-card.stat-green::before { background: #10B981; }
.admin-stat-card.stat-yellow::before { background: #F59E0B; }
.admin-stat-card.stat-purple::before { background: #8B5CF6; }

.admin-stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(229, 62, 62, 0.08);
    color: var(--red);
}

.admin-stat-card.stat-blue .stat-icon { background: rgba(59, 130, 246, 0.08); color: #3B82F6; }
.admin-stat-card.stat-green .stat-icon { background: rgba(16, 185, 129, 0.08); color: #10B981; }
.admin-stat-card.stat-yellow .stat-icon { background: rgba(245, 158, 11, 0.08); color: #F59E0B; }
.admin-stat-card.stat-purple .stat-icon { background: rgba(139, 92, 246, 0.08); color: #8B5CF6; }

.admin-stat-card .stat-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.admin-stat-card .stat-content {
    flex: 1;
}

.admin-stat-card .number {
    font-size: 30px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.1;
}

.admin-stat-card .label {
    font-size: 13px;
    color: #64748B;
    margin-top: 4px;
    font-weight: 500;
}

/* --- Tables --- */
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748B;
    border-bottom: 2px solid #F1F5F9;
    background: #F8FAFC;
    white-space: nowrap;
}

.admin-table th:first-child {
    border-radius: 8px 0 0 0;
}

.admin-table th:last-child {
    border-radius: 0 8px 0 0;
}

.admin-table td {
    padding: 14px 16px;
    font-size: 14px;
    border-bottom: 1px solid #F1F5F9;
    vertical-align: middle;
    color: #334155;
}

.admin-table tbody tr {
    transition: background 0.15s ease;
}

.admin-table tbody tr:nth-child(even) td {
    background: #FAFBFC;
}

.admin-table tbody tr:hover td {
    background: #F8FAFC;
}

.admin-table tbody tr:nth-child(even):hover td {
    background: #F3F6F9;
}

.admin-table td img {
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* --- Image Thumbnails --- */
.admin-img-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid #FFFFFF;
}

.admin-img-thumb.round {
    border-radius: 50%;
}

/* --- Badges --- */
.admin-table .badge,
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
    line-height: 1.4;
}

.badge-success {
    background: #ECFDF5;
    color: #065F46;
}

.badge-warning {
    background: #FFFBEB;
    color: #92400E;
}

.badge-danger {
    background: #FEF2F2;
    color: #991B1B;
}

.badge-info {
    background: #EFF6FF;
    color: #1E40AF;
}

.badge-primary {
    background: rgba(229, 62, 62, 0.08);
    color: var(--red);
}

/* --- Forms --- */
.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.admin-form .form-row.single {
    grid-template-columns: 1fr;
}

.admin-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.admin-form label .lang-tag {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 6px;
    letter-spacing: 0.3px;
}

.lang-tag.tr {
    background: #FEE2E2;
    color: var(--red);
}

.lang-tag.en {
    background: #DBEAFE;
    color: #1E40AF;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-main);
    transition: all 0.2s ease;
    color: #1E293B;
    background: #FFFFFF;
}

.admin-form input::placeholder,
.admin-form textarea::placeholder {
    color: #94A3B8;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.admin-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* Rich Text Editor (Quill) */
.rich-editor-wrapper {
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.rich-editor-wrapper:focus-within {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.rich-editor-wrapper .ql-toolbar {
    border: none !important;
    border-bottom: 1px solid #E2E8F0 !important;
    background: #F8FAFC;
    padding: 6px 8px !important;
}

.rich-editor-wrapper .ql-container {
    border: none !important;
    font-family: var(--font-main);
    font-size: 14px;
}

.rich-editor-wrapper .ql-editor {
    min-height: 100px;
    padding: 12px 16px;
    color: #1E293B;
    line-height: 1.6;
}

.rich-editor-wrapper .ql-editor.ql-blank::before {
    color: #94A3B8;
    font-style: normal;
}

.rich-editor-wrapper .ql-snow .ql-stroke {
    stroke: #64748B;
}

.rich-editor-wrapper .ql-snow .ql-fill {
    fill: #64748B;
}

.rich-editor-wrapper .ql-snow button:hover .ql-stroke,
.rich-editor-wrapper .ql-snow button.ql-active .ql-stroke {
    stroke: var(--red);
}

.rich-editor-wrapper .ql-snow button:hover .ql-fill,
.rich-editor-wrapper .ql-snow button.ql-active .ql-fill {
    fill: var(--red);
}

.admin-form small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #94A3B8;
}

/* File upload as dropzone */
.admin-form input[type="file"] {
    padding: 16px;
    border: 2px dashed #CBD5E1;
    border-radius: 8px;
    background: #F8FAFC;
    cursor: pointer;
    font-size: 13px;
    color: #64748B;
    transition: all 0.2s ease;
}

.admin-form input[type="file"]:hover {
    border-color: var(--red);
    background: rgba(229, 62, 62, 0.02);
}

.admin-form input[type="file"]:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.08);
    border-style: dashed;
}

/* Color input */
.admin-form input[type="color"] {
    padding: 4px;
    height: 44px;
    cursor: pointer;
}

/* --- Toggle switch for checkboxes --- */
.admin-form .checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.admin-form .checkbox-group input[type="checkbox"] {
    width: auto;
}

.admin-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.admin-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.admin-toggle .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #CBD5E1;
    border-radius: 24px;
    transition: all 0.2s ease;
}

.admin-toggle .toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.admin-toggle input:checked + .toggle-slider {
    background: var(--red);
}

.admin-toggle input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.admin-toggle input:focus + .toggle-slider {
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}

/* --- Buttons --- */
.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: var(--font-main);
    text-decoration: none;
    white-space: nowrap;
}

.admin-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.admin-btn-primary {
    background: var(--red);
    color: white;
    box-shadow: 0 1px 3px rgba(229, 62, 62, 0.2);
}

.admin-btn-primary:hover {
    background: var(--red-dark);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
    transform: translateY(-1px);
}

.admin-btn-primary:active {
    transform: translateY(0);
}

.admin-btn-secondary {
    background: #FFFFFF;
    color: #475569;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.admin-btn-secondary:hover {
    background: #F1F5F9;
    color: #1E293B;
    border-color: #CBD5E1;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.admin-btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.admin-btn-danger {
    background: #FFFFFF;
    color: #DC2626;
    border: 1px solid #FECACA;
    box-shadow: 0 1px 2px rgba(220,38,38,0.04);
}

.admin-btn-danger:hover {
    background: #FEF2F2;
    color: #B91C1C;
    border-color: #FCA5A5;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220,38,38,0.1);
}

.admin-btn-danger:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(220,38,38,0.04);
}

.admin-btn-sm {
    padding: 7px 14px;
    font-size: 12.5px;
    border-radius: 7px;
    font-weight: 500;
}

/* Icon-only action buttons */
.admin-btn-icon {
    padding: 7px;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    position: relative;
}

.admin-btn-icon svg {
    width: 15px;
    height: 15px;
}

.admin-btn-icon[title]::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: #1E293B;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.15s ease;
}

.admin-btn-icon[title]:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.admin-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: nowrap;
}

.admin-actions form {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

/* Prevent row hover from bleeding into buttons */
.admin-table tbody tr:hover .admin-btn-secondary {
    background: #FFFFFF;
    border-color: #CBD5E1;
}

.admin-table tbody tr:hover .admin-btn-danger {
    background: #FFF5F5;
    border-color: #FCA5A5;
}

.admin-table tbody tr:hover .admin-btn-secondary:hover {
    background: #E2E8F0;
    color: #1E293B;
    border-color: #CBD5E1;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.admin-table tbody tr:hover .admin-btn-danger:hover {
    background: #FEE2E2;
    color: #B91C1C;
    border-color: #FCA5A5;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220,38,38,0.1);
}

/* --- Alerts --- */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: alertSlideIn 0.35s ease;
    position: relative;
}

.alert svg {
    flex-shrink: 0;
    margin-top: 1px;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-dismiss {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    padding: 2px;
}

.alert-dismiss:hover {
    opacity: 1;
}

/* --- Empty State --- */
.admin-empty {
    text-align: center;
    padding: 48px 24px;
    color: #94A3B8;
}

.admin-empty svg {
    width: 48px;
    height: 48px;
    stroke: #CBD5E1;
    fill: none;
    margin-bottom: 12px;
}

.admin-empty p {
    font-size: 14px;
    color: #94A3B8;
}

/* --- Login Page --- */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    position: relative;
}

.admin-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(229, 62, 62, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.admin-login-card {
    background: #FFFFFF;
    padding: 48px;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    text-align: center;
}

.admin-login-card h1 {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    color: #0F172A;
}

.admin-login-card h1 span {
    color: var(--red);
}

.admin-login-card .subtitle {
    text-align: center;
    color: #64748B;
    font-size: 14px;
    margin-bottom: 32px;
}

.admin-login-card .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.admin-login-card .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.admin-login-card input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-main);
    color: #1E293B;
    transition: all 0.2s ease;
    background: #FFFFFF;
}

.admin-login-card input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.admin-login-card .btn-submit {
    width: 100%;
    padding: 12px 24px;
    background: var(--red);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.25);
}

.admin-login-card .btn-submit:hover {
    background: var(--red-dark);
    box-shadow: 0 4px 16px rgba(229, 62, 62, 0.35);
    transform: translateY(-1px);
}

.admin-login-card .alert {
    text-align: left;
}

/* --- Current Image --- */
.current-image {
    margin-top: 12px;
    padding: 12px;
    background: #F8FAFC;
    border-radius: 10px;
    border: 1px solid #F1F5F9;
    display: inline-block;
}

.current-image img {
    max-height: 100px;
    border-radius: 8px;
    display: block;
}

/* --- Section Divider in Forms --- */
.admin-form h3,
.admin-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 2px solid #F1F5F9;
}

/* --- Quote Detail Card --- */
.admin-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.admin-detail-grid p {
    margin-bottom: 14px;
    line-height: 1.6;
}

.admin-detail-grid strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748B;
    margin-bottom: 4px;
}

.admin-detail-value {
    font-size: 15px;
    color: #1E293B;
}

.detail-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    padding: 12px 16px;
    background: #F8FAFC;
    border-radius: 8px;
    border: 1px solid #F1F5F9;
}

.detail-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748B;
    margin-bottom: 6px;
}

.detail-value {
    font-size: 15px;
    color: #1E293B;
    font-weight: 500;
}

.admin-message-box {
    margin-top: 20px;
    padding: 20px;
    background: #F8FAFC;
    border-radius: 10px;
    border: 1px solid #F1F5F9;
}

.admin-message-box strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748B;
    margin-bottom: 8px;
}

/* --- File Upload Area --- */
.admin-file-upload {
    width: 100%;
}

.admin-file-upload-area {
    display: block;
    cursor: pointer;
    border: 2px dashed #D1D5DB;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    background: #FAFBFC;
}

.admin-file-upload-area:hover {
    border-color: var(--red);
    background: #FEF7F7;
}

.admin-file-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 20px;
    color: #94A3B8;
}

.admin-file-placeholder svg {
    color: #CBD5E1;
}

.admin-file-placeholder span {
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
}

.admin-file-placeholder small {
    font-size: 12px;
    color: #94A3B8;
}

.admin-file-preview {
    position: relative;
    width: 100%;
    max-height: 200px;
    overflow: hidden;
}

.admin-file-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.admin-file-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.25s ease;
    color: white;
    font-size: 13px;
    font-weight: 500;
}

.admin-file-upload-area:hover .admin-file-preview-overlay {
    opacity: 1;
}

/* --- Legal Sections (Footer) --- */
.admin-legal-section {
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.admin-legal-section:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.admin-legal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    background: #FAFBFC;
    transition: background 0.15s ease;
    user-select: none;
}

.admin-legal-header:hover {
    background: #F1F5F9;
}

.admin-legal-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #374151;
}

.admin-legal-info svg {
    color: #94A3B8;
    flex-shrink: 0;
}

.admin-legal-info strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.admin-legal-key {
    font-size: 11px;
    color: #94A3B8;
    font-family: 'Courier New', monospace;
    background: #F1F5F9;
    padding: 1px 6px;
    border-radius: 3px;
}

.admin-legal-chevron {
    color: #94A3B8;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.admin-legal-body {
    padding: 20px;
    border-top: 1px solid #E2E8F0;
    background: #FFFFFF;
}

/* --- Icon Picker --- */
.icon-picker-wrapper {
    margin-bottom: 16px;
}

.icon-picker-wrapper > label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #374151;
    margin-bottom: 8px;
}

.icon-picker-selected {
    margin-bottom: 12px;
}

.icon-picker-current {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 8px;
    color: #166534;
    font-size: 13px;
    font-weight: 600;
}

.icon-picker-current.icon-picker-empty {
    background: #F8FAFC;
    border-color: #E2E8F0;
    color: #94A3B8;
    font-weight: 400;
    cursor: pointer;
}

.icon-picker-svg {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-picker-svg svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.icon-picker-name {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background: rgba(0,0,0,0.06);
    padding: 2px 8px;
    border-radius: 4px;
}

.icon-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
    padding: 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    max-height: 280px;
    overflow-y: auto;
}

.icon-picker-grid::-webkit-scrollbar {
    width: 4px;
}
.icon-picker-grid::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.icon-picker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #475569;
}

.icon-picker-item:hover {
    border-color: #94A3B8;
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

.icon-picker-item.active {
    border-color: var(--red);
    background: #FEF2F2;
    color: var(--red);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.icon-picker-item-svg {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-picker-item-svg svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.icon-picker-item-label {
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    word-break: break-all;
    color: inherit;
    opacity: 0.7;
}

.icon-picker-item.active .icon-picker-item-label {
    opacity: 1;
}

/* --- Inline Edit Row --- */
.admin-inline-edit {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
}

.admin-inline-edit td {
    padding: 0 !important;
}

.admin-inline-edit .admin-form {
    padding: 20px;
}

/* --- Pagination --- */
.admin-card nav[role="navigation"] {
    margin-top: 16px;
}

.admin-card .pagination {
    display: flex;
    gap: 4px;
}

.admin-card .pagination .page-link {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #64748B;
    border: 1px solid #E2E8F0;
    transition: all 0.15s ease;
}

.admin-card .pagination .page-link:hover {
    background: #F1F5F9;
    color: #1E293B;
}

.admin-card .pagination .active .page-link {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

/* --- Responsive Admin --- */
@media (max-width: 1024px) {
    .admin-sidebar {
        width: 240px;
    }
    .admin-content {
        margin-left: 240px;
        padding: 24px;
    }
    .admin-nav a {
        margin: 2px 8px;
        padding: 9px 16px;
    }
    .admin-nav .nav-section {
        margin: 0 8px;
        padding-left: 16px;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        display: none;
    }
    .admin-content {
        margin-left: 0;
        padding: 16px;
    }
    .admin-header {
        flex-direction: column;
        gap: 12px;
    }
    .admin-form .form-row {
        grid-template-columns: 1fr;
    }
    .admin-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Whatsapp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}