/* =========================================================
   INDIA DIGITECH INSTITUTE
   Main Website Styles
========================================================= */

:root {
  --primary: #6c3df4;
  --primary-dark: #4f22c7;
  --secondary: #08b5a5;
  --dark: #101323;
  --text: #4d5263;
  --light: #f7f8fc;
  --white: #ffffff;
  --border: #e8eaf1;
  --shadow: 0 20px 60px rgba(20, 25, 50, 0.1);
  --radius: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230, 232, 240, 0.8);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
  letter-spacing: -0.5px;
}

.logo span,
.footer-logo span {
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.main-nav a {
  color: #424758;
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 10px;
  background: var(--primary);
}

.header-btn {
  padding: 12px 21px;
  border-radius: 10px;
  color: white;
  background: var(--primary);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(108, 61, 244, 0.25);
  transition: 0.25s ease;
}

.header-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  padding: 90px 0 85px;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(108, 61, 244, 0.13),
      transparent 30%
    ),
    radial-gradient(circle at 10% 80%, rgba(8, 181, 165, 0.1), transparent 28%),
    #fbfbfe;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(108, 61, 244, 0.1);
  border-radius: 50%;
  right: -130px;
  top: 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 70px;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 50px;
  background: rgba(108, 61, 244, 0.08);
  border: 1px solid rgba(108, 61, 244, 0.13);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero h1 {
  color: var(--dark);
  font-size: clamp(42px, 5vw, 67px);
  line-height: 1.05;
  letter-spacing: -2.8px;
  margin-bottom: 24px;
}

.hero h1 span {
  display: block;
  color: var(--primary);
}

.hero-description {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.75;
  color: #616779;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(108, 61, 244, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid #d9dbe5;
  color: var(--dark);
  background: white;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-top: 38px;
}

.hero-trust div {
  display: flex;
  flex-direction: column;
}

.hero-trust strong {
  color: var(--dark);
  font-size: 20px;
  line-height: 1;
}

.hero-trust span {
  color: #858999;
  font-size: 12px;
  margin-top: 6px;
}

/* =========================================================
   HERO CARD
========================================================= */

.hero-card {
  position: relative;
  padding: 34px;
  min-height: 440px;
  border-radius: 28px;
  color: white;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(255, 255, 255, 0.15),
      transparent 25%
    ),
    linear-gradient(145deg, #17182b, #28204b 55%, #4321a0);
  box-shadow: 0 35px 70px rgba(39, 28, 83, 0.25);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  right: -65px;
  bottom: -60px;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  right: 10px;
  bottom: 5px;
}

.hero-card > * {
  position: relative;
  z-index: 2;
}

.hero-card-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 32px;
}

.hero-card-label span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35e0bd;
  box-shadow: 0 0 12px #35e0bd;
}

.hero-card-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 34px;
  margin-bottom: 22px;
}

.hero-card h2 {
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 15px;
}

.hero-card h2 strong {
  display: block;
  color: #bca9ff;
}

.hero-card > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.8;
  max-width: 360px;
}

.course-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 30px 0;
}

.course-info div {
  padding: 15px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.course-info strong,
.course-info span {
  display: block;
}

.course-info strong {
  font-size: 18px;
  color: white;
}

.course-info span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 3px;
}

.card-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 11px;
  color: var(--dark);
  background: white;
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s ease;
}

.card-btn:hover {
  transform: translateY(-2px);
}

/* =========================================================
   STATS
========================================================= */

.stats-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  min-height: 125px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item strong {
  color: var(--dark);
  font-size: 26px;
  line-height: 1;
}

.stat-item span {
  color: #858999;
  font-size: 12px;
  margin-top: 7px;
}

/* =========================================================
   COMMON SECTION
========================================================= */

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-heading > span,
.eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.section-heading h2 {
  color: var(--dark);
  font-size: clamp(32px, 4vw, 45px);
  line-height: 1.15;
  letter-spacing: -1.6px;
  margin: 12px 0 17px;
}

