/*
Theme Name: Al-Hamd Global Trade
Theme URI: https://www.al-hamdglobal.com
Author: Al-Hamd Global Trade
Author URI: https://www.al-hamdglobal.com
Description: Official corporate WordPress theme for Al-Hamd Global Trade — a trusted B2B supplier for Medical & Medicine Supplies, Digital Communication & Defense, and IT Solutions & Cybersecurity. Built to the company's official brand guidelines (navy/accent-blue palette, Helvetica Neue typography).
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alhamd
*/

/* =========================================================
   NOTE: This file is intentionally also the theme's main
   stylesheet (WordPress requires a style.css with the header
   above in the theme's root folder). All page styling lives
   here — edit the :root variables below to change brand colors
   site-wide.
   ========================================================= */
/* =========================================================
   AL-HAMD GLOBAL TRADE — MAIN STYLESHEET
   -----------------------------------------------------------
   HOW TO EDIT COLORS: change the values in :root below.
   Every color on the site is pulled from these variables,
   so changing one line updates the whole site.
   ========================================================= */

:root{
  /* ---- Brand palette (from official guidelines) ---- */
  --navy: #1a365d;        /* Primary Dark - headers, buttons, overlays */
  --navy-dark: #122544;   /* darker navy for gradients/hover */
  --accent: #2b6cb0;      /* Accent Blue - links, icons, CTA highlights */
  --accent-light: #4a89c9;
  --slate: #f7fafc;       /* Light Slate - alternating section backgrounds */
  --charcoal: #2d3748;    /* body text */
  --white: #ffffff;
  --border: #e2e8f0;
  --success: #2f855a;
  --error: #c53030;

  /* ---- Type scale ---- */
  --font-main: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Sora', 'Helvetica Neue', Arial, sans-serif;

  /* ---- Spacing / shape ---- */
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(26,54,93,0.08);
  --shadow-lg: 0 16px 44px rgba(26,54,93,0.16);
  --container: 1200px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--font-main);
  color:var(--charcoal);
  background:var(--white);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,textarea,select{ font-family:inherit; font-size:1rem; }

/* Visible keyboard focus (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:3px solid var(--accent-light);
  outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

h1,h2,h3,h4{
  font-family:var(--font-heading);
  font-weight:700;
  letter-spacing:-0.03em;
  color:var(--navy);
  line-height:1.15;
}
h1{ font-size:clamp(2.1rem, 4.8vw, 3.6rem); font-weight:800; }
h2{ font-size:clamp(1.7rem, 3.2vw, 2.5rem); font-weight:800; }
h3{ font-size:1.3rem; font-weight:700; }
p{ color:var(--charcoal); }

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

section{ padding:80px 0; }
@media (max-width:768px){ section{ padding:52px 0; } }

.bg-slate{ background:var(--slate); }
.bg-navy{ background:var(--navy); color:var(--white); }
.bg-navy h2, .bg-navy h3{ color:var(--white); }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:0.75rem;
  font-weight:700;
  font-family:var(--font-heading);
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--accent);
  background:rgba(43,108,176,0.1);
  padding:7px 16px;
  border-radius:999px;
  margin-bottom:14px;
}
.section-head{ text-align:center; max-width:700px; margin:0 auto 48px; }
.section-head p{ color:#5a6a7e; margin-top:12px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:15px 30px;
  border-radius:12px;
  font-weight:700;
  font-size:0.95rem;
  font-family:var(--font-heading);
  border:2px solid transparent;
  transition:all .25s ease;
  white-space:nowrap;
}
.btn-primary{ background:linear-gradient(135deg, var(--accent) 0%, #1e4e82 100%); color:var(--white); box-shadow:0 8px 20px rgba(43,108,176,0.28); }
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 14px 28px rgba(43,108,176,0.36); }
.btn-outline{ border-color:rgba(255,255,255,0.5); color:var(--white); }
.btn-outline:hover{ background:rgba(255,255,255,0.12); border-color:var(--white); transform:translateY(-3px); }
.btn-outline-navy{ border-color:var(--navy); color:var(--navy); }
.btn-outline-navy:hover{ background:var(--navy); color:var(--white); }
.btn-block{ width:100%; justify-content:center; }

/* ---------- Top utility bar ---------- */
.topbar{
  background:var(--navy-dark);
  color:#cbd8e8;
  font-size:0.82rem;
}
.topbar .container{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:8px; padding-bottom:8px; gap:16px; flex-wrap:wrap;
}
.topbar-left, .topbar-right{ display:flex; gap:22px; flex-wrap:wrap; align-items:center; }
.topbar a{ color:#cbd8e8; }
.topbar a:hover{ color:var(--white); }
.topbar-item{ display:inline-flex; align-items:center; gap:6px; }
.topbar svg{ width:14px; height:14px; flex-shrink:0; }

/* ---------- Header / Nav ---------- */
.site-header{
  background:var(--white);
  border-bottom:1px solid var(--border);
  position:sticky; top:0; z-index:100;
}
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:56px; width:auto; }

