﻿/* =============================================
   NORTH SAFE GROUP - Style Sheet
   All color variables defined here for easy theming
   ============================================= */

:root {
  /* Primary Colors */
  --primary-dark: #0a1f3e;
  --primary: #0f2b5c;
  --primary-light: #1a4a7a;
  --primary-lighter: #2a6a9a;

  /* Accent Colors */
  --accent: #c8962e;
  --accent-light: #e8c86a;
  --accent-dark: #a67c1e;
  --accent-rgb: 200, 150, 46;

  /* Text Colors */
  --text-dark: #1a1a2e;
  --text-muted: #6c757d;
  --text-light: #ffffff;
  --text-body: #4a4a5a;

  /* Background Colors */
  --bg-light: #f4f6f9;
  --bg-white: #ffffff;
  --bg-dark: #0a1a2e;
  --bg-darker: #060f1e;

  /* Border & Divider */
  --border: #e0e4e8;
  --border-light: #f0f2f5;

  /* Utility */
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 5px 25px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 50px rgba(0,0,0,0.12);
  --shadow-accent: 0 5px 20px rgba(var(--accent-rgb), 0.3);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--bg-white);
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== SECTION TITLES ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .subtitle {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.section-header h2 span {
  color: var(--accent);
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar a {
  color: rgba(255,255,255,0.8);
  margin-right: 20px;
  font-size: 0.85rem;
}

.top-bar a:hover {
  color: var(--accent-light);
}

.top-bar .lang-switch {
  cursor: pointer;
  padding: 3px 10px;
  border-radius: 3px;
  transition: var(--transition);
  font-size: 0.82rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--text-light);
}

.top-bar .lang-switch:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

.top-bar .social-links a {
  margin-left: 12px;
  font-size: 0.9rem;
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--primary-dark) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 150, 46, 0.2);
  padding: 0;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: 44px;
  position: relative;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text .name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--text-light);
}

.logo-text .tagline {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-top: 3px;
}

.navbar .nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-weight: 500;
  padding: 28px 14px !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  transition: color 0.25s;
}

.navbar .nav-link:hover {
  color: var(--accent-light) !important;
}

.navbar .nav-link.nav-cta {
  background: var(--accent);
  color: var(--text-light) !important;
  padding: 9px 22px !important;
  border-radius: 2px;
  font-weight: 600 !important;
  transition: background 0.25s !important;
}

.navbar .nav-link.nav-cta:hover {
  background: var(--accent-light) !important;
  color: var(--text-dark) !important;
}

.navbar-brand img {
  height: 50px;
  width: auto;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 14px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: calc(100% - 28px);
}

.navbar .nav-link.dropdown-toggle::after {
  display: none;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(200,150,46,0.4);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/hero-bg.svg') center/cover no-repeat;
  opacity: 0.08;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(var(--accent-rgb), 0.08) 0%, transparent 50%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero h1 .highlight {
  color: var(--accent);
  display: block;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 20px 0 35px;
  line-height: 1.8;
}

.hero-buttons .btn {
  padding: 14px 35px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  border-radius: 50px;
  margin-right: 15px;
  transition: var(--transition);
}

.btn-accent {
  background: var(--accent);
  color: var(--text-light);
  border: 2px solid var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline-accent {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-accent:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-stats {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stats .stat-item h3 {
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0;
}

.hero-stats .stat-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin: 5px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--bg-white);
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-image .experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--text-light);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
}

.about-image .experience-badge h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  line-height: 1;
}

.about-image .experience-badge p {
  font-size: 0.75rem;
  margin: 5px 0 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.about-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.about-content h2 span {
  color: var(--accent);
}

.about-content p {
  color: var(--text-body);
  margin-bottom: 15px;
}

.about-features {
  margin-top: 25px;
}

.about-features .feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.about-features .feature-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--accent);
  font-size: 1.2rem;
}

.about-features .feature-text h6 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 3px;
}

.about-features .feature-text small {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--bg-light);
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 0 0 35px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card .card-img {
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-bottom: 25px;
  flex-shrink: 0;
}

.service-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .card-img img {
  transform: scale(1.08);
}

.service-card .card-body {
  padding: 0 25px 10px;
  flex: 1;
}

.service-card.no-image {
  padding: 40px 30px;
}

.service-card.no-image .card-body {
  padding: 0;
}

/* ===== PRODUCT PORTFOLIO TABS ===== */
.brand-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 50px;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.brand-tabs::-webkit-scrollbar {
  display: none;
}

.brand-tab {
  padding: 14px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  margin-bottom: 0;
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.brand-tab:hover {
  color: var(--primary);
}

.brand-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.brand-panel {
  display: none;
}

.brand-panel.active {
  display: block;
}

/* Brand Hero (two-column header for each tab) */
.brand-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
}

.brand-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-hero-overlay {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(10, 31, 62, 0.85);
  padding: 12px 20px;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.brand-hero-overlay .bname {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
}

.brand-hero-overlay .borigin {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-top: 2px;
}

.brand-hero-info .subtitle {
  margin-bottom: 10px;
}

.brand-hero-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.brand-hero-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.brand-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-hero-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent-dark);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

