/* ==========================================================================
   Sabt Javid - Modern RTL Corporate CSS Stylesheet
   ========================================================================== */

/* 1. CSS Variables & Theme Options */
:root {
  /* Color Palette */
  --primary-navy: #0f2b48;
  --primary-dark: #0a1b2e;
  --navy-light: #183b60;
  --accent-gold: #d4af37;
  --accent-gold-hover: #b89528;
  --accent-teal: #00a896;
  --accent-teal-hover: #00897b;
  
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-section-alt: #f1f5f9;
  
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  --border-color: #e2e8f0;
  --border-focus: #00a896;
  
  /* Fonts */
  --font-fa: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 43, 72, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 43, 72, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 43, 72, 0.12);
  --shadow-hover: 0 20px 45px rgba(15, 43, 72, 0.18);
  
  /* Transitions */
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-in-out;
}

/* 2. Global Resets & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
}

body {
  font-family: var(--font-fa);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.text-center { text-align: center; }

/* 3. Helper Badges & Headers */
.section-subtitle {
  display: inline-block;
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-teal));
  margin: 0 auto 16px auto;
  border-radius: 2px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 40px auto;
}

/* 4. Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-primary {
  background-color: var(--accent-teal);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 168, 150, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 168, 150, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, #eab308, var(--accent-gold));
  color: var(--primary-dark);
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* 5. Top Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-contacts {
  display: flex;
  gap: 20px;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
}

.top-link:hover {
  color: var(--accent-gold);
}

.top-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold);
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-teal);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 168, 150, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 168, 150, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 168, 150, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 168, 150, 0); }
}

/* 6. Header Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(15, 43, 72, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
  background-color: rgba(10, 27, 46, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-teal));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 2px;
}

.logo-text.light .logo-title { color: #ffffff; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-normal);
  border: 1px solid var(--border-color);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.dropdown-item svg {
  color: var(--accent-teal);
}

.dropdown-item:hover {
  background-color: var(--bg-section-alt);
  color: var(--accent-teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* 7. Mobile Drawer Navigation */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--primary-dark);
  z-index: 1100;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.drawer-close {
  font-size: 2rem;
  color: #ffffff;
  line-height: 1;
}

.drawer-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.drawer-link {
  color: #cbd5e1;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-link:hover, .drawer-link.active {
  color: var(--accent-gold);
}

.drawer-contact-box {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-contact-box p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.drawer-phone {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 4px;
}

/* 8. Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 60%, var(--navy-light) 100%);
  color: #ffffff;
  padding: 80px 0 100px 0;
  overflow: hidden;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}

.shape-1 {
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background-color: var(--accent-gold);
}

.shape-2 {
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background-color: var(--accent-teal);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 168, 150, 0.15);
  border: 1px solid rgba(0, 168, 150, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--accent-teal);
  margin-bottom: 24px;
  font-weight: 600;
}

.badge-icon {
  width: 18px;
  height: 18px;
  background-color: var(--accent-teal);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.highlight-text {
  background: linear-gradient(135deg, #fef08a, var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.trust-item svg {
  color: var(--accent-teal);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Lead Form Card */
.hero-form-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-card-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.form-card-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group .req { color: #ef4444; }

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background-color: #f8fafc;
  transition: var(--transition-fast);
  color: var(--text-primary);
}

.form-input:focus {
  border-color: var(--border-focus);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.15);
}