.main-nav{ display:flex; align-items:center; gap:6px; }
.main-nav ul.primary-menu-list{ display:flex; align-items:center; gap:6px; list-style:none; margin:0; padding:0; }
.main-nav li{ list-style:none; }
.main-nav a{
  padding:10px 14px;
  font-size:0.95rem;
  font-weight:600;
  color:var(--charcoal);
  border-radius:var(--radius-sm);
  transition:color .2s;
  position:relative;
}
.main-nav a:hover, .main-nav a.active{ color:var(--accent); }
.main-nav a.active::after{
  content:""; position:absolute; left:14px; right:14px; bottom:2px; height:2px; background:var(--accent);
}
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a{ color:var(--accent); }
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after{
  content:""; position:absolute; left:14px; right:14px; bottom:2px; height:2px; background:var(--accent);
}
.nav-actions{ display:flex; align-items:center; gap:14px; }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px;
}
.nav-toggle span{ width:24px; height:2px; background:var(--navy); border-radius:2px; }

@media (max-width:960px){
  .main-nav{
    position:absolute; top:100%; left:0; right:0; background:var(--white);
    flex-direction:column; align-items:stretch; padding:10px 24px 20px;
    border-bottom:1px solid var(--border); box-shadow:var(--shadow);
    display:none;
  }
  .main-nav.open{ display:flex; }
  .main-nav ul.primary-menu-list{ flex-direction:column; align-items:stretch; gap:0; width:100%; }
  .main-nav a{ padding:12px 4px; border-bottom:1px solid var(--border); border-radius:0; display:block; }
  .nav-toggle{ display:flex; }
  .nav-actions .btn-primary{ padding:10px 16px; font-size:0.85rem; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  color:var(--white);
  background:linear-gradient(115deg, rgba(18,37,68,0.94) 0%, rgba(26,54,93,0.86) 45%, rgba(26,54,93,0.55) 100%), var(--hero-img, none) center/cover no-repeat;
  padding:110px 0 90px;
  overflow:hidden;
}
.hero::before{
  content:""; position:absolute; top:-120px; right:-120px; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(43,108,176,0.45) 0%, transparent 70%);
  filter:blur(10px); pointer-events:none; z-index:1;
}
.hero .container{ position:relative; z-index:2; }
.hero-inner{ max-width:680px; }
.hero-inner p.lead{ font-size:1.08rem; color:#dbe6f2; margin:20px 0 32px; max-width:560px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

.page-hero{
  position:relative; color:var(--white); text-align:center;
  background:linear-gradient(180deg, rgba(18,37,68,0.86), rgba(18,37,68,0.78)), var(--hero-img, none) center/cover no-repeat;
  padding:96px 0 74px;
}
.page-hero h1{ color:var(--white); }
.page-hero p{ color:#dbe6f2; font-size:1.05rem; margin-top:12px; max-width:640px; margin-left:auto; margin-right:auto; }
.breadcrumb{ font-size:0.85rem; color:#a9bcd6; margin-bottom:14px; letter-spacing:0.06em; text-transform:uppercase; }
.breadcrumb a{ color:#a9bcd6; }
.breadcrumb a:hover{ color:var(--white); }

/* ---------- Trust strip ---------- */
.trust-strip{ background:var(--navy); color:var(--white); }
.trust-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:32px;
}
.trust-item{ display:flex; gap:16px; align-items:flex-start; }
.trust-item .icon-badge{ background:rgba(255,255,255,0.12); }
.trust-item h4{ color:var(--white); font-size:1.02rem; margin-bottom:4px; }
.trust-item p{ color:#c4d3e6; font-size:0.9rem; }
@media (max-width:800px){ .trust-grid{ grid-template-columns:1fr; gap:24px; } }

/* ---------- Icon badge ---------- */
.icon-badge{
  width:54px; height:54px; border-radius:16px;
  background:linear-gradient(135deg, rgba(43,108,176,0.14) 0%, rgba(43,108,176,0.06) 100%);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.icon-badge svg{ width:24px; height:24px; stroke:var(--accent); }
.icon-badge.lg{ width:66px; height:66px; border-radius:18px; }
.icon-badge.lg svg{ width:28px; height:28px; }

/* ---------- Two column intro (About / Home) ---------- */
.intro-grid{
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center;
}
.intro-media{ position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-lg); }
.intro-media img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; }
.intro-media .tag{
  position:absolute; left:16px; bottom:16px; background:rgba(18,37,68,0.85);
  color:var(--white); font-size:0.8rem; padding:8px 14px; border-radius:6px;
  display:flex; align-items:center; gap:6px;
}
.intro-text .eyebrow{ margin-bottom:8px; }
.intro-text p{ margin:16px 0; color:#4a5568; }
.mini-features{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:28px; }
.mini-feature{ text-align:left; }
.mini-feature .icon-badge{ margin-bottom:10px; }
.mini-feature span{ display:block; font-size:0.85rem; font-weight:600; color:var(--navy); }
@media (max-width:900px){
  .intro-grid{ grid-template-columns:1fr; }
  .mini-features{ grid-template-columns:repeat(2,1fr); }
}

/* ---------- Pillars / Division cards ---------- */
.pillars-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.pillar-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow); transition:transform .25s ease, box-shadow .25s ease;
  display:flex; flex-direction:column;
}
.pillar-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.pillar-media{ position:relative; height:190px; overflow:hidden; }
.pillar-media img{ width:100%; height:100%; object-fit:cover; }
.pillar-media::after{ content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(18,37,68,0.55), transparent 60%); }
.pillar-icon{
  position:absolute; left:20px; bottom:-24px; width:52px; height:52px; border-radius:50%;
  background:var(--white); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow);
  border:3px solid var(--white);
}
.pillar-icon svg{ width:24px; height:24px; }
.pillar-body{ padding:40px 24px 24px; flex:1; display:flex; flex-direction:column; }
.pillar-body h3{ margin-bottom:12px; }
.pillar-body ul{ margin-bottom:20px; flex:1; }
.pillar-body li{ display:flex; align-items:flex-start; gap:8px; font-size:0.92rem; color:#4a5568; margin-bottom:8px; }
.pillar-body li svg{ width:16px; height:16px; stroke:var(--accent); flex-shrink:0; margin-top:3px; }
.pillar-link{ font-weight:700; color:var(--accent); display:inline-flex; align-items:center; gap:6px; font-size:0.9rem; }
.pillar-link:hover{ gap:10px; }
@media (max-width:960px){ .pillars-grid{ grid-template-columns:1fr; } }

/* ---------- Industries ---------- */
.industry-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.industry-card{
  background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  border:1px solid var(--border);
}
.industry-media{ height:150px; }
.industry-media img{ width:100%; height:100%; object-fit:cover; }
.industry-body{ padding:22px 22px 26px; }
.industry-body .icon-badge{ margin-top:-42px; margin-bottom:14px; border:3px solid var(--white); }
.industry-body h4{ color:var(--navy); margin-bottom:6px; }
.industry-body p{ font-size:0.9rem; color:#5a6a7e; margin-bottom:12px; }
.industry-body li{ display:flex; gap:8px; align-items:flex-start; font-size:0.86rem; color:#4a5568; margin-bottom:6px; }
.industry-body li svg{ width:14px; height:14px; stroke:var(--accent); margin-top:3px; flex-shrink:0; }
@media (max-width:900px){ .industry-grid{ grid-template-columns:1fr; } }

/* ---------- Strengths grid ---------- */
.strengths-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:18px; }
.strength-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:26px 16px; text-align:center; transition:transform .2s, box-shadow .2s;
}
.strength-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:transparent; }
.strength-card .icon-badge{ margin:0 auto 14px; }
.strength-card h4{ font-size:0.95rem; margin-bottom:6px; }
.strength-card p{ font-size:0.8rem; color:#5a6a7e; }
@media (max-width:960px){ .strengths-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .strengths-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Generic feature/category card grid (used across division pages) ---------- */
.cards-grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.cards-grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.cards-grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
@media (max-width:960px){ .cards-grid-3{ grid-template-columns:repeat(2,1fr); } .cards-grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .cards-grid-2, .cards-grid-3, .cards-grid-4{ grid-template-columns:1fr; } }

.feature-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:30px 26px; box-shadow:var(--shadow); transition:transform .2s, box-shadow .2s;
}
.feature-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.feature-card .icon-badge{ margin-bottom:16px; }
.feature-card h3{ margin-bottom:8px; font-size:1.1rem; }
.feature-card > p{ font-size:0.9rem; color:#5a6a7e; margin-bottom:16px; }
.feature-card li{ display:flex; gap:8px; align-items:flex-start; font-size:0.88rem; color:#4a5568; margin-bottom:8px; }
.feature-card li svg{ width:15px; height:15px; stroke:var(--accent); margin-top:3px; flex-shrink:0; }

/* section with photo background + white cards overlay (comm/medical sub-sections) */
.photo-section{
  position:relative; background-size:cover; background-position:center;
}
.photo-section::before{ content:""; position:absolute; inset:0; background:rgba(247,250,252,0.93); }
.photo-section .container{ position:relative; z-index:2; }

/* ---------- Product gallery (photo cards) ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.gallery-card{ background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--border); }
.gallery-media{ height:190px; overflow:hidden; }
.gallery-media img{ width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.gallery-card:hover .gallery-media img{ transform:scale(1.06); }
.gallery-body{ padding:20px 22px 24px; }
.gallery-body h4{ color:var(--navy); margin-bottom:6px; }
.gallery-body p{ font-size:0.88rem; color:#5a6a7e; }
@media (max-width:900px){ .gallery-grid{ grid-template-columns:1fr; } }

/* ---------- Product catalogue (spec cards) ---------- */
.catalogue-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.catalogue-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:22px 18px; text-align:left;
}
.catalogue-card .icon-badge{ margin-bottom:14px; }
.catalogue-card h4{ font-size:0.95rem; color:var(--navy); margin-bottom:8px; }
.catalogue-card p{ font-size:0.8rem; color:#5a6a7e; line-height:1.5; }
@media (max-width:900px){ .catalogue-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .catalogue-grid{ grid-template-columns:1fr; } }

/* ---------- Process steps ---------- */
.process-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.process-row::before{
  content:""; position:absolute; top:26px; left:12%; right:12%; height:2px;
  background:repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
  z-index:0;
}
.process-step{ text-align:center; position:relative; z-index:1; padding:0 14px; }
.process-num{
  width:54px; height:54px; border-radius:50%; background:var(--accent); color:var(--white);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1.15rem;
  margin:0 auto 18px; box-shadow:var(--shadow);
}
.process-step h4{ margin-bottom:8px; font-size:1rem; }
.process-step p{ font-size:0.85rem; color:#5a6a7e; }
@media (max-width:800px){
  .process-row{ grid-template-columns:1fr; gap:36px; }
  .process-row::before{ display:none; }
}

/* ---------- CTA / Contact form section ---------- */
.cta-section{ background:var(--navy); color:var(--white); position:relative; overflow:hidden; }
.cta-section::before{
  content:""; position:absolute; bottom:-140px; left:-100px; width:380px; height:380px; border-radius:50%;
  background:radial-gradient(circle, rgba(43,108,176,0.35) 0%, transparent 70%);
  filter:blur(10px); pointer-events:none;
}
.cta-grid{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px; align-items:flex-start; position:relative; z-index:2; }
.cta-info h2{ color:var(--white); }
.cta-info p{ color:#c4d3e6; margin:16px 0 26px; }
.cta-points{ display:flex; flex-direction:column; gap:16px; }
.cta-point{ display:flex; align-items:center; gap:12px; font-size:0.92rem; color:#dce8f5; }
.cta-point .icon-badge{ background:rgba(255,255,255,0.12); width:42px; height:42px; }
.cta-point .icon-badge svg{ width:18px; height:18px; stroke:var(--white); }

.form-card{ background:var(--white); border-radius:var(--radius); padding:34px; box-shadow:var(--shadow-lg); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group{ margin-bottom:18px; }
.form-group label{ display:block; font-size:0.85rem; font-weight:600; color:var(--navy); margin-bottom:6px; }
.form-group input, .form-group textarea, .form-group select{
  width:100%; padding:12px 14px; border:1.5px solid var(--border); border-radius:var(--radius-sm);
  color:var(--charcoal); background:var(--white); transition:border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus{ border-color:var(--accent); outline:none; }
.form-group textarea{ resize:vertical; min-height:110px; }
.file-drop{
  border:1.5px dashed var(--border); border-radius:var(--radius-sm); padding:18px; text-align:center;
  font-size:0.85rem; color:#5a6a7e; cursor:pointer; transition:border-color .2s, background .2s;
}
.file-drop:hover{ border-color:var(--accent); background:#f3f8fc; }
.file-drop input[type=file]{ display:none; }
.file-drop .fname{ display:block; margin-top:6px; font-weight:600; color:var(--accent); }
.hp-field{ position:absolute; left:-9999px; opacity:0; height:0; width:0; }
.form-msg{ margin-top:14px; padding:12px 14px; border-radius:var(--radius-sm); font-size:0.9rem; display:none; }
.form-msg.show{ display:block; }
.form-msg.ok{ background:#f0fff4; color:var(--success); border:1px solid #c6f6d5; }
.form-msg.err{ background:#fff5f5; color:var(--error); border:1px solid #fed7d7; }
@media (max-width:960px){ .cta-grid{ grid-template-columns:1fr; } }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } .form-card{ padding:22px; } }

/* ---------- Contact page specific ---------- */
.contact-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:44px; }
.contact-detail{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--border); }
.contact-detail:last-child{ border-bottom:none; }
.contact-detail h4{ font-size:0.95rem; margin-bottom:4px; }
.contact-detail p, .contact-detail a{ font-size:0.9rem; color:#4a5568; }
.map-embed{ border-radius:var(--radius); overflow:hidden; margin-top:24px; border:1px solid var(--border); }
.map-embed iframe{ width:100%; height:260px; border:0; display:block; }
.info-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:26px; }
.info-strip-item{ text-align:center; }
.info-strip-item .icon-badge{ margin:0 auto 10px; }
.info-strip-item span{ font-size:0.85rem; font-weight:600; color:var(--navy); }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } .info-strip{ grid-template-columns:1fr; } }

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy-dark); color:#aebfd6; padding-top:64px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px; padding-bottom:44px; }
.footer-brand .brand{ margin-bottom:14px; }
.footer-brand .brand img{ height:48px; }
.footer-brand p{ color:#8fa3c0; font-size:0.88rem; margin-bottom:18px; }
.footer-col h4{ color:var(--white); font-size:0.95rem; margin-bottom:16px; }
.footer-col li{ margin-bottom:10px; font-size:0.88rem; }
.footer-col a:hover{ color:var(--white); }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; }
.footer-contact svg{ width:16px; height:16px; stroke:var(--accent-light); margin-top:3px; flex-shrink:0; }
.social-row{ display:flex; gap:10px; margin-top:16px; }
.social-row a{
  width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center; transition:background .2s;
}
.social-row a:hover{ background:var(--accent); }
.social-row svg{ width:16px; height:16px; stroke:var(--white); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.08); padding:20px 0; font-size:0.82rem;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}
.footer-bottom a:hover{ color:var(--white); }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* ---------------- Featured Products & Capabilities grid ---------------- */
.capability-columns{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.cap-col-media{ border-radius:var(--radius); overflow:hidden; margin-bottom:16px; box-shadow:var(--shadow); }
.cap-col-media img{ width:100%; height:140px; object-fit:cover; }
.cap-title{ font-size:1rem; font-weight:700; padding-bottom:10px; margin-bottom:16px; border-bottom:3px solid var(--accent); color:var(--accent); }
.cap-title.cap-medical{ color:#2f855a; border-color:#2f855a; }
.cap-title.cap-comm{ color:#6b7f2e; border-color:#6b7f2e; }
.cap-title.cap-it{ color:var(--accent); border-color:var(--accent); }
.capability-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.cap-tile{ background:var(--white); border:1px solid var(--border); border-radius:8px; padding:18px 10px; text-align:center; transition:transform .2s, box-shadow .2s; }
.cap-tile:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.cap-tile .icon-badge{ margin:0 auto 10px; }
.cap-tile span{ font-size:0.78rem; font-weight:600; color:var(--navy); line-height:1.3; display:block; }
@media (max-width:900px){ .capability-columns{ grid-template-columns:1fr; } }
@media (max-width:480px){ .capability-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Misc ---------- */
.divider-line{ height:1px; background:var(--border); margin:0; }
.text-center{ text-align:center; }
.mt-24{ margin-top:24px; }
.whatsapp-fab{
  position:fixed; left:24px; bottom:24px; width:56px; height:56px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-lg); z-index:200; transition:transform .2s;
}
.whatsapp-fab:hover{ transform:translateY(-3px) scale(1.05); }

.back-to-top{
  position:fixed; right:24px; bottom:24px; width:46px; height:46px; border-radius:50%;
  background:var(--accent); display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-lg); opacity:0; pointer-events:none; transition:opacity .25s, transform .25s;
  z-index:200; border:none;
}
.back-to-top.show{ opacity:1; pointer-events:auto; }
.back-to-top svg{ width:20px; height:20px; stroke:var(--white); }
.back-to-top:hover{ transform:translateY(-3px); }

/* Fade-in on scroll (respects reduced motion via the rule above) */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }
