
@media (max-width: 2000px) and (min-width: 1700px) {
.hero-section-white{
  min-height: 700px;
}
.hero-copy{
  padding-top: 8rem;
}
}


@media (max-width: 1700px) and (min-width:1500px) {
.hero-section-white{
  min-height: 630px;
}
.hero-copy{
  padding-top: 4rem;
}
}


@media (max-width:1500px) and (min-width:1366px) {
.hero-section-white{
  min-height: 560px;
}
.hero-copy{
  padding-top: 3rem;
}
}







/* 1400px–768px (extra tweaks) */
@media (max-width: 1200px) and (min-width: 768px) {

 .auth-hero-wrapper {
    padding-top: 3rem !important;   /* instead of py-5/py-lg-6 */
    padding-bottom: 3rem !important;
  }

  .auth-hero-wrapper h1 {
    font-size: 2.5rem;              /* was lg:text-5xl */
    line-height: 1.2;
  }

  .auth-hero-wrapper p.text-base,
  .auth-hero-wrapper p.text-muted-foreground {
    font-size: 1rem;
  }

  .auth-hero-wrapper .col-lg-7,
  .auth-hero-wrapper .col-lg-5 {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* ≤ 1200px */
@media (max-width: 1200px) {

  .hero-right-image{
    padding-top: 30px;
  }

  .allocation-row{
    gap: 0;
  }

  .allocation-node {
    top: 50%;
    right: 0px;
    transform: translateY(160%);
  }

  .pad-mob {
    padding: 50px 30px !important;
  }



  .btn-green-lg {
    font-size: 14px;
  }

  .btn-white-outline {
    font-size: 14px;
  }

  .btn-transparent-outline-green {
    font-size: 14px;
  }

  .navbar-nav {
    gap: 0 !important;
  }

  .navbar-left {
    width: 120px;
    flex: 0 0 140px;
  }

  .flex-col-on-1024 {
    flex-direction: column;
    gap: 10px;
  }

  /* Custom offcanvas spacing and borders */
  #mobileNav .offcanvas-header {
    padding-bottom: 0.5rem;
  }

  #mobileNav .offcanvas-body {
    padding-top: 0;
  }

  /* Custom border styling for nav items */
  #mobileNav .nav-item.border-bottom {
    border-bottom: 1px solid #e9ecef !important;
    padding: 0.75rem 0;
  }

  #mobileNav .nav-item.border-bottom:last-of-type {
    border-bottom: none !important;
  }

  /* Adjust button styling in offcanvas */
  #mobileNav .btn-custom {
    margin: 0.5rem 0;
    justify-content: center;
  }

  #mobileNav .btn-link-custom {
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: center;
  }

  #mobileNav .btn-green-sm {
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: center;
  }

  /* Professional Hamburger Icon */
  .custom-toggler {
    border: none !important;
    background: transparent !important;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    box-shadow: none !important;
    transition: all 0.3s ease;
  }

  .custom-toggler-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 1px;
  }

  .custom-toggler-icon::before,
  .custom-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #333;
    left: 0;
    transition: all 0.3s ease;
    border-radius: 1px;
  }

  .custom-toggler-icon::before {
    top: -8px;
  }

  .custom-toggler-icon::after {
    top: 8px;
  }

  /* Hover and Focus States */
  .custom-toggler:hover,
  .custom-toggler:focus {
    background: rgba(22, 162, 73, 0.1) !important;
  }

  .custom-toggler:hover .custom-toggler-icon,
  .custom-toggler:focus .custom-toggler-icon {
    background: #16a249;
  }

  .custom-toggler:hover .custom-toggler-icon::before,
  .custom-toggler:hover .custom-toggler-icon::after,
  .custom-toggler:focus .custom-toggler-icon::before,
  .custom-toggler:focus .custom-toggler-icon::after {
    background: #16a249;
  }

  /* Active state when menu is open */
  .custom-toggler[aria-expanded="true"] .custom-toggler-icon {
    background: transparent;
  }

  .custom-toggler[aria-expanded="true"] .custom-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .custom-toggler[aria-expanded="true"] .custom-toggler-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

