/* ============================================
   مجموعة ستر آل راكان - Main Stylesheet
   ============================================
   
   TABLE OF CONTENTS:
   1. CSS Variables & Reset
   2. Typography & Utilities
   3. Navigation
   4. Hero Section
   5. About Section
   6. Values Section
   7. Stats Bar
   8. Companies Section
   9. Services Section
   10. Blog Section
   11. Contact Section
   12. CTA Section
   13. Footer
   14. Page Headers (inner pages)
   15. Companies Page
   16. Blog Page
   17. Contact Page
   18. Animations
   19. Responsive - Tablet (max-width: 992px)
   20. Responsive - Mobile (max-width: 768px)
   21. Responsive - Small Mobile (max-width: 480px)
   ============================================ */


/* ============================================
   1. CSS VARIABLES & RESET
   ============================================ */
:root {
  --gold: #C9A96E;
  --gold-light: #E0C992;
  --gold-dark: #A8884D;
  --dark: #1A1A1A;
  --darker: #111111;
  --charcoal: #2A2A2A;
  --gray-800: #333333;
  --gray-600: #666666;
  --gray-400: #999999;
  --gray-200: #E0E0E0;
  --gray-100: #F2F2F2;
  --white: #FFFFFF;
  --bg-section-alt: #F7F5F0;
  --text-body: #444444;
  --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.06);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Kufi Arabic', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.8;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}


/* ============================================
   2. TYPOGRAPHY & UTILITIES
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

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

/* Section header - centered title with gold underline */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.section-header p {
  color: var(--gray-600);
  font-size: 1rem;
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  
}

/* 
   Placeholder images - dashed border boxes
   Replace the <div class="img-placeholder"> with <img> tags
   pointing to your actual images in the /images folder.
*/
.img-placeholder {
  background: linear-gradient(135deg, var(--gray-200) 0%, #d5d5d5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  border: 2px dashed var(--gray-400);
  position: relative;
  overflow: hidden;
}

.img-placeholder .placeholder-icon {
  font-size: 2rem;
  opacity: 0.35;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.img-placeholder span {
  position: relative;
  z-index: 1;
}

/* Primary button - gold filled */
.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 2px solid var(--gold);
  cursor: pointer;
  font-family: inherit;
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

/* Outline button - gold border */
.btn-outline {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 2px solid var(--gold);
  cursor: pointer;
  font-family: inherit;
}

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


/* ============================================
   3. NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

/* Scrolled state - dark glass effect */
.navbar.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

/* Logo box - replace with actual logo image */
.nav-logo .logo-box {
  width: 45px;
  height: 45px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--white);
}

.nav-logo .logo-text {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}

/* Animated underline on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

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

/* Hamburger menu - visible on mobile only */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  display: block;
}

/* Hamburger active state (X shape) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================
   4. PAGES - show/hide logic
   ============================================ */
.page {
  display: none;
}

.page.active {
  display: block;
}


/* ============================================
   5. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background image container */
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--darker);
}

.hero-bg .img-placeholder {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  opacity: 0.5;
}

/* Dark gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(17, 17, 17, 0.3) 0%,
      rgba(17, 17, 17, 0.7) 60%,
      rgba(17, 17, 17, 0.95) 100%);
}

.hero-content {
  margin-top: 80px;
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 30px;
}

/* Subsidiary logos row in hero */
.hero-subsidiaries {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 20px 0;
  /* Optional: Add a very slight glass effect or dark tint 
     to ensure logos are visible over the background image */
  /* background: rgba(0, 0, 0, 0.2); */
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}

.hero-sub-logo {
  /* Removed fixed 300px width to keep them looking natural */
  height: 80px;
  width: auto;
  object-fit: contain;
  /* Removing previous styles */
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.hero-sub-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-content h1 .gold {
  color: var(--gold);
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 35px;
  line-height: 2;
}

/* Scroll down indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}


/* ============================================
   6. ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image .img-placeholder {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-md);
}

.about-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
}

.about-text p {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 2;
  text-align: justify;
}


/* ============================================
   7. VALUES SECTION
   ============================================ */
.values-section {
  background: var(--bg-section-alt);
}

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

.value-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.value-card:hover {
  transform: translateY(-6px);
  border-bottom-color: var(--gold);
}

/* Icon circle - uses Font Awesome icons */
.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
}

