/* 
  ========================================
  Kadakal Otomatik Kapı
  Record Shop (Magento) Exact Clone Design
  ======================================== 
*/

:root {
  --color-primary: #005ba8;
  /* Record Blue */
  --color-primary-dark: #003e73;
  --color-primary-light: #e8f0fa;
  --color-secondary: #0f172a;
  /* Slate 900 */
  --color-accent: #c9a84c;
  /* Gold/Amber */
  --color-success: #10b981;
  /* Emerald 500 */
  --color-warning: #f59e0b;
  /* Amber 500 */
  --color-text-dark: #1e293b;
  /* Slate 800 */
  --color-text-medium: #475569;
  /* Slate 600 */
  --color-text-light: #64748b;
  /* Slate 500 */
  --color-bg-body: #ffffff;
  --color-bg-topbar: #f8fafc;
  --color-border: #e2e8f0;
  --color-link: #005ba8;
  --color-link-hover: #003e73;

  --font-family: 'Outfit', 'Inter', sans-serif;
  --container-width: 1200px;
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', 'Inter', sans-serif;
  background-color: var(--color-bg-body);
  color: var(--color-text-dark);
  font-size: 15.5px;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

a:focus-visible {
  outline: 2px dashed var(--color-primary);
  outline-offset: 4px;
}

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

a:hover {
  text-decoration: underline;
  color: var(--color-link-hover);
}

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

ul {
  list-style: none;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

/* --- TOP BAR --- */
.panel.wrapper {
  background-color: var(--color-bg-topbar);
  border-bottom: 1px solid var(--color-border);
  font-size: 12px;
}

.panel.header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 35px;
  padding: 0 15px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.header.links {
  display: flex;
  gap: 20px;
}

.header.links li a {
  color: #555;
  text-decoration: none;
}

.header.links li a:hover {
  color: var(--color-primary);
}

/* --- HEADER CONTENT --- */
.header.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 15px;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.logo {
  flex: 0 0 200px;
}

.logo img {
  height: auto;
  max-height: 50px;
}

/* --- HEADER LOGO ADJUSTMENTS --- */
/* Consolidated logo box styling to ensure proper size and positioning */
/* The .hormann-logo-box is defined later in the file; this section now only contains comments */

/* --- HEADER CONTACT (replaces search/cart) --- */
.header-contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-contact-info a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 3px;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
}

.header-cta-phone {
  background: var(--color-primary);
  color: #fff !important;
}

.header-cta-phone:hover {
  background: var(--color-link-hover);
  color: #fff !important;
}

.header-cta-whatsapp {
  background: #25d366;
  color: #fff !important;
}

.header-cta-whatsapp:hover {
  background: #1da851;
  color: #fff !important;
}

.header-cta-map {
  background: #f4f4f4;
  color: #333 !important;
  border: 1px solid var(--color-border);
}

.header-cta-map:hover {
  background: #e8e8e8;
  color: #333 !important;
}

/* --- TWO-TIER NAVIGATION --- */
.nav-sections {
  border-bottom: 1px solid var(--color-border);
}

/* Tier 1: Tab Row */
.nav-tabs-row {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.nav-tabs-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  gap: 0;
}

.nav-tab {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  color: #555;
  text-decoration: none !important;
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}

.nav-tab:hover {
  color: #333;
  text-decoration: none !important;
}

.nav-tab.active {
  color: #111;
  border-bottom: 3px solid #111;
}

/* Tier 2: Subcategory Row */
.nav-sub-row {
  background: #4a4a4a;
}

.nav-sub-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
}

.nav-sub-inner a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: #e0e0e0;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-sub-inner a:hover {
  background: #3a3a3a;
  color: #ffffff;
  text-decoration: none !important;
}

/* --- MAIN CONTENT --- */
.main-content {
  flex: 1;
}

/* Hero CMS Block */
.cms-hero {
  position: relative;
  text-align: center;
  background: #ebebeb;
  /* Fallback */
}

.cms-hero img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 650px;
  object-fit: cover;
}

.cms-hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
  width: 100%;
  background: rgba(0, 91, 168, 0.7);
  /* Record Blue transparent */
  padding: 20px 0;
}

.cms-hero-text h1 {
  font-size: 28px;
  font-weight: normal;
  margin: 0;
}

.hero-subtitle {
  font-size: 16px;
  margin-top: 8px;
  opacity: 0.9;
  letter-spacing: 2px;
}

/* 4 Quick Links Block */
.quick-links-container {
  max-width: var(--container-width);
  margin: -70px auto 50px;
  /* Moved much higher (-70px) */
  position: relative;
  z-index: 10;
  padding: 0 15px;
}

.quick-links-container {
  max-width: var(--container-width);
  margin: -50px auto 40px;
  /* Slight overlap on desktop hero slider */
  position: relative;
  z-index: 10;
  padding: 0 15px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.quick-link-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 30px 20px;
  color: var(--color-text-dark);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring), background-color 0.3s ease, border-color 0.3s ease;
  perspective: 1000px;
  border-right: none;
}

.quick-link-item:hover {
  background: #ffffff;
  color: var(--color-primary);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 38px rgba(0, 91, 168, 0.08);
  border-color: rgba(0, 91, 168, 0.2);
}

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

.quick-link-item i {
  font-size: 28px;
  background: #eef4ff;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--color-primary);
  transition: transform 0.3s var(--ease-spring);
}

