
/* =========================================================
   AHAMED IRON & STEEL COMPANY
   SQUARE BAR PAGE — COMPLETE CLEAN CSS
   ========================================================= */

:root{
  --navy:#081426;
  --navy-2:#0d2847;
  --navy-3:#12385f;
  --red:#cb1d2b;
  --red-bright:#ef3340;
  --white:#ffffff;
  --ink:#132033;
  --muted:#657184;
  --bg-light:#f4f6f9;
  --border:#e2e7ee;
  --shadow:0 18px 50px rgba(8,20,38,.10);
  --radius:18px;
  --transition:.3s ease;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  color:var(--ink);
  background:#fff;
  font-family:"Poppins",Arial,sans-serif;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
}

ul{
  margin:0;
  padding:0;
  list-style:none;
}

/* =========================================================
   SQUARE BAR HERO
   ========================================================= */

.squareHero{
  position:relative;
  min-height:720px;
  padding:78px 0 88px;
  overflow:hidden;
  isolation:isolate;
  background:
    radial-gradient(circle at 12% 15%, rgba(203,29,43,.18), transparent 26%),
    radial-gradient(circle at 88% 78%, rgba(255,255,255,.06), transparent 26%),
    linear-gradient(135deg,#061326 0%,#0a2039 56%,#0d2d4f 100%);
}

.squareHero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-3;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.026) 1px,transparent 1px);
  background-size:54px 54px;
}

.squareHero::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:36%;
  height:5px;
  background:var(--red);
}

.squareHero__shape{
  position:absolute;
  z-index:-2;
  border-radius:50%;
  pointer-events:none;
}

.squareHero__shape--one{
  width:640px;
  height:640px;
  top:-280px;
  right:-180px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:
    0 0 0 90px rgba(255,255,255,.018),
    0 0 0 180px rgba(255,255,255,.012);
}

.squareHero__shape--two{
  width:420px;
  height:420px;
  left:-170px;
  bottom:-250px;
  border:65px solid rgba(203,29,43,.05);
}

.squareHero__container{
  width:min(1240px,calc(100% - 48px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  align-items:center;
  gap:78px;
}

.squareHero__content{
  max-width:610px;
  animation:squareHeroLeft .85s ease both;
}

.squareHero__breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:28px;
  font-size:12px;
  color:rgba(255,255,255,.45);
}

.squareHero__breadcrumb a{
  color:rgba(255,255,255,.62);
  transition:color var(--transition);
}

.squareHero__breadcrumb a:hover{
  color:#fff;
}

.squareHero__breadcrumb strong{
  color:var(--red-bright);
}

.squareHero__eyebrow{
  margin:0 0 18px;
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--red-bright);
  font-size:12px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
}

.squareHero__eyebrow::before{
  content:"";
  width:42px;
  height:3px;
  border-radius:10px;
  background:var(--red-bright);
}

.squareHero__title{
  margin:0 0 18px;
  color:#fff;
  font-size:clamp(50px,5vw,74px);
  font-weight:900;
  line-height:1;
  letter-spacing:-2.5px;
  text-transform:uppercase;
}

.squareHero__title span{
  display:block;
  color:var(--red-bright);
}

.squareHero__tagline{
  margin:0 0 18px;
  color:#fff;
  font-size:clamp(21px,2vw,28px);
  font-weight:700;
  line-height:1.38;
}

.squareHero__tagline span{
  color:var(--red-bright);
}

.squareHero__description{
  max-width:590px;
  margin:0 0 30px;
  color:rgba(255,255,255,.69);
  font-size:14.5px;
  line-height:1.85;
}

.squareHero__features{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
  margin-bottom:34px;
}

.squareHero__feature{
  min-height:126px;
  padding:17px 14px;
  display:flex;
  gap:11px;
  align-items:flex-start;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.13);
  border-radius:13px;
  transition:transform var(--transition),background var(--transition),border-color var(--transition);
}

