/* ==========================================================================
   HERO ACTIONS, CREDIBILITY & TAGS (Strictly Responsive)
   ========================================================================== */

/* --- 1. Hero Buttons --- */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start; /* Aligns to the left on desktop */
  margin-top: clamp(24px, 4vw, 34px); 
}

.hero__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  
  /* CRITICAL: Forces button to hug the text exactly, preventing ANY stretching */
  width: max-content !important; 
  flex: 0 0 auto !important; 
  
  /* Professional, tight padding */
  padding: clamp(10px, 1.5vw, 14px) clamp(20px, 3vw, 28px);
  
  /* Fluid text scaling */
  font-size: clamp(0.75rem, 1.1vw, 0.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.hero__actions .btn i {
  font-size: 1.1em;
}

/* --- 2. Credibility Badge --- */
.credibility {
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  margin-top: clamp(28px, 5vw, 40px);
  padding: 8px 18px; 
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px; 
  font-family: var(--font-head, "Montserrat", sans-serif); 
  font-size: clamp(0.7rem, 1.2vw, 0.74rem); 
  font-weight: 600;
  letter-spacing: 0.14em; 
  text-transform: uppercase; 
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.credibility .dot { 
  width: 8px; 
  height: 8px; 
  border-radius: 50%; 
  background: var(--accent, #ea580c); 
  flex-shrink: 0;
}

/* --- 3. Hero Tags List --- */
.hero-tags {
  display: flex; 
  flex-wrap: wrap; 
  gap: 8px 22px; 
  margin-top: clamp(20px, 3.5vw, 28px);
  padding: 0;
  list-style: none;
  font-family: var(--font-head, "Montserrat", sans-serif); 
  font-size: clamp(0.7rem, 1.2vw, 0.74rem); 
  font-weight: 600;
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  color: var(--steel-light, #cbd5e1);
  justify-content: flex-start;
}


/* ==========================================================================
   4. RESPONSIVE BREAKPOINTS (Tablets & Mobile)
   ========================================================================== */

/* Tablets & Small Desktops (Max-width: 850px) */
@media (max-width: 850px) {
  .hero__actions,
  .hero-tags {
    justify-content: center; /* Centers buttons and tags on iPad/Tablets */
  }
  
  .credibility {
    display: flex;
    width: max-content;
    margin-inline: auto; /* Centers the credibility badge */
  }
}

/* Mobile Phones (Max-width: 480px) */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column; /* Stacks the narrow buttons vertically */
    align-items: center; 
    gap: 12px;
  }

  .hero__actions .btn {
    padding: 10px 24px; /* Optimized tap target padding for small screens */
  }
  
  .hero-tags {
    gap: 8px 14px; /* Tightens the spacing between tags so they fit screen */
  }
}
/* ==========================================================================
   CREDIBILITY BADGE (Strict Width & Responsive Scaling)
   ========================================================================== */

.credibility {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  gap: clamp(6px, 1.5vw, 10px); /* Dynamic gap spacing */
  margin-top: clamp(28px, 5vw, 40px);
  
  /* Fluid padding keeps it proportional on all screens */
  padding: clamp(6px, 1.5vw, 8px) clamp(14px, 3vw, 20px); 
  
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px; 
  font-family: var(--font-head, "Montserrat", sans-serif); 
  
  /* Fluid text scaling down to a safe mobile size */
  font-size: clamp(0.65rem, 1.2vw, 0.74rem); 
  font-weight: 600;
  letter-spacing: 0.1em; /* Slightly tighter to save space on mobile */
  text-transform: uppercase; 
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  
  /* CRITICAL: Hugs the text exactly and prevents stretching */
  width: max-content; 
  /* CRITICAL: Prevents it from breaking the screen width on tiny phones */
  max-width: 100%; 
  box-sizing: border-box;
}

/* The orange dot indicator */
.credibility .dot { 
  width: 8px; 
  height: 8px; 
  border-radius: 50%; 
  background: var(--accent, #ea580c); 
  flex-shrink: 0; /* Prevents the dot from squishing if text wraps */
}

/* ==========================================================================
   RESPONSIVE ALIGNMENT (Tablets & Mobile)
   ========================================================================== */

@media (max-width: 850px) {
  .credibility {
    /* Automatically centers the badge on tablets and mobile devices */
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }
}
/* ==========================================================================
   HERO ACTIONS - FLEX ALIGNMENT FIX (For Tablets & Mobile)
   ========================================================================== */

/* Base Flex Layout (Desktop) */
.hero__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start; /* Aligns left on large desktop */
  margin-top: clamp(24px, 4vw, 34px); 
}

/* Tablet / iPad Mini Breakpoint (Max-width: 850px) */
@media (max-width: 850px) {
  .hero__inner {
    text-align: center;
    margin-inline: auto;
  }

  .hero__actions {
    /* CRITICAL FIX: Forces buttons side-by-side and centers them to match text */
    flex-direction: row !important; 
    justify-content: center !important; 
    align-items: center;
    width: 100%;
  }
  
  .hero__actions .btn {
    /* Ensures buttons stay compact and don't stretch */
    width: max-content !important; 
    flex: 0 0 auto !important;
  }
}

/* Small Mobile Phones Breakpoint (Max-width: 480px) */
@media (max-width: 480px) {
  .hero__actions {
    /* ONLY stacks the buttons on small phone screens */
    flex-direction: column !important; 
    gap: 12px;
  }
}
/* ==========================================================================
   4. HERO SECTION (Decreased Height & Compact Layout)
   ========================================================================== */
.hero {
  position: relative; 
  
  /* CRITICAL FIX: Decreased height to prevent excessive empty space */
  /* Scales smoothly between 450px and 600px, never taking up the whole screen */
  min-height: clamp(450px, 55vh, 600px); 
  
  display: flex; 
  align-items: center;
  background: var(--navy) center / cover no-repeat;
  color: #fff; 
  
  /* Reduced vertical padding to pull content closer to the header and bottom */
  padding: clamp(48px, 6vw, 72px) 0;
  
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
}

.hero::before {
  content: ""; 
  position: absolute; 
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 18, 32, 0.95) 0%, rgba(8, 18, 32, 0.85) 45%, rgba(8, 18, 32, 0.65) 100%);
}