/* ≤ 991.98px */
@media (max-width: 991.98px) {

  .img-cover-aboutus{
    height: 135px;
  }

    .hero-section-white{
    flex-direction: column;
    padding-top: 0 !important;
  }

  .hero-right-image{
    position: inherit;
      width: 100%;
    padding: 0;
    border-left: 0px;
  }



  .auth-hero-wrapper .col-lg-7, .auth-hero-wrapper .col-lg-5{
    margin-top: 0 !important;
  }

    .auth-card-mobile-flat {
    box-shadow: none !important;
    padding-top: 0 !important;
  }


  .internal-bg{
    margin-top: 0px;
  }
  .aw-swiper-button-prev,
  .aw-swiper-button-next {
    display: none;
  }

  .aw-cta-card {
    padding: 3.2rem 3.6rem;
  }

  .aw-swiper-container {
    padding: 0 0px;
  }

  .hero-section-white {
    padding-block: 1rem;
  }

  .allocation-line-inner {
    max-width: 600px;
  }

  .ai-flow-arrow {
    display: none !important;
  }

  .container,
  .container-fluid {
    overflow-x: hidden;
  }

  /* Navbar */
  .navbar {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    min-height: auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .navbar-logo {
    width: 80px;
  }

  .navbar-center,
  .navbar-right {
    display: none !important;
  }

  .navbar-toggler {
    display: block !important;
  }

  .navbar-nav {
    margin-top: 1rem;
  }

  .navbar-collapse {
    background: #fff;
  }

  .navbar-nav .nav-link {
    padding-left: 0;
    padding-right: 0;
  }

  /* Remove underline animation for header navigation links on mobile */
  .navbar-nav .nav-link::after {
    display: none;
  }

  /* Show hamburger toggle */
  .navbar-toggler {
    display: block !important;
  }

  /* Make sure logo remains visible */
  .navbar-left {
    display: flex !important;
  }

  #website-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  /* AI features + CTA */
  .ai-feature-card {
    padding: 1.5rem 1.2rem;
  }

  .ai-cta-card {
    padding: 1.8rem 1.4rem;
  }

  /* Allocation circles + cards */
  .alloc-circle {
    width: 96px;
    height: 96px;
  }

  .allocation-card {
    padding: 1.7rem 1.2rem;
  }

  /* Dashboard / tabs */
  .dashboard-card {
    padding: 1.2rem 1rem;
  }

  .mf-tabs .nav-link {
    margin-bottom: 0.4rem;
  }

  /* Problem / solution cards */
  .problem-card,
  .solution-card {
    margin-bottom: 1.7rem;
  }

  /* Growth trajectory cards */
  .growth-card {
    min-height: 260px;
    padding: 1.5rem 1rem;
  }

  /* Coverage cards */
  .card-coverage {
    min-height: 120px;
    padding: 0.8rem 0.7rem;
  }

  /* Trusted by Industry Leaders */
  .trusted-icon {
    width: 28px;
    height: 28px;
  }

  .trusted-card {
    min-height: 110px;
    padding: 0.5rem 5px;
  }
}

/* 768px–991.98px (extra tweaks) */
@media (max-width: 991.98px) and (min-width: 768px) {
  .allocation-card {
    max-width: 220px;
    padding: 1.1rem 1rem 1rem;
  }

  .allocation-card h3 {
    font-size: 0.95rem;
  }

  .allocation-card p {
    font-size: 0.78rem;
  }
}

/* ≤ 767.98px */
@media (max-width: 767.98px) {

    .essential-card {
    padding: 1.75rem 1.25rem 2rem;
  }

  .allocation-line {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    padding: 50px 0;
  }

  .allocation-line-inner {
    max-width: 0;                  
    height: 100%;                 
    border-top: none;
    border-left: 3px dashed #2e76c7;  
  }

  .allocation-node {
    bottom: 10px;
    top: inherit;
    right: 0;
    left: 0;
    text-align: center;
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .allocation-row {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
  }

  .allocation-card {
    flex-basis: 100%;
    max-width: 340px;
    margin-top: 0;
  }
  
  .roadmap__wrapper::before,
  .roadmap__dot,
  .roadmap__line {
    display: none;
  }

  .roadmap__item-inner {
    border-radius: 20px;
    padding: 1.4rem 1.5rem;
  }

  .roadmap--style1 .row.gx-5 {
    --bs-gutter-x: 1rem;
  }

   /* Right side cards (with offset-md-6) */
  .roadmap__item.ms-md-4 {
    margin-left: 1.75rem;
  }

  /* Left side cards (with roadmap__item--style2) */
  .roadmap__item--style2.me-md-4 {
    margin-right: 1.75rem;
  }
  .insight-card-image img {
    height: 200px;
  }

  .ai-invest-cta-card {
    padding: 40px 12px;
  }

  .ai-invest-cta-card h2 {
    font-size: 1.65rem;
  }

  .ai-invest-cta-card p {
    font-size: 1.08rem;
  }

  .btn-lg {
    font-size: 1rem;
    padding: 12px 18px;
  }

  .tech-card {
    padding: 20px 12px;
  }

  .tech-icon-box {
    width: 56px;
    height: 56px;
  }

  .tech-icon-box svg {
    width: 28px;
    height: 28px;
  }

  .tech-label {
    font-size: 0.85rem;
  }

  .video-placeholder {
    min-height: 350px;
  }

  .video-content h3 {
    font-size: 1.75rem;
  }

  .video-content p {
    font-size: 1rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .testimonials-swiper-container {
    padding: 0 20px;
  }

  .testimonial-swiper-button-prev,
  .testimonial-swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .testimonial-swiper-button-prev {
    left: -10px;
  }

  .testimonial-swiper-button-next {
    right: -10px;
  }

  .pt-3-mob {
    padding-top: 1.5rem;
  }

  .py-2-mob {
    padding-top: .5rem;
    padding-bottom: .5rem;
  }

  /* Stats */
  .stat-value {
    font-size: 1.9rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  /* Footer */
  .site-footer {
    text-align: left;
  }

  /* Allocation circles + cards */
  .alloc-circle {
    width: 80px;
    height: 80px;
  }

  .allocation-card {
    margin-bottom: 0.5rem;
  }

  .allocation-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  /* Growth trajectory cards */
  .growth-card {
    min-height: 180px;
    padding: 1rem 0.7rem;
  }

  /* Coverage cards */
  .card-coverage {
    min-height: 85px;
    padding: 1.5rem 1.3rem;
  }
}

/* ≤ 575.98px */
@media (max-width: 575.98px) {
  .swiper-slide{
    height: 280px !important;
  }

  .swiper-slide img{
    height: 280px !important;
    object-fit: cover;
  }

   .img-cover-aboutus{
    height: 230px;
  }

  #videoModal video {
    height: 100vh !important;
  }
  #videoModal .modal-content {
    border-radius: 0 !important;
  }
  

  .aw-cta-card {
    background-size: cover;
    background-position: 0;
  }

  .allocation-row {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
    padding-right: 20px;
    padding-left: 20px;
  }

  .feature-text {
    max-width: 120px;
    margin: 0 auto;
  }

  .hero-slider-img {
    min-height: auto;
    max-height: auto;
  }

  .btn-custom {
    width: 100%;
  }

  .testimonial-swiper-button-prev,
  .testimonial-swiper-button-next {
    display: none;
  }

  .testimonials-swiper-container {
    padding: 0;
  }

  .btn-white-outline {
    justify-content: center;
  }

  .btn-custom {
    justify-content: center;
  }

  .hero-section {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  h1.display-4 {
    font-size: 2rem;
  }

  .navbar-brand img {
    height: 30px;
  }

  .aegov-breadcrumb ol {
    gap: 0.25rem;
  }

  .aegov-breadcrumb li {
    gap: 0.25rem;
  }

  .aegov-breadcrumb a {
    gap: 0.25rem;
    font-size: 0.9rem;
  }

  .aegov-breadcrumb svg {
    width: 16px !important;
    height: 16px !important;
  }
  .feature-icon{
    display: block;
  }
  .benefits-compare-table td{
    padding-left: 20px !important;
  }

  .benefits-compare-table thead th{
    padding-left: 20px !important;
  }
}

/* Desktop: Completely hidden (d-lg-none) */
@media (min-width: 575px) {
  .sticky-cta {
    display: none !important;
  }
  
}