.form-group.error .form-input {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.error-msg {
  display: none;
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 4px;
}

.form-group.error .error-msg {
  display: block;
}

.form-footer-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* 9. Services Section */
.services-section {
  background-color: var(--bg-body);
}

.services-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.tab-btn.active {
  background-color: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  box-shadow: var(--shadow-md);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 168, 150, 0.3);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(0, 168, 150, 0.1);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-section-alt);
  color: var(--text-muted);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-meta {
  padding-top: 16px;
  border-top: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-service-detail {
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-service-detail:hover {
  gap: 10px;
  color: var(--primary-navy);
}

/* 10. Features Section ("چرا هلدینگ جاوید؟") */
.features-section {
  background-color: var(--bg-section-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon-wrapper.gold { background: rgba(212, 175, 55, 0.15); color: var(--accent-gold); }
.feature-icon-wrapper.teal { background: rgba(0, 168, 150, 0.15); color: var(--accent-teal); }
.feature-icon-wrapper.navy { background: rgba(15, 43, 72, 0.15); color: var(--primary-navy); }

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.feature-list li {
  position: relative;
  padding-right: 22px;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--accent-teal);
  font-weight: bold;
}

/* 11. Statistics Counter Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-dark));
  color: #ffffff;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-card {
  padding: 20px;
}

.stat-number {
  display: inline-block;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
}

.stat-plus {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-teal);
}

.stat-label {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-top: 10px;
  font-weight: 500;
}

/* 12. About Section */
.about-section {
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.about-card-banner {
  background: linear-gradient(135deg, var(--primary-navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.banner-badge {
  display: inline-block;
  padding: 4px 14px;
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.banner-inner h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  font-weight: 800;
}

.banner-inner p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.check-item svg {
  color: var(--accent-teal);
}

.about-text-column .section-title {
  text-align: right;
}

.about-text-column .title-line {
  margin: 0 0 20px 0;
}

.about-paragraph {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.office-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.mini-office-card {
  background-color: var(--bg-section-alt);
  padding: 16px;
  border-radius: var(--radius-md);
  border-right: 4px solid var(--accent-teal);
}

.mini-office-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.mini-office-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* 13. Articles Section */
.articles-section {
  background-color: var(--bg-body);
}

.articles-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 380px;
}

.search-box svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-box input {
  width: 100%;
  padding: 10px 42px 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  background-color: #ffffff;
}

.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-btn {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.tag-btn.active {
  background-color: var(--accent-teal);
  color: #ffffff;
  border-color: var(--accent-teal);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.article-image-box {
  height: 190px;
  background-color: var(--primary-navy);
  position: relative;
  overflow: hidden;
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-img {
  transform: scale(1.05);
}

.article-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(15, 43, 72, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-title-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
  line-height: 1.5;
}

.article-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.btn-read-more {
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-read-more:hover {
  color: var(--accent-gold);
}

/* 14. FAQ Section */
.faq-section {
  background-color: #ffffff;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: right;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  background-color: #ffffff;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--accent-teal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  background-color: var(--bg-body);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.35s ease-in-out;
}

.faq-answer-content {
  padding: 0 24px 20px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* 15. Contact Section */
.contact-section {
  background-color: var(--bg-section-alt);
}

.contact-card-wrapper {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-info-col {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-navy));
  color: #ffffff;
  padding: 40px;
}

.contact-info-col h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.contact-intro {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 32px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 42px;
  height: 42px;
  background: rgba(0, 168, 150, 0.15);
  border-radius: var(--radius-md);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-label {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 2px;
}

.info-val, .phone-link {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 600;
}

.phone-link:hover { color: var(--accent-gold); }

.contact-form-col {
  padding: 40px;
}

.contact-form-col h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 24px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group.half {
  flex: 1;
}

/* 16. Footer */
.footer {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  padding: 70px 0 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.brand-col .logo-text {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--accent-teal);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 3px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-right: 4px;
}

.footer-contact p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.footer-contact a {
  color: var(--accent-teal);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
}

/* 17. Modal System */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 27, 46, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-backdrop.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-dialog {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 750px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  padding: 36px;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.modal-backdrop.hidden .modal-dialog {
  transform: translateY(20px);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1.8rem;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-section-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background-color: #ef4444;
  color: #ffffff;
}

.modal-header-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 16px;

}

.modal-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin: 20px 0 10px 0;
}

/* 18. Toast Notification System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  min-width: 280px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background-color: var(--primary-navy);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastSlideIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

.toast.success { border-right: 5px solid var(--accent-teal); }
.toast.error { border-right: 5px solid #ef4444; }

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* 19. Floating Action Buttons */
.floating-call-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-teal), #00897b);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 168, 150, 0.4);
  z-index: 900;
  transition: var(--transition-normal);
}

.floating-call-fab:hover {
  transform: scale(1.1);
}

.back-to-top {
  position: fixed;
  bottom: 90px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
  transition: var(--transition-normal);
}

.back-to-top.hidden {
  opacity: 0;
  pointer-events: none;
}

.back-to-top:hover {
  background-color: var(--primary-navy);
  color: #ffffff;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

.spinner.hidden { display: none; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 20. Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .top-bar-content {
    justify-content: center;
    text-align: center;
  }
  .form-row {
    flex-direction: column;
  }
  .office-cards-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn-header {
    display: none;
  }
}