.hero .container { 
  position: relative; 
  z-index: 2; 
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  box-sizing: border-box;
}

.hero__inner { 
  max-width: 800px; 
}

/* ==========================================================================
   5. LAYOUT GRIDS & SECTIONS
   ========================================================================== */
.grid { display: grid; gap: 30px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }

/* ==========================================================================
   ABOUT US SECTION (Fully Responsive, Compact Image & Clean Stacking)
   ========================================================================== */

/* --- 1. Base Container & Grid (Desktop View) --- */
#about { 
  padding: clamp(56px, 6vw, 80px) 0; 
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
}

#about .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  box-sizing: border-box;
}

#about .split {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns side-by-side */
  gap: clamp(40px, 5vw, 64px); 
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* --- 2. Image Styling (Decreased Desktop Size) --- */
#about .split .reveal img {
  width: 100%;
  /* Decreased height limit to prevent it from dominating the screen */
  height: clamp(320px, 35vw, 480px); 
  object-fit: cover; 
  border-radius: 12px;
  display: block;
}

/* --- 3. Typography & Content Layout --- */
.about__content {
  display: flex;
  flex-direction: column;
}

.about__content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.25;
  font-weight: 800;
  color: var(--navy, #0b1a2e);
  margin-top: 0;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.about__desc {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.65;
  color: var(--steel, #64748b);
  margin-bottom: 16px;
}

/* --- 4. Checklist Styling --- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 32px 0;
}

.check-list li { 
  position: relative; 
  padding-left: 28px; 
  margin-bottom: 14px; 
  font-size: clamp(0.9rem, 1.1vw, 0.95rem); 
  line-height: 1.5;
  color: var(--navy, #0b1a2e);
  font-weight: 600;
}

.check-list li::before { 
  content: ""; 
  position: absolute; 
  left: 0; 
  top: 6px; 
  width: 8px; 
  height: 8px; 
  background: var(--accent, #ea580c); 
  border-radius: 2px; 
}


/* ==========================================================================
   5. RESPONSIVE BREAKPOINTS (Tablets & Mobile)
   ========================================================================== */

/* Tablets & Small Desktops (Max-width: 850px) */
@media (max-width: 850px) {
  #about .split {
    grid-template-columns: 1fr; /* Stacks image on top, text below */
    gap: 40px;
    text-align: center; /* Centers all text content */
  }
  
  .about__content {
    align-items: center; /* Centers the button */
  }

  /* Keeps the bullets aligned cleanly in the center of the tablet screen */
  .check-list {
    display: inline-block; 
    text-align: left;
    margin: 24px auto 32px auto; 
  }

  /* Decreased tablet image height */
  #about .split .reveal img {
    height: clamp(260px, 35vh, 360px); 
  }
}

/* Small Mobile Phones (Max-width: 480px) */
@media (max-width: 480px) {
  #about {
    padding: 48px 0; 
  }
  
  /* Reverts to left-aligned text for better readability on tiny screens */
  #about .split {
    text-align: left; 
    gap: 32px;
  }
  
  .about__content {
    align-items: flex-start; /* Aligns button to the left */
  }

  .check-list {
    display: block; 
    margin: 20px 0 24px 0; 
  }

  /* Compact mobile phone image height to save scroll space */
  #about .split .reveal img {
    height: 220px; 
  }
}
/* ==========================================================================
   5. LAYOUT GRIDS & SECTIONS
   ========================================================================== */
.grid { 
  display: grid; 
  gap: 30px; 
}

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

.grid--4 { 
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
  align-items: stretch; 
}

.split { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: clamp(32px, 5vw, 68px); 
  align-items: center; 
}

/* ==========================================================================
   6. CORE PRODUCT CATEGORIES & CARDS (Fully Responsive)
   ========================================================================== */
.section--alt {
  background: #f1f5f9;
  padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 80px) !important; 
  margin: 0 !important;
  width: 100%;
  box-sizing: border-box;
}

/* --- Toolbar & Filters --- */
.toolbar { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 16px; 
  align-items: center; 
  justify-content: space-between; 
  margin-bottom: clamp(24px, 4vw, 32px); 
  width: 100%;
}

.filters { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 8px; 
}