.squareHero__feature:hover{
  transform:translateY(-6px);
  background:rgba(203,29,43,.14);
  border-color:rgba(239,51,64,.58);
}

.squareHero__featureIcon{
  width:36px;
  height:36px;
  min-width:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:var(--red);
  border-radius:9px;
}

.squareHero__featureIcon svg{
  width:19px;
  height:19px;
}

.squareHero__feature strong{
  display:block;
  margin-bottom:5px;
  color:#fff;
  font-size:11.5px;
  font-weight:800;
  line-height:1.4;
}

.squareHero__feature p{
  margin:0;
  color:rgba(255,255,255,.56);
  font-size:9.7px;
  line-height:1.55;
}

.squareHero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
}

.squareHero__primaryButton,
.squareHero__secondaryButton{
  min-width:185px;
  min-height:54px;
  padding:14px 26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border-radius:6px;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  transition:transform var(--transition),background var(--transition),color var(--transition),border-color var(--transition);
}

.squareHero__primaryButton{
  color:#fff;
  background:var(--red);
  border:2px solid var(--red);
  box-shadow:0 14px 30px rgba(203,29,43,.26);
}

.squareHero__primaryButton:hover{
  transform:translateY(-3px);
  background:#a91521;
  border-color:#a91521;
}

.squareHero__primaryButton span{
  font-size:20px;
  line-height:1;
}

.squareHero__secondaryButton{
  color:#fff;
  background:transparent;
  border:2px solid rgba(255,255,255,.42);
}

.squareHero__secondaryButton:hover{
  color:var(--navy);
  background:#fff;
  border-color:#fff;
  transform:translateY(-3px);
}

.squareHero__visual{
  position:relative;
  min-width:0;
  animation:squareHeroRight .9s .08s ease both;
}

.squareHero__visual::before{
  content:"";
  position:absolute;
  top:-18px;
  right:-18px;
  z-index:-1;
  width:72%;
  height:70%;
  border-top:3px solid var(--red-bright);
  border-right:3px solid var(--red-bright);
  border-radius:0 24px 0 0;
}

.squareHero__imageFrame{
  position:relative;
  height:520px;
  overflow:hidden;
  background:#dfe3e7;
  border:5px solid rgba(255,255,255,.08);
  border-radius:24px;
  box-shadow:0 35px 70px rgba(0,0,0,.34),0 10px 25px rgba(0,0,0,.2);
}

.squareHero__imageFrame::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(3,12,24,.38) 100%);
  pointer-events:none;
}

.squareHero__imageFrame img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .8s ease;
}

.squareHero__visual:hover .squareHero__imageFrame img{
  transform:scale(1.05);
}

.squareHero__sizeCard{
  position:absolute;
  left:-28px;
  bottom:36px;
  z-index:4;
  min-width:300px;
  padding:19px 22px;
  display:flex;
  flex-direction:column;
  gap:5px;
  background:#fff;
  border-left:7px solid var(--red);
  border-radius:7px;
  box-shadow:0 20px 45px rgba(0,0,0,.28);
  animation:squareFloat 4s ease-in-out infinite;
}

.squareHero__sizeCard span,
.squareHero__gradeCard span{
  font-size:9.5px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}

.squareHero__sizeCard span{
  color:#7a8491;
}

.squareHero__sizeCard strong{
  color:var(--navy);
  font-size:15px;
  font-weight:900;
}

.squareHero__gradeCard{
  position:absolute;
  top:28px;
  right:-22px;
  z-index:4;
  min-width:172px;
  padding:16px 18px;
  text-align:center;
  background:var(--red);
  border:3px solid #fff;
  border-radius:8px;
  box-shadow:0 16px 35px rgba(0,0,0,.25);
}

.squareHero__gradeCard span{
  display:block;
  margin-bottom:3px;
  color:rgba(255,255,255,.7);
}

.squareHero__gradeCard strong{
  color:#fff;
  font-size:13px;
}

