/* =========================================
   1. VARIABLES & RESET
========================================= */
:root {
  --primary: #FF6347;   /* Logo Orange */
  --gear-grey: #7D6B5D; /* Logo Grey */
  --dark: #1a1a1a;
  --white: #ffffff;
  --light-bg: #f9f9f9;
  --whatsapp-green: #25D366;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #333; line-height: 1.6; background: var(--white); }
section { scroll-margin-top: 100px; }
/* =========================================
   2. HEADER & LOGO (TECHFORGE HOVER STYLE)
========================================= */
.site-header {
  position: fixed; top: 0; width: 100%; padding: 12px 0; z-index: 1000;
  background: transparent; transition: var(--transition);
}
.site-header.scrolled, .header-solid {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  padding: 8px 0;
}
.header-solid { background: var(--white) !important; position: sticky; }
.container {
  max-width: 1200px; margin: auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo-link img {
  height: 85px; width: auto; transition: var(--transition);
  filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.site-header.scrolled .logo-link img, .header-solid .logo-link img { filter: none; }
.nav { display: flex; align-items: center; }
.nav a {
  margin-left: 25px; text-decoration: none; font-weight: 600; font-size: 15px;
  color: var(--white); text-shadow: 0 2px 4px rgba(0,0,0,0.4); 
  position: relative; transition: color 0.3s ease;
}
.site-header.scrolled .nav a, .header-solid .nav a { color: var(--gear-grey); text-shadow: none; }
.nav a:hover { color: var(--primary) !important; }
/* Sliding Underline Animation */
.nav a::after {
  content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: width 0.3s ease;
}
.nav a:hover::after { width: 100%; }
.btn-nav {
  background: var(--primary); padding: 10px 24px; border-radius: 50px; 
  color: white !important; text-shadow: none !important;
}
.btn-nav::after { display: none; } /* No underline for button */
/* =========================================
   3. HERO SECTION
========================================= */
.hero { width: 100%; height: 100dvh; position: relative; }
.swiper-slide {
  background-size: cover !important; background-position: center !important;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.swiper-slide::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5); z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; text-align: center; color: var(--white); padding: 0 20px;
}
.hero-content h1 {
  font-family: 'Montserrat', sans-serif; font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 20px; text-transform: uppercase;
}
.hero-content p { font-size: clamp(1rem, 2vw, 1.5rem); margin-bottom: 30px; opacity: 0.9; }
.btn-primary {
  background: var(--primary); color: var(--white); padding: 15px 40px; border-radius: 50px;
  text-decoration: none; font-weight: bold; transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); background: #ff7b63; }
.full-width { width: 100%; display: block; }
/* =========================================
   4. CARDS & SECTIONS (SHINE & ZOOM EFFECT)
========================================= */
.section { padding: 80px 20px; }
.grey-bg { background: var(--light-bg); }
.section-title {
  text-align: center; font-family: 'Montserrat', sans-serif; font-size: 2rem;
  color: var(--gear-grey); margin-bottom: 50px;
}
.section-title::after {
  content: ''; display: block; width: 60px; height: 4px; background: var(--primary); margin: 15px auto 0;
}
.container-small { max-width: 800px; margin: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.card, .product-card, .office-card {
  position: relative; overflow: hidden; background: white; padding: 40px 30px; 
  text-align: center; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
  transition: all 0.3s ease !important;
}
/* Shine Effect */
.card::before, .product-card::before, .office-card::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 99, 71, 0.1), transparent);
  transition: left 0.5s ease; z-index: 1; pointer-events: none;
}
/* Hover Action */
.card:hover, .product-card:hover, .office-card:hover {
  transform: translateY(-5px) scale(1.03) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}