.filter-btn {
  height: 42px; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  padding: 0 clamp(16px, 2vw, 24px);
  background: #ffffff; 
  border: 1px solid #e2e8f0; 
  border-radius: 100px; 
  font-family: var(--font-head, "Montserrat", sans-serif);
  font-size: clamp(0.75rem, 1vw, 0.8rem); 
  font-weight: 700; 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  color: #0b1a2e;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.filter-btn:hover { border-color: #0b1a2e; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.filter-btn:active { transform: translateY(0); }
.filter-btn.is-active { background: #0b1a2e; border-color: #0b1a2e; color: #ffffff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

/* --- Search Field --- */
.search-field { 
  position: relative; 
  width: 100%;
  max-width: 340px;
  flex: 1 1 260px; 
}
.search-field input {
  width: 100%; 
  height: 44px; 
  padding: 0 16px 0 42px; 
  border: 1px solid #e2e8f0; 
  border-radius: 8px;
  font-size: clamp(0.9rem, 1.2vw, 1rem); 
  background: #ffffff; 
  color: #1e293b; 
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.search-field input:focus { outline: none; border-color: #0b1a2e; box-shadow: 0 0 0 3px rgba(11, 26, 46, 0.1); }
.search-field svg, .search-field i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #64748b; }
.search-field input:focus + svg, .search-field input:focus ~ svg, .search-field input:focus + i { color: #0b1a2e; }

.result-count { 
  font-size: clamp(0.85rem, 1.1vw, 0.95rem); 
  color: #64748b; 
  margin-top: 0; 
  margin-bottom: 18px; 
}

/* --- Product Cards --- */
.card {
  background: #ffffff; 
  border: 1px solid #e2e8f0; 
  border-radius: 12px; 
  overflow: hidden;
  display: flex; 
  flex-direction: column; 
  height: 100%; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  width: 100%;
  box-sizing: border-box;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); border-color: transparent; }

.card__media { 
  position: relative; 
  width: 100%;
  aspect-ratio: 4 / 3; 
  overflow: hidden; 
  background: #1a202c; 
  flex-shrink: 0; 
}
.card__media img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block;
  transition: transform 0.6s ease; 
}
.card:hover .card__media img { transform: scale(1.08); }

.card__tag { 
  position: absolute; 
  left: 14px; 
  top: 14px; 
  background: #0b1a2e; 
  color: #ffffff; 
  font-family: var(--font-head, "Montserrat", sans-serif); 
  font-size: clamp(0.68rem, 0.9vw, 0.75rem); 
  font-weight: 700; 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  padding: 6px 12px; 
  border-radius: 4px; 
  z-index: 2; 
}

.card__body { 
  padding: clamp(18px, 2.5vw, 24px); 
  display: flex; 
  flex-direction: column; 
  flex: 1 1 auto; 
}

.card__body h3 { 
  font-size: clamp(1.15rem, 2vw, 1.35rem); 
  font-weight: 700; 
  color: #0b1a2e; 
  margin-top: 0; 
  margin-bottom: 16px; 
  line-height: 1.35; 
  transition: color 0.3s ease; 
}
.card:hover .card__body h3 { color: var(--accent, #ea580c); }

.card__list { 
  display: flex; 
  flex-direction: column; 
  gap: 8px; 
  margin: auto 0 0 0; 
  padding: 0; 
  list-style: none; 
  width: 100%; 
}
.card__list li { 
  background: #f1f5f9; 
  color: #0b1a2e; 
  font-size: clamp(0.85rem, 1vw, 0.9rem); 
  font-weight: 600; 
  padding: 10px 14px; 
  border-radius: 6px; 
  width: 100%; 
  box-sizing: border-box; 
  transition: all 0.2s ease;
}
.card__list li:hover { background: #0b1a2e; color: #ffffff; }

.section-footer { 
  text-align: center; 
  margin-top: clamp(32px, 5vw, 48px); 
  padding-bottom: 0; 
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Grid Width Fixes for Tablets & Mobile)
   ========================================================================== */

/* Tablets & iPad Mini (Max-width: 850px) */
@media (max-width: 850px) {
  /* CRITICAL FIX: Forces 2 columns on iPads so cards don't stretch to 100% width */
  .grid--3, 
  .grid--4 { 
    grid-template-columns: repeat(2, 1fr); 
  }
  
  .section--alt {
    padding-top: 32px !important;
  }
}

/* Small Mobile Phones (Max-width: 650px) */
@media (max-width: 650px) {
  /* Only drops to 1 column on actual mobile phones (smaller than iPad Mini) */
  .grid--3, 
  .grid--4 { 
    grid-template-columns: 1fr; 
  }
  
  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  
  .filters {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
  }
  .filters::-webkit-scrollbar { display: none; }
  
  .filter-btn { flex-shrink: 0; }
  .search-field { max-width: 100%; }

  /* Compact image aspect ratio for stacked phone view */
  .card__media {
    aspect-ratio: 16 / 9;
  }
}
/* ==========================================================================
   7. SERVICES & ANIMATED OVERLAY CARDS (Fully Responsive & Readable)
   ========================================================================== */
#services {
  margin-top: 0 !important; 
  /* Scaled padding for perfect spacing on ultrawide down to mobile */
  padding: clamp(56px, 8vw, 100px) 0 !important; 
  background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%); 
  width: 100%;
  box-sizing: border-box;
}

#services .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  box-sizing: border-box;
}

/* --- Base Card Styling --- */
.service-card {
  position: relative; 
  /* Slightly wider aspect ratio to prevent cards from getting too tall */
  aspect-ratio: 4 / 5; 
  max-height: 460px; /* Prevents giant cards on very large 4k/ultrawide screens */
  border-radius: 12px; 
  overflow: hidden; 
  cursor: pointer;
  background: #1a202c; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); 
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  width: 100%;
  box-sizing: border-box;
}

/* Lift effect on hover */
.service-card:hover,
.service-card:focus-within { 
  transform: translateY(-8px); 
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15); 
}

/* --- Background Image & Zoom --- */
.service-card img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); 
}