.section-heading h2 strong {
  color: var(--primary);
}

.section-heading p {
  color: #777d8d;
  font-size: 16px;
}

/* =========================================================
   COURSES
========================================================= */

.courses-section {
  background: white;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  transition: 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.course-card.featured {
  border-color: rgba(108, 61, 244, 0.35);
  box-shadow: 0 20px 50px rgba(108, 61, 244, 0.1);
}

.popular-label {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 9px;
  border-radius: 30px;
  color: white;
  background: var(--primary);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.course-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f0ff;
  border-radius: 15px;
  font-size: 27px;
  margin-bottom: 22px;
}

.course-card h3 {
  color: var(--dark);
  font-size: 21px;
  margin-bottom: 12px;
}

.course-card > p {
  color: #777d8d;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.course-card ul {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-bottom: 22px;
}

.course-card li {
  color: #555b6b;
  font-size: 13px;
  margin-bottom: 9px;
}

.course-card li::before {
  content: "✓";
  color: var(--secondary);
  font-weight: 800;
  margin-right: 9px;
}

.course-card > a {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

/* =========================================================
   PRACTICAL SECTION
========================================================= */

.practical-section {
  background: var(--light);
}

.practical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.practical-content h2 {
  color: var(--dark);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.7px;
  margin: 13px 0 20px;
}

.practical-content h2 strong {
  color: var(--primary);
}

.practical-content > p {
  color: #727889;
  max-width: 570px;
  margin-bottom: 30px;
}

.task {
  display: flex;
  gap: 14px;
  margin-bottom: 19px;
}

.task > span {
  width: 27px;
  height: 27px;
  min-width: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--primary);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.task strong {
  color: var(--dark);
  font-size: 15px;
}

.task p {
  color: #858a98;
  font-size: 13px;
  margin-top: 2px;
}

/* =========================================================
   DASHBOARD VISUAL
========================================================= */

.practical-visual {
  padding: 25px;
}

.visual-window {
  background: #17182b;
  border-radius: 24px;
  padding: 7px;
  box-shadow: 0 30px 70px rgba(20, 22, 45, 0.2);
}

.window-header {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 15px;
}

.window-header span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #55596e;
}

.dashboard-content {
  min-height: 360px;
  padding: 34px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #202238;
  background-size: 35px 35px;
}

.dashboard-label {
  color: #9c89ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.dashboard-content h3 {
  color: white;
  font-size: 27px;
  margin: 8px 0 30px;
}

.dashboard-bars {
  height: 130px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-bars i {
  display: block;
  flex: 1;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(to top, #6c3df4, #9b85ff);
}

.dashboard-bars i:nth-child(1) {
  height: 35%;
}

.dashboard-bars i:nth-child(2) {
  height: 50%;
}

.dashboard-bars i:nth-child(3) {
  height: 42%;
}

.dashboard-bars i:nth-child(4) {
  height: 72%;
}

.dashboard-bars i:nth-child(5) {
  height: 92%;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.dashboard-cards div {
  padding: 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-cards small,
.dashboard-cards strong {
  display: block;
}

.dashboard-cards small {
  color: #888da0;
  font-size: 10px;
}

.dashboard-cards strong {
  color: white;
  font-size: 16px;
  margin-top: 3px;
}

/* =========================================================
   WHY US
========================================================= */

.why-section {
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: 0.25s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.why-card > div {
  font-size: 30px;
  margin-bottom: 18px;
}

.why-card h3 {
  color: var(--dark);
  font-size: 17px;
  margin-bottom: 8px;
}

.why-card p {
  color: #7b8090;
  font-size: 13px;
  line-height: 1.7;
}

/* =========================================================
   CTA
========================================================= */

.demo-section {
  padding: 70px 0;
  background:
    radial-gradient(
      circle at 85% 50%,
      rgba(255, 255, 255, 0.13),
      transparent 25%
    ),
    linear-gradient(120deg, #4d23c7, #7448e8);
}

.demo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.demo-inner > div {
  max-width: 720px;
}

.demo-inner span {
  color: #cfc2ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.demo-inner h2 {
  color: white;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.15;
  letter-spacing: -1.3px;
  margin: 10px 0;
}

.demo-inner p {
  color: rgba(255, 255, 255, 0.75);
}

.btn-light {
  flex-shrink: 0;
  background: white;
  color: var(--primary);
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  background: #10111f;
  padding-top: 65px;
  color: #9297a9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 55px;
}

.footer-logo {
  color: white;
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 15px;
}

.footer-grid p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 300px;
}

.footer-grid h4 {
  color: white;
  font-size: 14px;
  margin-bottom: 17px;
}

.footer-grid a {
  display: block;
  color: #9297a9;
  font-size: 13px;
  margin-bottom: 9px;
  transition: 0.2s;
}

.footer-grid a:hover {
  color: white;
}

.footer-bottom {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 12px;
  color: #6f7485;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
  .main-nav {
    gap: 16px;
  }

  .hero-grid {
    gap: 40px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 850px) {
  .header-inner {
    min-height: 72px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding: 65px 0;
  }

  .hero-grid,
  .practical-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 700px;
  }

  .hero-card {
    max-width: 600px;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .practical-grid {
    gap: 35px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 550px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-btn {
    padding: 10px 13px;
    font-size: 12px;
  }

  .logo {
    font-size: 18px;
  }

  .hero {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 39px;
    letter-spacing: -1.8px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-trust {
    gap: 20px;
  }

  .hero-card {
    padding: 25px;
  }

  .hero-card h2 {
    font-size: 29px;
  }

  .course-info {
    gap: 6px;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    min-height: 105px;
    padding: 15px 8px;
  }

  .stat-item strong {
    font-size: 22px;
  }

  .practical-visual {
    padding: 0;
  }

  .dashboard-content {
    min-height: 300px;
    padding: 22px;
  }

  .dashboard-cards {
    gap: 5px;
  }

  .dashboard-cards div {
    padding: 9px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .demo-section {
    padding: 55px 0;
  }
}
/* ==============================
   SITE LOGO
============================== */

.site-logo {
  width: 220px;
  height: auto;
  max-width: 100%;
  display: block;
}
.curriculum-download {
  margin-top: 20px;
}
/* FINAL MOBILE MENU FIX */

.menu-toggle {
    display: none !important;
}

@media (min-width: 851px) {
    .main-nav {
        display: flex !important;
    }

    .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 850px) {
    .header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .site-logo {
        width: 150px !important;
    }

    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        font-size: 24px;
        color: #101323;
        background: #fff;
        border: 1px solid #e8eaf1;
        border-radius: 8px;
        cursor: pointer;
        order: 3;
    }

    .header-btn {
        order: 2;
        margin-left: auto;
        padding: 10px 12px;
        font-size: 12px;
    }

    .main-nav {
        display: none !important;
        order: 4;
        flex: 0 0 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        background: #fff;
        border-top: 1px solid #e8eaf1;
    }

    .main-nav.is-open {
        display: flex !important;
    }

    .main-nav a {
        display: block;
        padding: 12px 15px;
        border-bottom: 1px solid #e8eaf1;
    }
}
@media (max-width: 850px) {
    .main-nav.is-open {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
        position: relative !important;
        z-index: 9999 !important;
    }

    .main-nav.is-open a {
        display: block !important;
        visibility: visible !important;
        color: #101323 !important;
        background: #ffffff !important;
        width: 100%;
    }
}
/* ==========================================
   ENQUIRY POPUP
========================================== */

.enquiry-popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
}

.enquiry-popup.is-open {
    display: flex;
}

.enquiry-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 35, 0.65);
    backdrop-filter: blur(4px);
}

.enquiry-popup-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);
    animation: enquiryPopupShow 0.25s ease;
}

@keyframes enquiryPopupShow {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.enquiry-popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f1f3f7;
    color: #202432;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enquiry-popup-close:hover {
    background: #e5e7ec;
}

.enquiry-popup-header {
    padding-right: 35px;
    margin-bottom: 22px;
}

.enquiry-popup-header h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.25;
    color: #101323;
}

.enquiry-popup-header p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666b78;
}

.enquiry-form .form-group {
    margin-bottom: 16px;
}

.enquiry-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #202432;
}

.enquiry-form input,
.enquiry-form select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #dfe2e8;
    border-radius: 8px;
    background: #ffffff;
    color: #202432;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.enquiry-form input:focus,
.enquiry-form select:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.10);
}