.squareHero__dotPattern{
  position:absolute;
  right:-28px;
  bottom:-28px;
  z-index:-1;
  width:190px;
  height:190px;
  background:radial-gradient(circle,rgba(255,255,255,.2) 2px,transparent 2.5px);
  background-size:16px 16px;
}

/* =========================================================
   COMMON SECTION TITLES
   ========================================================= */

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  color:var(--red);
  font-size:12px;
  font-weight:900;
  letter-spacing:1.6px;
  text-transform:uppercase;
}

.eyebrow::before{
  content:"";
  width:34px;
  height:3px;
  border-radius:10px;
  background:var(--red);
}

.section-title{
  margin:0 0 18px;
  color:var(--navy);
  font-size:clamp(30px,3vw,44px);
  font-weight:900;
  line-height:1.18;
  letter-spacing:-1px;
}

.section-title.small{
  font-size:clamp(24px,2.3vw,32px);
}

/* =========================================================
   OVERVIEW
   ========================================================= */

.overview{
  padding:82px 40px;
  background:var(--bg-light);
}

.overview-card{
  max-width:1280px;
  margin:0 auto;
  padding:36px;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  align-items:center;
  gap:48px;
  background:#fff;
  border-radius:22px;
  box-shadow:var(--shadow);
}

.overview-image{
  position:relative;
  min-height:390px;
  overflow:hidden;
  border-radius:16px;
}

.overview-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(8,20,38,.28));
}

.overview-image img{
  width:100%;
  height:100%;
  min-height:390px;
  object-fit:cover;
  transition:transform .6s ease;
}

.overview-image:hover img{
  transform:scale(1.05);
}

.overview-desc{
  margin:0 0 24px;
  color:var(--muted);
  font-size:14.5px;
  line-height:1.8;
}

.check-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 24px;
}

.check-grid li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:var(--ink);
  font-size:13.5px;
  font-weight:600;
  line-height:1.55;
  transition:transform var(--transition);
}

.check-grid li:hover{
  transform:translateX(5px);
}

.check-ico{
  width:21px;
  height:21px;
  min-width:21px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:var(--red);
  border-radius:50%;
  font-size:11px;
  transition:transform var(--transition),background var(--transition);
}

.check-grid li:hover .check-ico{
  background:var(--red-bright);
  transform:rotate(360deg) scale(1.12);
}

/* =========================================================
   FEATURES
   ========================================================= */

.features{
  padding:78px 40px;
  background:#fff;
}

.features-inner{
  max-width:1280px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:22px;
}

.feature-item{
  min-height:240px;
  padding:28px 20px;
  text-align:center;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  transition:transform var(--transition),box-shadow var(--transition),border-color var(--transition);
}

.feature-item:hover{
  transform:translateY(-8px);
  border-color:rgba(203,29,43,.35);
  box-shadow:0 20px 40px rgba(8,20,38,.10);
}

.feature-circle{
  width:78px;
  height:78px;
  margin:0 auto 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  transition:transform var(--transition);
}

.circle-navy{
  background:linear-gradient(135deg,var(--navy),var(--navy-3));
}

.circle-red{
  background:linear-gradient(135deg,var(--red),var(--red-bright));
}

.feature-circle svg{
  width:33px;
  height:33px;
}

.feature-item:hover .feature-circle{
  transform:rotate(-7deg) scale(1.08);
}

.feature-item h3{
  margin:0 0 9px;
  color:var(--navy);
  font-size:16px;
  font-weight:900;
  line-height:1.35;
}

.feature-item p{
  margin:0;
  color:var(--muted);
  font-size:12.8px;
  line-height:1.65;
}

/* =========================================================
   DETAILS
   ========================================================= */

.details{
  padding:82px 40px;
  background:var(--bg-light);
}

.details-grid{
  max-width:1360px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr;
  align-items:start;
  gap:28px;
}