.quick-link-item:hover i {
  transform: scale(1.1) rotate(5deg);
}

.quick-link-item .fa-whatsapp {
  color: #25D366;
  background: #e8f8ef;
}

.ql-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
}

/* Section Commons */
.section-heading {
  font-size: 24px;
  color: var(--color-text-dark);
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
  border-bottom: none !important;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 2px;
}

.section-heading[style*="text-align: center"]::after,
.section-heading[style*="text-align:center"]::after,
.section-heading.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-desc {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 25px;
}

/* Expertise Section */
.expertise-section {
  background: #f9f9f9;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 50px 0;
  margin-bottom: 50px;
}

.expertise-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

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

.expertise-card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 25px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 4px;
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.exp-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: #f0f5fc;
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.expertise-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--color-text-dark);
}

.expertise-card p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Catalog Block */
.catalog-section {
  max-width: var(--container-width);
  margin: 0 auto 60px;
  padding: 0 15px;
}

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

.product-item {
  border: 1px solid var(--color-border);
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 91, 168, 0.1);
  border-color: rgba(0, 91, 168, 0.2);
}

.product-image-wrapper {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  /* White background for contained images */
  border-bottom: 1px solid #eef2f6;
  overflow: hidden;
  padding: 10px;
  /* Give some breathing room */
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Shows the full image without cropping */
  transition: transform 0.4s ease;
}

.product-item:hover .product-image-wrapper img {
  transform: scale(1.08);
}

.product-content {
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--color-text-dark);
}

.product-desc {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.5;
  flex: 1;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: bold;
  color: var(--color-primary) !important;
  text-decoration: none !important;
  padding: 10px 20px;
  border: 1px solid var(--color-primary);
  border-radius: 50px;
  transition: all 0.3s var(--ease-spring);
  width: 100%;
}

.product-cta:hover {
  background: var(--color-primary);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 91, 168, 0.15);
}

.product-cta:active {
  transform: translateY(0) scale(0.98);
}

/* --- CONTACT CTA SECTION --- */
.contact-cta-section {
  background: var(--color-primary);
  padding: 50px 0;
}

.contact-cta-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.contact-cta-text h2 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-cta-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 15px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cd-item {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.cd-item i {
  width: 18px;
  text-align: center;
  margin-right: 6px;
}

.contact-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.3s var(--ease-spring);
  white-space: nowrap;
}

.cta-btn:active {
  transform: scale(0.96);
}

.cta-btn-phone {
  background: #fff;
  color: var(--color-primary) !important;
}

.cta-btn-phone:hover {
  background: #eee;
  color: var(--color-primary) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.cta-btn-whatsapp {
  background: #25d366;
  color: #fff !important;
}

.cta-btn-whatsapp:hover {
  background: #1da851;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.cta-btn-map {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.cta-btn-map:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.08);
}

/* --- FOOTER --- */
.page-footer {
  background: #f4f4f4;
  border-top: 1px solid var(--color-border);
  padding: 40px 0 20px;
  margin-top: auto;
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
}

.footer-col h4 {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #666;
  font-size: 13px;
}

.footer-col ul li a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  max-width: var(--container-width);
  margin: 30px auto 0;
  padding: 20px 15px 0;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-size: 12px;
  color: #888;
}

/* --- CATEGORY PAGE STYLES --- */

/* Breadcrumb */
.breadcrumb {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 15px 15px;
  font-size: 13px;
  color: var(--color-text-light);
}

.breadcrumb a {
  color: var(--color-link);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 6px;
  color: #ccc;
}

/* Category Hero */
.category-hero {
  background: linear-gradient(135deg, #003d73 0%, var(--color-primary) 50%, #0077cc 100%);
  padding: 220px 0 60px 0;
  /* Huge top padding to accommodate the absolute header */
  position: relative;
  /* overflow: hidden; MUST BE REMOVED so mega-menu dropdown isn't clipped! */
}

/* We do not override .hormann-header in .category-hero anymore!
   It will remain position: absolute; just like on the main page. */
.category-hero .hormann-header-container {
  padding-top: 15px;
  padding-bottom: 15px;
}

.category-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.05);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.category-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.03);
  background: none;
  z-index: 0;
  pointer-events: none;
}

/* --- Product Cards Badge Style --- */
.product-image-wrapper {
  position: relative;
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.product-badge.badge-ticari {
  background: var(--color-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-badge.badge-konut {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* --- Active Nav Link Indicators (Desktop Navigation) --- */
.nav-sub-inner a.active-link {
  color: var(--color-accent) !important;
  font-weight: 600;
}

.mega-menu-links a.active-link {
  color: var(--color-primary) !important;
  font-weight: bold;
}

.mega-menu-links a.active-link i {
  color: var(--color-accent) !important;
}

.category-hero-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.category-hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #fff;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.category-hero-text h1 {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.category-hero-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
  max-width: 600px;
}

/* Category Content */
.category-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px 15px 60px;
}

.category-content h2 {
  font-size: 22px;
  color: var(--color-text-dark);
  margin-bottom: 10px;
  font-weight: normal;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
}

.category-content>p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 25px;
}

/* Sub-Products Grid */
.sub-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.sub-product-card {
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.sub-product-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.sub-product-thumb {
  height: 180px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  color: var(--color-primary);
  opacity: 0.35;
  position: relative;
}

.sub-product-thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, #fff);
}

.sub-product-body {
  padding: 20px;
}

.sub-product-body h3 {
  font-size: 15px;
  font-weight: bold;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.sub-product-body p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.sub-product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: bold;
  color: var(--color-primary) !important;
  text-decoration: none !important;
  padding: 8px 16px;
  border: 1px solid var(--color-primary);
  border-radius: 50px;
  transition: all 0.3s var(--ease-spring);
}

.sub-product-cta:hover {
  background: var(--color-primary);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 91, 168, 0.12);
}

