/* Custom CSS Variables */
:root {
    --primary-navy: #011627;
    --accent-red: #D94948;
    --secondary-red: #E31E24;
    --bg-light: #F8FAFC;
    --text-color: #0F172A;
    --white: #FFFFFF;
    --gray: #64748b;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.text-center {
    text-align: center;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.subtitle {
    display: inline-block;
    color: var(--accent-red);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Typography Scale */
h1 { font-size: 4.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 100px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: 2px solid transparent;
    gap: 10px;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 73, 72, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-navy);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .logo-img {
    filter: brightness(0) invert(8%) sepia(50%) saturate(3015%) hue-rotate(193deg) brightness(96%) contrast(98%);
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .menu-toggle {
    color: var(--primary-navy);
}

.navbar.scrolled .nav-links a::after {
    background-color: var(--accent-red);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 120px;
    width: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown > a .drop-arrow {
    font-size: 0.7rem;
    transition: transform 0.25s;
}

.nav-dropdown:hover > a .drop-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 12px;
    min-width: 220px;
    z-index: 200;
}

.dropdown-menu-inner {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    overflow: hidden;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu-inner a {
    display: block;
    padding: 12px 20px;
    color: var(--primary-navy) !important;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}

.dropdown-menu-inner a:last-child {
    border-bottom: none;
}

.dropdown-menu-inner a::after {
    display: none;
}

.dropdown-menu-inner a:hover {
    background: var(--bg-light);
    color: var(--accent-red) !important;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 18px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.75);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 9px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.lang-btn.active {
    background: #d32f2f;
    color: #fff;
    border-color: #d32f2f;
}

.navbar.scrolled .lang-btn {
    border-color: rgba(1,22,39,0.35);
    color: rgba(1,22,39,0.7);
}

.navbar.scrolled .lang-btn:hover {
    background: rgba(1,22,39,0.08);
    color: var(--primary-navy);
    border-color: rgba(1,22,39,0.5);
}

.navbar.scrolled .lang-btn.active {
    background: #d32f2f;
    color: #fff;
    border-color: #d32f2f;
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
/* Hero Scroll Section */
.hero-scroll-container {
    height: 500vh; /* 5 times the viewport height for scroll length */
    position: relative;
    background-color: var(--primary-navy);
}

.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Subtle dark overlay to make text readable but keep background visible */
    background: linear-gradient(90deg, rgba(1, 22, 39, 0.7) 0%, rgba(1, 22, 39, 0.2) 100%);
    z-index: 2;
}

.hero-scroll-container .hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-left {
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 650px;
    color: var(--white);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 11;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.hero-products {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-38%);
    width: 100%;
    height: 80%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    position: absolute;
    left: -10vw;
    max-width: 160%;
    max-height: 135%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.9) translateY(50px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

.product-img.active {
    opacity: 1;
    transform: scale(1.45) translateY(0);
}

.hero-right {
    flex: 1;
    display: none; /* No longer needed since logo is absolute */
}

.hero-red-logo {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 65vw;
    height: auto;
    max-width: 800px;
    object-fit: contain;
    transform-origin: bottom right;
    /* Translate shifts the transparent padding out of the screen */
    transform: scale(1) translate(5%, 20%);
    will-change: transform;
    filter: drop-shadow(0 10px 30px rgba(217, 73, 72, 0.2));
    z-index: 5;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Capabilities Cards */
.card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-red);
    transition: var(--transition);
    z-index: -1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card:hover::before {
    width: 100%;
    opacity: 0.03;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.25rem;
    color: var(--primary-navy);
}

.card p {
    color: var(--gray);
}

/* Sectors */
.sector-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
    background-color: var(--primary-navy);
}

.sector-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    opacity: 0.8;
}

.sector-card:hover img {
    transform: scale(1.1);
    opacity: 1;
}

.sector-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(1, 22, 39, 0.9), transparent);
    color: var(--white);
    transition: var(--transition);
}

.sector-content h3 {
    margin-bottom: 5px;
}

.sector-content p {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.sector-card:hover .sector-content p {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Banner */
.cta-banner {
    background-color: var(--bg-light);
    padding: 80px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.cta-text h2 {
    max-width: 600px;
    margin-bottom: 0;
    color: var(--primary-navy);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--primary-navy);
    color: var(--white);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    max-height: 55px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--accent-red);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-red);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ── Capabilities Dark Section ── */
.cap-dark-section {
    position: relative;
    background-image: url('images/working-1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}

.cap-dark-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 22, 39, 0.82);
}

.cap-dark-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cap-dark-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-red);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.cap-dark-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.cap-dark-items {
    display: flex;
    flex-direction: column;
}

.cap-dark-item {
    padding: 25px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.cap-dark-item:last-child {
    border-bottom: none;
}

.cap-dark-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.cap-dark-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.cap-dark-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cap-dark-right p {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
    text-align: center;
}

@media (max-width: 900px) {
    .cap-dark-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cap-dark-section {
        background-attachment: scroll;
    }
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-navy);
    padding: 60px 0;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Tech Section (Hakkımızda Kartı) ── */
@keyframes blob {
  0%   { transform: translate(0px,0px) scale(1); }
  33%  { transform: translate(30px,-50px) scale(1.1); }
  66%  { transform: translate(-20px,20px) scale(0.9); }
  100% { transform: translate(0px,0px) scale(1); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.tech-section {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

.tech-card {
  width: 100%;
  background: white;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
  display: flex;
  flex-wrap: wrap;
  min-height: 600px;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.tech-panel-image {
  flex: 1;
  min-width: 320px;
  position: relative;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 450px;
}

.tech-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  mix-blend-mode: multiply;
}
.tech-blob.animate-blob { animation: blob 7s infinite; }
.tech-blob.delay-2 { animation-delay: 2s; }
.tech-blob.delay-4 { animation-delay: 4s; }

.tech-panel-image img {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.7s ease;
}
.tech-panel-image img:hover { transform: scale(1.05); }

.tech-badge-year {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-left: 4px solid #0f6df0;
  z-index: 20;
}
.tech-badge-year .label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.2;
}
.tech-badge-year .year {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
}

.tech-panel-content {
  flex: 1;
  min-width: 320px;
  position: relative;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3.5rem;
}

.tech-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230f6df0' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.tech-inner { position: relative; z-index: 10; }

.tech-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  margin-bottom: 1.5rem;
}
.tech-pill-dot {
  width: 8px; height: 8px;
  background: #0f6df0;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse-dot 2s infinite;
}
.tech-pill-text {
  font-size: 0.7rem;
  font-weight: 800;
  color: #0f6df0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tech-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  font-family: 'Inter', sans-serif;
}
.tech-inner h2 span { color: #0f6df0; }

.tech-description {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.tech-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 3rem;
}

.tech-feature {
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 16px;
  transition: all 0.3s;
  cursor: default;
}
.tech-feature:hover {
  background: white;
  box-shadow: 0 4px 20px rgba(15,109,240,0.1);
  border-color: rgba(15,109,240,0.3);
}

.tech-icon-wrap {
  width: 52px; height: 52px;
  background: white;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  margin-bottom: 1.25rem;
  border: 1px solid #f1f5f9;
  transition: background 0.3s;
}
.tech-feature:hover .tech-icon-wrap { background: #0f6df0; }
.tech-feature:hover .tech-icon-wrap svg { stroke: white; }

.tech-feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}
.tech-feature p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}

.tech-btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: #0f172a;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  gap: 10px;
  font-family: 'Inter', sans-serif;
}
.tech-btn-cta:hover {
  background: #0f6df0;
  box-shadow: 0 8px 24px rgba(15,109,240,0.35);
  color: white;
  transform: none;
}
.tech-btn-cta .play-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .tech-card {
    min-height: unset;
  }
  .tech-panel-image {
    min-width: 100%;
    min-height: 260px;
  }
  .tech-panel-content {
    min-width: 100%;
    padding: 2rem 1.5rem;
  }
  .tech-description {
    max-width: 100%;
  }
}

/* Factory Gallery */
.factory-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 50px;
}