.detail-col{
  height:100%;
  padding:30px;
  background:#fff;
  border:1px solid rgba(226,231,238,.85);
  border-radius:20px;
  box-shadow:0 12px 32px rgba(8,20,38,.07);
}

.table-wrap{
  overflow-x:auto;
  border:1px solid var(--border);
  border-radius:12px;
}

.spec-table{
  width:100%;
  border-collapse:collapse;
  font-size:12.5px;
}

.spec-table thead th{
  padding:14px 11px;
  color:#fff;
  background:var(--navy);
  font-weight:800;
  text-align:left;
  white-space:nowrap;
}

.spec-table tbody td{
  padding:14px 11px;
  color:var(--ink);
  border-bottom:1px solid var(--border);
  line-height:1.45;
}

.spec-table tbody tr:last-child td{
  border-bottom:none;
}

.spec-table tbody tr{
  transition:background var(--transition);
}

.spec-table tbody tr:hover{
  background:#fff3f4;
}

.spec-note{
  margin:12px 0 0;
  color:var(--muted);
  font-size:12px;
  font-style:italic;
}

.apps-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.app-card{
  position:relative;
  min-height:125px;
  overflow:hidden;
  background:#1c2536;
  border-radius:11px;
}

.app-card img{
  width:100%;
  height:125px;
  object-fit:cover;
  transition:transform .55s ease;
}

.app-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(8,20,38,.9),rgba(8,20,38,.06) 58%);
}

.app-card:hover img{
  transform:scale(1.12);
}

.app-label{
  position:absolute;
  left:12px;
  bottom:11px;
  z-index:2;
  color:#fff;
  font-size:12px;
  font-weight:800;
  transition:transform var(--transition),color var(--transition);
}

.app-card:hover .app-label{
  color:var(--red-bright);
  transform:translateX(4px);
}

.why-list{
  display:grid;
  gap:6px;
}

.why-list li{
  padding:14px 10px;
  display:flex;
  gap:14px;
  border-radius:10px;
  transition:transform var(--transition),background var(--transition);
}

.why-list li:hover{
  transform:translateX(5px);
  background:var(--bg-light);
}

.why-ico{
  width:36px;
  height:36px;
  min-width:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--red);
  border:1.5px solid var(--red);
  border-radius:10px;
  transition:transform var(--transition),background var(--transition),color var(--transition);
}

.why-ico svg{
  width:18px;
  height:18px;
}

.why-list li:hover .why-ico{
  color:#fff;
  background:var(--red);
  transform:scale(1.08);
}

.why-text{
  display:flex;
  flex-direction:column;
  gap:3px;
  color:var(--muted);
  font-size:12.7px;
  line-height:1.55;
}

.why-text strong{
  color:var(--navy);
  font-size:13.8px;
  font-weight:900;
}


/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s ease,transform .7s ease;
}

.reveal.in-view{
  opacity:1;
  transform:translateY(0);
}

/* =========================================================
   KEYFRAMES
   ========================================================= */

@keyframes squareHeroLeft{
  from{
    opacity:0;
    transform:translateX(-42px);
  }
  to{
    opacity:1;
    transform:translateX(0);
  }
}

@keyframes squareHeroRight{
  from{
    opacity:0;
    transform:translateX(42px);
  }
  to{
    opacity:1;
    transform:translateX(0);
  }
}

@keyframes squareFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-7px)}
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width:1180px){
  .features-inner{
    grid-template-columns:repeat(3,1fr);
  }

  .details-grid{
    grid-template-columns:1fr;
  }

  .cta-inner{
    grid-template-columns:1fr;
  }

  .cta-text p{
    max-width:520px;
  }

  .cta-actions{
    align-items:flex-start;
  }
}

