/* ==========================================================================
   ÖZERDEM GROUP - Bespoke Corporate & Industrial Stylesheet
   International Enterprise Standards (Grounded Industrial Layout, Zero AI Cliches)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --oz-navy-dark: #071321;       /* Deep Architectural Navy */
  --oz-navy-surface: #0b1c30;    /* Slate Navy */
  --oz-navy-light: #162f4e;      /* Accent Navy */
  --oz-primary: #0e294b;
  --oz-accent-gold: #c99834;     /* Refined Brushed Bronze Gold */
  --oz-accent-gold-hover: #b08226;
  --oz-accent-red: #d92d20;      /* Maxfiree Flame Red */
  --oz-bg-light: #f8fafc;        /* Clean Architectural Chalk */
  --oz-card-bg: #ffffff;
  --oz-border-light: #e2e8f0;
  --oz-border-dark: rgba(255, 255, 255, 0.12);
  --oz-text-primary: #0f172a;    /* Charcoal Ink */
  --oz-text-secondary: #475569;  /* Muted Steel */
  --oz-text-muted: #94a3b8;
  --oz-radius-sm: 4px;
  --oz-radius: 8px;
  --oz-radius-lg: 12px;
  --oz-shadow-subtle: 0 4px 18px -2px rgba(15, 23, 42, 0.05);
  --oz-shadow-hover: 0 16px 32px -4px rgba(15, 23, 42, 0.08);
  --oz-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--oz-text-secondary);
  background-color: var(--oz-bg-light);
  line-height: 1.65;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--oz-text-primary);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

/* ================= Top Bar: Rock-Solid Zero-Shift ================= */
.top-bar-corporate {
  background: #050d17;
  color: #cbd5e1;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0;
  line-height: 1.4;
}
.top-legal-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #f1f5f9;
  white-space: nowrap;
}
.top-bar-corporate a {
  color: #e2e8f0;
  text-decoration: none;
  transition: var(--oz-transition);
}
.top-bar-corporate a:hover {
  color: #fff;
}

/* Language Bar (Always Single Line, Compact) */
.top-lang-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.top-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.70rem;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  transition: var(--oz-transition);
  white-space: nowrap;
}
.top-lang-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}
.top-lang-btn.active {
  color: #071321;
  background: var(--oz-accent-gold);
  border-color: var(--oz-accent-gold);
  font-weight: 800;
}
.flag-icon {
  width: 14px;
  height: 10px;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* ================= Sticky Executive Navbar ================= */
.navbar-corporate {
  background: #071321;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1040;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: block;
}
.brand-subtitle {
  font-size: 0.62rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
}

.navbar-nav .nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: var(--oz-transition);
  border-radius: var(--oz-radius-sm);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-menu-dark-corp {
  background: #071321;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--oz-radius);
  box-shadow: 0 20px 45px rgba(0,0,0,0.4);
  padding: 8px;
  min-width: 250px;
}
.dropdown-menu-dark-corp .dropdown-item {
  color: #cbd5e1;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 4px;
  transition: var(--oz-transition);
  display: flex;
  align-items: center;
  gap: 10px;
}
.dropdown-menu-dark-corp .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.dropdown-menu-dark-corp .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-contact-top {
  background: var(--oz-accent-gold);
  color: #071321 !important;
  font-weight: 700;
  font-size: 0.80rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  border-radius: var(--oz-radius-sm);
  border: none;
  transition: var(--oz-transition);
  display: inline-flex;
  align-items: center;
}
.btn-contact-top:hover {
  background: var(--oz-accent-gold-hover);
  color: #fff !important;
}

/* ================= CORPORATE HERO SLIDER (ALL SECTORS) ================= */
.hero-slider-corporate {
  position: relative;
  background: #071321;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-slider-corporate .carousel-item {
  min-height: 580px;
  position: relative;
  background-color: #071321;
}
.slider-bg-wrap {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}
.slider-bg-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 7s ease-out;
}
.carousel-item.active .slider-bg-wrap img {
  transform: scale(1.05);
}
.slider-overlay-gradient {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(7, 19, 33, 0.95) 0%, rgba(7, 19, 33, 0.86) 48%, rgba(7, 19, 33, 0.40) 85%, rgba(7, 19, 33, 0.20) 100%);
  z-index: 2;
}
.slider-content-container {
  position: relative;
  z-index: 3;
  padding: 95px 0 115px;
  max-width: 820px;
}
.slider-sector-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oz-accent-gold);
  margin-bottom: 20px;
}
.slider-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}
.slider-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 740px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.slider-spec-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.slider-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.slider-spec-item i {
  color: var(--oz-accent-gold);
  font-size: 1rem;
}

/* Subtle editorial slide entrance animation */
.carousel-item.active .slider-sector-badge {
  animation: fadeInUpCorp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.carousel-item.active .slider-title {
  animation: fadeInUpCorp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.carousel-item.active .slider-desc {
  animation: fadeInUpCorp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.carousel-item.active .slider-spec-strip {
  animation: fadeInUpCorp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.carousel-item.active .slider-content-container .d-flex {
  animation: fadeInUpCorp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

@keyframes fadeInUpCorp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Sector Navigation Tabs Bar */
.hero-sector-tabs-bar {
  background: #050e18;
  border-bottom: 1px solid var(--oz-border-light);
  position: relative;
  z-index: 10;
}
.hero-sector-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  text-align: left;
  width: 100%;
  transition: var(--oz-transition);
  position: relative;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
}
.hero-sector-tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}
.hero-sector-tab-btn.active {
  background: #0b1a2c;
  color: #ffffff;
}
.hero-sector-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--oz-accent-gold);
  width: 0%;
  animation: heroTabProgressBar 8.5s linear forwards;
}
.hero-sector-tab-btn[data-bs-slide-to="1"].active::after {
  background: #ff7b72;
}
.hero-sector-tab-btn[data-bs-slide-to="2"].active::after {
  background: #fbbf24;
}
.hero-sector-tab-btn[data-bs-slide-to="3"].active::after {
  background: #38bdf8;
}

@keyframes heroTabProgressBar {
  0% { width: 0%; }
  100% { width: 100%; }
}

.tab-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--oz-accent-gold);
  line-height: 1;
}
.tab-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}
.tab-sub {
  font-size: 0.72rem;
  color: #64748b;
  display: block;
}
.hero-sector-tab-btn.active .tab-sub {
  color: #cbd5e1;
}