.factory-gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
}

.factory-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    z-index: 2;
    position: relative;
}

.factory-gallery img:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1;
}

@media (max-width: 768px) {
    .factory-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .factory-gallery img:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* References Section */
.references-section {
    background-color: var(--white);
}

.ref-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.ref-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
    min-width: 140px;
    max-width: 180px;
    height: 80px;
}

.ref-logo-item:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.ref-logo-item img {
    max-width: 120px;
    max-height: 45px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.ref-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* About Snippet */
.about-snippet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-snippet-text h2 {
    color: var(--primary-navy);
}

.about-snippet-text p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-tag-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 18px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 0.9rem;
    transition: var(--transition);
}

.about-tag:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-3px);
}

.about-tag i {
    font-size: 1.2rem;
    color: var(--accent-red);
    flex-shrink: 0;
}

.about-tag:hover i {
    color: var(--white);
}

/* Page Hero (Sub-pages) */
.page-hero {
    background-color: var(--primary-navy);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(217,73,72,0.08) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.page-hero-content .subtitle {
    color: var(--accent-red);
}

.page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    max-width: 700px;
}

.page-hero-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}

.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb i { font-size: 0.7rem; }

/* Content sections for sub-pages */
.content-section {
    padding: 100px 0;
}

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

.content-grid-2.reversed {
    direction: rtl;
}