.value-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.value-card p {
  color: var(--gray-600);
  font-size: 0.88rem;
  line-height: 1.9;
  text-align: justify;
  text-align-last: center;
}


/* ============================================
   8. STATS BAR
   ============================================ */
.stats-bar {
  background: var(--gold);
  padding: 50px 0;
}

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

.stat-item h3 {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.85rem;
  opacity: 0.85;
}

.stat-item i {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: block;
  opacity: 0.7;
}


/* ============================================
   9. COMPANIES SECTION
   ============================================ */
.companies-section {
  background: var(--white);
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.company-card {
  background: var(--gray-100);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.1);
}

/* 
   Company card image - replace .img-placeholder with <img>
   pointing to images/company-transport.jpg etc.
*/
.company-card .img-placeholder {
  width: 100%;
  height: 200px;
  border-radius: 0;
  border: none;
  border-bottom: 2px dashed var(--gray-400);
}

.company-card-body {
  padding: 28px;
}

.company-card-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.company-card-body p {
  color: var(--gray-600);
  font-size: 0.88rem;
  line-height: 1.9;
  margin-bottom: 15px;
  text-align: justify;
}

.company-card-body a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.company-card-body a:hover {
  color: var(--dark);
}


/* ============================================
   10. SERVICES SECTION (dark background)
   ============================================ */
.services-section {
  background: var(--darker);
  color: var(--white);
}

.services-section .section-header h2 {
  color: var(--white);
}

.services-section .section-header p {
  color: rgba(255, 255, 255, 0.5);
}

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

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(201, 169, 110, 0.15);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
}

.service-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  line-height: 1.9;
  
}


/* ============================================
   11. BLOG SECTION
   ============================================ */
.blog-section {
  background: var(--bg-section-alt);
}

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

.blog-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.1);
}

.blog-card .img-placeholder {
  width: 100%;
  height: 200px;
  border-radius: 0;
  border: none;
  border-bottom: 2px dashed var(--gray-400);
}

.blog-card-body {
  padding: 25px;
}

.blog-card-meta {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
  line-height: 1.6;
}

.blog-card-body p {
  color: var(--gray-600);
  font-size: 0.85rem;
  line-height: 1.9;
}

.blog-more-wrap {
  text-align: center;
  margin-top: 40px;
}


/* ============================================
   12. CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 2;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-section-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-detail div span {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 2px;
}

.contact-detail div strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.contact-map .img-placeholder {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  margin-top: 25px;
}

/* Contact form */
.contact-form {
  background: var(--gray-100);
  padding: 40px;
  border-radius: var(--radius-lg);
}

.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 25px;
}

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

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--white);
  transition: var(--transition);
  color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

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

.form-submit-btn {
  width: 100%;
}


/* ============================================
   13. CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--darker) 0%, var(--charcoal) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 35px;
  font-size: 1rem;
}


/* ============================================
   14. FOOTER
   ============================================ */
.footer {
  background: var(--darker);
  color: rgba(255, 255, 255, 0.6);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer p {
  font-size: 0.85rem;
  line-height: 2;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

/* Social icons in footer */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
}


/* ============================================
   15. PAGE HEADERS (inner pages)
   ============================================ */
.page-header {
  background: var(--darker);
  padding: 160px 0 80px;
  text-align: center;
  color: var(--white);
  position: relative;
}

.page-header h1 {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  font-size: 0.85rem;
}

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

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
  color: rgba(255, 255, 255, 0.7);
}


/* ============================================
   16. COMPANIES PAGE - detailed sections
   ============================================ */
.company-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-200);
}

.company-detail:nth-child(even) {
  background: var(--bg-section-alt);
}

.company-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
}

/* Alternate layout - image on the other side */
.company-detail:nth-child(even) .company-detail-grid {
  direction: ltr;
}