.enquiry-submit-btn {
    width: 100%;
    margin-top: 5px;
    min-height: 48px;
    border: 0;
    cursor: pointer;
}

body.enquiry-popup-open {
    overflow: hidden;
}

/* Mobile */
@media (max-width: 550px) {

    .enquiry-popup {
        padding: 12px;
    }

    .enquiry-popup-box {
        max-width: 100%;
        padding: 25px 20px;
        border-radius: 15px;
    }

    .enquiry-popup-header h2 {
        font-size: 22px;
    }

    .enquiry-popup-header p {
        font-size: 13px;
    }

    .enquiry-form input,
    .enquiry-form select {
        height: 46px;
    }
}
/* ==========================================
   NEW VIDEO HERO
========================================== */

.hero-video-section {
    position: relative;
    min-height: calc(100vh - 82px);
    padding: 0 !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0b1020 !important;
}

/* Remove old decorative hero circle */
.hero-video-section::before {
    display: none !important;
}

/* Video background */
.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

/* Dark gradient for text readability */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(8, 12, 28, 0.96) 0%,
            rgba(8, 12, 28, 0.88) 28%,
            rgba(8, 12, 28, 0.50) 48%,
            rgba(8, 12, 28, 0.12) 72%,
            rgba(8, 12, 28, 0.18) 100%
        );
}