/* Slider Controls */
.carousel-control-prev-custom,
.carousel-control-next-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: rgba(7, 19, 33, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 15;
  transition: var(--oz-transition);
  cursor: pointer;
}
.carousel-control-prev-custom { left: 24px; }
.carousel-control-next-custom { right: 24px; }
.carousel-control-prev-custom:hover,
.carousel-control-next-custom:hover {
  background: var(--oz-accent-gold);
  color: #071321;
  border-color: var(--oz-accent-gold);
}

/* Subpage Hero Editorial */
.hero-editorial {
  background: linear-gradient(135deg, #071321 0%, #0d223a 100%);
  position: relative;
  overflow: hidden;
  padding: 65px 0 75px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.badge-live-corporate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: 4px;
  color: #e2e8f0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-media-wrap {
  position: relative;
  border-radius: var(--oz-radius);
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-media-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
.hero-floating-pill {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(7, 19, 33, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--oz-radius-sm);
  padding: 12px 16px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ================= Refined Statistics Strip ================= */
.stats-strip-clean {
  background: #ffffff;
  border-bottom: 1px solid var(--oz-border-light);
  box-shadow: var(--oz-shadow-subtle);
}
.stat-box {
  padding: 26px 20px;
  border-right: 1px solid var(--oz-border-light);
}
.stat-box:last-child {
  border-right: none;
}
.stat-box-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--oz-primary);
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: -0.02em;
}
.stat-box-lbl {
  font-size: 0.80rem;
  color: var(--oz-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ================= Bespoke Sector Cards ================= */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oz-accent-gold);
  margin-bottom: 10px;
}
.section-title-editorial {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--oz-text-primary);
  margin-bottom: 12px;
}
.section-desc-editorial {
  font-size: 1.05rem;
  color: var(--oz-text-secondary);
  max-width: 680px;
}

.sector-card-bespoke {
  background: var(--oz-card-bg);
  border: 1px solid var(--oz-border-light);
  border-radius: var(--oz-radius);
  overflow: hidden;
  transition: var(--oz-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--oz-shadow-subtle);
}
.sector-card-bespoke:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--oz-shadow-hover);
}
.sector-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--oz-navy-dark);
}
.sector-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.sector-card-bespoke:hover .sector-card-img-wrap img {
  transform: scale(1.04);
}
.sector-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 19, 33, 0.92);
  color: #fff;
  font-size: 0.70rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sector-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.sector-card-title {
  font-size: 1.20rem;
  font-weight: 800;
  color: var(--oz-text-primary);
  margin-bottom: 10px;
}
.sector-card-desc {
  font-size: 0.88rem;
  color: var(--oz-text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.sector-spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.spec-pill {
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  padding: 4px 9px;
  border-radius: 4px;
}

.sector-cta-link {
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--oz-transition);
}
.sector-cta-link i {
  transition: transform 0.2s ease;
}
.sector-cta-link:hover i {
  transform: translateX(4px);
}

/* ================= Maxfiree Feature Section ================= */
.maxfiree-feature-wrap {
  background: linear-gradient(135deg, #0b1c30 0%, #06111e 100%);
  border-radius: var(--oz-radius);
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.35);
}
.spec-grid-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--oz-radius-sm);
  padding: 14px 16px;
}
.spec-grid-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--oz-accent-gold);
}
.spec-grid-lbl {
  font-size: 0.74rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ================= Principles Grid ================= */
.principle-box {
  background: #ffffff;
  border: 1px solid var(--oz-border-light);
  border-radius: var(--oz-radius);
  padding: 28px 22px;
  height: 100%;
  transition: var(--oz-transition);
}
.principle-box:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--oz-shadow-subtle);
}
.principle-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* ================= Corporate Footer ================= */
.footer-corporate {
  background: var(--oz-navy-dark);
  color: #cbd5e1;
  padding: 65px 0 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-corporate h5 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-corporate a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.86rem;
  transition: var(--oz-transition);
}
.footer-corporate a:hover {
  color: #fff;
  padding-left: 2px;
}
.footer-legal-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--oz-radius-sm);
  padding: 14px;
  font-size: 0.80rem;
  line-height: 1.5;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1050;
  text-decoration: none;
  transition: var(--oz-transition);
}
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

@media (max-width: 991px) {
  .slider-title { font-size: 2.3rem; }
  .slider-content-container { padding: 70px 0 90px; }
  .hero-slider-corporate .carousel-item { min-height: 520px; }
  .stat-box { border-right: none; border-bottom: 1px solid var(--oz-border-light); }
  .hero-media-wrap { margin-top: 30px; }
  .hero-media-wrap img { height: 320px; }
  .carousel-control-prev-custom { left: 10px; }
  .carousel-control-next-custom { right: 10px; }
}

@media (max-width: 767px) {
  .hero-sector-tab-btn { padding: 12px 14px; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .top-bar-corporate .top-legal-title { font-size: 0.70rem; }
}