.service-card:hover img,
.service-card:focus-within img { 
  transform: scale(1.08); 
}

/* --- Gradient Overlay (High Contrast for Readability) --- */
.service-overlay {
  position: absolute; 
  inset: 0; 
  /* Darker bottom gradient ensures white text is always clearly readable */
  background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
  display: flex; 
  flex-direction: column; 
  justify-content: flex-end; 
  padding: clamp(20px, 3vw, 32px); 
  transition: background 0.4s ease;
  box-sizing: border-box;
}

.service-card:hover .service-overlay,
.service-card:focus-within .service-overlay { 
  background: rgba(15, 23, 42, 0.90); 
}

/* --- Typography --- */
.service-content h3 { 
  color: #ffffff; 
  /* Bumped up max size for highly readable text on large desktop monitors */
  font-size: clamp(1.25rem, 2.5vw, 1.6rem); 
  margin: 0; 
  font-weight: 700;
  line-height: 1.25;
  transition: color 0.3s ease; 
}

.service-card:hover .service-content h3,
.service-card:focus-within .service-content h3 { 
  color: var(--accent, #ea580c); 
}

/* --- Animated Hidden Content --- */
.service-hidden { 
  display: grid; 
  grid-template-rows: 0fr; 
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

.service-hidden-inner { 
  overflow: hidden; 
  opacity: 0; 
  transform: translateY(15px); 
  transition: opacity 0.4s ease, transform 0.4s ease; 
}

.service-hidden p { 
  color: #e2e8f0; 
  /* Fluid text size guarantees comfortable reading on mobile and ultrawide */
  font-size: clamp(0.85rem, 1.1vw, 1rem); 
  line-height: 1.5; 
  margin: clamp(10px, 1.5vw, 14px) 0 0 0; 
}

/* --- Compact Button Inside Service Cards --- */
.service-hidden .btn {
  /* Decreased size specifically for the service card overlay */
  margin-top: clamp(12px, 1.5vw, 16px);
  padding: clamp(6px, 1vw, 8px) clamp(12px, 1.5vw, 18px);
  font-size: clamp(0.68rem, 0.9vw, 0.72rem);
  width: max-content;
  border-radius: 4px;
}

/* Trigger animation on hover, active (tap), or focus (accessibility) */
.service-card:hover .service-hidden,
.service-card:active .service-hidden,
.service-card:focus-within .service-hidden { 
  grid-template-rows: 1fr; 
}

.service-card:hover .service-hidden-inner,
.service-card:active .service-hidden-inner,
.service-card:focus-within .service-hidden-inner { 
  opacity: 1; 
  transform: translateY(0); 
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablets & Mobile touch fixes)
   ========================================================================== */

/* Touch Device Fallback (Ensures users who can't "hover" can still read easily) */
@media (hover: none) {
  .service-overlay {
    /* Slightly darker default background on touch devices for better contrast */
    background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.6) 60%, transparent 100%);
  }
}

/* Tablets & iPad Mini (Max-width: 850px) */
@media (max-width: 850px) {
  .service-card {
    /* CRITICAL FIX: Decreases card width on iPads so it doesn't stretch 100% across the screen */
    max-width: 520px; 
    margin: 0 auto; /* Centers the card inside its grid column */
    aspect-ratio: 16 / 10; /* Switches to a wider, cinematic ratio for tablet landscape */
    max-height: 380px;
  }
  
  .service-hidden .btn {
    padding: 6px 14px;
    font-size: 0.68rem;
  }
}

/* Small Mobile Phones (Max-width: 576px) */
@media (max-width: 576px) {
  #services {
    padding: 64px 0 !important;
  }
  
  .service-card {
    /* Allows full width on very small phone screens, but controls the height */
    max-width: 100%;
    aspect-ratio: 16 / 12; 
    max-height: 320px;
  }

  .service-overlay {
    padding: 24px;
  }
  
  /* Ultra-compact button for small mobile screens */
  .service-hidden .btn {
    margin-top: 10px;
    padding: 6px 14px;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }
}
/* ==========================================================================
   8. FEATURES & INDUSTRIES (Increased Text Size & Fully Responsive)
   ========================================================================== */

/* --- Features Cards --- */
.feature {
  /* Fluid padding scales down on mobile and up on large monitors */
  padding: clamp(20px, 3vw, 32px); 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); 
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%; 
  width: 100%;
  box-sizing: border-box;
}