@media (max-width: 767px) {
  .brand-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .brand-hero-img {
    height: 220px;
  }
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  height: 200px;
  overflow: hidden;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .product-img img {
  transform: scale(1.06);
}

.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}

/* ─── DELIGHT SHOWCASE ─── */
.delight-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.delight-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.delight-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: default;
}

.delight-main .delight-img-wrap {
  height: 360px;
}

.delight-side .delight-img-wrap {
  height: 172px;
}

.delight-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.delight-img-wrap:hover img { transform: scale(1.06); }

.delight-img-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(7,47,58,0.85) 0%, transparent 100%);
  padding: 28px 16px 12px;
}

.delight-img-label span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-lt);
}

@media (max-width: 700px) {
  .delight-showcase { grid-template-columns: 1fr; }
  .delight-main .delight-img-wrap { height: 240px; }
  .delight-side { grid-template-columns: 1fr 1fr; }
  .delight-side .delight-img-wrap { height: 120px; }
}
/* ─── END DELIGHT SHOWCASE ─── */

.product-body {
  padding: 20px 22px 24px;
}

.product-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.product-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent-dark);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
}

@media (max-width: 767px) {
  .brand-tab {
    padding: 10px 16px;
    font-size: 0.72rem;
  }
  .product-img {
    height: 160px;
  }
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .icon {
  background: var(--accent);
  color: var(--text-light);
}

.service-card h5 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ===== INDUSTRIES ===== */
.industries {
  padding: 100px 0;
  background: var(--bg-white);
}

.industry-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  height: 280px;
  box-shadow: var(--shadow-sm);
}

.industry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.industry-item:hover img {
  transform: scale(1.08);
}

.industry-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 25px;
  background: linear-gradient(transparent, rgba(10, 31, 62, 0.95));
  color: var(--text-light);
}

.industry-item .overlay h5 {
  font-weight: 700;
  margin-bottom: 5px;
}

.industry-item .overlay p {
  font-size: 0.88rem;
  margin: 0;
  opacity: 0.8;
}

/* Markets Map Section (two-column with animated SVG) */
.markets-map {
  padding: 100px 0;
  background: var(--primary-dark);
}

.markets-map .section-header .subtitle {
  color: var(--accent-light);
}

.markets-map .section-header h2 {
  color: var(--text-light);
  margin-bottom: 20px;
}

.markets-map .section-header h2 span {
  color: var(--accent);
}

.markets-map .section-header p {
  color: rgba(255,255,255,0.65);
  margin: 0 0 30px;
  max-width: 540px;
}

.market-regions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.market-region {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,150,46,0.2);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: background 0.25s, border-color 0.25s;
}

.market-region:hover {
  background: rgba(200,150,46,0.08);
  border-color: var(--accent);
}

.market-region-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 4px;
}

.market-region-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.map-visual {
  position: relative;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-visual svg {
  width: 100%;
  max-width: 500px;
  opacity: 0.9;
}

@media (max-width: 991px) {
  .markets-map .section-header p {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .market-regions {
    margin-bottom: 40px;
  }
  .map-visual {
    min-height: 260px;
  }
}

/* ===== WHY US ===== */
.why-us {
  padding: 100px 0;
  background: var(--bg-light);
}

.why-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  height: 100%;
  text-align: center;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.why-card .why-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 20px;
  background: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
}

.why-card h5 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: var(--primary-dark);
  position: relative;
}

.testimonials .section-header h2 {
  color: var(--text-light);
}

.testimonials .section-header p {
  color: rgba(255,255,255,0.6);
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 35px;
  color: var(--text-light);
  transition: var(--transition);
  height: 100%;
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateY(-5px);
}

.testimonial-card .stars {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.testimonial-card .text {
  font-style: italic;
  line-height: 1.8;
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
}

.testimonial-card .author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-right: 15px;
}

.testimonial-card .author-info h6 {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-card .author-info small {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--bg-white);
}

.contact-info-card {
  background: var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--text-light);
  height: 100%;
}

.contact-info-card h4 {
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--accent);
}

.contact-info-card .info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-info-card .info-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  background: rgba(var(--accent-rgb), 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--accent);
  font-size: 1.1rem;
}

.contact-info-card .info-text h6 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 2px;
}

.contact-info-card .info-text p {
  margin: 0;
  font-size: 0.95rem;
}

.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  height: 100%;
}

.contact-form .form-control {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 0.92rem;
  transition: var(--transition);
  background: var(--bg-white);
}

.contact-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.contact-form textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.contact-form .btn-submit {
  background: var(--accent);
  color: var(--text-light);
  border: none;
  padding: 14px 40px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
}

.contact-form .btn-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.contact-form .alert {
  display: none;
  border-radius: var(--radius);
  margin-top: 15px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
  border-top: 1px solid rgba(200,150,46,0.15);
}