.sub-product-cta:active {
  transform: translateY(0) scale(0.97);
}

/* Features / Advantages Section */
.features-section {
  background: #f8f9fa;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 35px;
  margin-bottom: 50px;
}

.features-section h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 25px;
}

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

.feature-card {
  text-align: center;
  padding: 20px 15px;
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 15px;
}

.feature-card h4 {
  font-size: 14px;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Info Text Section */
.category-info {
  margin-bottom: 50px;
  line-height: 1.7;
}

.category-info h2 {
  margin-bottom: 15px;
}

.category-info p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 12px;
}

.category-info ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 12px;
}

.category-info ul li {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.6;
}

/* Active nav link */
.nav-sub-inner a.active-link {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: bold;
}

/* ============================================
   Brand Partner Section
   ============================================ */
.brand-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px solid var(--color-border);
}

.brand-section>h2 {
  text-align: center;
  font-size: 24px;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.brand-section>p.brand-section-subtitle {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.brand-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.brand-card {
  display: flex;
  gap: 30px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 30px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.brand-card:hover {
  box-shadow: 0 8px 30px rgba(0, 91, 168, 0.1);
  transform: translateY(-2px);
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
  border-radius: 12px 0 0 12px;
}

.brand-logo-area {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: #f8f9fb;
  border-radius: 10px;
  min-height: 150px;
}

.brand-logo-area img {
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
}

.brand-logo-placeholder {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-origin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #888;
  background: #eee;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-origin i {
  font-size: 10px;
}

.brand-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand-info h3 {
  font-size: 20px;
  color: var(--color-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-badge {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-badge.premium {
  background: #c9a84c;
}

.brand-badge.mid-premium {
  background: #2e7d32;
}

.brand-info>p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.brand-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.brand-product-tag {
  font-size: 12px;
  color: var(--color-primary);
  background: #e8f0fa;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.brand-product-tag i {
  font-size: 10px;
}

.brand-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.brand-action-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.brand-action-btn.primary {
  background: var(--color-primary);
  color: #fff;
}

.brand-action-btn.primary:hover {
  background: #004a8c;
}

.brand-action-btn.secondary {
  background: #f0f0f0;
  color: var(--color-dark);
}

.brand-action-btn.secondary:hover {
  background: #e0e0e0;
}

/* ============================================
   Hörmann Style Hero Header (index.html only)
   ============================================ */
.hormann-hero-wrapper {
  position: relative;
  width: 100%;
  height: 91.5vh;
  /* Exact adjustment requested by the user */
  min-height: 500px;
  max-height: 1100px;
  overflow: hidden;
  background-color: #333;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slider::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  /* Reverted to cover to remove black bars */
  background-repeat: no-repeat;
  background-position: center bottom;
  /* Focuses on the bottom of the image where the door is */
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
  z-index: 0;
  will-change: transform, opacity;
}

.hero-slider .slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.hero-slider .slide.exit-left {
  opacity: 0;
  transform: translateX(-100%);
  z-index: 1;
}

.hero-slider .slide.exit-right {
  opacity: 0;
  transform: translateX(100%);
  z-index: 1;
}

/* Slider Progress Bar */
.slider-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 5;
}

.slider-progress-bar {
  height: 100%;
  width: 0;
  background: var(--color-primary);
  transition: width 5000ms linear;
}

/* Floating overlay header */
.hormann-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding-top: 0;
  background: transparent;
}

.hormann-header-container {
  max-width: 1600px;
  /* Increased from var(--container-width) to allow menu items to fit on 1-2 lines */
  margin: 0 auto;
  display: flex;
  align-items: center;
  /* Vertically center logo and menu */
  padding: 20px 30px;
  /* Push the whole header down gracefully */
}

.hormann-logo-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  /* Rounded corners for floating look */
  align-self: flex-start;
  margin-top: 17px;
  /* Align perfectly with nav area top and keep it vertically static */
}

.hormann-logo-box img {
  max-width: 100%;
  height: auto;
  max-height: 140px;
  /* Made logo significantly larger */
}

/* =============================================
   Hörmann-Style 2-Tier Navigation
   ============================================= */
.hormann-nav-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 0;
  margin-left: 25px;
  /* Separate logo from menu */
  max-width: 100%;
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  /* Rounded corners for floating look */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* ---- Tier 1: Top Tabs (Konutlar / Ticari) ---- */
.hormann-nav-area .nav-tabs-row {
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hormann-nav-area .nav-tabs-inner {
  padding: 0;
  display: flex;
  max-width: 100%;
}

.hormann-nav-area .nav-tab {
  padding: 16px 32px;
  font-size: 18.5px;
  font-weight: 500;
  color: #555;
  background: transparent;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  /* overlap the border-bottom of tabs-row */
}

.hormann-nav-area .nav-tab:hover {
  color: #222;
}

.hormann-nav-area .nav-tab.active {
  color: var(--color-primary);
  font-weight: 700;
  border-bottom-color: var(--color-primary);
}

/* ---- Tier 2: Sub-Category Links ---- */
.hormann-nav-area .nav-sub-row {
  background: rgba(0, 0, 0, 0.04);
  border-top: none;
  border-radius: 0 0 8px 8px;
  /* Match container bottom corners */
}

.hormann-nav-area .nav-sub-inner {
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  /* Allow wrapping on smaller screens */
  justify-content: center;
  /* Center items gracefully when wrapped */
  overflow: visible;
  max-width: 100%;
}

.hormann-nav-area .nav-sub-inner li {
  list-style: none;
  position: relative;
  /* For dropdown positioning */
}

.hormann-nav-area .nav-sub-inner>li>a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 14px 14px;
  /* Reduced side padding slightly to ensure 2-line wrap on laptops */
  font-size: 17px;
  /* Increased font size */
  font-weight: 500;
  color: #555;
  text-decoration: none !important;
  transition: color 0.2s, background 0.2s;
  border-bottom: 2px solid transparent;
  position: relative;
}

.hormann-nav-area .nav-sub-inner>li>a:hover {
  color: var(--color-primary);
  background: transparent;
}

.hormann-nav-area .nav-sub-inner>li>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--color-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 3px 3px 0 0;
}

.hormann-nav-area .nav-sub-inner>li>a:hover::after {
  width: 100%;
}

/* ---- Tier 3: Dropdown Menus (Beautiful Frosted Glass) ---- */
.hormann-nav-area .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: rgba(255, 255, 255, 0.98);
  /* Less transparent for readability */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 0 0 8px 8px;
  border: none;
  /* Removed the conflicting white border */
  border-top: 3px solid var(--color-primary);
  /* Thicker blue line for better connection */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-spring);
  padding: 0;
  z-index: 1000;
}