/* Content above video */
.hero-video-container {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
}

/* Left content */
.hero-video-content {
    max-width: 620px;
    padding: 70px 0;
}

.hero-video-content .hero-badge {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.hero-video-content h1 {
    color: #ffffff;
}

.hero-video-content h1 span {
    color: #9d7cff;
}

.hero-video-content .hero-description {
    color: rgba(255, 255, 255, 0.82);
}

/* New H2 */
.hero-subheading {
    margin: 24px 0 10px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.3;
}

.hero-subheading strong {
    color: #9d7cff;
}

.hero-subdescription {
    max-width: 560px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.7;
}

/* Buttons */
.hero-video-content .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
}

.hero-video-content .btn-outline:hover {
    background: #ffffff;
    color: #101323;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 850px) {

    .hero-video-section {
        min-height: auto;
        padding: 0 !important;
        display: block;
    }

    .hero-video-bg {
        position: absolute;
        height: 100%;
    }

    .hero-video-bg video {
        object-position: center center;
    }

    .hero-video-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(8, 12, 28, 0.72) 0%,
                rgba(8, 12, 28, 0.86) 55%,
                rgba(8, 12, 28, 0.96) 100%
            );
    }

    .hero-video-container {
        min-height: 700px;
        align-items: center;
    }

    .hero-video-content {
        max-width: 100%;
        padding: 70px 0 60px;
    }

    .hero-video-content h1 {
        font-size: clamp(34px, 9vw, 48px);
        letter-spacing: -1.5px;
    }

    .hero-subheading {
        font-size: 21px;
    }

    .hero-subdescription {
        font-size: 14px;
    }
}
/* ==========================================
   HERO VIDEO - FINAL OVERRIDE
========================================== */