.card:hover::before, .product-card:hover::before, .office-card:hover::before { left: 100%; }
.card i { font-size: 40px; color: var(--primary); margin-bottom: 20px; }
.card h3 { color: var(--gear-grey); margin-bottom: 10px; }
.card p { font-size: 14px; color: #666; }
/* TechForge Style for 'Why Choose Us' */
#why-us .card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 100%) !important;
  backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1) !important;
}
/* =========================================
   5. CONTACT SECTION (HORIZONTAL FIX)
========================================= */
.contact-section { background-color: #f8f9fa; padding-bottom: 80px; }
.contact-container-block { display: block !important; text-align: center; }
.contact-header { max-width: 700px; margin: 0 auto 50px auto; }
.contact-subtitle { color: #666; font-size: 1.1rem; margin-top: -10px; }
.offices-horizontal-row {
  display: flex; flex-direction: row; justify-content: center; gap: 30px; margin-bottom: 50px; width: 100%;
}
.office-card {
  flex: 1; background: #ffffff; padding: 40px 30px;
  border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border-top: 4px solid var(--primary); text-align: left;
}
.office-card h3 {
  font-size: 1.4rem; color: var(--dark); margin-bottom: 25px;
  border-bottom: 1px solid #eee; padding-bottom: 15px;
}
.detail-item {
  display: flex; align-items: flex-start; margin-bottom: 15px; color: #555; font-size: 1rem;
}
.detail-item i { color: var(--primary); margin-right: 15px; margin-top: 5px; font-size: 1.1rem; }
.clickable-link { color: #333; text-decoration: none; font-weight: 600; transition: color 0.3s; }
.clickable-link:hover { color: var(--primary); text-decoration: underline; }
.map-full-wrapper {
  width: 100%; border-radius: 15px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 5px solid #fff;
}
/* =========================================
   6. PROFESSIONAL BIG FOOTER
========================================= */
.site-footer-big { background-color: #000; color: #fff; padding-top: 60px; font-size: 0.95rem; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; padding-bottom: 40px; align-items: start;
}
.footer-col h3 {
  color: #fff; font-size: 1.1rem; margin-bottom: 25px;
  text-transform: uppercase; letter-spacing: 1px;
}
.footer-col h3::after {
  content: ''; display: block; width: 40px; height: 3px; background: var(--primary); margin-top: 8px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #aaa; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.contact-row { display: flex; gap: 15px; margin-bottom: 15px; color: #aaa; }
.contact-row i { color: var(--primary); margin-top: 5px; }
.social-icons-row { display: flex; gap: 10px; margin-top: 20px; }
.social-icons-row a {
  width: 40px; height: 40px; background: #222; color: #fff;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; text-decoration: none; transition: var(--transition);
}
.social-icons-row a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-bottom {
  background: #111; padding: 20px 0; border-top: 1px solid #222;
  font-size: 0.85rem; color: #888;
}
.bottom-content { display: flex; justify-content: space-between; flex-wrap: wrap; }
.developer-credit { color: #888; }
.developer-credit a { color: #888 !important; text-decoration: underline; font-weight: 600; transition: var(--transition); }
.developer-credit a:hover { color: var(--primary) !important; }
/* =========================================
   7. MOBILE RESPONSIVENESS
========================================= */
.menu-toggle { display: none; font-size: 26px; color: var(--white); cursor: pointer; }
.site-header.scrolled .menu-toggle, .header-solid .menu-toggle { color: var(--gear-grey); }
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: -100%; width: 85%; height: 100vh;
    background: var(--white); flex-direction: column; justify-content: center;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2); transition: 0.4s ease;
  }
  .nav.active { right: 0; }
  .nav a { color: var(--gear-grey); font-size: 1.2rem; margin: 20px 0; }
  
  .offices-horizontal-row { flex-direction: column; }
  .footer-grid { text-align: left; }
  .bottom-content { flex-direction: column; text-align: center; gap: 10px; }
  .info-grid, .vision-mission-grid { grid-template-columns: 1fr !important; }
}
/* Page Hero */
.page-hero {
  background: url('https://images.unsplash.com/photo-1565514020176-892eb5badeef?auto=format&fit=crop&q=80') center/cover;
  height: 40vh; position: relative; display: flex; align-items: center; justify-content: center;
  text-align: center; color: white; margin-top: -85px; padding-top: 85px;
}
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(11, 28, 45, 0.8); }
/* FIXED: Added flex-direction: column to stack H1 and P */
.page-hero .container { 
  position: relative; 
  z-index: 2; 
  flex-direction: column !important; 
  justify-content: center;
}
.page-hero h1 { font-family: 'Montserrat', sans-serif; font-size: 3rem; margin-bottom: 10px; }
/* Modern Form Inputs */
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 15px 20px !important; 
  background: #fff !important; border: 2px solid #eee !important; border-radius: 12px !important;
  color: #333 !important; font-family: inherit; transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary) !important; outline: none;
  box-shadow: 0 0 0 4px rgba(255, 99, 71, 0.1) !important;
}
/* WhatsApp Float */
.whatsapp-float {
  position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px;
  background-color: var(--whatsapp-green); color: #FFF; border-radius: 50px;
  text-align: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 10000; display: flex; align-items: center; justify-content: center; transition: var(--transition); text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 4px 4px 15px rgba(0,0,0,0.4); }
/* =========================================
   8. CAPABILITIES PAGE STYLES
========================================= */
.feature-row { 
  display: flex; 
  align-items: center; 
  gap: 60px; 
  margin-bottom: 80px; 
}
/* Alternating Layout: Reverse every second row */
.feature-row:nth-child(even) { 
  flex-direction: row-reverse; 
}
.feature-text { 
  flex: 1; 
}
.feature-image { 
  flex: 1; 
  height: 400px; 
  border-radius: 20px; 
  overflow: hidden; 
  box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
}
.feature-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.5s; 
}
.feature-image:hover img { 
  transform: scale(1.05); 
}
/* Mobile Fix for Feature Row */
@media (max-width: 900px) {
  .feature-row, .feature-row:nth-child(even) { 
    flex-direction: column-reverse; 
    gap: 30px;
    margin-bottom: 60px;
  }
  .feature-image { 
    height: 300px; 
    width: 100%; 
  }
}
/* =========================================
   9. PRODUCT IMAGE CARDS (NEW)
========================================= */
/* Specific style for cards with images */
.image-card {
  padding: 0 !important; /* Remove padding so image touches edges */
  text-align: left !important;
  display: flex;
  flex-direction: column;
}
.card-image-wrapper {
  width: 100%;
  height: 220px; /* Fixed height for uniformity */
  overflow: hidden;
  border-bottom: 3px solid var(--light-bg);
}
.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.image-card:hover .card-image-wrapper img {
  transform: scale(1.1); /* Zoom effect on hover */
}
.card-content-wrapper {
  padding: 25px;
  flex-grow: 1; /* Pushes content to fill space */
}
.card-content-wrapper h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: var(--gear-grey);
}
.card-content-wrapper p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 15px;
}
/* =========================================
   10. NEW MODERN PRODUCT LAYOUT
========================================= */
/* Pill Filters */
.filter-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.filter-pill {
  padding: 10px 25px;
  border-radius: 50px;
  background: #e5e7eb; /* Light Gray */
  color: #374151;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}
.filter-pill:hover {
  background: #d1d5db;
}
.filter-pill.active {
  background: var(--primary); /* Red/Orange */
  color: white;
  box-shadow: 0 4px 6px rgba(255, 99, 71, 0.3);
}
/* Modern Card Design */
.product-card-modern {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05); /* Soft shadow */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
}
.product-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}
/* Top Image Section */
/* 1. The Image Container */
.card-img-box {
  width: 100%;
  height: 220px; /* Fixed height for uniformity */
  padding: 0;    /* REMOVED PADDING so image touches edges */
  background: #f4f4f4; /* Light grey background while loading */
  display: block;
  overflow: hidden; /* Cuts off any image overflow */
  border-bottom: 1px solid #eee;
}
/* 2. The Image Itself */
.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* MAGIC LINE: Forces image to fill the box completely */
  object-position: center; /* Centers the image */
  border-radius: 12px 12px 0 0; /* Rounds top corners only, matches card */
  transition: transform 0.5s ease;
}
/* 3. Hover Zoom Effect */
.product-card-modern:hover .card-img-box img {
  transform: scale(1.1); /* Smooth zoom on hover */
}
/* Card Body */
.card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111827;
  font-family: 'Inter', sans-serif;
}
.card-size {
  color: #6b7280; /* Gray text */
  font-size: 0.9rem;
  margin-bottom: 24px;
  font-weight: 500;
}
/* Footer (Inquire Button Row) */
.card-footer {
  margin-top: auto; /* Pushes to bottom */
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.custom-quote-text {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}
.btn-inquire {
  background: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.btn-inquire:hover {
  background: #e55a40;
  transform: scale(1.05);
}
/* =========================================
   11. RESPONSIVE MATRIX GRID (AUTO-LAYOUT)
========================================= */
.matrix-grid {
  display: grid;
  /* Magic Line: Fits as many 260px cards as possible, then stretches them */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
  gap: 30px;
  width: 100%;
}
/* Modern Card Tweaks for Matrix */
.product-card-modern {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  height: 100%; /* Ensures all cards in a row are same height */
}
.product-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.card-img-box {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 99, 71, 0.05);
}
.card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Filter Button Styles */
.filter-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-pill {
  background: #e5e7eb; border: none; padding: 10px 25px;
  border-radius: 50px; font-weight: 600; cursor: pointer;
  transition: all 0.3s ease; color: #374151; font-size: 0.95rem;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(255, 99, 71, 0.3);
}
/* =========================================
   12. SOFT BRAND GLOW (REFINED)
========================================= */
/* 1. Subtle Shine Animation */
.product-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  /* Very faint orange shine */
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(255, 99, 71, 0.1), /* Reduced opacity from 0.2 to 0.1 */
    transparent
  );
  transition: left 0.6s ease;
  z-index: 2;
  pointer-events: none;
}
.product-card-modern:hover::before {
  left: 100%;
}
/* 2. Soft Orange Shadow (Reduced Intensity) */
.product-card-modern:hover {
  transform: translateY(-5px);
  /* Reduced shadow opacity from 0.25 to 0.12 (Much softer) */
  box-shadow: 0 15px 30px rgba(255, 99, 71, 0.12) !important;
  /* Reduced border opacity */
  border-color: rgba(255, 99, 71, 0.3);
}
/* 3. Icon Pulse (Subtle) */
.product-card-modern:hover .card-img-box i {
  transform: scale(1.08);
  /* Very soft glow on the icon itself */
  filter: drop-shadow(0 0 5px rgba(255, 99, 71, 0.3)); 
  transition: transform 0.3s ease, filter 0.3s ease;
}
/* 4. Base Card Style */
.product-card-modern {
  background: white !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* =========================================
   14. CAPABILITIES PAGE (WIDER IMAGES)
========================================= */
/* The Row Container */
.feature-row { 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  gap: 50px; /* Reduced gap slightly to give more room to content */
  padding: 30px 0;
}
/* Text Side (Takes approx 40% width) */
.feature-text { 
  flex: 0.8; /* Reduced flex value (0.8 vs 1.2) makes this narrower */
  min-width: 300px; /* Prevents text from getting too squished */
}
/* Image Side (Takes approx 60% width - WIDER) */
.feature-image { 
  flex: 1.2; /* Higher flex value makes the image wider */
  height: 450px; /* Increased height slightly to match new width */
  border-radius: 12px; 
  overflow: hidden; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}
/* Image Styling */
.feature-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.5s ease;
}
/* Image Hover Zoom */
.feature-image:hover img { 
  transform: scale(1.05); 
}
/* List Styling */
.check-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}
.check-list li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 12px;
}
.check-list li i {
  color: var(--primary);
  font-size: 1.1rem;
}
/* Divider Line */
.feature-divider {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 60px 0;
}
/* Mobile Responsive */
@media (max-width: 900px) {
  .feature-row { 
    flex-direction: column-reverse; /* Image moves to top */
    gap: 30px;
    text-align: left;
  }
  
  .feature-image { 
    width: 100%;
    height: 300px; /* Standard mobile height */
    flex: auto;    /* Reset width on mobile */
  }
  
  .feature-text {
    flex: auto;    /* Reset width on mobile */
  }
}
/* =========================================
   16. CAPABILITIES PAGE (FULL ZIG-ZAG LAYOUT)
========================================= */
/* Hero Section Base */
.page-hero {
  position: relative;
  height: 60vh; /* Taller Hero */
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  color: white;
  text-align: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
  z-index: 1;
}
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}
.page-hero p {
  font-size: 1.3rem;
  font-weight: 300;
  opacity: 0.95;
  position: relative;
  z-index: 2;
}
/* Feature Row Layout (Zig-Zag) */
.cap-feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px; 
  padding: 60px 0;
}
/* Reverse every even row (2nd, 4th...) */
.cap-feature-row:nth-child(even) {
  flex-direction: row-reverse;
}
/* Text Side */
.cap-text {
  flex: 1; 
}
.cap-label {
  display: inline-block;
  background: var(--primary); 
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.cap-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 20px;
  line-height: 1.2;
}
.cap-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}
/* List Styling */
.cap-list { list-style: none; padding: 0; margin: 0; }
.cap-list li {
  display: flex; align-items: flex-start; gap: 15px; padding: 12px 0;
  font-size: 1.05rem; color: #333;
  border-bottom: 1px solid #eee;
}
.cap-list li i { color: var(--primary); font-size: 1.2rem; margin-top: 3px; }
/* Image Side */
.cap-image-wrapper {
  flex: 1.2; 
  height: 450px; 
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15); 
  position: relative;
}
.cap-image-wrapper img {
  width: 100%; height: 100%; object-fit: cover; 
  transition: transform 0.6s ease;
}
.cap-image-wrapper:hover img { transform: scale(1.05); }
/* Mobile Responsiveness */
@media (max-width: 900px) {
  .page-hero { height: auto; padding: 120px 0 80px; }
  .page-hero h1 { font-size: 2.5rem; }
  /* Reset layout on mobile */
  .cap-feature-row, .cap-feature-row:nth-child(even) {
    flex-direction: column-reverse; 
    gap: 30px;
    text-align: left;
    padding: 30px 0;
  }
  .cap-image-wrapper {
    width: 100%; height: 300px; flex: auto;
  }
  .cap-text h2 { font-size: 1.8rem; }
}
/* =========================================
   17. CAPABILITIES PAGE (FIXED HERO & LAYOUT)
========================================= */
/* --- 1. Hero Section Styling --- */
.page-hero {
  position: relative;
  height: 60vh; /* Taller Hero */
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  text-align: center;
  color: white;
  /* Default background is overridden by inline style in HTML */
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
  z-index: 1;
}
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}
.page-hero p {
  font-size: 1.3rem;
  font-weight: 300;
  opacity: 0.95;
  position: relative;
  z-index: 2;
}
/* --- 2. Capabilities Layout (Stacked Uniformly) --- */
.cap-feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px; 
  padding: 60px 0;
  border-bottom: 1px solid #eee; /* Divider line between rows */
}
/* Remove border from last item */
.cap-feature-row:last-child {
  border-bottom: none;
}
/* Text Side */
.cap-text {
  flex: 1; 
}
.cap-label {
  display: inline-block;
  background: var(--primary); /* Orange */
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.cap-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 20px;
  line-height: 1.2;
}
.cap-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}
/* List Styling */
.cap-list { list-style: none; padding: 0; margin: 0; }
.cap-list li {
  display: flex; align-items: flex-start; gap: 15px; padding: 12px 0;
  font-size: 1.05rem; color: #333;
  border-bottom: 1px solid #eee;
}
.cap-list li i { color: var(--primary); font-size: 1.2rem; margin-top: 3px; }
/* Image Side */
.cap-image-wrapper {
  flex: 1.2; 
  height: 450px; 
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15); 
  position: relative;
}
.cap-image-wrapper img {
  width: 100%; height: 100%; object-fit: cover; 
  transition: transform 0.6s ease;
}
.cap-image-wrapper:hover img { transform: scale(1.05); }
/* --- 3. Mobile Responsiveness --- */
@media (max-width: 900px) {
  .page-hero { height: auto; padding: 120px 0 80px; }
  .page-hero h1 { font-size: 2.5rem; }
  /* Stack vertically: Image on Top, Text Below */
  .cap-feature-row {
    flex-direction: column-reverse; 
    gap: 30px;
    text-align: left;
    padding: 30px 0;
  }
  .cap-image-wrapper {
    width: 100%; height: 300px; flex: auto;
  }
  .cap-text h2 { font-size: 1.8rem; }
}
/* =========================================
   18. CAPABILITIES PAGE (COLUMN GRID LAYOUT)
========================================= */
/* Hero Section Base */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 0;
  /* Background set inline in HTML */
  background-size: cover;
  background-position: center;
}
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.page-hero p {
  font-size: 1.25rem;
  opacity: 0.95;
}
/* --- GRID CONTAINER --- */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Equal Columns */
  gap: 30px;
  margin-bottom: 60px;
}
/* --- CARD STYLING --- */
.cap-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cap-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
/* Image on Top */
.cap-card-image {
  height: 250px;
  width: 100%;
  overflow: hidden;
  background: #f4f4f4;
}
.cap-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cap-card:hover .cap-card-image img {
  transform: scale(1.1);
}
/* Content Below */
.cap-card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cap-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary); /* Orange */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.cap-card-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 15px;
}
.cap-card-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
/* List inside Card */
.cap-list-small {
  list-style: none;
  margin-top: auto; /* Pushes list to bottom */
  padding-top: 15px;
  border-top: 1px solid #eee;
}
.cap-list-small li {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cap-list-small li i {
  color: var(--primary);
  font-size: 0.8rem;
}
/* --- CTA Section --- */
.cta-simple {
  background: #111;
  text-align: center;
  padding: 80px 0;
  color: white;
}
.btn-primary-cta {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  transition: 0.3s;
}
.btn-primary-cta:hover { background: #e65538; }
/* --- Mobile Responsive --- */
@media (max-width: 900px) {
  .capabilities-grid {
    grid-template-columns: 1fr; /* Stack 1 column on mobile */
    max-width: 500px;
    margin: 0 auto;
  }
  
  .page-hero h1 { font-size: 2.5rem; }
}
