/* =========================================================
   IOBITS — Software Company
   Recreated from WordPress (Astra + Elementor) export
   Design tokens taken from the original theme settings:
     main    #6878d6   heading #242a56   text #393a56
     link    #6878d6   hover   #4d61d6   accent #3eb1f5
     fonts   Poppins (headings) / Open Sans (body)
   ========================================================= */

:root {
  --color-primary: #6878d6;
  --color-primary-dark: #4d61d6;
  --color-heading: #242a56;
  --color-text: #393a56;
  --color-accent: #3eb1f5;
  --color-light: #d0d8ea;
  --color-bg-tint: rgba(208, 216, 234, 0.25);
  --color-white: #ffffff;
  --color-dark: #242a56;
  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Open Sans", "Segoe UI", sans-serif;
  --shadow-sm: 0 0 40px rgba(36, 42, 86, 0.08);
  --shadow-md: 0 10px 40px rgba(36, 42, 86, 0.15);
  --shadow-hover: 0 15px 45px rgba(104, 120, 214, 0.28);
  --radius: 8px;
  --container: 1170px;
  --header-h: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 48px; font-weight: 400; }
h2 { font-size: 42px; }
h3 { font-size: 28px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 15px; }

p { margin-bottom: 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--color-primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

.section { padding: 100px 0; }
.section-tint { background: var(--color-bg-tint); }

.text-center { text-align: center; }
.divider {
  width: 50px; height: 4px;
  background: var(--color-primary);
  border-radius: 4px;
  margin-bottom: 20px;
}
.divider.center { margin-left: auto; margin-right: auto; }

.section-head { max-width: 620px; margin: 0 auto 50px; text-align: center; }
.section-head p { color: var(--color-text); opacity: .85; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 2px;
  font-family: var(--font-heading); font-weight: 600;
  color: var(--color-primary); font-size: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .3s ease;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--color-primary); }