.feature:hover { 
  border-color: var(--accent, #ea580c); 
  background: rgba(255, 255, 255, 0.06); 
  transform: translateY(-3px); 
}

.feature__icon { 
  /* Increased fluid icon box size to match larger text */
  width: clamp(44px, 4vw, 56px); 
  height: clamp(44px, 4vw, 56px); 
  display: grid; 
  place-items: center; 
  border: 1px solid rgba(255, 255, 255, 0.18); 
  border-radius: 8px; 
  margin-bottom: clamp(14px, 2vw, 20px); 
  color: var(--accent, #ea580c); 
  font-size: clamp(1.2rem, 1.8vw, 1.6rem); 
  flex-shrink: 0;
}

.feature h3 { 
  /* INCREASED: Fluid typography for much larger, crisp readability */
  font-size: clamp(1.25rem, 2vw, 1.5rem); 
  margin-top: 0;
  margin-bottom: clamp(8px, 1.2vw, 12px); 
  line-height: 1.3;
  color: #ffffff;
}

.feature p { 
  margin: 0; 
  /* INCREASED: Base paragraph text size is much larger on all screens */
  font-size: clamp(1rem, 1.3vw, 1.15rem); 
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85); /* Slightly brighter for better contrast */
  flex-grow: 1; /* Pushes content down evenly if cards are side-by-side */
}


/* --- Industry List Items --- */
.industry {
  display: flex; 
  align-items: center; /* Centers icon vertically with text */
  gap: clamp(16px, 2.5vw, 20px); 
  padding: clamp(16px, 2.5vw, 24px); 
  background: #ffffff;
  border: 1px solid #e2e8f0; 
  border-radius: 12px; 
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

.industry:hover { 
  border-color: var(--accent, #ea580c); 
  transform: translateY(-3px); 
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05); 
}

.industry__icon { 
  flex: 0 0 auto; 
  width: clamp(44px, 4vw, 56px); 
  height: clamp(44px, 4vw, 56px); 
  display: grid; 
  place-items: center; 
  background: rgba(234, 88, 12, 0.12); 
  color: var(--accent-dark, #c2410c); 
  border-radius: 8px; 
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.industry h3 { 
  /* INCREASED: Larger heading for industry cards */
  font-size: clamp(1.15rem, 1.8vw, 1.35rem); 
  font-weight: 700;
  color: var(--navy, #0b1a2e);
  margin: 0 0 6px 0; 
  line-height: 1.3;
}

.industry p { 
  margin: 0; 
  /* INCREASED: Larger paragraph text for industry cards */
  font-size: clamp(0.95rem, 1.2vw, 1.1rem); 
  color: var(--steel, #475569); /* Slightly darker for better readability */
  line-height: 1.55;
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet Width Fixes & Mobile Tweaks)
   ========================================================================== */

/* Tablets & iPad Mini (Max-width: 850px) */
@media (max-width: 850px) {
  /* Prevents cards from stretching 100% across the iPad screen */
  .feature,
  .industry {
    max-width: 520px; 
    margin: 0 auto; /* Centers the narrow cards horizontally */
  }
}

/* Small Mobile Phones (Max-width: 576px) */
@media (max-width: 576px) {
  .feature,
  .industry {
    /* Reverts back to full width on very small phone screens to maximize space */
    max-width: 100%;
  }

  .industry {
    /* Top-aligns the icon if paragraph text wraps to 3+ lines on tiny phones */
    align-items: flex-start; 
    padding: 20px;
  }
  
  .industry__icon {
    /* Reduces icon block size slightly to give paragraph text more room */
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    margin-top: 2px; 
  }
  
  .feature {
    /* Locks in a compact padding for very narrow screens */
    padding: 24px;
  }
}
/* ==========================================================================
   8. FEATURES & INDUSTRIES (Perfectly Centered, Readable & iPad Pro Fixed)
   ========================================================================== */

/* --- Base Grid Layout --- */
.grid { 
  display: grid; 
  gap: clamp(20px, 4vw, 30px); 
  width: 100%;
  margin: 0 auto; 
  box-sizing: border-box;
}

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

/* --- Features Cards --- */
.feature {
  padding: clamp(20px, 3vw, 32px); 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); 
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%; 
  width: 100%;
  box-sizing: border-box;
}

.feature:hover { 
  border-color: var(--accent, #ea580c); 
  background: rgba(255, 255, 255, 0.06); 
  transform: translateY(-3px); 
}

.feature__icon { 
  width: clamp(44px, 4vw, 56px); 
  height: clamp(44px, 4vw, 56px); 
  display: grid; 
  place-items: center; 
  border: 1px solid rgba(255, 255, 255, 0.18); 
  border-radius: 8px; 
  margin-bottom: clamp(14px, 2vw, 20px); 
  color: var(--accent, #ea580c); 
  font-size: clamp(1.2rem, 1.8vw, 1.6rem); 
  flex-shrink: 0;
}

.feature h3 { 
  font-size: clamp(1.25rem, 2vw, 1.5rem); 
  margin-top: 0;
  margin-bottom: clamp(8px, 1.2vw, 12px); 
  line-height: 1.3;
  color: #ffffff;
}

.feature p { 
  margin: 0; 
  font-size: clamp(1rem, 1.3vw, 1.15rem); 
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85); 
  flex-grow: 1; 
}


/* --- Industry List Items --- */
.industry {
  display: flex; 
  align-items: flex-start; 
  gap: clamp(16px, 3vw, 20px); 
  padding: clamp(20px, 4vw, 28px); 
  background: #ffffff;
  border: 1px solid #e2e8f0; 
  border-radius: 12px; 
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  width: 100%;
  height: 100%; 
}

.industry:hover { 
  border-color: var(--accent, #ea580c); 
  transform: translateY(-3px); 
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05); 
}

.industry__icon { 
  flex: 0 0 auto; 
  width: clamp(48px, 4vw, 56px); 
  height: clamp(48px, 4vw, 56px); 
  display: grid; 
  place-items: center; 
  background: rgba(234, 88, 12, 0.08); 
  color: var(--accent-dark, #c2410c); 
  border-radius: 8px; 
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
}

.industry h3 { 
  font-size: clamp(1.15rem, 1.6vw, 1.3rem); 
  font-weight: 700;
  color: var(--navy, #0b1a2e);
  margin: 0 0 6px 0; 
  line-height: 1.3;
}

.industry p { 
  margin: 0; 
  font-size: clamp(0.95rem, 1.2vw, 1.05rem); 
  color: var(--steel, #475569); 
  line-height: 1.6;
}


/* ==========================================================================
   RESPONSIVE GRID BREAKPOINTS
   ========================================================================== */

/* Large Tablets & iPad Pro 13 (Max-width: 1150px) */
@media (max-width: 1150px) {
  /* CRITICAL FIX: Increased breakpoint from 1024px to 1150px so iPad Pro 13 drops to 2 columns */
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Tablets & iPad Mini (Max-width: 850px) */
@media (max-width: 850px) {
  .feature {
    max-width: 520px; 
    margin: 0 auto; 
  }
}

/* Mobile Phones (Max-width: 650px) - PERFECT CENTERING FIX */
@media (max-width: 650px) {
  .grid--3 {
    /* Creates a single column that maxes out at 450px wide */
    grid-template-columns: minmax(auto, 450px); 
    /* Forces the entire column to sit dead-center in the screen */
    justify-content: center; 
    width: 100%;
  }
  
  .feature,
  .industry {
    /* Cards now perfectly fill the centered grid column */
    max-width: 100%;
    width: 100%;
    margin: 0 auto; 
  }

  .feature {
    padding: 24px;
  }
  
  .industry {
    padding: 20px 16px; 
  }
  
  .industry__icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    margin-top: 2px; 
  }
}
/* ==========================================================================
   CENTERED ACTION BUTTON (Forced Compact Size)
   ========================================================================== */
.action-wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: clamp(24px, 4vw, 36px); 
  margin-bottom: 0;
}

.action-wrapper .btn {
  /* CRITICAL OVERRIDE: Forces the button to shrink to exactly the text size */
  width: max-content !important; 
  min-width: 0 !important;
  max-width: 100% !important;
  
  /* Forces a smaller, tighter padding on all screens */
  padding: 10px 24px !important;
  
  /* Slightly smaller font to match */
  font-size: 0.75rem !important;
  letter-spacing: 0.08em !important;
  
  display: inline-flex !important;
  text-align: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablets (Max-width: 850px) */
@media (max-width: 850px) {
  .action-wrapper {
    margin-top: 24px;
  }
}

/* Small Mobile Phones (Max-width: 480px) */
@media (max-width: 480px) {
  .action-wrapper {
    margin-top: 20px;
  }
  
  .action-wrapper .btn {
    /* Locks in the smallest possible compact size for small phone screens */
    padding: 8px 20px !important;
    font-size: 0.7rem !important;
  }
}
/* ==========================================================================
   CENTERED ACTION BUTTON (EXTRA SMALL / DECREASED SIZE)
   ========================================================================== */
.action-wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: clamp(20px, 4vw, 30px);
}

.action-wrapper .btn {
  /* 1. STOPS IT FROM STRETCHING WIDE */
  width: max-content !important; 
  min-width: 0 !important;
  max-width: 100% !important;
  
  /* 2. DRASTICALLY DECREASES PADDING (makes the button physically much smaller) */
  padding: 6px 16px !important; 
  
  /* 3. DECREASES FONT SIZE */
  font-size: 0.65rem !important; 
  letter-spacing: 0.05em !important;
  
  display: inline-flex !important;
  text-align: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile adjustments)
   ========================================================================== */
@media (max-width: 480px) {
  .action-wrapper {
    margin-top: 20px;
  }
  
  .action-wrapper .btn {
    /* Keeps it incredibly compact on mobile phones */
    padding: 5px 14px !important;
    font-size: 0.6rem !important;
  }
}
/* ==========================================================================
   11. CONTACT 
   ========================================================================== */
#contact { padding-top: 40px; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid #e2e8f0; transition: transform 0.3s ease; }
.contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-item:hover { transform: translateX(4px); }
.contact-item__icon { color: #ea580c; background: rgba(234, 88, 12, 0.1); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.contact-item h3 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: #0b1a2e; margin: 0 0 6px; }
.contact-item p { margin: 0; font-size: 0.95rem; color: #475569; line-height: 1.5; }
.contact-link { color: #0b1a2e; font-weight: 600; transition: color 0.3s ease; }
.contact-link:hover { color: #ea580c; text-decoration: underline; }

.map-embed { border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; background: #ffffff; min-height: 380px; box-shadow: 0 10px 30px rgba(11, 26, 46, 0.08); transition: all 0.4s ease; }
.map-embed:hover { box-shadow: 0 20px 40px rgba(11, 26, 46, 0.12); transform: translateY(-4px); }
.map-embed iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* ==========================================================================
   12. FOOTER (Fully Responsive & Clean Alignment)
   ========================================================================== */
.site-footer { 
  background: #111827; 
  color: #ffffff; 
  padding-top: clamp(48px, 6vw, 72px); 
  font-size: 0.95rem; 
  line-height: 1.7; 
  width: 100%;
  box-sizing: border-box;
}

.footer-grid { 
  display: grid; 
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr; 
  gap: clamp(24px, 4vw, 48px); 
  padding-bottom: clamp(40px, 5vw, 56px); 
  width: 100%;
  box-sizing: border-box;
}

.site-footer h4 { 
  color: #ffffff; 
  font-size: 0.85rem; 
  font-weight: 700; 
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  margin-bottom: 24px; 
}

.footer-brand .brand { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  margin-bottom: 20px; 
}

.footer-brand .brand__name { 
  color: #ffffff; 
  font-size: 1.1rem; 
  font-weight: 800; 
  letter-spacing: 0.05em; 
}

.footer-brand p { 
  margin: 0; 
  padding-right: 20px; 
  color: rgba(255, 255, 255, 0.85); 
}

.footer-links ul { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}

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

.footer-links a { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  color: rgba(255, 255, 255, 0.85); 
  text-decoration: none; 
  transition: color 0.3s ease, transform 0.3s ease; 
}

.footer-links a svg, 
.footer-links a i { 
  flex: 0 0 20px; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  opacity: 0.8; 
  transition: opacity 0.3s ease, transform 0.3s ease; 
}

.footer-links a:hover { 
  color: #ea580c; 
  transform: translateX(4px); 
}

.footer-links a:hover svg, 
.footer-links a:hover i { 
  opacity: 1; 
  transform: scale(1.1); 
}

/* Contact Column Flexbox */
.footer-contact ul { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}

.footer-contact li { 
  display: flex; 
  align-items: flex-start; 
  gap: 16px; 
  margin-bottom: 16px; 
  color: rgba(255, 255, 255, 0.85); 
}

.footer-contact .icon { 
  flex: 0 0 24px; 
  display: flex; 
  justify-content: flex-start; 
  align-items: center; 
  color: #ea580c; 
  margin-top: 4px; 
  font-size: 1.1rem; 
}

.footer-contact li > span:not(.icon), 
.footer-contact li > a { 
  flex: 1; 
  color: rgba(255, 255, 255, 0.85); 
  text-decoration: none; 
  transition: color 0.3s ease; 
  line-height: 1.6; 
  word-break: break-word;
}

.footer-contact li > a:hover { 
  color: #ea580c; 
}

.footer-bottom { 
  border-top: 1px solid rgba(255, 255, 255, 0.15); 
  padding: 24px 0; 
  display: flex; 
  flex-wrap: wrap; 
  gap: 16px; 
  justify-content: space-between; 
  align-items: center; 
  font-size: 0.85rem; 
  color: rgba(255, 255, 255, 0.8); 
  width: 100%;
  box-sizing: border-box;
}

.footer-bottom p { 
  margin: 0; 
}

.footer-bottom nav { 
  display: flex; 
  gap: 24px; 
}

.footer-bottom nav a { 
  color: rgba(255, 255, 255, 0.8); 
  text-decoration: none; 
  transition: color 0.3s ease; 
}

.footer-bottom nav a:hover { 
  color: #ffffff; 
}

/* Scroll to Top Button */
.to-top { 
  position: fixed; 
  right: 22px; 
  bottom: 22px; 
  width: 46px; 
  height: 46px; 
  display: grid; 
  place-items: center; 
  background: #0b1a2e; 
  color: #ffffff; 
  border-radius: 50%; 
  cursor: pointer; 
  opacity: 0; 
  visibility: hidden; 
  transform: translateY(10px); 
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1); 
  z-index: 90; 
  box-shadow: 0 10px 30px rgba(11, 26, 46, 0.12); 
}

.to-top.is-visible { 
  opacity: 1; 
  visibility: visible; 
  transform: none; 
}

.to-top:hover { 
  background: #ea580c; 
}

/* Animation Reveal Classes */
.reveal { 
  opacity: 0; 
  transform: translateY(22px); 
  transition: opacity 600ms ease, transform 600ms ease; 
}

.reveal.is-visible { 
  opacity: 1; 
  transform: none; 
}

/* ==========================================================================
   13. RESPONSIVE MEDIA QUERIES (Optimized for All Devices)
   ========================================================================== */

/* Laptops & Large Tablets (Max-width: 1100px) */
@media (max-width: 1100px) {
  .footer-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 36px; 
  }
}

/* Small Tablets & Large Phones (Max-width: 768px) */
@media (max-width: 768px) {
  .footer-grid { 
    grid-template-columns: 1fr; 
    gap: 36px; 
  }
  
  .footer-brand p {
    padding-right: 0;
  }
}

/* Mobile Phones (Max-width: 576px) */
@media (max-width: 576px) {
  .site-footer {
    padding-top: 40px;
  }
  
  .footer-grid { 
    gap: 28px; 
    padding-bottom: 32px; 
  }
  
  .footer-bottom { 
    flex-direction: column; 
    justify-content: center; 
    text-align: center; 
    gap: 12px;
  }
  
  .footer-bottom nav {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }
}
/* ==========================================================================
   12. FOOTER (Pure Flexbox Layout & Correct Alignment)
   ========================================================================== */
.site-footer { 
  background: #111827; 
  color: #ffffff; 
  padding-top: clamp(48px, 6vw, 72px); 
  font-size: 0.95rem; 
  line-height: 1.7; 
  width: 100%;
  box-sizing: border-box;
}

/* --- Footer Flex Container --- */
.footer-grid { 
  display: flex; 
  flex-wrap: nowrap; /* Keeps items side-by-side on tablet/desktop */
  justify-content: space-between; 
  align-items: flex-start;
  gap: clamp(16px, 2vw, 32px); 
  padding-bottom: clamp(40px, 5vw, 56px); 
  width: 100%;
  box-sizing: border-box;
}

/* --- Proportional Flex Basis for Columns --- */
.footer-brand { 
  flex: 1.4 1 0%; 
  min-width: 0;
}

.footer-links { 
  flex: 1 1 0%; 
  min-width: 0;
}

.footer-contact { 
  flex: 1.5 1 0%; 
  min-width: 0;
  box-sizing: border-box;
}

.site-footer h4 { 
  color: #ffffff; 
  font-size: 0.8rem; 
  font-weight: 700; 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  margin-bottom: 20px; 
}

.footer-brand .brand { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  margin-bottom: 16px; 
}

.footer-brand .brand__name { 
  color: #ffffff; 
  font-size: 11px; 
  font-weight: 800; 
  letter-spacing: 0.05em; 
}

.footer-brand p { 
  margin: 0; 
  padding-right: 10px; 
  color: rgba(255, 255, 255, 0.85); 
  font-size: 0.85rem;
}

.footer-links ul { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}

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

.footer-links a { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  color: rgba(255, 255, 255, 0.85); 
  text-decoration: none; 
  font-size: 0.85rem;
  transition: color 0.3s ease, transform 0.3s ease; 
}

.footer-links a svg, 
.footer-links a i { 
  flex: 0 0 16px; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  opacity: 0.8; 
  transition: opacity 0.3s ease, transform 0.3s ease; 
}

.footer-links a:hover { 
  color: #ea580c; 
  transform: translateX(4px); 
}

.footer-links a:hover svg, 
.footer-links a:hover i { 
  opacity: 1; 
  transform: scale(1.1); 
}

/* --- Contact Column Specific Flex Styling --- */
.footer-contact ul { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}

.footer-contact ul li { 
  display: flex; 
  align-items: flex-start; 
  gap: 10px; 
  margin-bottom: 10px; 
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85); 
  font-size: 0.82rem;
}

.footer-contact ul li:last-child {
  margin-bottom: 0; 
}

.footer-contact ul li a,
.footer-contact ul li span:not(.icon) { 
  color: rgba(255, 255, 255, 0.85); 
  text-decoration: none; 
  transition: color 0.3s ease; 
  word-break: break-word;
  flex: 1;
}

.footer-contact ul li a:hover { 
  color: #ea580c; 
}

.footer-contact .icon { 
  flex: 0 0 16px; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  margin-top: 2px; 
  font-size: 0.95rem; 
  color: #ea580c; 
}

/* --- Footer Bottom Bar --- */
.footer-bottom { 
  border-top: 1px solid rgba(255, 255, 255, 0.15); 
  padding: 20px 0; 
  display: flex; 
  flex-wrap: wrap; 
  gap: 16px; 
  justify-content: center; 
  align-items: center; 
  font-size: 0.8rem; 
  color: rgba(255, 255, 255, 0.8); 
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.footer-bottom p { 
  margin: 0; 
}

/* Scroll to Top Button */
.to-top { 
  position: fixed; 
  right: 22px; 
  bottom: 22px; 
  width: 46px; 
  height: 46px; 
  display: grid; 
  place-items: center; 
  background: #0b1a2e; 
  color: #ffffff; 
  border-radius: 50%; 
  cursor: pointer; 
  opacity: 0; 
  visibility: hidden; 
  transform: translateY(10px); 
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1); 
  z-index: 90; 
  box-shadow: 0 10px 30px rgba(11, 26, 46, 0.12); 
}

.to-top.is-visible { 
  opacity: 1; 
  visibility: visible; 
  transform: none; 
}

.to-top:hover { 
  background: #ea580c; 
}

/* Animation Reveal Classes */
.reveal { 
  opacity: 0; 
  transform: translateY(22px); 
  transition: opacity 600ms ease, transform 600ms ease; 
}

.reveal.is-visible { 
  opacity: 1; 
  transform: none; 
}

/* ==========================================================================
   13. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Mobile Phones (Max-width: 768px) - Stacks columns vertically only on small viewports */
@media (max-width: 768px) {
  .site-footer {
    padding-top: 40px;
  }
  
  .footer-grid { 
    flex-wrap: wrap; 
    flex-direction: column; 
    gap: 28px; 
    padding-bottom: 32px; 
  }
  
  .footer-grid > div {
    flex: 1 1 100% !important;
    min-width: 100%;
  }

  .footer-brand p {
    padding-right: 0;
  }
  
  .footer-bottom { 
    flex-direction: column; 
    justify-content: center; 
    text-align: center; 
    gap: 12px;
  }
}

/* ==========================================================================
   13. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet & Smaller Desktop (Max-width: 1080px) */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 40px; }
}

/* 1024px Footer Breakpoint */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet (Max-width: 850px) */
@media (max-width: 850px) {
  .presence-row { flex-direction: column; gap: 10px; }
  .presence__node { width: 100%; padding: 24px 20px; }
  .presence__arrow { transform: rotate(0deg); margin: 10px 0; padding: 4px 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  
  /* CTA Band Mobile Flex Overrides */
  .cta-band__inner { flex-direction: column !important; align-items: flex-start !important; }
  .cta-band__actions { flex-wrap: wrap !important; }
}

/* Mobile (Max-width: 768px) */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; text-align: center; }
  
  #about { padding-top: 50px; }
  #about .split .reveal img { height: auto; aspect-ratio: 16/9; }
  .split .check-list { text-align: left; }
  #services { padding-top: 50px !important; padding-bottom: 50px; }
  
  .hero { padding: 72px 0; min-height: auto; text-align: center; }
  .hero__text { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__actions .btn { width: 100%; }
  .hero-tags { justify-content: center; }
  
  .section-head--center { text-align: center; }
  #contact { padding-top: 32px; text-align: center; }
  .contact-item { flex-direction: column; align-items: center; text-align: center; }
}

/* 650px Footer Mobile */
@media (max-width: 650px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
}

.footer-bottom {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}