/* ===== Iremos Website Refresh — supplemental styles ===== */

/* Hero: raise the content off the bottom so it sits balanced in the band,
   and calm the spacing / paragraph weight to reduce crowding.
   (Percentage top can't be used: .bg-container has zero height.) */
.banner-content {
  top: 220px;
  gap: 24px;
}
.banner-content p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  width: 470px;
  color: #cdd6ee;
}

/* Hero trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #dfe8ff;
  border: 1px solid rgba(120, 160, 255, 0.4);
  border-radius: 40px;
  background: rgba(30, 45, 90, 0.35);
  backdrop-filter: blur(4px);
}
.trust-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: linear-gradient(118deg, #fd47a8, #4babff);
}

/* Coming soon / status pill on service cards */
.status-pill {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 30px;
}
.status-pill.now {
  color: #0a7d3c;
  background: #dcf7e6;
}
.status-pill.soon {
  color: #8a5a00;
  background: #fdeecb;
}

/* Gradient words must match their surrounding heading — the legacy theme
   forces span.color-text to 80px, which makes random words balloon. */
span.color-text {
  font-size: inherit !important;
  line-height: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
}

/* Contact form thank-you modal — matches the dark navy + gradient theme */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 10, 30, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.contact-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 48px 36px 40px;
  text-align: center;
  background: linear-gradient(160deg, #171b3a 0%, #10132c 100%);
  border: 1px solid rgba(120, 140, 255, 0.25);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: contactModalIn 0.35s ease;
}
@keyframes contactModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-modal-check {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(118deg, #fd47a8, #4babff);
  color: #fff;
  font-size: 34px;
  line-height: 68px;
  box-shadow: 0 10px 30px rgba(120, 80, 220, 0.45);
}
.contact-modal h5 {
  font-family: "DM Sans", sans-serif;
  font-size: 30px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 14px;
}
.contact-modal p {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #b8c0dd;
  margin-bottom: 28px;
}
.contact-modal-btn {
  display: inline-block;
  padding: 13px 44px;
  border: none;
  border-radius: 40px;
  background: linear-gradient(118deg, #12a1fa, #2b3dff 55%, #e821f2);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.contact-modal-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: none;
  color: #8a93b8;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.contact-modal-close:hover {
  color: #ffffff;
}

/* ===== Symmetrical Grids and Clean Layouts ===== */

/* Service Overview Grid — 9 cards, 3x3 for perfect symmetry */
.service-details {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.service-details-items {
  width: 100% !important;
  height: 100% !important;
  min-height: 280px;
  padding: 32px 24px !important;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.service-details-items:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.06);
}
.service-details-items h6 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 20px !important;
}
.service-details-items p {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #cdd6ee !important;
}

/* About Us Section (Homepage) */
.about-us {
  align-items: center !important;
  gap: 60px;
}
.about-us-left-col p {
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #4c5266 !important;
}
.about-us-left-col h5 {
  font-size: 38px !important;
  line-height: 1.2 !important;
}

/* About Details Stats Strip */
.about-details {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0 !important;
  border-bottom: 1px solid rgba(120, 90, 200, 0.12) !important;
  margin: 40px 0 !important;
}
.about-details-col {
  width: 100% !important;
  justify-content: flex-start !important;
}

/* Why Choose Us Grid */
.digital-security-details {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.digital-security-details-items {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 20px;
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(120, 90, 200, 0.12);
  box-shadow: 0 12px 30px rgba(90, 70, 160, 0.04);
}
.digital-security-details-left-col {
  margin-bottom: 0 !important;
}
.digital-security-details-right-col {
  margin-left: 0 !important;
}
.digital-security-details-right-col h5 {
  font-size: 22px !important;
  margin-bottom: 12px !important;
}
.digital-security-details-right-col p {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #5a6072 !important;
}

/* Industries Grid */
/* Legacy .digital-security-solution has fixed height:477px + overflow:hidden,
   and its parent section .digital-security is fixed at 1000px — both must
   grow or the 2-row card grid clips/overflows onto the next section. */
.digital-security {
  height: auto !important;
  padding-bottom: 80px;
}
.digital-security-solution {
  height: auto !important;
}
.digital-security-solution-right-col {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  max-width: 100% !important;
}
.digital-security-solution-right-col-items {
  width: 100% !important;
  padding: 24px !important;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(120, 90, 200, 0.12);
  border-right: 1px solid rgba(120, 90, 200, 0.12) !important;
}
/* Legacy tile text was white for the dark band — dark text on white cards */
.digital-security-solution-right-col-items h6 {
  color: #1c2340 !important;
  font-size: 19px !important;
  line-height: 26px !important;
}
.digital-security-solution-right-col-items p {
  color: #5a6072 !important;
}

/* Services Pages Cleanups */
.col-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-top: 80px !important;
}
.col-grid .about-us-left-col {
  width: 100% !important;
}
.key-features {
  margin-top: 24px;
}
.key-features h6 {
  font-size: 16px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7a4dc9 !important;
  margin-bottom: 16px !important;
}
.key-features ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.key-features ul li p {
  font-size: 16px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
.key-features ul li .ellipse {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(118deg, #fd47a8, #4babff);
}

/* ===== Who We Serve section ===== */
.who-we-serve {
  padding: 90px 0;
  background: linear-gradient(137deg, #FCF8FF 4%, #E0F1F5 32%, #E7E5F1 57%, #EAE3F5 79%, #DDD8FF 99%);
}
.wws-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
}
.wws-head h5 {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #7a4dc9;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.wws-head h4 {
  font-family: "Anek Latin", sans-serif;
  font-size: 38px;
  line-height: 1.2;
  color: #131927;
  margin-bottom: 16px;
}
.wws-head h4 .color-text {
  background: linear-gradient(118deg, #fd47a8, #4babff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wws-head p {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  color: #4c5266;
}
.wws-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.wws-card {
  background: #fff;
  border: 1px solid rgba(120, 90, 200, 0.12);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 12px 30px rgba(90, 70, 160, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wws-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(90, 70, 160, 0.16);
}
.wws-card h6 {
  font-family: "Anek Latin", sans-serif;
  font-size: 20px;
  color: #131927;
  margin-bottom: 12px;
}
.wws-card .wws-pain {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #6a7183;
  margin-bottom: 16px;
  line-height: 1.55;
}
.wws-card .wws-answer {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2b3dff;
  line-height: 1.55;
  padding-top: 14px;
  border-top: 1px solid rgba(120, 90, 200, 0.14);
}

/* ===== AI Security teaser (homepage) ===== */
.ai-teaser {
  padding: 90px 0;
  background: radial-gradient(ellipse at top left, #1b2452 0%, #0d1230 55%, #090c22 100%);
}
.ai-teaser-col {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}
.ai-teaser-left {
  flex: 1 1 480px;
}
.ai-teaser-left h5 {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #8fb4ff;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ai-teaser-left h4 {
  font-family: "Anek Latin", sans-serif;
  font-size: 40px;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}
.ai-teaser-left h4 .color-text {
  background: linear-gradient(118deg, #fd47a8, #4babff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ai-teaser-left p {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #b8c2e0;
  margin-bottom: 28px;
  max-width: 560px;
}
.ai-teaser-left .primary-btn {
  display: inline-block;
}
.ai-teaser-right {
  flex: 1 1 360px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ai-capability {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(140, 170, 255, 0.22);
  border-radius: 14px;
  padding: 22px 20px;
}
.ai-capability h6 {
  font-family: "Anek Latin", sans-serif;
  font-size: 17px;
  color: #fff;
  margin-bottom: 10px;
}
.ai-capability p {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: #9aa6cc;
}

/* ===== Generic inner page (AI Security / Who We Serve) hero band ===== */
.refresh-top {
  background: radial-gradient(ellipse at top right, #1b2452 0%, #0d1230 55%, #090c22 100%);
  padding-bottom: 90px;
}
.refresh-hero {
  padding: 40px 0 10px;
  text-align: center;
}
.refresh-hero h1 {
  font-family: "Anek Latin", sans-serif;
  font-size: 48px;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 18px;
}
.refresh-hero h1 .color-text {
  background: linear-gradient(118deg, #fd47a8, #4babff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.refresh-hero p {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #b8c2e0;
  max-width: 700px;
  margin: 0 auto 30px;
}
.refresh-hero .banner-btn-grp {
  justify-content: center;
}

/* Section wrapper for inner pages */
.refresh-section {
  padding: 80px 0;
}
.refresh-section.alt {
  background: linear-gradient(137deg, #FCF8FF 4%, #E0F1F5 32%, #E7E5F1 57%, #EAE3F5 79%, #DDD8FF 99%);
}
.refresh-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}
.refresh-section-head h5 {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #7a4dc9;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.refresh-section-head h2 {
  font-family: "Anek Latin", sans-serif;
  font-size: 36px;
  line-height: 1.2;
  color: #131927;
  margin-bottom: 16px;
}
.refresh-section-head h2 .color-text {
  background: linear-gradient(118deg, #fd47a8, #4babff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.refresh-section-head p {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  color: #4c5266;
}
.refresh-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.refresh-card {
  background: #fff;
  border: 1px solid rgba(120, 90, 200, 0.12);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: 0 12px 30px rgba(90, 70, 160, 0.08);
}
.refresh-card h6 {
  font-family: "Anek Latin", sans-serif;
  font-size: 21px;
  color: #131927;
  margin-bottom: 12px;
}
.refresh-card p {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #5a6072;
}

/* Three pillars strip */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: #fff;
  border: 1px solid rgba(120, 90, 200, 0.12);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 12px 30px rgba(90, 70, 160, 0.08);
}
.pillar h4 {
  font-family: "Anek Latin", sans-serif;
  font-size: 24px;
  color: #2b3dff;
  margin-bottom: 6px;
}
.pillar span.pillar-sub {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  color: #8a90a2;
  margin-bottom: 18px;
}
.pillar ul li {
  position: relative;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #4c5266;
  padding: 7px 0 7px 22px;
  line-height: 1.5;
}
.pillar ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(118deg, #fd47a8, #4babff);
}
.pillar ul li .tag-new {
  font-size: 10px;
  font-weight: 700;
  color: #8a5a00;
  background: #fdeecb;
  border-radius: 20px;
  padding: 1px 8px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Services grid: allow the dark section to grow with added rows so cards
   don't overflow onto the light "Why Choose Us" section below. */
.service-overview {
  height: auto;
  padding-bottom: 90px;
}

/* Responsive */
@media (max-width: 991px) {
  .service-details { grid-template-columns: repeat(2, 1fr) !important; }
  .about-details { grid-template-columns: repeat(2, 1fr) !important; }
  .digital-security-details { grid-template-columns: repeat(2, 1fr) !important; }
  .digital-security-solution-right-col { grid-template-columns: repeat(2, 1fr) !important; }
  .col-grid { grid-template-columns: 1fr !important; }
  .wws-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .refresh-cards { grid-template-columns: 1fr; }
  .ai-teaser-right { grid-template-columns: 1fr 1fr; }
}
/* Match the site's 760px mobile breakpoint (responsive.css) so grids stack
   before the legacy mobile styles kick in. */
@media (max-width: 760px) {
  .service-details { grid-template-columns: 1fr !important; }
  .about-details { grid-template-columns: 1fr !important; }
  .digital-security-details { grid-template-columns: 1fr !important; }
  .digital-security-solution-right-col { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .wws-grid { grid-template-columns: 1fr; }
  .ai-teaser-left h4, .refresh-hero h1 { font-size: 32px; }
  .wws-head h4 { font-size: 30px; }
}