section.hero.hero-video-section {
    position: relative !important;
    width: 100% !important;
    height: calc(100vh - 82px) !important;
    min-height: 620px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #0b1020 !important;
}

section.hero.hero-video-section::before,
section.hero.hero-video-section::after {
    display: none !important;
}

.hero-video-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

.hero-video-bg video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.hero-video-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background: linear-gradient(
        90deg,
        rgba(5, 10, 25, 0.94) 0%,
        rgba(5, 10, 25, 0.78) 35%,
        rgba(5, 10, 25, 0.28) 65%,
        rgba(5, 10, 25, 0.10) 100%
    ) !important;
}

.hero-video-container {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.hero-video-content {
    position: relative !important;
    z-index: 20 !important;
    width: 55% !important;
    max-width: 650px !important;
    padding: 40px 0 !important;
}

.hero-video-content .hero-badge {
    color: #ffffff !important;
    background: rgba(108, 61, 244, 0.25) !important;
    border-color: rgba(255,255,255,0.25) !important;
}

.hero-video-content h1 {
    color: #ffffff !important;
}

.hero-video-content h1 span {
    color: #a98cff !important;
}

.hero-video-content .hero-description {
    color: rgba(255,255,255,0.82) !important;
}

.hero-subheading {
    color: #ffffff !important;
}

.hero-subheading strong {
    color: #a98cff !important;
}

.hero-subdescription {
    color: rgba(255,255,255,0.75) !important;
}

.hero-video-content .btn-outline {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.45) !important;
    background: rgba(255,255,255,0.08) !important;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 850px) {

    section.hero.hero-video-section {
        height: auto !important;
        min-height: 700px !important;
    }

    .hero-video-container {
        min-height: 700px !important;
        height: auto !important;
    }

    .hero-video-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 70px 0 !important;
    }

    .hero-video-overlay {
        background: linear-gradient(
            180deg,
            rgba(5,10,25,0.55) 0%,
            rgba(5,10,25,0.82) 55%,
            rgba(5,10,25,0.96) 100%
        ) !important;
    }
}
/* ==========================================
   HERO VIDEO - FINAL LAYOUT CORRECTION
========================================== */

/* Keep hero content inside normal website container */
.hero-video-container {
    width: min(1180px, calc(100% - 40px)) !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Proper left content width */
.hero-video-content {
    width: 54% !important;
    max-width: 610px !important;
    padding: 30px 0 !important;
}

/* Reduce heading so everything fits inside hero */
.hero-video-content h1 {
    font-size: clamp(46px, 4.3vw, 58px) !important;
    line-height: 1.04 !important;
    letter-spacing: -2px !important;
    margin-bottom: 18px !important;
}

/* Description */
.hero-video-content .hero-description {
    max-width: 570px !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    margin-bottom: 18px !important;
}

/* H2 */
.hero-video-content .hero-subheading {
    font-size: 21px !important;
    line-height: 1.35 !important;
    margin: 15px 0 7px !important;
}

/* H2 paragraph */
.hero-video-content .hero-subdescription {
    max-width: 550px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 22px !important;
}

/* Video crop */
.hero-video-bg video {
    transform: scale(1.08) !important;
    transform-origin: center center !important;
}


/* ==========================================
   DESKTOP HERO HEIGHT
========================================== */

@media (min-width: 851px) {

    section.hero.hero-video-section {
        height: calc(100vh - 82px) !important;
        min-height: 600px !important;
        max-height: 760px !important;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 850px) {

    .hero-video-container {
        width: min(100% - 28px, 1180px) !important;
        margin: 0 auto !important;
    }

    .hero-video-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 60px 0 !important;
    }

    .hero-video-content h1 {
        font-size: clamp(36px, 9vw, 48px) !important;
        line-height: 1.06 !important;
    }

    .hero-video-bg video {
        transform: scale(1.12) !important;
    }

}