/* Align items on the right half of the menu to the right to prevent off-screen overflow */
.hormann-nav-area .nav-sub-inner>li:nth-last-child(-n+6) .dropdown-menu,
.hormann-nav-area .nav-sub-inner>li:nth-child(n+4) .dropdown-menu {
  left: auto;
  right: 0;
}

.hormann-nav-area .has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hormann-nav-area .dropdown-menu a {
  display: block;
  padding: 12px 24px;
  color: #444;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.hormann-nav-area .dropdown-menu a:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--color-primary);
  padding-left: 25px;
  /* Nice micro-animation on hover */
}


/* Arrows & Dots */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 5;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.slider-arrow:hover {
  opacity: 1;
}

.prev-arrow {
  left: 30px;
}

.next-arrow {
  right: 30px;
}

.slider-pagination {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slider-pagination .dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.slider-pagination .dot.active {
  background: #fff;
}

/* Optional Hero Text */
.hormann-hero-text {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 5;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hormann-hero-text h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hormann-hero-text p {
  font-size: 18px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .header.content {
    flex-wrap: wrap;
  }

  .header-contact-info {
    order: 3;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
  }

  .contact-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

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

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

  .category-hero-inner {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

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

  .quick-links {
    flex-wrap: wrap;
  }

  .quick-link-item {
    flex: 0 0 50%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-tabs-inner {
    overflow-x: auto;
  }

  .nav-sub-inner {
    flex-wrap: wrap;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .header-contact-info {
    flex-wrap: wrap;
    gap: 8px;
  }

  .contact-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-btn {
    justify-content: center;
  }

  .sub-products-grid {
    grid-template-columns: 1fr;
  }

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

  .category-hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .category-hero-text p {
    max-width: 100%;
  }

  .brand-card {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  .brand-card::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 12px 12px 0 0;
  }

  .brand-logo-area {
    flex: 0 0 auto;
    min-height: 100px;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .quick-link-item {
    flex: 0 0 100%;
    border-right: none;
  }

  .header-contact-info a {
    flex: 1;
    justify-content: center;
    font-size: 12px;
    padding: 8px 10px;
  }

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

/* =============================================
   MEGA MENU — Clean Hörmann-style Tabbed Layout
   ============================================= */

/* Dropdown wrapper — slides down from nav-area */
.nav-sub-row.hormann-sub.mega-menu-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-top: none !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
  padding: 0;
  pointer-events: none;
}

.hormann-nav-area:hover .nav-sub-row.hormann-sub.mega-menu-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Inner mega-menu panel */
.mega-menu {
  width: 100%;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  position: static !important;
}

/* Grid = two visual rows: tab bar on top, content panel below */
.mega-menu-grid {
  display: flex;
  flex-direction: column;
}

/* ---- Sub-Tab Bar (headings row) ---- */
.mega-menu-grid>.mega-menu-col>.mega-menu-heading {
  /* Will be repositioned by JS into .mm-tabs-bar */
}

/* JS-created tab bar */
.mm-tabs-bar {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.04);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mm-tabs-bar::-webkit-scrollbar {
  display: none;
}

.mm-tab-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  height: 44px;
  padding: 0 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  border-bottom: 2px solid transparent;
  font-family: inherit;
  letter-spacing: 0.2px;
}

.mm-tab-btn:hover {
  color: #222;
  background: rgba(0, 0, 0, 0.02);
}

.mm-tab-btn.active {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--color-primary);
  font-weight: 600;
}

/* ---- Content Panels (link lists) ---- */
.mega-menu-col {
  display: none;
  /* hidden by default; JS adds .active */
}

.mega-menu-col.active {
  display: block;
}

/* Hide original heading inside col (it's duplicated to tab bar) */
.mega-menu-col>.mega-menu-heading {
  display: none;
}

.mega-menu-col ul {
  list-style: none;
  margin: 0;
  padding: 20px 24px;
  column-count: 2;
  column-gap: 40px;
}

.mega-menu-col ul li {
  break-inside: avoid;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mega-menu-col ul li:last-child {
  border-bottom: none;
}

.mega-menu-col ul li a {
  display: block;
  padding: 10px 0;
  color: #444;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.mega-menu-col ul li a:hover {
  color: var(--color-primary);
  padding-left: 8px;
}

/* ---- Mega Menu Enhancements ---- */
.hormann-nav-area .dropdown-menu {
  min-width: 450px;
  /* Wider for mega menu */
  padding: 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 0 5px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 4px solid var(--color-primary);
}

.mega-menu-content {
  display: flex;
  background: transparent;
}

.mega-menu-links {
  flex: 1;
  padding: 15px 0;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.mega-menu-links a {
  display: flex !important;
  align-items: center;
}

.mega-menu-links a i {
  color: var(--color-primary);
  opacity: 0.5;
  margin-right: 8px;
  font-size: 11px;
  transition: transform 0.2s;
}

.mega-menu-links a:hover i {
  transform: translateX(4px);
  opacity: 1;
}

.mega-menu-featured {
  width: 200px;
  padding: 20px;
  background: rgba(var(--color-primary-rgb, 0, 86, 179), 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0 0 8px 0;
}

.mega-menu-featured img {
  max-width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mega-menu-featured h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: var(--color-primary);
  font-weight: 600;
}

.mega-menu-featured p {
  margin: 0;
  font-size: 14.5px;
  color: #666;
  line-height: 1.4;
}

/* =============================================
   MOBILE APP-LIKE UI
   ============================================= */

/* 1. Hide Mobile Elements on Desktop by Default */
.mobile-header,
.mobile-bottom-nav,
.mobile-offcanvas,
.mobile-offcanvas-overlay {
  display: none;
}

@media (max-width: 991px) {

  /* 2. Hide Desktop Elements */
  .desktop-header {
    display: none !important;
  }

  /* Modify the absolute wrapper on mobile so fixed elements can be fixed to viewport */
  .hormann-header {
    position: relative !important;
    z-index: 9999 !important;
    overflow: visible !important;
    transform: none !important;
    filter: none !important;
    will-change: auto !important;
    contain: none !important;
  }

  .hormann-hero-wrapper {
    position: relative !important;
    z-index: 999 !important;
    overflow: visible !important;
    transform: none !important;
    filter: none !important;
    will-change: auto !important;
    contain: none !important;
  }

  /* 3. Mobile Header (App-like top bar) */
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .mobile-menu-btn,
  .mobile-call-btn {
    background: #f8fafc;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, background 0.2s;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .mobile-menu-btn:focus,
  .mobile-menu-btn:focus-visible,
  .mobile-menu-btn:active,
  .mobile-call-btn:focus,
  .mobile-call-btn:focus-visible,
  .mobile-call-btn:active {
    outline: none !important;
    box-shadow: none !important;
  }

  .mobile-menu-btn:active,
  .mobile-call-btn:active {
    transform: scale(0.95);
    background: #e2e8f0;
  }

  .mobile-logo img {
    height: 48px;
    max-width: 180px;
    object-fit: contain;
  }

  /* Push content down so it's not hidden behind the fixed mobile header */
  .category-hero {
    padding-top: 80px !important;
  }

  .hormann-hero-wrapper {
    margin-top: 60px;
  }

  /* 4. Bottom Navigation Bar */
  .mobile-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 10px 10px 24px 10px;
    /* Safe area padding */
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 600;
    background: none;
    border: none;
    padding: 6px 10px;
    border-radius: 12px;
    transition: transform 0.2s ease, color 0.2s ease;
    min-width: 64px; /* Ensure a decent touch target width */
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
  }

  .bottom-nav-item:focus,
  .bottom-nav-item:focus-visible,
  .bottom-nav-item:active {
    outline: none !important;
    box-shadow: none !important;
  }

  .bottom-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
  }

  .bottom-nav-item.active {
    color: var(--color-primary);
    background: transparent;
  }

  .bottom-nav-item:active {
    transform: scale(0.92);
  }

  .bottom-nav-item.active i {
    transform: scale(1.1);
  }

  /* WhatsApp special styling */
  .bottom-nav-item .fa-whatsapp {
    color: #25D366;
  }

  .bottom-nav-item:nth-child(2).active {
    color: #25D366;
  }

  /* 5. Mobile Offcanvas Menu (Drawer) */
  .mobile-offcanvas-overlay {
    display: block;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-offcanvas {
    display: flex;
    flex-direction: column;
    position: fixed !important;
    top: 0 !important;
    left: 0;
    transform: translateX(-100%);
    width: 300px;
    height: 100vh !important;
    background: #fdfdfd;
    z-index: 9999 !important;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    overflow-y: auto;
  }

  .mobile-offcanvas.active {
    transform: translateX(0);
  }

  .offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 20px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .offcanvas-header img {
    height: 35px;
  }

  .offcanvas-close {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #334155;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
  }

  .offcanvas-close:active {
    background: #e2e8f0;
    transform: scale(0.9);
  }

  .offcanvas-body {
    padding: 25px 20px;
  }

  /* Accordions */
  .mobile-accordion {
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    /* For smooth corners */
  }

  .accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.2s;
  }

  .accordion-btn:active {
    transform: scale(0.96);
  }

  .accordion-btn.active {
    background: #f8fafc;
    color: var(--color-primary);
    border-bottom: 1px solid #f1f5f9;
  }

  .accordion-btn i:first-child {
    margin-right: 12px;
    font-size: 20px;
    color: var(--color-primary);
    opacity: 0.8;
  }

  .accordion-btn .arrow-icon {
    margin-left: auto;
    color: #94a3b8;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .accordion-btn.active .arrow-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
  }

  .accordion-content {
    background: #ffffff;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .accordion-content a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: #475569;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: background 0.2s, color 0.2s;
  }

  .accordion-content a:hover,
  .accordion-content a:active {
    background: #f8fafc;
    color: var(--color-primary);
  }

  .accordion-content a i {
    margin-right: 12px;
    color: var(--color-primary);
    font-size: 14px;
    opacity: 0.7;
    width: 20px;
    text-align: center;
  }

  .accordion-content a:last-child {
    border-bottom: none;
  }

  /* 6. App-like Background & Structural Resets */
  html, body {
    overflow-x: hidden !important;
    background-color: #f4f6fa !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Safe area: push page content above the fixed bottom nav */
  .page-footer {
    padding-bottom: 90px !important;
  }

  /* 7. Hero Section Restyling */
  .hormann-hero-wrapper {
    margin-top: 60px;
    height: 500px !important;
    min-height: 500px !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    background-color: #1a202c !important;
  }

  .hero-slider {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    min-height: 100% !important;
    border-radius: 0 !important;
    overflow: hidden;
    z-index: 0;
  }

  .slider-progress-container {
    z-index: 10 !important;
    background: rgba(255, 255, 255, 0.2) !important;
  }

  .slide {
    background-size: cover !important;
    background-position: center !important;
  }

  .slider-pagination {
    bottom: 20px !important;
    z-index: 5;
  }

  .slider-pagination .dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    opacity: 0.5;
  }

  .slider-pagination .dot.active {
    opacity: 1;
    width: 24px !important;
    border-radius: 4px !important;
  }

  .prev-arrow,
  .next-arrow {
    display: none !important;
    /* Hide arrows on mobile — use swipe */
  }

  .hormann-hero-text {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 60px 24px 30px 24px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%) !important;
    border-radius: 0 0 32px 32px;
    text-align: left !important;
    max-width: none !important;
    width: 100% !important;
    z-index: 5 !important;
  }

  .hormann-hero-text h1 {
    font-size: 22px !important;
    color: #ffffff !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    margin: 0 !important;
  }

  .hormann-hero-text h1 br {
    display: none !important;
  }

  .hormann-hero-text p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 6px 0 0 0 !important;
    text-shadow: none !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  /* 8. Quick Links - Horizontal Swipe Pills */
  .quick-links-container {
    position: relative !important;
    z-index: 5 !important;
    padding: 0 0 40px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .quick-links {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 8px 16px !important;
    overflow: hidden !important;
  }

  .quick-link-item {
    width: 100% !important;
    min-width: auto !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 16px 14px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    border: none !important;
    transform: none !important;
    text-align: center !important;
    text-decoration: none !important;
    color: #1e293b !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
  }

  .quick-link-item i {
    font-size: 20px !important;
    margin: 0 auto 10px auto !important;
    color: var(--color-primary) !important;
    background: #eef4ff;
    width: 42px;
    height: 42px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .quick-link-item .fa-whatsapp {
    color: #25D366 !important;
    background: #e8f8ef !important;
  }

  .quick-link-item span.ql-sub {
    display: block;
    font-size: 11px !important;
    color: #94a3b8 !important;
    margin-top: 4px;
    font-weight: 400 !important;
  }

  /* 9. Section Headings */
  .section-heading {
    padding: 0 16px !important;
    margin-bottom: 6px !important;
    text-align: left !important;
    font-size: 22px !important;
    color: #1e293b !important;
  }

  .section-desc {
    padding: 0 16px !important;
    text-align: left !important;
    font-size: 14px !important;
    color: #64748b !important;
    margin-bottom: 16px !important;
  }

  /* 10. Expertise Section */
  .expertise-section {
    background-color: transparent !important;
    padding: 25px 0 !important;
  }

  .expertise-inner {
    padding: 0 !important;
  }

  .expertise-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 8px 16px 20px 16px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .expertise-card {
    width: 100% !important;
    flex: auto !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    transform: none !important;
    padding: 22px 18px !important;
    text-align: left !important;
  }

  .expertise-card .exp-icon {
    margin: 0 0 12px 0 !important;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    border-radius: 14px;
    font-size: 22px;
  }

  .expertise-card h3 {
    font-size: 16px !important;
    margin-bottom: 8px !important;
    color: #1e293b !important;
  }

  .expertise-card p {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
  }

  /* 11. Products / Solutions Grid — Full-Width Cards Feed */
  .catalog-section {
    background: transparent !important;
    padding: 25px 0 !important;
  }

  .products-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 0 16px !important;
    grid-template-columns: unset !important;
  }

  .product-item {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
  }

  .product-item:hover {
    transform: none !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
  }

  .product-image-wrapper {
    flex: 0 0 120px !important;
    height: auto !important;
    min-height: 120px;
    border-bottom: none !important;
    border-radius: 18px 0 0 18px !important;
    padding: 0 !important;
  }

  .product-image-wrapper img {
    object-fit: cover !important;
    border-radius: 18px 0 0 18px;
  }

  .product-content {
    padding: 16px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .product-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    color: #1e293b !important;
  }

  .product-desc {
    font-size: 12px !important;
    margin-bottom: 10px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-cta {
    font-size: 12px !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    background: #eef4ff !important;
    border: none !important;
    color: var(--color-primary) !important;
    font-weight: 600 !important;
    width: auto !important;
    align-self: flex-start;
  }

  /* 12. Contact CTA Section — Mobile Card */
  .contact-cta-section {
    background: transparent !important;
    padding: 10px 16px 20px 16px !important;
  }

  .contact-cta-inner {
    background: linear-gradient(135deg, var(--color-primary) 0%, #001f42 100%);
    border-radius: 22px !important;
    padding: 28px 22px !important;
    flex-direction: column !important;
    text-align: left !important;
    gap: 20px !important;
  }

  .contact-cta-text h2 {
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }

  .contact-cta-text p {
    font-size: 13px !important;
  }

  .contact-details-list {
    gap: 8px !important;
  }

  .cd-item {
    font-size: 12px !important;
  }

  .contact-cta-actions {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .cta-btn {
    border-radius: 14px !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .cta-btn-phone {
    background: #ffffff !important;
  }

  .cta-btn-whatsapp {
    border-radius: 14px !important;
  }

  .cta-btn-map {
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }

  /* 13. Footer — Clean Minimal */
  .page-footer {
    background: #ffffff !important;
    border-top: none !important;
    border-radius: 28px 28px 0 0 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
    padding: 30px 16px 100px 16px !important;
    margin-top: 0 !important;
  }

  .footer-content {
    flex-direction: column !important;
    gap: 24px !important;
    padding: 0 !important;
  }

  .footer-col {
    flex: none !important;
  }

  .footer-col h4 {
    font-size: 15px !important;
    color: #1e293b !important;
    margin-bottom: 10px !important;
  }

  .footer-col p,
  .footer-col ul li a {
    font-size: 13px !important;
    color: #64748b !important;
  }

  .footer-col ul li {
    margin-bottom: 6px !important;
  }

  .footer-col ul li a i {
    width: 22px;
    color: var(--color-primary);
  }

  .footer-bottom {
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid #f1f5f9 !important;
    font-size: 11px !important;
    color: #94a3b8 !important;
  }

  /* 14. Subpage Optimizations */
  .category-hero {
    margin-top: 60px;
    border-radius: 0 0 32px 32px !important;
    background: linear-gradient(135deg, var(--color-primary) 0%, #001f42 100%) !important;
    padding: 30px 20px 35px 20px !important;
    box-shadow: 0 10px 25px rgba(0, 59, 126, 0.15);
  }

  .category-hero-inner {
    flex-direction: column;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 16px !important;
  }

  .category-hero-icon {
    width: 52px !important;
    height: 52px !important;
    font-size: 24px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border-radius: 16px !important;
  }

  .category-hero-text h1 {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
  }

  .category-hero-text p {
    font-size: 14px !important;
    opacity: 0.85;
  }

  /* Sub-Products Cards Feed */
  .main-content {
    padding: 16px !important;
  }

  .category-content {
    padding: 0 !important;
  }

  .sub-products-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 0 !important;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 0 !important;
  }

  .sub-product-card {
    background: #ffffff;
    border-radius: 18px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    overflow: hidden;
  }

  .sub-product-thumb {
    height: 200px !important;
    border-radius: 18px 18px 0 0 !important;
  }

  .sub-product-body {
    padding: 20px !important;
  }

  .sub-product-body h3 {
    font-size: 17px !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
  }

  .sub-product-body p {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
  }

  .sub-product-cta {
    display: block !important;
    text-align: center;
    background: #eef4ff !important;
    color: var(--color-primary) !important;
    padding: 13px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-top: 14px;
    border: none !important;
  }

  /* Breadcrumb on mobile */
  .breadcrumb {
    padding: 12px 16px !important;
    font-size: 12px !important;
  }

  /* 15. Brand Cards (if present on subpages) */
  .brand-card {
    border-radius: 18px !important;
    margin: 0 0 16px 0 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
  }

  /* 16. Feature items on subpages */
  .feature-item {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    border: none !important;
    padding: 20px !important;
  }
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-quint), transform 0.8s var(--ease-out-quint);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out-quint), transform 0.8s var(--ease-out-quint);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out-quint), transform 0.8s var(--ease-out-quint);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delay for children */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

/* =============================================
   SCROLL TO TOP BUTTON
   ============================================= */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 25px rgba(0, 91, 168, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-spring);
  z-index: 999;
}

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

.scroll-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 91, 168, 0.4);
}

@media (max-width: 991px) {
  .scroll-to-top {
    bottom: 90px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

/* =============================================
   STATS / COUNTER SECTION
   ============================================= */
.stats-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.stats-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

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

.stat-item {
  color: #fff;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-number {
    font-size: 32px;
  }
}

/* =============================================
   ENHANCED HOVER TRANSITIONS
   ============================================= */
.product-item {
  transition: transform 0.4s var(--ease-out-quint), box-shadow 0.4s var(--ease-out-quint);
}

.product-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 91, 168, 0.12);
}

.expertise-card {
  transition: transform 0.4s var(--ease-out-quint), box-shadow 0.4s var(--ease-out-quint);
}

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* =============================================
   FAQ SECTION STYLES
   ============================================= */
.faq-section {
  padding: 80px 0;
  background-color: #f8fafc;
}

.faq-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

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

.faq-item {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 30px rgba(0, 91, 168, 0.05);
  border-color: rgba(0, 91, 168, 0.1);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-arrow {
  font-size: 14px;
  color: #94a3b8;
  transition: transform 0.3s var(--ease-spring);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 28px;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 22px;
  max-height: 300px;
  /* high enough limit */
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.testimonials-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

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

.testimonial-card {
  background: #f8fafc;
  border-radius: 24px;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.4s var(--ease-out-quint), box-shadow 0.4s var(--ease-out-quint);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 91, 168, 0.08);
  border-color: rgba(0, 91, 168, 0.1);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 15px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e2e8f0;
  padding-top: 15px;
}

.author-avatar {
  font-size: 32px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
}

.author-location {
  font-size: 12px;
  color: #64748b;
}

@media (max-width: 991px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* =============================================
   PARTNER LOGOS STRIP & FOOTER MAPS
   ============================================= */
.partner-logos-strip {
  padding: 50px 0;
  background-color: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}

.partner-logos-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.partner-logo-item {
  height: 38px;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.partner-logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}

.partner-logo-item img {
  max-height: 100%;
  object-fit: contain;
}

.footer-map-container {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: 15px;
  border: 1px solid #e2e8f0;
}

.footer-map-container iframe {
  display: block;
  width: 100%;
  border: none;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 16px;
  text-decoration: none;
}

.social-icon:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}

@media (max-width: 991px) {
  .partner-logos-strip {
    padding: 30px 0;
  }

  .partner-logos-inner {
    gap: 20px;
  }

  .partner-logo-item {
    height: 30px;
  }
}

/* =============================================
   WHY CHOOSE US SECTION
   ============================================= */
.why-choose-us {
  padding: 80px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.why-choose-us-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  gap: 50px;
  align-items: center;
}

.why-text {
  flex: 1.2;
}

.why-tagline {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: inline-block;
}

.why-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1.25;
  margin-bottom: 20px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.why-feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.w-feat-icon {
  font-size: 22px;
  color: var(--color-success);
  margin-top: 2px;
}

.w-feat-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

.w-feat-content p {
  font-size: 14px;
  color: var(--color-text-medium);
  line-height: 1.6;
}

.why-stats {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.why-stat-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
}

.why-stat-card:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 30px rgba(0, 91, 168, 0.06);
}

.why-stat-number {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.why-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-medium);
}

/* =============================================
   BUTTON MICRO-INTERACTIONS
   ============================================= */
.cta-btn,
.product-cta,
.sub-product-cta {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-spring) !important;
}

.cta-btn:hover,
.product-cta:hover,
.sub-product-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 91, 168, 0.2) !important;
}