.content-grid-2.reversed > * {
    direction: ltr;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.1rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Process Steps */
.steps-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

.step-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
}

.step-content h3 {
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Product Cards */
.product-section-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.07);
    transition: var(--transition);
}

.product-section-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.product-card-header {
    background: var(--primary-navy);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.product-card-header::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(217,73,72,0.15);
    border-radius: 50%;
}

.product-card-header i {
    font-size: 3rem;
    color: var(--accent-red);
    margin-bottom: 20px;
    display: block;
}

.product-card-header h2 {
    color: var(--white);
    font-size: 1.8rem;
}

.product-card-body {
    padding: 40px;
}

.product-card-body p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

.product-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--primary-navy);
    font-weight: 500;
}

.product-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--accent-red);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

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

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-navy);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-red);
    margin-bottom: 5px;
}

.contact-info-item p {
    color: var(--gray);
    line-height: 1.7;
}

.contact-form {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 20px;
}

.contact-form h3 {
    color: var(--primary-navy);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-navy);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-red);
}

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

.map-container {
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    margin-top: 60px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Vision Mission */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.vm-card {
    padding: 60px 50px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.vm-card.mission {
    background: var(--primary-navy);
    color: var(--white);
}

.vm-card.vision {
    background: var(--accent-red);
    color: var(--white);
}

.vm-card .vm-icon {
    font-size: 3rem;
    opacity: 0.3;
    position: absolute;
    top: 30px;
    right: 30px;
}

.vm-card h2 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.vm-card p {
    opacity: 0.85;
    line-height: 1.8;
    margin-bottom: 15px;
}

.vm-targets {
    margin-top: 50px;
}

.vm-targets h3 {
    color: var(--primary-navy);
    margin-bottom: 30px;
}

.target-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.target-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
}

.target-item i {
    color: var(--accent-red);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.target-item p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* Design Center */
.dc-highlight {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #022a47 100%);
    border-radius: 20px;
    padding: 60px;
    color: var(--white);
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.dc-highlight-icon {
    font-size: 5rem;
    color: var(--accent-red);
    flex-shrink: 0;
}

.dc-highlight h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.dc-highlight p {
    opacity: 0.8;
    line-height: 1.7;
}

.dc-activities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.dc-activity {
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent-red);
    transition: var(--transition);
}

.dc-activity:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.dc-activity i {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 20px;
}

.dc-activity h3 {
    color: var(--primary-navy);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.dc-activity p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1100px) {
    .about-snippet-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .dc-activities {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .target-list {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-graphic {
        display: none;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        color: var(--primary-navy);
        padding: 10px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .menu-toggle {
        display: block;
    }

    .lang-switcher {
        flex-shrink: 0;
        margin-left: 6px;
    }

    .lang-btn {
        padding: 3px 7px;
        font-size: 0.65rem;
    }

    .navbar.scrolled .menu-toggle {
        color: var(--primary-navy);
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-tag-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .dc-highlight {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .dc-activities {
        grid-template-columns: 1fr;
    }

    .vm-card {
        padding: 40px 30px;
    }

    .product-features {
        grid-template-columns: 1fr;
    }

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

    /* Mobile hero — shorter scroll distance than desktop 500vh */
    .hero-scroll-container {
        height: 250vh;
    }
    .hero-left {
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .hero-products {
        opacity: 1 !important;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        height: 55vw;
        max-height: 300px;
        pointer-events: auto;
    }
    .product-img {
        left: 50%;
        transform: translateX(-50%) scale(0.9);
        max-width: 85%;
        max-height: 100%;
    }
    .product-img.active {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    .hero-red-logo {
        width: 52vw;
    }

    /* Mobile navbar */
    .navbar {
        padding: 10px 0;
    }
    .nav-container {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0;
    }
    .logo {
        flex-shrink: 0;
        margin-right: auto;
    }
    .logo-img {
        max-height: 48px;
        max-width: 130px;
        object-fit: contain;
    }
    .menu-toggle {
        flex-shrink: 0;
        font-size: 1.3rem;
        padding: 4px 8px;
    }

    /* Mobile dropdowns */
    .nav-dropdown {
        position: static;
        width: 100%;
    }

    .nav-dropdown > a {
        justify-content: space-between;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        padding-top: 0;
        min-width: 100%;
        display: none;
    }

    .nav-dropdown.mobile-open .dropdown-menu {
        display: block;
    }

    .nav-dropdown.mobile-open > a .drop-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu-inner {
        box-shadow: none;
        border-radius: 0;
        background: #f5f7fa;
        margin: 4px 0 8px;
        border-left: 3px solid var(--accent-red);
    }

    .dropdown-menu-inner a {
        padding: 10px 16px;
        font-size: 0.85rem;
        color: var(--primary-navy) !important;
        white-space: normal;
    }
}