.company-detail:nth-child(even) .company-detail-grid .company-detail-text {
  direction: rtl;
}

.company-detail-image .img-placeholder {
  width: 100%;
  height: 350px;
  border-radius: 14px;
}

.company-detail-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--dark);
}

.company-detail-text p {
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 2;
  margin-bottom: 25px;
}

/* Services list with gold diamond bullets */
.company-services-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.company-services-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-body);
  padding: 8px 0;
}

.company-services-list li i {
  color: var(--gold);
  font-size: 0.55rem;
}


/* ============================================
   17. BLOG PAGE
   ============================================ */
.blog-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-feed-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.blog-feed-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.1);
}

.blog-feed-card .img-placeholder {
  width: 100%;
  height: 220px;
  border-radius: 0;
  border: none;
  border-bottom: 2px dashed var(--gray-400);
}

.blog-feed-card .blog-card-body {
  padding: 25px;
}

.blog-tag {
  display: inline-block;
  background: rgba(201, 169, 110, 0.12);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.blog-feed-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.7;
}

.blog-feed-card p {
  color: var(--gray-600);
  font-size: 0.85rem;
  line-height: 1.9;
  margin-bottom: 15px;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}

.pagination a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  text-decoration: none;
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.pagination a.active,
.pagination a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}


/* ============================================
   18. CONTACT PAGE
   ============================================ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}

.contact-page-map .img-placeholder {
  width: 100%;
  height: 300px;
  border-radius: 14px;
  margin-bottom: 30px;
}

.contact-page-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}


/* ============================================
   19. ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================
   20. RESPONSIVE - Tablet (max-width: 992px)
   ============================================ */
@media (max-width: 992px) {
  .container {
    padding: 0 24px;
  }

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

  .section-header h2 {
    font-size: 2rem;
  }

  /* Stack two-column layouts */
  .about-grid,
  .contact-grid,
  .contact-page-grid,
  .company-detail-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  /* Two columns on tablet */
  .companies-grid,
  .values-grid,
  .services-grid,
  .blog-grid,
  .blog-feed-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .about-image .img-placeholder {
    height: 320px;
  }

  .company-detail-image .img-placeholder {
    height: 280px;
  }

  /* Reset alternating layout direction on tablet */
  .company-detail:nth-child(even) .company-detail-grid {
    direction: rtl;
  }
}


/* ============================================
   21. RESPONSIVE - Mobile (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

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

  /* Show hamburger, hide nav links */
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile menu - slides down */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(17, 17, 17, 0.98);
    padding: 25px 30px;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Single column on mobile */
  .companies-grid,
  .values-grid,
  .services-grid,
  .blog-grid,
  .blog-feed-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero {
    min-height: 600px;
  }

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

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-subsidiaries {
    gap: 20px;
    padding: 15px 10px;
    flex-wrap: wrap;
  }

  .hero-sub-logo {
    height: 35px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

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

  .page-header {
    padding: 130px 0 60px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

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

  .stat-item h3 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 25px;
  }

  .cta-section h2 {
    font-size: 1.6rem;
  }

  .btn-primary,
  .btn-outline {
    padding: 12px 30px;
    font-size: 0.9rem;
  }

  .about-image .img-placeholder {
    height: 250px;
  }

  .company-detail-image .img-placeholder {
    height: 220px;
  }

  .nav-logo .logo-text {
    font-size: 0.85rem;
  }
}


/* ============================================
   22. RESPONSIVE - Small Mobile (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

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

  .hero-content p {
    font-size: 0.85rem;
  }

  .hero-sub-logo {
    width: 70px;
    height: 35px;
    font-size: 0.6rem;
  }

  .hero-subsidiaries {
    gap: 10px;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .value-card {
    padding: 30px 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .stat-item h3 {
    font-size: 1.6rem;
  }

  .contact-form {
    padding: 20px;
  }

  .page-header {
    padding: 120px 0 50px;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .blog-feed-card .img-placeholder,
  .blog-card .img-placeholder {
    height: 180px;
  }

  .company-detail {
    padding: 50px 0;
  }
}