.footer h5 {
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer p {
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-logo {
  height: 50px;
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer .newsletter-form .form-control {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 12px 20px;
  color: var(--text-light);
  font-size: 0.88rem;
}

.footer .newsletter-form .form-control::placeholder {
  color: rgba(255,255,255,0.4);
}

.footer .newsletter-form .btn {
  background: var(--accent);
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  padding: 12px 25px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.footer .newsletter-form .btn:hover {
  background: var(--accent-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 50px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
  color: var(--accent);
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
}

.footer .logo .logo-text .name {
  color: var(--text-light);
}

.footer .footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--accent);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-accent);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

/* ===== MEGA MENU HOVER (Desktop only) ===== */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 0;
    animation: fadeInDown 0.3s ease forwards;
  }

  .dropdown > .dropdown-toggle {
    pointer-events: none;
  }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== RTL Support ===== */
body.rtl {
  direction: rtl;
  text-align: right;
}

body.rtl .navbar .nav-link::after {
  left: auto;
  right: 14px;
}

body.rtl .navbar .nav-link:hover::after,
body.rtl .navbar .nav-link.active::after {
  width: calc(100% - 28px);
}

body.rtl .mega-menu .dropdown-item {
  border-left: none;
  border-right: 3px solid transparent;
  padding-left: 12px;
  padding-right: 12px;
}

body.rtl .mega-menu .dropdown-item:hover {
  border-right-color: var(--accent);
  border-left-color: transparent;
}

body.rtl .top-bar a {
  margin-right: 0;
  margin-left: 20px;
}

body.rtl .top-bar .social-links a {
  margin-left: 0;
  margin-right: 12px;
}

body.rtl .about-features .feature-icon {
  margin-right: 0;
  margin-left: 15px;
}

body.rtl .contact-info-card .info-icon {
  margin-right: 0;
  margin-left: 15px;
}

body.rtl .testimonial-card .author-avatar {
  margin-right: 0;
  margin-left: 15px;
}

body.rtl .hero-buttons .btn {
  margin-right: 0;
  margin-left: 15px;
}

/* ===== RESPONSIVE (existing) ===== */
@media (max-width: 1199.98px) {
  .hero h1 { font-size: 3.2rem; }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--primary-dark);
    padding: 10px 0;
    border-radius: 0 0 12px 12px;
  }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero h1 { font-size: 2.8rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { margin-top: 40px; padding-top: 30px; }
  .hero-stats .stat-item { margin-bottom: 20px; }
  .about-image { margin-bottom: 40px; }
  .about { padding: 60px 0; }
  .services { padding: 60px 0; }
  .industries { padding: 60px 0; }
  .why-us { padding: 60px 0; }
  .testimonials { padding: 60px 0; }
  .contact { padding: 60px 0; }
  .nav-item.dropdown { position: relative; }
  .navbar .nav-link { padding: 12px 16px !important; }
  .navbar .nav-link::after { display: none; }
  .mega-menu {
    position: static !important;
    box-shadow: none;
    border: none;
    padding: 10px 0;
    width: 100%;
    background: transparent;
  }
  .mega-menu .container {
    padding: 0;
    max-width: 100%;
  }
  .mega-menu .row > div {
    margin-bottom: 8px;
  }
  .mega-menu .dropdown-header {
    font-size: 0.8rem;
    padding: 8px 12px;
    margin-bottom: 4px;
    background: rgba(var(--accent-rgb), 0.08);
    border-radius: 6px;
    border-bottom: none;
  }
  .mega-menu .dropdown-item {
    padding: 8px 16px;
    border-left: none;
    font-size: 0.88rem;
  }
  .mega-menu .dropdown-item small {
    font-size: 0.75rem;
  }
  .section-header h2 { font-size: 2rem; }
  .contact-info-card { margin-bottom: 30px; }
}

@media (max-width: 767.98px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-badge { font-size: 0.75rem; }
  .hero-buttons .btn { padding: 12px 25px; font-size: 0.8rem; margin-right: 8px; margin-bottom: 10px; }
  .section-header h2 { font-size: 1.7rem; }
  .section-header { margin-bottom: 40px; }
  .about-content h2 { font-size: 1.7rem; }
  .about-image .experience-badge { width: 100px; height: 100px; bottom: -15px; right: -15px; }
  .about-image .experience-badge h3 { font-size: 1.6rem; }
  .about-image .experience-badge p { font-size: 0.65rem; }
  .service-card { padding: 30px 20px; }
  .industry-item { height: 200px; }
  .testimonial-card { padding: 25px; }
  .contact-form { padding: 25px; }
  .contact-info-card { padding: 25px; }
  .footer { padding: 50px 0 0; }
  .footer .col-lg-3 { margin-bottom: 30px; }
  .top-bar .social-links { display: none; }
}

@media (max-width: 575.98px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.92rem; }
  .hero-stats .stat-item h3 { font-size: 1.5rem; }
  .section-header h2 { font-size: 1.5rem; }
  .navbar-brand img { height: 38px; }
  .about-image img { height: 280px; }
  .back-to-top { width: 38px; height: 38px; font-size: 1rem; bottom: 20px; right: 20px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader .spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

