/* =========================================================
   T-Fiber website — stylesheet
   Palette: institutional steel-blue / navy with orange & green accents
   ========================================================= */

:root{
  --navy: #001d57;
  --navy-dark: #081E36;
  --steel: #020202;
  --sky: #4FC3F7;
  --orange: #F7941D;
  --orange-logo:#f36f21;
  --orange-dark: #ED1C24;
  --green: #1E9E4A;
  --green-light: #3DD16B;
  --grey-bg: #F4F7FA;
  --grey-line: #E1E7ED;
  --text: #22293A;
  --text-light: #5A6472;
  --white: #FFFFFF;
  --light-green:#0D9488;
  --violet:#7C5CFF; /* added: 8th accent color, used only for mega-menu item borders below */

  --font-head: 'Poppins', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;

  --container: 1240px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; font-size:100%; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  background:var(--white);
  line-height:1.55;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--navy); color:var(--white); padding:10px 16px; z-index:9999;
}
.skip-link:focus{ left:8px; top:8px; }

/* buttons */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 26px; font-weight:700; font-size:.85rem;
  letter-spacing:.4px; text-transform:uppercase;
  border-radius:4px; border:2px solid transparent;
  transition:transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--orange); color:var(--white); }
.btn-primary:hover{ background:var(--orange-dark); }
.btn-outline-light{ border-color:rgba(255,255,255,.8); color:var(--white); }
.btn-outline-light:hover{ background:var(--white); color:var(--navy); }
.btn-outline-navy{ border-color:var(--navy); color:var(--navy); }
.btn-outline-navy:hover{ background:var(--navy); color:var(--white); }
.btn-login{ background:var(--green); color:var(--white); padding:10px 20px; border-radius:24px; font-size:.8rem; }
.btn-login:hover{ background:#178040; }

/* =================== UTILITY BAR =================== */
.utility-bar{
  background:var(--navy-dark);
  color:#C9D4DF;
  font-size:.7rem;
}
.utility-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:4px 24px; gap:14px; flex-wrap:wrap;
}
.utility-left, .utility-right{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
}
.utility-item{ display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.utility-item.link:hover{ color:var(--white); }
.font-size-controls{ display:flex; gap:2px; }
.font-size-controls button{
  background:none; border:1px solid rgba(255,255,255,.25); color:#C9D4DF;
  width:20px; height:18px; border-radius:3px; font-size:.64rem;
}
.font-size-controls button:hover{ background:rgba(255,255,255,.12); }
.icon-toggle{
  background:none; border:none; color:#C9D4DF; font-size:.82rem; padding:1px 3px;
}
.icon-toggle:hover{ color:var(--white); }
.lang-toggle{ background:none; border:none; color:#C9D4DF; font-size:.7rem; }
.lang-toggle:hover{ color:var(--white); }
.follow-label{ opacity:.85; }
.social-icons{ display:flex; gap:8px; }
.social-icons a{
  width:20px; height:20px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.1); color:var(--white); font-size:.62rem;
  transition:background .2s ease;
}
.social-icons a:hover{ background:var(--orange); }

/* =================== MASTHEAD =================== */
.masthead{
  background:var(--white);
}
.masthead-inner{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:20px;
  padding:16px 24px;
}
.masthead-left{
  display:flex; align-items:center; gap:16px; justify-self:start;
}
.masthead-logo-tfiber{ height:60px; width:auto; }
.masthead-divider{ width:1px; height:38px; background:var(--grey-line); }
.masthead-emblem{ height:60px; width:60px; object-fit:contain; }

.masthead-center{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  justify-self:center; white-space:nowrap;
}
.masthead-center strong{
  font-family:var(--font-head); color:var(--navy); font-size:1.25rem; font-weight:700;
  letter-spacing:.2px;
}
.masthead-center span{
  font-size:.99rem; color:var(--text-light); margin-top:2px;
}

.masthead-right{
  display:flex; align-items:center; gap:14px; justify-self:end;
}
.masthead-right-label{
  font-size:.66rem; font-weight:700; text-transform:uppercase; letter-spacing:.5px;
  color:var(--text-light); border-right:1px solid var(--grey-line); padding-right:14px;
  line-height:1.3; max-width:78px;
}
.masthead-partner-logos{ display:flex; align-items:center; gap:18px; }
.masthead-partner-logos img{ height:55px; width:auto; object-fit:contain; }

/* =================== NAVIGATION BAR =================== */
.navbar{
  background:var(--navy);
  box-shadow:0 4px 14px rgba(7,27,48,.18);
}
.navbar-inner{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:0 24px;
  position:relative; /* anchors megamenus (below) to the full nav width, not
                         to whichever narrow trigger link happens to open one */
}

.main-nav > ul{ display:flex; align-items:center; gap:2px; }
.main-nav > ul > li{ position:relative; }
/* Megamenu triggers deliberately do NOT become their own positioning
   anchor. If they did, a wide megamenu centered under a trigger sitting
   away from the middle of the bar (e.g. Services, Products) would overflow
   past the edge of the screen. Falling through to .navbar-inner above
   means the panel always centers on the full nav width instead. */
.main-nav > ul > li.has-megamenu{ position:static; }
.main-nav > ul > li > a{
  position:relative;
  display:flex; align-items:center; gap:6px;
  padding:17px 16px; font-weight:600; font-size:.85rem;
  color:#DCE7F2; text-transform:uppercase; letter-spacing:.3px;
}
.main-nav > ul > li > a i.fa-chevron-down{ font-size:.6rem; opacity:.6; }

.main-nav > ul > li > a .nav-flow{
  position:absolute; left:16px; right:16px; bottom:0; height:2px;
  background:linear-gradient(90deg, var(--tfiber-orange, #F7941D), var(--tfiber-cyan, #4FC3F7));
  transform:scaleX(0); transform-origin:left; transition:transform .3s ease;
}
.main-nav > ul > li > a:hover .nav-flow,
.main-nav > ul > li > a:focus-visible .nav-flow,
.main-nav > ul > li > a.active .nav-flow{
  transform:scaleX(1);
}
.main-nav > ul > li > a.active .nav-flow{
  background:linear-gradient(90deg, var(--tfiber-orange,#F7941D), var(--tfiber-cyan,#4FC3F7), var(--tfiber-orange,#F7941D));
  background-size:200% 100%;
  animation:navFlowShimmer 2.4s linear infinite;
}
@keyframes navFlowShimmer{ to{ background-position:-200% 0; } }

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a:focus-visible,
.main-nav > ul > li > a.active{ color:#fff; }

.dropdown{
  position:absolute; top:100%; left:16px; min-width:220px;
  background:var(--white); border-radius:0 0 8px 8px; box-shadow:0 16px 32px rgba(7,27,48,.28);
  padding:10px 0 8px; opacity:0; visibility:hidden; transform:translateY(6px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s;
  z-index:50;
}
.dropdown::before{
  content:""; position:absolute; left:20px; top:-6px; width:1px; height:0;
  background:linear-gradient(var(--tfiber-cyan,#4FC3F7), transparent);
  transition:height .25s ease .05s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown{
  opacity:1; visibility:visible; transform:translateY(0);
}
.has-dropdown:hover .dropdown::before, .has-dropdown:focus-within .dropdown::before{ height:6px; }
.dropdown li a{
  display:block; padding:9px 20px; font-size:.85rem; color:var(--text-light);
  border-left:2px solid transparent;
}
.dropdown li a:hover, .dropdown li a:focus-visible{
  background:var(--grey-bg); color:var(--steel); border-left-color:var(--tfiber-orange,#F7941D);
}

/* =================== PRODUCTS MEGA MENU (added) ===================
   New class layered alongside the existing .has-dropdown, so the
   top-level "Products" link keeps using the exact same styling, colors
   and hover/nav-flow behavior as every other nav item above -- nothing
   in the rules above this comment was changed. The mobile slide-in menu
   also keeps working unchanged, since .has-dropdown's "open" toggle
   still applies (only the panel itself, .megamenu instead of .dropdown,
   is new). */
.megamenu{
  position:absolute; top:100%; left:50%; transform:translate(-50%, 6px);
  width:800px; max-width:calc(100vw - 48px);
  box-sizing:border-box;
  background:var(--white); border-radius:0 0 8px 8px; box-shadow:0 16px 32px rgba(7,27,48,.28);
  padding:26px 30px 16px; opacity:0; visibility:hidden;
  transition:opacity .2s ease, transform .2s ease, visibility .2s;
  z-index:50;
}
.has-dropdown:hover .megamenu, .has-dropdown:focus-within .megamenu{
  opacity:1; visibility:visible; transform:translate(-50%, 0);
}
.megamenu-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:22px 30px;
}
.megamenu-item{ display:block; box-sizing:border-box; }
.megamenu-item h4{
  margin:0 0 8px; padding-bottom:8px; padding-left:10px; font-family:var(--font-head); font-size:.92rem;
  font-weight:700; color:var(--steel);
  border-bottom:2px solid var(--grey-line); /* light blue underline, same for every item */
  border-left:3px solid transparent;   /* per-item accent color, set below */
  transition:color .2s ease;
}
.megamenu-item p{
  margin:0; font-size:.78rem; line-height:1.5; color:var(--text-light);
  overflow-wrap:break-word; word-break:break-word;
}
.megamenu-item:hover h4{ color:var(--navy); }

/* distinct accent color per product, on the title's 3px left border */
.megamenu-item:nth-child(1) h4{ border-left-color:var(--navy); }
.megamenu-item:nth-child(2) h4{ border-left-color:var(--orange); }
.megamenu-item:nth-child(3) h4{ border-left-color:var(--green); }
.megamenu-item:nth-child(4) h4{ border-left-color:var(--sky); }
.megamenu-item:nth-child(5) h4{ border-left-color:var(--orange-dark); }
.megamenu-item:nth-child(6) h4{ border-left-color:var(--green-light); }
.megamenu-item:nth-child(7) h4{ border-left-color:var(--light-green); }
.megamenu-item:nth-child(8) h4{ border-left-color:var(--violet); }

/* ---- Services megamenu: grouped columns (Government / Enterprises /
   Households / Plans), reusing the same .megamenu panel shell as Products
   above but with labeled column groups instead of a flat icon grid. ---- */
.megamenu-services{ width:860px; }
.megamenu-cols{ display:grid; grid-template-columns:repeat(4, 1fr); gap:24px; }
.megamenu-col-title{
  margin:0 0 12px; font-family:var(--font-head); font-size:.78rem; font-weight:700;
  color:var(--navy); text-transform:uppercase; letter-spacing:.3px;
  padding-bottom:8px; border-bottom:2px solid var(--grey-line);
}
.megamenu-col:nth-child(1) .megamenu-col-title{ border-bottom-color:var(--navy); }
.megamenu-col:nth-child(2) .megamenu-col-title{ border-bottom-color:var(--orange); }
.megamenu-col:nth-child(3) .megamenu-col-title{ border-bottom-color:var(--green); }
.megamenu-col:nth-child(4) .megamenu-col-title{ border-bottom-color:var(--sky); }
.megamenu-link{
  display:block; padding:7px 0; font-size:.84rem; color:var(--text-light);
  transition:color .15s ease, padding-left .15s ease;
}
.megamenu-link:hover, .megamenu-link:focus-visible{ color:var(--orange); padding-left:4px; outline:none; }

@media (max-width:900px){
  .megamenu-cols{ display:block !important; width:100%; }
  .megamenu-col{ margin-bottom:16px; }
  .megamenu-link{ padding:10px 0; border-bottom:1px solid var(--grey-line); }
}

.header-actions{ display:flex; align-items:center; gap:14px; }
.icon-btn{
  background:none; border:none; font-size:1.05rem; color:#DCE7F2;
}
.icon-btn:hover{ color:#fff; }

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

.search-panel{
  max-height:0; overflow:hidden; background:#0E3357;
  transition:max-height .25s ease;
}
.search-panel.open{ max-height:80px; border-top:1px solid rgba(255,255,255,.12); }
.search-panel form{ display:flex; gap:10px; padding:16px 0; }
.search-panel input{
  flex:1; padding:10px 14px; border:1px solid var(--grey-line); border-radius:4px; font-size:.9rem;
}
.search-panel button{
  background:var(--tfiber-orange, #F7941D); color:var(--white); border:none; padding:0 18px; border-radius:4px;
}

.site-sticky-header{
  position:sticky;
  top:0;
  z-index:500;
}

/* =================== LEADERSHIP STRIP =================== */
.leader-card{ display:flex; align-items:center; gap:14px; }
.leader-photo{
  width:56px; height:56px; border-radius:50%; flex-shrink:0;
  border:2px solid var(--grey-line);
}
.leader-info{ display:flex; flex-direction:column; gap:2px; }
.leader-designation{ font-size:.81rem; color:var(--text-light); line-height:1.35; }
.leader-name{ font-family:var(--font-head); font-size:.95rem; color:var(--navy); font-weight:700; }

/* =================== LEADERSHIP OVERLAY (slide 1) =================== */
.hero-leaders-top{
  position:absolute; top:90px; left:40px; z-index:6;
  display:flex; gap:18px; flex-wrap:wrap;
}
.leader-badge{ display:flex; align-items:center; }
.leader-badge-photo{
  width:74px; height:74px; border-radius:50%; border:3px solid #fff;
  object-fit:cover; flex-shrink:0; position:relative; z-index:2;
  box-shadow:0 4px 14px rgba(0,0,0,.35);
}
.leader-badge-info{
  background:rgba(7,27,48,.72); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  border-radius:0 8px 8px 0; padding:10px 18px 10px 46px; margin-left:-38px;
  color:#fff; position:relative; z-index:1; white-space:nowrap;
}
.leader-badge-info strong{
  display:block; font-family:var(--font-head, 'Poppins', Arial, sans-serif);
  font-size:.92rem; font-weight:700;
}
.leader-badge-info span{
  display:block; font-size:.72rem; color:#D7E2ED; line-height:1.4; margin-top:2px;
}

.hero-minister{
  position:absolute; left:0; bottom:0; z-index:4;
  display:flex; align-items:flex-end;
  pointer-events:none;
}
.hero-minister-photo{
  height:400px; width:auto; display:block;
  filter:drop-shadow(0 12px 22px rgba(0,0,0,.4));
}
.hero-minister-label{
  background:rgba(7,27,48,.8); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  border-radius:8px; padding:14px 22px; color:#fff;
  margin-left:-30px; margin-bottom:70px; white-space:nowrap;
  pointer-events:auto;
}
.hero-minister-label strong{
  display:block; font-family:var(--font-head, 'Poppins', Arial, sans-serif);
  font-size:1rem; font-weight:700;
}
.hero-minister-label span{
  display:block; font-size:.8rem; color:#D7E2ED; line-height:1.4; margin-top:3px;
}

/* Moves the headline into the grid's right column entirely, so it never
   competes for space with the badges/minister on the left — the two
   compete for width, not overlap. */
.tfiber-hero-content.tfiber-hero-content--leaders{
  grid-column:2;
  max-width:520px;
  padding-left:70px;
}

@media (max-width:980px){
  .hero-minister{ display:none; }
  .hero-leaders-top{ display:none; }
  .tfiber-hero-content.tfiber-hero-content--leaders{ grid-column:1; max-width:none; padding-left:0; }
}
/* =================== TICKER =================== */
.ticker-bar{ background:#effff2; border-bottom:1px solid var(--grey-line); }
.ticker-inner{
  display:flex; align-items:center; gap:18px; padding:9px 24px;
}
.ticker-badge{
  background:var(--navy); color:var(--white); font-size:.72rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.4px; padding:6px 14px; border-radius:3px;
  flex-shrink:0;
}
.ticker-track-wrap{ flex:1; overflow:hidden; }
.ticker-track{
  display:flex; gap:60px; white-space:nowrap;
  animation:ticker 22s linear infinite;
  font-size:.85rem; color:var(--text);
}
.ticker-track:hover{ animation-play-state:paused; }
@keyframes ticker{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}
.ticker-viewall{
  flex-shrink:0; font-size:.8rem; font-weight:700; color:var(--steel);
  display:flex; align-items:center; gap:6px;
}
.ticker-viewall:hover{ color:var(--orange); }

/* Hero styles now live in hero.css (reusable component) */

/* =================== QUICK ACCESS =================== */
.quick-access{ background:var(--grey-bg); padding:10px 0 0; position:relative; z-index:5; }
.quick-grid{
  display:grid; grid-template-columns:repeat(5,1fr); gap:18px;padding-bottom: 25px;padding-top: 25px;
}
.quick-card{
  border:1px solid var(--grey-line); border-radius:8px;
  padding:22px 18px; display:flex; flex-direction:column; gap:12px;
  box-shadow:0 10px 24px rgba(11,42,74,.07);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  position:relative;
}
.quick-card:hover{ transform:translateY(-4px); box-shadow:0 16px 30px rgba(11,42,74,.13); }

.quick-card:nth-child(1){ background:rgba(2,2,2,.05); border-color:rgba(2,2,2,.12); }
.quick-card:nth-child(2){ background:rgba(247,148,29,.10); border-color:rgba(247,148,29,.22); }
.quick-card:nth-child(3){ background:rgba(123,79,160,.10); border-color:rgba(123,79,160,.22); }
.quick-card:nth-child(4){ background:rgba(22,160,160,.10); border-color:rgba(22,160,160,.22); }
.quick-card:nth-child(5){ background:rgba(224,72,60,.10); border-color:rgba(224,72,60,.22); }
.qc-icon{
  width:42px; height:42px; border-radius:10px; color:var(--white);
  display:flex; align-items:center; justify-content:center; font-size:1.1rem;
}
.quick-card:nth-child(1) .qc-icon{ background:var(--steel); }
.quick-card:nth-child(2) .qc-icon{ background:var(--orange); }
.quick-card:nth-child(3) .qc-icon{ background:#7B4FA0; }
.quick-card:nth-child(4) .qc-icon{ background:#16A0A0; }
.quick-card:nth-child(5) .qc-icon{ background:#E0483C; }
.qc-text strong{ display:block; font-size:.92rem; margin-bottom:4px; color:var(--navy); }
.qc-text small{ color:var(--text-light); font-size:.78rem; }
.qc-arrow{ position:absolute; top:22px; right:18px; color:var(--grey-line); font-size:.8rem; }
.quick-card:hover .qc-arrow{ color:var(--orange); }

/* =================== ABOUT / BUILDING DIGITAL TELANGANA =================== */
.about-section{ background:var(--grey-bg); padding:25px 0; }
.about-grid{
  display:grid; grid-template-columns:1.0fr .95fr .85fr; gap:30px; align-items:stretch;
}
.eyebrow{
  display:inline-block; font-size:.75rem; font-weight:700; letter-spacing:1px;
  text-transform:uppercase; color:var(--orange); margin-bottom:10px;
}
.about-text h2{
  font-family:var(--font-head); color:var(--navy); font-size:2rem; font-weight:700;
  text-transform:uppercase; margin:0 0 16px; line-height:1.2;
}
.about-text > p{ color:var(--text-light); margin-bottom:22px; }
.check-list{ display:flex; flex-direction:column; gap:12px; margin-bottom:28px; }
.check-list li{ display:flex; align-items:center; gap:10px; font-weight:600; color:var(--text); font-size:.95rem; }
.check-list i{ color:var(--green); font-size:1.05rem; }

.about-leaders{
  display:flex; flex-direction:column; gap:20px; justify-content:center;
  background:var(--white); border-radius:12px; padding:26px 22px;
  border:1px solid var(--grey-line); box-shadow:0 10px 24px rgba(11,42,74,.06);
}
.about-leaders .leader-card{ gap:16px; }
.about-leaders .leader-photo{ width:95px; height:95px; }
.about-leaders .leader-card + .leader-card{ padding-top:10px; border-top:1px solid var(--grey-line); }

.about-cards{
  position:relative;
  display:flex; flex-direction:column; justify-content:center; gap:18px;
  background-color: #001d57;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  border-radius:12px; padding:20px;
  overflow:hidden;
}
.about-cards::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(0,29,87,.88), rgba(0,29,87,.75));
  z-index:0;
}
.about-cards > *{
  position:relative;
  z-index:1;
}
.vm-card{ display:flex; gap:16px; align-items:flex-start; }
.vm-icon{
  flex-shrink:0; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.1);
  color:var(--sky); display:flex; align-items:center; justify-content:center; font-size:1.1rem;
}
.vm-card h3{ color:var(--white); font-family:var(--font-head); font-size:1.05rem; margin:0 0 6px; }
.vm-card p{ color:#B9C9D8; font-size:.86rem; margin:0; }

/* =================== RECENT CONNECTIONS CAROUSEL =================== */
/* Replaces the previous static Vision & Mission card in .about-grid.
   Fills the same stretched grid-cell height as the other two columns
   (leaders card / about-text) via .about-grid's existing
   align-items:stretch — no separate height rule needed here. */
.connections-carousel{
  position:relative;
  border-radius:12px;
  overflow:hidden;
  min-height:340px;
  height:100%;
  box-shadow:0 14px 30px rgba(11,42,74,.16);
}
.connections-track{ position:relative; width:100%; height:100%; }
.connections-slide{
  position:absolute; inset:0;
  opacity:0; visibility:hidden;
  transition:opacity .7s ease;
}
.connections-slide.is-active{ opacity:1; visibility:visible; z-index:2; }
.connections-slide img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.connections-overlay{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding:26px 26px 24px;
  background:linear-gradient(180deg, rgba(0,29,87,0) 0%, rgba(0,29,87,.55) 40%, rgba(0,29,87,.94) 100%);
  color:#fff;
}
.connections-tag{
  display:inline-block; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.5px;
  background:var(--orange); color:#fff; padding:4px 12px; border-radius:14px; margin-bottom:12px;
}
.connections-overlay h3{
  font-family:var(--font-head); font-size:1.3rem; font-weight:800; margin:0 0 8px;
}
.connections-overlay p{
  font-size:.86rem; line-height:1.55; color:#E4EAF2; margin:0;
  max-width:92%;
}

.connections-nav{
  position:absolute; top:38%; transform:translateY(-50%); z-index:3;
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.5);
  background:rgba(0,29,87,.35); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px);
  color:#fff; font-size:.85rem; display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, border-color .2s ease;
}
.connections-nav:hover{ background:var(--orange); border-color:var(--orange); }
.connections-prev{ left:14px; }
.connections-next{ right:14px; }

.connections-dots{
  position:absolute; left:0; right:0; bottom:12px; z-index:3;
  display:flex; justify-content:center; gap:8px;
}
.connections-dots button{
  width:8px; height:8px; border-radius:50%; border:1px solid rgba(255,255,255,.7);
  background:transparent; padding:0; transition:background .2s ease, width .2s ease, border-radius .2s ease;
}
.connections-dots button.is-active{
  background:var(--orange); border-color:var(--orange); width:20px; border-radius:5px;
}

@media (prefers-reduced-motion: reduce){
  .connections-slide{ transition:none; }
}
@media (max-width:640px){
  .connections-carousel{ min-height:280px; }
  .connections-overlay h3{ font-size:1.1rem; }
  .connections-overlay p{ max-width:100%; }
  .connections-nav{ top:26%; width:32px; height:32px; font-size:.75rem; }
}


/* =================== WHAT WE OFFER =================== */
.offer-section{
  position:relative;
  padding:45px 0;
  overflow:hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(79,195,247,.08), transparent 60%),
    radial-gradient(circle at 85% 75%, rgba(247,148,29,.07), transparent 60%),
    linear-gradient(rgba(7,27,48,.85), rgba(5,15,31,.9)),
    url('../images/bg_what_we_offer.png');
  background-size:auto, auto, auto, cover;
  background-position:center, center, center, center;
  background-repeat:no-repeat;
}
.offer-section::before{
  content:"";
  position:absolute; inset:0; pointer-events:none;
  background-image:repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 38px, rgba(255,255,255,.03) 40px);
}

.section-heading{
  display:flex; align-items:center; justify-content:center; gap:20px; margin-bottom:50px;
}
.section-heading h2{
  font-family:var(--font-head); color:var(--navy); text-transform:uppercase;
  font-size:1.7rem; font-weight:700; margin:0; white-space:nowrap;
}
.section-heading .line{ height:1px; background:var(--grey-line); flex:1; max-width:160px; }
.offer-section .section-heading h2{ color:#fff; }

.offer-ray{ flex:1; max-width:160px; height:10px; overflow:visible; display:block; }
.offer-ray line{ stroke:var(--grey-line); }
.offer-section .offer-ray line{ stroke:rgba(255,255,255,.25); }
.offer-ray-node{
  animation-duration:2.4s;
  animation-timing-function:ease-out;
  animation-iteration-count:infinite;
}
.offer-ray-left .offer-ray-node{ animation-name:offerRayLeft; }
.offer-ray-right .offer-ray-node{ animation-name:offerRayRight; }

@keyframes offerRayLeft{
  0%{ cx:160; opacity:0; }
  15%{ opacity:1; }
  100%{ cx:0; opacity:0; }
}
@keyframes offerRayRight{
  0%{ cx:0; opacity:0; }
  15%{ opacity:1; }
  100%{ cx:160; opacity:0; }
}

@media (prefers-reduced-motion: reduce){
  .offer-ray-node{ animation:none; opacity:.6; }
  .offer-card{ animation:none; opacity:1; transform:none; }
  .offer-card:hover, .offer-card:hover .offer-icon, .offer-card:hover .offer-icon::after{ transition:none; }
}

.offer-grid{ position:relative; display:grid; grid-template-columns:repeat(6,1fr); gap:20px; }

.offer-card{
  text-align:center; padding:30px 16px; border-radius:10px;
  background:transparent; border:1px solid transparent;
  transition:transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
  opacity:0; transform:translateY(16px);
  animation:offerCardIn .6s ease forwards;
}
.offer-card:nth-child(1){ animation-delay:.05s; }
.offer-card:nth-child(2){ animation-delay:.15s; }
.offer-card:nth-child(3){ animation-delay:.25s; }
.offer-card:nth-child(4){ animation-delay:.35s; }
.offer-card:nth-child(5){ animation-delay:.45s; }
.offer-card:nth-child(6){ animation-delay:.55s; }
@keyframes offerCardIn{ to{ opacity:1; transform:translateY(0); } }

.offer-card:hover{
  transform:translateY(-8px);
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.12);
  box-shadow:0 16px 30px rgba(0,0,0,.3);
}

.offer-icon{
  width:58px; height:58px; border-radius:50%; margin:0 auto 16px; font-size:1.35rem; color:#fff;
  display:flex; align-items:center; justify-content:center;
  position:relative;
  transition:transform .35s cubic-bezier(.34,1.56,.64,1);
}
.offer-icon::after{
  content:""; position:absolute; inset:0; border-radius:50%;
  border:2px solid rgba(255,255,255,.6);
  opacity:0; transform:scale(1);
  transition:opacity .3s ease, transform .3s ease;
}
.offer-card:hover .offer-icon{ transform:scale(1.12) rotate(-6deg); }
.offer-card:hover .offer-icon::after{ opacity:.55; transform:scale(1.3); }

.offer-blue{ background:#4FC3F7; }
.offer-orange{ background:#F7941D; }
.offer-purple{ background:#B583F0; }
.offer-teal{ background:#2DD4BF; }
.offer-navy{ background:#6C7CF7; }
.offer-red{ background:#F0605A; }

.offer-card h3{ font-size:1rem; color:#fff; margin:0 0 8px; font-family:var(--font-head); }
.offer-card p{ font-size:.82rem; color:#B9C9D8; margin:0; line-height:1.55; }

/* =================== TRIPLE SECTION =================== */
.triple-section{ background:var(--grey-bg); padding:40px 0; }
.triple-grid{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:30px; align-items:start; }
.triple-col{ background:var(--white); border:1px solid var(--grey-line); border-radius:10px; padding:26px; height:100%; }
.triple-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.triple-head h3{ font-family:var(--font-head); color:var(--navy); font-size:1.1rem; margin:0; }
.viewall{ font-size:.78rem; font-weight:700; color:var(--steel); display:flex; align-items:center; gap:5px; }
.viewall:hover{ color:var(--orange); }

.update-list{ display:flex; flex-direction:column; gap:18px; }
.update-list li{ display:flex; gap:14px; align-items:flex-start; }
.date-badge{
  flex-shrink:0; width:52px; height:52px; border-radius:8px; background:var(--grey-bg);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  color:var(--navy); line-height:1.1;
}
.date-badge strong{ font-size:1.1rem; font-family:var(--font-head); }
.date-badge span{ font-size:.62rem; text-transform:uppercase; color:var(--text-light); }
.update-text{ font-size:.9rem; color:var(--text); padding-top:4px; }
.tag-new{
  background:var(--green); color:var(--white); font-size:.62rem; font-weight:700;
  padding:2px 7px; border-radius:3px; margin-left:6px; text-transform:uppercase; vertical-align:middle;
}

.numbers-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.number-item{ text-align:center; padding:14px 8px; border-radius:8px; background:var(--grey-bg); }
.number-item i{ color:var(--steel); font-size:1.2rem; margin-bottom:8px; display:block; }
.number-item strong{ display:block; font-family:var(--font-head); font-size:1.15rem; color:var(--navy); }
.number-item span{ font-size:.72rem; color:var(--text-light); }

.coverage-wrap{ position:relative; }
.coverage-map{ width:100%; max-width:280px; margin:0 auto; }
.legend{
  margin-top:16px; display:flex; flex-direction:column; gap:6px; font-size:.76rem; color:var(--text-light);
}
.legend-title{ font-weight:700; color:var(--navy); margin-bottom:4px; }
.legend span{ display:flex; align-items:center; gap:8px; }
.legend i{ width:12px; height:12px; border-radius:3px; display:inline-block; font-style:normal; }

/* =================== CTA BANNER =================== */
.cta-banner{ background:linear-gradient(120deg, var(--navy) 0%, var(--steel) 100%); padding:46px 0; }
.cta-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.cta-banner h2{ color:var(--white); font-family:var(--font-head); font-size:1.5rem; margin:0 0 6px; text-transform:uppercase; }
.cta-banner p{ color:#D7E2ED; margin:0; }

/* =================== FOOTER =================== */
.site-footer{ background:var(--navy-dark); color:#B9C9D8; padding-top:64px; }
.footer-grid{
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr 1fr; gap:32px; padding-bottom:50px;
}
.footer-logos{ display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.footer-logos img:first-child{ height:38px; width:auto; }
.footer-logos img:last-child{ height:40px; width:40px; }
.footer-brand p{ font-size:.85rem; line-height:1.6; color:#9FB0C2; }
.footer-col h4{
  color:var(--white); font-family:var(--font-head); font-size:.95rem; text-transform:uppercase;
  letter-spacing:.4px; margin:0 0 18px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col ul li a{ font-size:.86rem; color:#B9C9D8; }
.footer-col ul li a:hover{ color:var(--orange); }
.contact-list li{ display:flex; gap:10px; font-size:.84rem; align-items:flex-start; color:#B9C9D8; }
.contact-list i{ color:var(--orange); margin-top:3px; flex-shrink:0; width:14px; }

.footer-social{ margin-bottom:26px; }
.app-heading{ margin-bottom:12px !important; }
.app-badges{ display:flex; flex-direction:column; gap:10px; }
.app-badge{
  display:flex; align-items:center; gap:10px; border:1px solid rgba(255,255,255,.2);
  border-radius:6px; padding:8px 12px; font-size:.68rem; color:var(--white);
}
.app-badge i{ font-size:1.3rem; }
.app-badge span{ display:flex; flex-direction:column; line-height:1.25; }
.app-badge strong{ font-size:.82rem; }
.app-badge:hover{ background:rgba(255,255,255,.08); }

.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); padding:18px 0; }
.footer-bottom-inner{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; font-size:.78rem; color:#8CA0B4; }

/* =================== BACK TO TOP =================== */
#backToTop{
  position:fixed; right:24px; bottom:24px; width:44px; height:44px; border-radius:50%;
  background:var(--navy); color:var(--white); border:none; font-size:1rem;
  display:flex; align-items:center; justify-content:center; box-shadow:0 8px 20px rgba(11,42,74,.3);
  opacity:0; visibility:hidden; transform:translateY(10px); transition:all .25s ease; z-index:400;
}
#backToTop.show{ opacity:1; visibility:visible; transform:translateY(0); }
#backToTop:hover{ background:var(--orange); }

/* =================== HIGH CONTRAST MODE =================== */
body.high-contrast{ filter:contrast(1.25) saturate(1.15); }
body.high-contrast .hero{ background:#000; }

/* =================== EXPERIENCE THE FEATURES =================== */
.features-section{ padding:10px 0; background:var(--white); }
.features-title{
  font-family:var(--font-head); color:var(--navy); font-size:2rem; font-weight:700;
  text-align:center; margin:5px 0 5px;
}

.features-grid{
  display:grid; grid-template-columns:1.5fr 1.1fr; gap:30px; align-items:center;
}

.features-visual{ display:flex; justify-content:center; }
.features-visual img{ width:100%; max-width:720px; }

.features-content > p{
  color:var(--text-light); font-size:1rem; line-height:1.7; text-align:justify; margin:0 0 28px;
}

.features-highlight{ margin-bottom:32px; }
.features-highlight strong{
  display:block; font-family:var(--font-head); color:var(--orange); font-size:2.4rem; font-weight:700; line-height:1.1;
}
.features-highlight span{
  display:block; color:var(--text); font-size:1rem; font-weight:700; margin-top:2px;
}

.features-stats-row{ display:grid; grid-template-columns:repeat(5, 1fr); gap:16px; }
.feature-stat-item{ text-align:center; }
.feature-stat-item i{ display:block; font-size:1.5rem; color:var(--green); margin-bottom:10px; }
.feature-stat-item span{ display:block; font-size:.78rem; font-weight:700; color:var(--navy); line-height:1.4; }

.features-title-underline{
  display:block;
  width:400px;
  height:20px;
  margin:14px auto 0;
  overflow:visible;
}
.ftu-pulse{
  transform-box:fill-box;
  transform-origin:center;
  animation:ftuPulseRing 2.2s ease-out infinite;
}
@keyframes ftuPulseRing{
  0%{ transform:scale(1); opacity:.9; }
  100%{ transform:scale(3); opacity:0; }
}

.ftu-node{
  transform-box:fill-box;
  transform-origin:center;
  animation-duration:2.2s;
  animation-timing-function:ease-out;
  animation-iteration-count:infinite;
}
.ftu-node-left{ animation-name:ftuTravelLeft; }
.ftu-node-right{ animation-name:ftuTravelRight; }
@keyframes ftuTravelLeft{
  0%{ transform:translateX(0); opacity:0; }
  15%{ opacity:1; }
  100%{ transform:translateX(-180px); opacity:0; }
}
@keyframes ftuTravelRight{
  0%{ transform:translateX(0); opacity:0; }
  15%{ opacity:1; }
  100%{ transform:translateX(180px); opacity:0; }
}

@media (prefers-reduced-motion: reduce){
  .ftu-pulse, .ftu-node{ animation:none; }
  .ftu-node{ opacity:.7; }
}

@media (max-width:1024px){
  .features-grid{ grid-template-columns:1fr; gap:44px; }
  .features-stats-row{ grid-template-columns:repeat(3, 1fr); row-gap:24px; }
}
@media (max-width:640px){
  .features-title{ font-size:1.5rem; margin-bottom:40px; }
  .features-stats-row{ grid-template-columns:repeat(2, 1fr); gap:20px; }
}

@media (max-width:480px){
  .features-title-underline{ width:280px; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1100px){
  .quick-grid{ grid-template-columns:repeat(3,1fr); }
  .offer-grid{ grid-template-columns:repeat(3,1fr); }
  .about-grid{ grid-template-columns:1fr 1fr; }
  .about-leaders{ order:3; grid-column:1 / -1; }
  .footer-grid{ grid-template-columns:1fr 1fr 1fr; }
  .footer-brand{ grid-column:1 / -1; }

  .masthead-right-label{ display:none; }
}

@media (max-width:900px){
  .utility-left, .utility-right{ display:none; }
  .utility-bar{ display:none; }

  .masthead-inner{ display:flex; align-items:center; justify-content:space-between; padding:12px 16px; }
  .masthead-center{ display:none; }
  .masthead-right{ display:none; }
  .masthead-emblem{ height:40px; width:40px; }
  .masthead-logo-tfiber{ height:38px; }
  .masthead-divider{ display:none; }
  .hamburger{ display:flex; }

  .navbar-inner{ padding:0; }
  .header-actions{ padding-right:16px; }

  .main-nav{
    position:fixed; top:0; right:-320px; width:300px; height:100vh; background:var(--white);
    box-shadow:-8px 0 30px rgba(0,0,0,.15); transition:right .25s ease; overflow-y:auto; z-index:600;
    padding:24px 0;
  }
  .main-nav.open{ right:0; }
  .main-nav ul{ flex-direction:column; align-items:stretch; gap:0; }
  .main-nav > ul > li > a{ padding:14px 24px; border-bottom:1px solid var(--grey-line) !important; color:var(--text); }
  .main-nav > ul > li > a .nav-flow{ left:24px; right:24px; }
  .main-nav > ul > li > a:hover, .main-nav > ul > li > a:focus-visible, .main-nav > ul > li > a.active{ color:var(--navy); }
  .dropdown{ position:static; box-shadow:none; opacity:1; visibility:visible; transform:none; max-height:0; overflow:hidden; padding:0; transition:max-height .2s ease; border-radius:0; }
  .dropdown::before{ display:none; }
  .has-dropdown.open .dropdown{ max-height:400px; padding:6px 0; }
  .dropdown li a{ padding-left:38px; }

  /* Products mega menu on mobile/tablet: collapses into the same accordion
     pattern as the regular .dropdown panels above (same .open toggle),
     stacked to a single column instead of a 3-column grid. !important is
     used on the box-geometry properties here because the desktop rule
     above sets an absolute position + fixed 800px width + a centering
     transform -- those three together are exactly what causes text to
     run off both edges of a narrow screen if anything (e.g. a more
     specific selector, or a rule added later) stops this override from
     fully winning; !important guarantees this reset always applies below
     900px regardless of stylesheet order. */
  .megamenu{
    position:static !important;
    width:100% !important;
    max-width:100% !important;
    left:auto !important;
    transform:none !important;
    box-shadow:none; opacity:1; visibility:visible; max-height:0; overflow:hidden;
    padding:0; border-radius:0; box-sizing:border-box; transition:max-height .2s ease;
  }
  .has-dropdown.open .megamenu{ max-height:2000px; padding:6px 24px 16px; }
  .megamenu-grid{
    display:block !important;
    width:100%;
  }
  .megamenu-item{
    width:100%;
    max-width:100%;
    padding:12px 0;
    border-bottom:1px solid var(--grey-line);
  }
  .megamenu-item:last-child{ border-bottom:none; }
  .megamenu-item h4,
  .megamenu-item p{
    max-width:100%;
    overflow-wrap:break-word;
    word-break:break-word;
    white-space:normal;
  }

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

@media (max-width:520px){
  .quick-grid{ grid-template-columns:1fr; }
  .offer-grid{ grid-template-columns:1fr; }
  .cta-inner{ flex-direction:column; align-items:flex-start; }
  .footer-grid{ grid-template-columns:1fr; }
  .masthead-right-label{ display:none; }
}

/* =========================================================
   RMSO EMPANELMENT QUESTIONNAIRE — FORM PAGE
   Appended for rmso-questionnaire.html. Reuses existing brand
   variables (--navy, --orange, --grey-bg, --font-head, etc.) —
   no new custom properties introduced.
   ========================================================= */

/* ---- Page banner (breadcrumb + title) ---- */
.form-page-banner{
  background:linear-gradient(135deg, #0d3d3f 0%, #08201f 100%);
  padding:36px 0 40px;
  color:var(--white);
}
.breadcrumb{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  font-size:.8rem; color:#AFC1D3; margin-bottom:16px;
}
.breadcrumb a{ color:#DCE7F2; }
.breadcrumb a:hover{ color:var(--orange); }
.breadcrumb i{ font-size:.6rem; opacity:.6; }
.form-page-banner h1{
  font-family:var(--font-head); font-size:1.9rem; font-weight:700; margin:0 0 12px;
}
.form-page-banner p{
  color:#D7E2ED; max-width:760px; margin:0; line-height:1.65; font-size:.95rem;
}

/* ---- Form page shell ---- */
.form-page{ background:var(--grey-bg); padding:44px 0 80px; }

.form-instructions{
  display:flex; gap:12px; align-items:flex-start;
  background:#EAF1F7; border:1px solid var(--grey-line); border-radius:8px;
  padding:16px 18px; margin-bottom:32px;
}
.form-instructions i{ color:var(--steel); font-size:1.1rem; margin-top:2px; }
.form-instructions p{ margin:0; font-size:.88rem; color:var(--text); line-height:1.6; }
.req{ color:var(--orange-dark); font-weight:700; }

/* ---- Section cards ---- */
.form-section{
  background:var(--white); border:1px solid var(--grey-line); border-radius:10px;
  padding:28px 26px; margin-bottom:24px;
  box-shadow:0 6px 18px rgba(11,42,74,.05);
}
.form-section-title{
  display:flex; align-items:center; gap:12px;
  font-family:var(--font-head); color:var(--navy); font-size:1.15rem; font-weight:700;
  margin:0 0 22px; padding-bottom:14px; border-bottom:1px solid var(--grey-line);
}
.form-section-num{
  flex-shrink:0; width:30px; height:30px; border-radius:50%;
  background:var(--orange); color:var(--white); font-size:.9rem; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.form-section-note{ font-size:.84rem; color:var(--text-light); margin:-8px 0 20px; }

/* ---- Grid + field groups ---- */
.form-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:20px 24px;
}
.form-grid.two-col{ grid-template-columns:1fr 1fr; }
.form-grid-tight{ margin-top:22px; padding-top:22px; border-top:1px solid var(--grey-line); }

/* ---- Mini repeatable-list rows (e.g. Area of Coverage, PoP Locations) ---- */
.mini-list-block{ margin-top:22px; padding-top:22px; border-top:1px solid var(--grey-line); }
.mini-list-label{
  display:block; font-size:.82rem; font-weight:600; color:var(--text); margin-bottom:12px;
}
.mini-list{ display:flex; flex-direction:column; gap:10px; }
.mini-list-row{ display:flex; align-items:center; gap:10px; }
.list-num{
  flex-shrink:0; width:24px; height:24px; border-radius:50%;
  background:var(--grey-bg); border:1px solid var(--grey-line); color:var(--navy);
  font-size:.74rem; font-weight:700; display:flex; align-items:center; justify-content:center;
}
.mini-list-row input[type="text"]{
  flex:1; font-family:var(--font-body); font-size:.9rem; color:var(--text);
  border:1px solid var(--grey-line); border-radius:6px; padding:9px 12px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.mini-list-row input[type="text"]:focus{
  outline:none; border-color:var(--orange); box-shadow:0 0 0 3px rgba(247,148,29,.15);
}
.was-validated .mini-list-row input[type="text"]:invalid{ border-color:#E0483C; }
.form-group{ display:flex; flex-direction:column; gap:6px; }
.form-group-full{ grid-column:1 / -1; }

.form-group label{
  font-size:.82rem; font-weight:600; color:var(--text);
}
.field-hint{ font-size:.74rem; color:var(--text-light); margin-top:-2px; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea{
  font-family:var(--font-body); font-size:.9rem; color:var(--text);
  border:1px solid var(--grey-line); border-radius:6px;
  padding:10px 12px; background:var(--white);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.form-group textarea{ resize:vertical; min-height:56px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none; border-color:var(--orange);
  box-shadow:0 0 0 3px rgba(247,148,29,.15);
}
/* Invalid-state styling only applies after a submit attempt (form gets
   .was-validated via JS) — never on initial load, regardless of whether a
   given field happens to have a placeholder or not. */
.was-validated .form-group input:invalid,
.was-validated .form-group select:invalid,
.was-validated .form-group textarea:invalid{
  border-color:#E0483C;
}

/* ---- Radio chips ---- */
.radio-row{ display:flex; flex-wrap:wrap; gap:10px; }
.radio-row.compact{ gap:8px; }
.radio-chip{
  display:inline-flex; align-items:center; gap:7px;
  border:1px solid var(--grey-line); border-radius:20px;
  padding:8px 14px; font-size:.82rem; color:var(--text);
  cursor:pointer; transition:border-color .15s ease, background .15s ease;
}
.radio-chip.small{ padding:6px 10px; font-size:.76rem; }
.radio-chip input[type="radio"],
.radio-chip input[type="checkbox"]{ accent-color:var(--orange); margin:0; }
.radio-chip:has(input:checked){
  border-color:var(--orange); background:rgba(247,148,29,.08); color:var(--navy); font-weight:600;
}

/* ---- Equipment table (Section 4) ---- */
.equipment-table-wrap{ overflow-x:auto; }
.equipment-table{ width:100%; border-collapse:collapse; min-width:640px; }
.equipment-table thead th{
  text-align:left; font-size:.72rem; text-transform:uppercase; letter-spacing:.4px;
  color:var(--white); background:var(--navy); padding:10px 12px;
}
.equipment-table thead th:first-child{ border-radius:6px 0 0 0; }
.equipment-table thead th:last-child{ border-radius:0 6px 0 0; }
.equipment-table tbody td{
  padding:10px 12px; border-bottom:1px solid var(--grey-line); vertical-align:middle;
}
.equipment-table tbody tr:nth-child(even){ background:var(--grey-bg); }
.equipment-table input[type="text"],
.equipment-table input[type="number"]{
  width:100%; font-family:var(--font-body); font-size:.86rem;
  border:1px solid var(--grey-line); border-radius:5px; padding:7px 9px;
}
.equipment-table input:focus{
  outline:none; border-color:var(--orange); box-shadow:0 0 0 3px rgba(247,148,29,.15);
}

/* ---- File upload ---- */
.file-upload input[type="file"]{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.file-upload-box{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  border:2px dashed var(--grey-line); border-radius:8px; padding:24px 16px;
  text-align:center; cursor:pointer; transition:border-color .15s ease, background .15s ease;
  background:var(--grey-bg);
}
.file-upload-box:hover,
.file-upload-box.drag-over{ border-color:var(--orange); background:rgba(247,148,29,.06); }
.file-upload-box i{ font-size:1.5rem; color:var(--steel); }
.file-upload-text{ font-size:.82rem; color:var(--text-light); }
.file-upload-filename{ font-size:.82rem; font-weight:600; color:var(--navy); }
.file-upload-box.has-file{ border-style:solid; border-color:var(--green); background:rgba(30,158,74,.06); }
.file-upload-box.has-file i{ color:var(--green); }

/* ---- Declaration ---- */
.declaration-box{
  background:var(--grey-bg); border-left:4px solid var(--orange); border-radius:0 8px 8px 0;
  padding:16px 20px; margin-bottom:22px;
}
.declaration-box p{ margin:0; font-size:.86rem; color:var(--text); line-height:1.65; }
.declaration-checkbox{
  display:flex; align-items:flex-start; gap:10px; margin-top:20px;
  font-size:.85rem; color:var(--text); cursor:pointer;
}
.declaration-checkbox input{ accent-color:var(--orange); margin-top:3px; flex-shrink:0; }

/* ---- Submit bar ---- */
.form-submit-bar{
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  margin-top:8px;
}
.form-submit-note{ font-size:.8rem; color:var(--text-light); }
.form-submit-actions{ display:flex; gap:14px; }

/* ---- Success panel ---- */
.form-success{
  background:var(--white); border:1px solid var(--grey-line); border-radius:10px;
  padding:48px 32px; text-align:center; box-shadow:0 6px 18px rgba(11,42,74,.05);
}
.form-success i{ font-size:3rem; color:var(--green); margin-bottom:16px; }
.form-success h2{ font-family:var(--font-head); color:var(--navy); font-size:1.5rem; margin:0 0 12px; }
.form-success p{ color:var(--text-light); max-width:520px; margin:0 auto 10px; line-height:1.65; }
.form-success .ref-number{ font-size:1rem; color:var(--text); margin-bottom:26px; }
.form-success .ref-number strong{ color:var(--orange-dark); }
.form-success .ref-number .ref-note{ font-size:.82rem; color:var(--text-light); }

/* ---- Responsive ---- */
@media (max-width:900px){
  .form-page-banner h1{ font-size:1.5rem; }
  .form-section{ padding:22px 18px; }
  .form-grid, .form-grid.two-col{ grid-template-columns:1fr; }
}

@media (max-width:768px){
  .equipment-table thead{ display:none; }
  .equipment-table, .equipment-table tbody, .equipment-table tr, .equipment-table td{
    display:block; width:100%;
  }
  .equipment-table{ min-width:0; }
  .equipment-table tr{
    margin-bottom:14px; border:1px solid var(--grey-line); border-radius:8px; padding:12px;
  }
  .equipment-table tbody tr:nth-child(even){ background:var(--white); }
  .equipment-table td{ padding:8px 0; border:none; }
  .equipment-table td::before{
    content:attr(data-label); display:block; font-weight:700; color:var(--navy);
    font-size:.7rem; text-transform:uppercase; letter-spacing:.3px; margin-bottom:4px;
  }
  .form-submit-bar{ flex-direction:column; align-items:stretch; }
  .form-submit-actions{ justify-content:stretch; }
  .form-submit-actions .btn{ flex:1; justify-content:center; }
}