.cta-btn:active,
.product-cta:active,
.sub-product-cta:active {
  transform: translateY(-1px) scale(0.98);
}

.cta-btn-whatsapp:hover {
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25) !important;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo img {
  animation: logoFadeIn 0.8s var(--ease-out-quint) forwards;
}

@media (max-width: 991px) {
  .why-choose-us {
    padding: 60px 0;
  }

  .why-choose-us-inner {
    flex-direction: column;
    gap: 40px;
  }

  .why-text h2 {
    font-size: 26px;
  }
}

/* --- PERFORMANCE & CONTAINMENT OPTIMIZATIONS (PHASE 4) --- */

/* CSS Containment to speed up initial rendering */
#iletisim,
.contact-cta-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 300px;
}

.faq-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

.partner-logos-strip {
  content-visibility: auto;
  contain-intrinsic-size: 1px 100px;
}

.footer-map-container {
  content-visibility: auto;
  contain-intrinsic-size: 1px 150px;
}

/* GPU Hardware Acceleration for smoother animations */
.hero-slider .slide {
  will-change: opacity;
}

/* --- LOCAL SEO SECTION STYLES --- */
.local-seo-section {
  display: none !important;
}

.local-seo-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.local-seo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.local-seo-content h2 {
  font-size: 28px;
  color: var(--color-secondary);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.local-seo-content h2 span {
  color: var(--color-primary);
}

.local-seo-text p {
  color: var(--color-text-medium);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.local-seo-regions {
  background: #ffffff;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--color-border);
}

.local-seo-regions h3 {
  font-size: 18px;
  color: var(--color-secondary);
  margin-bottom: 15px;
  font-weight: 700;
}

.local-seo-regions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.local-seo-region-badge {
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: default;
}

.local-seo-region-badge:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .local-seo-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .local-seo-content h2 {
    font-size: 22px;
  }
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