.btn-ghost { border-color: var(--color-primary); color: var(--color-primary); }
.btn-ghost:hover { background: var(--color-primary); color: #fff; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.transparent { background: transparent; }
.site-header.scrolled,
.site-header.solid {
  background: #fff;
  box-shadow: 0 4px 20px rgba(36, 42, 86, 0.08);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo img, .logo svg { height: 42px; width: auto; }
.logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 24px; color: #fff; letter-spacing: 1px; }
.logo-text b { color: var(--color-accent); }
.site-header.scrolled .logo-text,
.site-header.solid .logo-text { color: var(--color-heading); }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 500; font-size: 15px;
  color: #fff; padding: 10px 16px; border-radius: 6px;
}
.main-nav a:hover, .main-nav a.active { color: var(--color-accent); }
.site-header.scrolled .main-nav a,
.site-header.solid .main-nav a { color: var(--color-heading); }
.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active,
.site-header.solid .main-nav a:hover,
.site-header.solid .main-nav a.active { color: var(--color-primary); }
.main-nav a.contact-btn {
  background: var(--color-primary); color: #fff !important;
  padding: 10px 24px; border-radius: 50px; margin-left: 10px;
}
.main-nav a.contact-btn:hover { background: var(--color-primary-dark); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: #fff; margin: 6px auto;
  transition: all .3s ease;
}
.site-header.scrolled .nav-toggle span,
.site-header.solid .nav-toggle span { background: var(--color-heading); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   HERO / PAGE BANNER
   ========================================================= */
.page-banner {
  position: relative;
  min-height: 460px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 160px 0 120px;
  background: linear-gradient(135deg, #242a56 0%, #3a4790 100%);
  overflow: hidden;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(36, 42, 86, 0.8);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: 12px; }
.page-banner h4 { color: #fff; font-weight: 600; margin-bottom: 14px; }
.page-banner p { color: var(--color-light); max-width: 600px; margin: 0 auto; }
.banner-shape { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 2; }
.banner-shape svg { width: 100%; height: 90px; display: block; }

/* Home hero specific */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 100px;
  background: radial-gradient(circle at 20% 20%, #33407f 0%, #242a56 55%, #1a1f45 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -10%; top: 10%;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(62,177,245,0.25), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero-content .eyebrow { color: var(--color-accent); }
.hero-content h1 { color: #fff; font-size: 52px; margin: 14px 0 20px; font-weight: 700; }
.hero-content h1 span { color: var(--color-accent); }
.hero-content p { color: var(--color-light); font-size: 18px; margin-bottom: 30px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual img { max-width: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }

/* =========================================================
   CARDS / GRIDS
   ========================================================= */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 35px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.service-card .icon {
  width: 76px; height: 76px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(104,120,214,.12), rgba(62,177,245,.12));
}
.service-card .icon img, .service-card .icon svg { width: 44px; height: 44px; }
.service-card h4 { margin-bottom: 12px; }
.service-card p { font-size: 15px; margin: 0; }

/* info cards (about) */
.info-card { text-align: left; }
.info-card h3 { margin-bottom: 14px; font-size: 24px; }
.icon-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.icon-list li::before { content: "\276F"; color: var(--color-primary); font-weight: 700; }

/* =========================================================
   STATS / COUNTERS
   ========================================================= */
.stats { background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; align-items: start; }
.stat .num { font-family: var(--font-heading); font-weight: 700; font-size: 45px; color: var(--color-primary); line-height: 1; }
.stat h6 { margin-top: 8px; text-transform: none; color: var(--color-heading); }
.stats-intro { text-align: left; }
.stats-intro h4 { margin-bottom: 6px; }

/* =========================================================
   WHY CHOOSE US (split) + ACCORDION
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.split-media {
  background: linear-gradient(135deg, #2b3570, #4356b0);
  position: relative;
}
.split-media::after { content:""; position:absolute; inset:0; background: rgba(36,42,86,.55); }
.split-content { background: var(--color-bg-tint); padding: 80px; display: flex; flex-direction: column; justify-content: center; }
.split-content h2 { margin-bottom: 14px; }

.accordion { margin-top: 24px; }
.acc-item { background: #fff; border: 1px solid rgba(208,216,234,.6); border-radius: 6px; margin-bottom: 10px; overflow: hidden; }
.acc-head {
  width: 100%; text-align: left; background: #fff; border: 0; cursor: pointer;
  padding: 16px 20px; font-family: var(--font-heading); font-weight: 500; font-size: 15px;
  color: var(--color-heading); display: flex; justify-content: space-between; align-items: center;
}
.acc-head .plus { color: var(--color-primary); font-size: 18px; transition: transform .3s ease; }
.acc-item.active .acc-head { color: var(--color-primary); }
.acc-item.active .acc-head .plus { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; background: #fff; }
.acc-body p { padding: 0 20px 18px; font-size: 15px; margin: 0; }

/* =========================================================
   CLIENTS / LOGOS
   ========================================================= */
.logos-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #eef0f7; border-radius: 8px; overflow: hidden; }
.logos-grid .logo-cell {
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px; background: #fff; border: 1px solid #f1f3f9;
  min-height: 150px; transition: background .3s ease;
}
.logos-grid .logo-cell:hover { background: #f7f9fe; }
.logos-grid .logo-cell img, .logos-grid .logo-cell svg { max-height: 60px; width: auto; opacity: .8; }

.client-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.client-links a {
  padding: 12px 22px; border: 1px solid rgba(104,120,214,.3); border-radius: 50px;
  font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--color-heading);
  background: #fff; transition: all .3s ease;
}
.client-links a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* =========================================================
   PORTFOLIO
   ========================================================= */
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.portfolio-item {
  position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm);
}
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item .caption {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px;
  background: linear-gradient(to top, rgba(36,42,86,.85), transparent 60%);
  color: #fff; font-family: var(--font-heading); font-weight: 600; opacity: 0; transition: opacity .3s ease;
}
.portfolio-item:hover .caption { opacity: 1; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi-card { background: #fff; border-radius: 10px; padding: 32px; box-shadow: var(--shadow-sm); }
.testi-card .stars { color: #f5b301; letter-spacing: 2px; margin-bottom: 14px; }
.testi-card p { font-style: italic; color: var(--color-text); }
.testi-author { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.testi-author img, .testi-author .avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700;
}
.testi-author strong { display: block; font-family: var(--font-heading); color: var(--color-heading); }
.testi-author span { font-size: 13px; color: var(--color-primary); }

.quote-box {
  max-width: 780px; margin: 60px auto 0; text-align: center;
  border: 4px solid var(--color-primary); border-radius: 12px; padding: 48px 40px;
  background: #fff;
}
.quote-box h3 { margin-bottom: 16px; }

/* =========================================================
   TEAM
   ========================================================= */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card { background: #fff; border-radius: 14px; padding: 34px 28px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.team-card .profile-img {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px;
  border: 4px solid rgba(104,120,214,.2);
}
.member-name { font-size: 20px; margin-bottom: 4px; }
.member-designation { color: var(--color-primary); font-size: 14px; font-family: var(--font-heading); margin-bottom: 18px; min-height: 40px; }
.member-info { text-align: left; display: inline-block; margin-bottom: 20px; }
.member-info .info-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-text); margin-bottom: 6px; }
.member-info .info-item svg { width: 18px; height: 18px; fill: var(--color-primary); flex: 0 0 auto; }
.linkedin-btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: var(--color-primary); color: #fff; padding: 10px 22px; border-radius: 50px;
  font-family: var(--font-heading); font-weight: 600; font-size: 14px;
}
.linkedin-btn:hover { background: var(--color-primary-dark); color: #fff; }
.linkedin-btn svg { width: 18px; height: 18px; fill: #fff; }

/* =========================================================
   CTA / CONTACT
   ========================================================= */
.cta {
  background: linear-gradient(135deg, #242a56, #4356b0);
  color: #fff; text-align: center; padding: 90px 0;
}
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { color: var(--color-light); margin-bottom: 26px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info h3 { margin-bottom: 20px; }
.contact-info .info-item { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.contact-info .info-item .ci-icon {
  width: 48px; height: 48px; border-radius: 12px; flex: 0 0 auto;
  background: rgba(104,120,214,.12); display: flex; align-items: center; justify-content: center;
}
.contact-info .info-item .ci-icon svg { width: 22px; height: 22px; fill: var(--color-primary); }
.contact-info .info-item h6 { text-transform: uppercase; letter-spacing: 1px; color: var(--color-heading); margin-bottom: 2px; }
.contact-info .info-item p, .contact-info .info-item a { margin: 0; color: var(--color-text); }

.contact-form { background: #fff; border-radius: 14px; padding: 40px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--font-heading); font-size: 14px; font-weight: 500; color: var(--color-heading); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #dfe3ef; border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; color: var(--color-text); background: #fbfcfe;
  transition: border .25s ease, box-shadow .25s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 0; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(104,120,214,.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; margin-top: 12px; color: var(--color-text); opacity: .7; }
.form-success { display: none; background: #e8f7ee; color: #1e7d45; border: 1px solid #b6e6c8; padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; }
.form-success.show { display: block; }

.map-embed { margin-top: 40px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* =========================================================
   RICH CONTENT (privacy policy etc.)
   ========================================================= */
.rich-content { max-width: 860px; margin: 0 auto; }
.rich-content h2 { font-size: 30px; margin: 34px 0 12px; }
.rich-content h3 { font-size: 22px; margin: 26px 0 10px; }
.rich-content p { color: var(--color-text); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  color: #cdd4ec;
  background: linear-gradient(135deg, #1a1f45 0%, #242a56 60%, #2f3a78 100%);
  padding: 80px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-col h5 { color: #fff; margin-bottom: 20px; font-size: 17px; }
.footer-brand .flogo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand .flogo img, .footer-brand .flogo svg { height: 40px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 14px; color: #aeb6d8; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #cdd4ec; font-size: 14px; }
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-contact .fc-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14px; color: #cdd4ec; align-items: flex-start; }
.footer-contact .fc-item svg { width: 18px; height: 18px; fill: var(--color-accent); flex: 0 0 auto; margin-top: 3px; }
.footer-contact .fc-item a { color: #cdd4ec; }
.footer-contact .fc-item a:hover { color: var(--color-accent); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); transition: background .3s ease, transform .3s ease;
}
.footer-social a:hover { background: var(--color-primary); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom {
  margin-top: 60px; border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0; text-align: center; font-size: 13px; color: #9aa3cc;
}
.footer-bottom a { color: var(--color-accent); }

/* =========================================================
   ANIMATIONS ON SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  h1 { font-size: 40px; }
  h2 { font-size: 35px; }
  .hero-content h1 { font-size: 42px; }
  .section { padding: 70px 0; }
  .grid-3, .team-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; text-align: left; }
  .logos-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .split-content { padding: 50px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh;
    background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,.15);
    padding: 90px 24px 24px; transition: right .35s ease; z-index: 999;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { color: var(--color-heading) !important; padding: 14px 12px; border-bottom: 1px solid #f0f2f8; border-radius: 0; }
  .main-nav a.contact-btn { margin: 12px 0 0; text-align: center; border-radius: 50px; color: #fff !important; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; visibility: hidden; transition: .3s; z-index: 998; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }

  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content h1 { font-size: 34px; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 20px; }

  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }

  .grid-3, .grid-2, .grid-4, .team-grid, .testi-grid, .contact-grid, .split { grid-template-columns: 1fr; }
  .split { min-height: auto; }
  .split-media { min-height: 260px; }
  .split-content { padding: 40px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .logos-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-banner { min-height: 360px; padding: 130px 0 90px; }
  .quote-box { padding: 34px 22px; }
}

@media (max-width: 480px) {
  .stats-grid, .portfolio-grid, .logos-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .btn { padding: 12px 26px; }
}