@media (max-width:1024px){
  .squareHero__container{
    gap:46px;
  }

  .squareHero__features{
    grid-template-columns:1fr;
  }

  .squareHero__feature{
    max-width:450px;
    min-height:auto;
  }

  .squareHero__imageFrame{
    height:470px;
  }

  .overview-card{
    grid-template-columns:1fr;
  }

  .overview-image,
  .overview-image img{
    min-height:320px;
  }

  .cta-icons{
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width:850px){
  .squareHero{
    min-height:auto;
    padding:66px 0 86px;
  }

  .squareHero__container{
    grid-template-columns:1fr;
    gap:68px;
  }

  .squareHero__content{
    max-width:700px;
  }

  .squareHero__visual{
    width:min(100%,700px);
    margin:0 auto;
  }

  .squareHero__features{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .squareHero__feature{
    max-width:none;
    min-height:120px;
  }

  .squareHero__imageFrame{
    height:440px;
  }

  .check-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:700px){
  .overview,
  .features,
  .details,
  .cta-banner{
    padding-left:20px;
    padding-right:20px;
  }

  .overview-card{
    padding:24px;
  }

  .features-inner{
    grid-template-columns:1fr 1fr;
  }

  .cta-icons{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:620px){
  .squareHero{
    padding:54px 0 74px;
  }

  .squareHero__container{
    width:calc(100% - 30px);
    gap:58px;
  }

  .squareHero__title{
    font-size:43px;
  }

  .squareHero__tagline{
    font-size:20px;
  }

  .squareHero__description{
    font-size:14px;
  }

  .squareHero__features{
    grid-template-columns:1fr;
  }

  .squareHero__feature{
    min-height:auto;
  }

  .squareHero__imageFrame{
    height:330px;
    border-radius:17px;
  }

  .squareHero__gradeCard{
    top:13px;
    right:12px;
    min-width:145px;
  }

  .squareHero__sizeCard{
    left:12px;
    bottom:15px;
    width:calc(100% - 24px);
    min-width:0;
  }

  .squareHero__actions{
    flex-direction:column;
    align-items:stretch;
  }

  .squareHero__primaryButton,
  .squareHero__secondaryButton{
    width:100%;
  }

  .overview{
    padding-top:60px;
    padding-bottom:60px;
  }

  .overview-image,
  .overview-image img{
    min-height:250px;
  }

  .features-inner{
    grid-template-columns:1fr;
  }

  .apps-grid{
    grid-template-columns:1fr;
  }

  .app-card,
  .app-card img{
    min-height:170px;
    height:170px;
  }

  .detail-col{
    padding:24px;
  }
}

@media (max-width:420px){
  .squareHero__title{
    font-size:38px;
  }

  .squareHero__tagline{
    font-size:18px;
  }

  .squareHero__imageFrame{
    height:290px;
  }

  .cta-icons{
    grid-template-columns:1fr 1fr;
  }
}
/* =========================================================
   SQUARE BARS — SPECIFICATIONS SECTION
========================================================= */

.square-spec-section {
  --sq-red: #c92731;
  --sq-navy: #111d34;
  --sq-text: #172033;
  --sq-muted: #667085;
  --sq-border: #e3e7ed;

  position: relative;
  padding: 85px 0;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 92% 12%,
      rgba(201, 39, 49, 0.06),
      transparent 24%
    ),
    #ffffff;

  font-family: "Poppins", Arial, sans-serif;
}

.square-spec-container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

/* ================= HEADING ================= */

.square-spec-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: end;
  gap: 55px;
  margin-bottom: 36px;
}

.square-spec-label {
  grid-column: 1 / -1;

  display: flex;
  align-items: center;
  gap: 11px;

  margin-bottom: -31px;

  color: var(--sq-red);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.square-spec-label span {
  width: 38px;
  height: 3px;

  background: var(--sq-red);
  border-radius: 20px;
}

.square-spec-heading h2 {
  margin: 0;

  color: var(--sq-text);

  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1.8px;
}

.square-spec-heading h2 strong {
  display: block;
  color: var(--sq-red);
}

.square-spec-heading p {
  margin: 0 0 5px;

  color: var(--sq-muted);

  font-size: 14px;
  line-height: 1.75;
}

/* ================= TABLE WRAPPER ================= */

.square-spec-table-wrap {
  overflow: hidden;

  background: #ffffff;

  border: 1px solid var(--sq-border);
  border-radius: 16px;

  box-shadow:
    0 20px 55px rgba(17, 29, 52, 0.1);
}

/* ================= TABLE ================= */


.square-spec-table thead {
  background:
    linear-gradient(
      135deg,
      #16243d,
      #0d182b
    );
}

.square-spec-table th {
  padding: 19px 20px;

  color: #ffffff;

  border-right: 1px solid rgba(255, 255, 255, 0.12);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-align: left;
  text-transform: uppercase;
}

.square-spec-table th:last-child {
  border-right: 0;
}

.square-spec-table th:first-child {
  width: 29%;
}

.square-spec-table th:nth-child(2) {
  width: 18%;
}

.square-spec-table th:nth-child(3) {
  width: 16%;
}

.square-spec-table th:nth-child(4) {
  width: 22%;
}

.square-spec-table th:nth-child(5) {
  width: 15%;
}

.square-spec-table td {
  padding: 17px 20px;

  color: var(--sq-muted);

  border-right: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;

  font-size: 12px;
  line-height: 1.5;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.square-spec-table td:last-child {
  border-right: 0;
}

.square-spec-table tr:last-child td {
  border-bottom: 0;
}

.square-spec-table tbody tr:hover td {
  background: #f7f8fa;
}

.square-spec-table tbody tr:hover td:first-child {
  color: var(--sq-red);
}

/* Size column */

.square-spec-size {
  display: flex;
  align-items: center;
  gap: 13px;
}

.square-spec-size span {
  width: 34px;
  height: 34px;
  flex-shrink: 0;

  display: grid;
  place-items: center;

  color: var(--sq-red);
  background: rgba(201, 39, 49, 0.09);

  border-radius: 50%;

  font-size: 10px;
  font-weight: 900;

  transition:
    transform 0.35s ease,
    color 0.35s ease,
    background 0.35s ease;
}

.square-spec-size strong {
  color: var(--sq-navy);

  font-size: 12px;
  font-weight: 800;
}

.square-spec-table tbody tr:hover .square-spec-size span {
  color: #ffffff;
  background: var(--sq-red);

  transform: rotate(360deg);
}

/* ================= FOOTER ================= */

.square-spec-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  background: #f4f6f8;

  border-top: 1px solid var(--sq-border);
}

.square-spec-footer-item {
  position: relative;

  padding: 17px 21px;

  border-right: 1px solid #dde2e8;
}

.square-spec-footer-item:last-child {
  border-right: 0;
}

.square-spec-footer-item span,
.square-spec-footer-item strong {
  display: block;
}

.square-spec-footer-item span {
  color: var(--sq-muted);

  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.square-spec-footer-item strong {
  margin-top: 5px;

  color: var(--sq-navy);

  font-size: 12px;
  font-weight: 800;
}

/* ================= ENTRY ANIMATION ================= */

.square-spec-heading,
.square-spec-table-wrap {
  opacity: 0;
  transform: translateY(30px);

  animation: squareSpecEnter 0.8s ease forwards;
}

.square-spec-table-wrap {
  animation-delay: 0.15s;
}

@keyframes squareSpecEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .square-spec-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .square-spec-label {
    grid-column: 1;
    margin-bottom: 0;
  }

  .square-spec-table-wrap {
    overflow-x: auto;
  }

  .square-spec-table {
    min-width: 900px;
  }

  .square-spec-footer {
    min-width: 900px;
  }
}

@media (max-width: 600px) {
  .square-spec-section {
    padding: 68px 0;
  }

  .square-spec-container {
    width: calc(100% - 30px);
  }

  .square-spec-heading {
    margin-bottom: 28px;
  }

  .square-spec-heading h2 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .square-spec-heading,
  .square-spec-table-wrap {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .square-spec-size span {
    transition: none;
  }
}
/*=====================================================
APPLICATIONS
=====================================================*/

.square-app-section{
padding:90px 0;
background:#f7f8fa;
overflow:hidden;
}

.square-app-container{
width:min(1240px,calc(100% - 48px));
margin:auto;
}

.square-app-heading{
text-align:center;
max-width:760px;
margin:auto auto 55px;
}

.square-app-label{
display:inline-flex;
align-items:center;
gap:12px;
font-size:11px;
font-weight:800;
letter-spacing:2px;
text-transform:uppercase;
color:#c9252c;
}

.square-app-label span{
width:40px;
height:3px;
background:#c9252c;
border-radius:30px;
}

.square-app-heading h2{
margin:18px 0;
font-size:52px;
font-weight:900;
line-height:1.1;
color:#14213d;
}

.square-app-heading h2 strong{
display:block;
color:#c9252c;
}

.square-app-heading p{
font-size:15px;
line-height:1.8;
color:#6b7280;
}

.square-app-grid{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:22px;

}

.square-app-card{

position:relative;
overflow:hidden;
border-radius:18px;
height:300px;
cursor:pointer;
box-shadow:0 18px 45px rgba(0,0,0,.12);

transition:.45s;

}

.square-app-card img{

width:100%;
height:100%;
object-fit:cover;

transition:.6s;

}

.square-app-card::after{

content:"";
position:absolute;
inset:0;

background:linear-gradient(to top,
rgba(10,17,35,.92),
rgba(10,17,35,.05));

}

.square-app-overlay{

position:absolute;
left:28px;
bottom:24px;
z-index:2;
color:#fff;

}

.square-app-overlay span{

display:inline-flex;
width:42px;
height:42px;

border-radius:50%;
align-items:center;
justify-content:center;

background:#c9252c;

font-size:12px;
font-weight:800;

margin-bottom:18px;

}

.square-app-overlay h3{

font-size:22px;
font-weight:800;
line-height:1.3;

}

.square-app-card:hover{

transform:translateY(-10px);

box-shadow:0 30px 60px rgba(0,0,0,.18);

}

.square-app-card:hover img{

transform:scale(1.08);

}

@media(max-width:991px){

.square-app-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:600px){

.square-app-grid{

grid-template-columns:1fr;

}

.square-app-card{

height:250px;

}

.square-app-heading h2{

font-size:38px;

}

}
/* =========================================================
   SQUARE BARS — WHY CHOOSE US
========================================================= */

.square-why-section {
  --sqw-red: #c92731;
  --sqw-navy: #111d34;
  --sqw-text: #172033;
  --sqw-muted: #687184;
  --sqw-border: #e2e6ec;

  position: relative;
  padding: 90px 0;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(201, 39, 49, 0.07),
      transparent 22%
    ),
    linear-gradient(
      135deg,
      #f5f6f8 0%,
      #ffffff 48%,
      #f3f5f7 100%
    );

  font-family: "Poppins", Arial, sans-serif;
}

.square-why-section::before {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -180px;

  width: 430px;
  height: 430px;

  border: 1px solid rgba(17, 29, 52, 0.07);
  border-radius: 50%;
}

.square-why-section::after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -115px;

  width: 300px;
  height: 300px;

  border: 1px solid rgba(201, 39, 49, 0.09);
  border-radius: 50%;
}

.square-why-container {
  position: relative;
  z-index: 2;

  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

/* ================= HEADING ================= */

.square-why-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.square-why-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;

  color: var(--sqw-red);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.square-why-label::before,
.square-why-label::after,
.square-why-label span {
  content: "";
  width: 32px;
  height: 3px;

  background: var(--sqw-red);
  border-radius: 20px;
}

.square-why-label span {
  display: none;
}

.square-why-heading h2 {
  margin: 16px 0;

  color: var(--sqw-text);

  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -1.6px;
}

.square-why-heading h2 strong {
  display: block;
  color: var(--sqw-red);
}

.square-why-heading p {
  max-width: 730px;
  margin: 0 auto;

  color: var(--sqw-muted);

  font-size: 14px;
  line-height: 1.8;
}

/* ================= CARDS GRID ================= */

.square-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* ================= CARD ================= */

.square-why-card {
  position: relative;
  min-height: 255px;
  padding: 26px;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.94);

  border: 1px solid var(--sqw-border);
  border-radius: 16px;

  box-shadow:
    0 14px 38px rgba(17, 29, 52, 0.075);

  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.square-why-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;

  height: 4px;

  background: var(--sqw-red);

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.45s ease;
}

.square-why-card::after {
  content: "";
  position: absolute;
  top: -72px;
  right: -72px;

  width: 160px;
  height: 160px;

  border-radius: 50%;

  background: rgba(201, 39, 49, 0.05);

  transition:
    transform 0.5s ease,
    background 0.5s ease;
}

.square-why-card:hover {
  transform: translateY(-9px);

  border-color: rgba(201, 39, 49, 0.3);

  box-shadow:
    0 28px 58px rgba(17, 29, 52, 0.14);
}

.square-why-card:hover::before {
  transform: scaleX(1);
}

.square-why-card:hover::after {
  transform: scale(1.35);
  background: rgba(201, 39, 49, 0.09);
}

/* ================= TOP AREA ================= */

.square-why-top {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.square-why-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;

  display: grid;
  place-items: center;

  color: var(--sqw-red);
  background: rgba(201, 39, 49, 0.09);

  border: 1px solid rgba(201, 39, 49, 0.11);
  border-radius: 14px;

  transition:
    color 0.4s ease,
    background 0.4s ease,
    transform 0.4s ease;
}

.square-why-icon svg {
  width: 27px;
  height: 27px;
}

.square-why-number {
  color: rgba(17, 29, 52, 0.09);

  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;

  transition:
    color 0.4s ease,
    transform 0.4s ease;
}

.square-why-card:hover .square-why-icon {
  color: #ffffff;
  background: var(--sqw-red);

  transform: rotate(-8deg) scale(1.05);
}

.square-why-card:hover .square-why-number {
  color: rgba(201, 39, 49, 0.17);
  transform: translateX(-4px);
}

/* ================= CARD CONTENT ================= */

.square-why-card h3 {
  position: relative;
  z-index: 2;

  margin: 24px 0 10px;

  color: var(--sqw-navy);

  font-size: 19px;
  line-height: 1.3;
  font-weight: 900;
}

.square-why-card p {
  position: relative;
  z-index: 2;

  margin: 0;

  color: var(--sqw-muted);

  font-size: 12px;
  line-height: 1.75;
}

/* ================= ENTRANCE ANIMATION ================= */

.square-why-card {
  opacity: 0;
  transform: translateY(28px);

  animation: squareWhyEnter 0.75s ease forwards;
}

.square-why-card:nth-child(2) {
  animation-delay: 0.09s;
}

.square-why-card:nth-child(3) {
  animation-delay: 0.18s;
}

.square-why-card:nth-child(4) {
  animation-delay: 0.27s;
}

.square-why-card:nth-child(5) {
  animation-delay: 0.36s;
}

.square-why-card:nth-child(6) {
  animation-delay: 0.45s;
}

@keyframes squareWhyEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 950px) {
  .square-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .square-why-section {
    padding: 68px 0;
  }

  .square-why-container {
    width: calc(100% - 30px);
  }

  .square-why-heading {
    margin-bottom: 34px;
  }

  .square-why-heading h2 {
    font-size: 36px;
  }

  .square-why-grid {
    grid-template-columns: 1fr;
  }

  .square-why-card {
    min-height: auto;
    padding: 23px;
  }

  .square-why-number {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .square-why-card {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .square-why-card,
  .square-why-icon,
  .square-why-number {
    transition: none;
  }
}