/* Responsive overrides (keeps original design, only adds adaptive rules) */

/* Extra large screens adjustments (non-breaking gentle scale) */
@media (min-width: 1200px) {
  .navbar-brand img {
    height: 90px;
  }
  .mega-title {
    font-size: 3.6rem;
  }
}

/* Utility: make images scale fluidly when inside narrow columns */
.hero-magnificent img,
.about-image,
.pillar-img,
.resource-card img,
.mentor-elite img {
  max-width: 100%;
  height: auto;
}

/* Large devices / small laptops */
@media (max-width: 992px) {
  .navbar-brand img {
    height: 60px;
  }
  .nav-link {
    padding: 8px 12px !important;
  }
  .hero-magnificent {
    padding: 80px 0 100px;
  }
  .about-section {
    padding: 60px 0;
  }
  .stat-arena {
    padding: 22px;
    gap: 20px;
  }
}

/* Medium devices / tablets */
@media (max-width: 768px) {
  .navbar-brand img {
    height: 64px;
  }
  .nav-link {
    font-size: 15px;
  }
  .hero-magnificent {
    padding: 60px 0 80px;
  }
  .mega-title {
    font-size: 2.4rem !important;
  }
  .hero-img-glow {
    width: 100%;
    height: auto;
  }
  .extra-margin {
    margin-top: 30px;
  }
  .vector-bg-col {
    min-height: 300px;
    padding: 18px;
  }
  .about-title {
    font-size: 2.2rem;
  }
  .achievement-number {
    font-size: 2.4rem;
  }
  .achievement-card {
    padding: 28px 14px;
  }
  .testimonial .profile-image {
    width: 72px;
    height: 72px;
  }
  .chat-panel {
    bottom: 110px;
    right: 18px;
    left: auto;
    max-width: 92vw;
  }
}

/* Keep swiper slides readable on small screens */
@media (max-width: 768px) {
  .admissions-home-section .header-clean h2 {
    font-size: 1.8rem;
  }
  .timeline-card {
    padding: 18px;
  }
  .timeline-card h3 {
    font-size: 1.1rem;
  }
}

/* Small tweak to avoid overflow from long nav items */
.navbar-nav .nav-link {
  white-space: nowrap;
}

/* End of responsive overrides */

/* Small devices / landscape phones */
@media (max-width: 576px) and (min-width: 481px) {
  .navbar-brand img {
    height: 56px;
  }
  .mega-title {
    font-size: 2.1rem !important;
  }
  .hero-magnificent {
    padding: 50px 0 70px;
  }
  .about-image {
    max-height: 320px;
  }
}

/* Extra-small devices / portrait phones */
@media (max-width: 480px) {
  .navbar-brand img {
    height: 48px;
  }
  .nav-link {
    padding: 8px 10px !important;
    font-size: 14px;
  }
  .hero-magnificent {
    padding: 40px 0 60px;
  }
  .mega-title {
    font-size: 1.9rem !important;
    line-height: 1.15;
  }
  .lead.fs-3 {
    font-size: 1rem !important;
  }
  .hero-magnificent .row {
    gap: 0px;
  }
  .hero-img-glow {
    border-radius: 18px;
  }
  .pill-badge {
    padding: 6px 14px;
    font-size: 0.9rem;
  }
  .chat-orb {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
  .chat-orb i {
    font-size: 20px;
  }
  .chat-panel {
    bottom: 90px;
    right: 10px;
    left: 10px;
    max-width: 95vw;
    border-radius: 16px;
  }
  .about-image {
    max-height: 280px;
  }
  .feature-list li {
    font-size: 1rem;
  }
  .btn-about {
    padding: 10px 24px;
    font-size: 1rem;
  }
  .achievement-card {
    padding: 18px 12px;
  }
  .achievement-number {
    font-size: 2rem;
  }
  .stats-row .stat-number {
    font-size: 1.05rem;
  }
  .offcanvas {
    width: 100% !important;
  }

  .mt-5 {
    margin-top: 0rem !important;
  }

  .home-banner-images {
    display: flex !important;
    gap: 5px;
  }

  .px-5 {
    padding-right: 2rem !important;
    padding-left: 2rem !important;
  }
  .mt-5 {
    margin-top: 1rem !important;
  }
}

/* XXL devices (very large screens, 1400px and up) */
@media (min-width: 1400px) {
}

/* Extra large devices (large desktops, 1200px to 1399.98px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
}

/* Large devices (desktops, 992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
}

/* Medium devices (tablets, 768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .jobs-section-dark .section-header {
    text-align: center;
    margin-bottom: 20px;
  }

  .mypt-3 {
    padding-top: 1rem !important;
  }
  .jobs-section-dark {
    padding: 60px 0;
  }

  .mymt-5 {
    margin-top: 1rem !important;
  }

  .admissions-home-section {
    padding: 60px 0 30px;
  }

  .padding-left {
    padding-left: 10px;
  }

  .admissions-home-section .timeline-card {
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 20px 15px;

    min-height: 250px !important;
  }

  .admissions-home-section .swiper-container {
    padding: 20px 10px 20px;
    overflow: hidden !important;
  }

  .career-guidance-cta .cta-buttons {
    flex-direction: row;
    align-items: center;
  }

  .career-guidance-cta .btn-primary-custom,
  .career-guidance-cta .btn-secondary-custom {
    width: fit-content;
    justify-content: center;
  }
  .career-guidance-cta .content-wrapper {
    padding: 60px 0 10px;
  }
  .career-guidance-cta .stats-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    text-align: left;
    margin-top: 50px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-section .testimonial-card {
    padding: 20px 15px;
  }

  .testimonials-section .testimonials-swiper {
    padding: 5px 3px 30px;
    overflow: hidden !important;
  }

  .cta-shapes-section .btn-primary-custom,
  .cta-shapes-section .btn-secondary-custom {
    width: fit-content;
    justify-content: center;
  }
  .cta-shapes-section .cta-buttons {
    flex-direction: row !important;
    align-items: center;
  }

  .cta-shapes-section .btn-secondary-custom {
    padding: 10px 30px;
  }
  .cta-shapes-section .btn-primary-custom {
    padding: 10px 30px;
  }

  .footer-section .footer-main {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
  }

  .footer-section .footer-bottom {
    flex-direction: row !important;
    text-align: center;
  }

  .offcanvas-body {
    background: #f8fbff;
    padding: 20px 0 !important;
  }

  .offcanvas-body .nav-link {
    padding: 10px 20px !important;
    border-radius: 0 !important;
    font-weight: 600;
    color: var(--deep) !important;
    margin: 0 !important;
    border-left: 4px solid transparent;
    transition: all 0.2s;
  }

  .offcanvas-body .nav-link {
    padding: 7px 20px !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    color: var(--deep) !important;
    margin: 0 !important;
    border-left: 4px solid transparent !important;
    transition: all 0.2s ease !important;

    position: relative !important;
    padding-left: 30px !important; /* make space for icon */
  }

  .offcanvas-body .nav-link::before {
    content: "\f054"; /* Font Awesome chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--gold);
  }

  .btn-close {
    --bs-btn-close-color: #fff !important;
    --bs-btn-close-opacity: 1 !important;
    --bs-btn-close-hover-opacity: 1 !important;
    --bs-btn-close-focus-opacity: 1 !important;

    width: 1em !important;
    height: 1em !important;
    padding: 0.5em !important;

    background: none !important;
    opacity: 1 !important;
    border-radius: 6px !important;

    position: relative !important;
  }

  /* Custom white SVG */
  .btn-close::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")
      center / 1em no-repeat;
  }

  .vv-breadcrumb {
    padding: 70px 0;
  }

  .feature-list li {
    gap: 1px;
  }
  .feature-list li i {
    font-size: 1rem;
    width: 20px;
  }

  .vv-core-dark .vv-core-dark-container {
    width: 95%;
    margin: auto;
  }

  .feature-list {
    margin: 0px 0 0px 0;
  }

  .vv-core-dark .vv-core-dark-block {
    flex-direction: row !important;
    text-align: left;
    margin-bottom: 40px;
  }

  .vv-core-dark {
    background: linear-gradient(135deg, var(--deep), #071f36);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
  }

  .vv-team {
    padding: 60px 0 40px;
  }

  .vv-gallery-header h2 {
    margin-bottom: 5px;
  }

  .vv-gallery {
    padding: 40px 0 60px;
    background: var(--soft-bg);
  }
  .vv-gallery-header p {
    color: var(--sapphire);
    margin-bottom: 20px;
  }

  .career-guidence-view .tool-meta {
    margin-top: 1px !important;
  }

  .career-guidence-view .tool-card-front,
  .career-guidence-view .tool-card-back {
    height: auto;
  }
  .career-guidence-view .tool-card {
    height: 270px;
  }



.career-guidence-view .career-section {
    padding: 4rem 0;
}




.career-guidence-view .header-pill {
    
    margin-bottom: 0.5rem;
}

.job-view-page .filter-actions {
    flex-direction: row;
}
.job-view-page .filters-actions {
    flex-direction: row;
    align-items: center;
}
.job-view-page .category-tabs {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
    -webkit-overflow-scrolling: touch;
}
.job-view-page {

    padding: 3rem 0 3rem;
}
.section-padding {
    padding: 60px 0;
}







}

/* Small devices (phones, 576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .px-5 {
    padding-right: 2rem !important;
    padding-left: 2rem !important;
  }
  .mt-5 {
    margin-top: 1rem !important;
  }

  .about-section {
    padding: 40px 0;
  }

  .section-tag {
    background: var(--sun);
    color: var(--deep);
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
  }

  .jobs-section-dark {
    padding: 40px 0;
  }
  .jobs-section-dark .section-title {
    font-size: 2rem;
  }

  .jobs-section-dark .section-header {
    text-align: center;
    margin-bottom: 0px;
  }

  .jobs-section-dark .section-tag {
    display: inline-block;
    background: rgba(188, 143, 55, 0.15);
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 28px;
    border-radius: 40px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    border: 1px solid rgba(188, 143, 55, 0.3);
    text-transform: uppercase;
    backdrop-filter: blur(5px);
  }

  .jobs-section-dark .section-title span::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--sun);
    opacity: 0.4;
    border-radius: 4px;
  }
  .mt-5 {
    margin-top: 1rem !important;
  }

  .mymt-5 {
    margin-top: 1rem !important;
  }

  .mypt-3 {
    padding-top: 1rem !important;
  }

  .ac-tx {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
    padding-left: 50px;
  }

  .admissions-home-section {
    padding: 40px 0 30px;
  }
  .padding-left {
    padding-left: 10px;
  }

  .admissions-home-section .timeline-card {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 5px 10px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    color: white;
    overflow: hidden;
    box-shadow: 0 20px 35px -8px rgba(11, 45, 77, 0.25);
    border: none;
    transition: all 0.3s ease;
    min-height: 200px;
  }

  .admissions-home-section .swiper-container {
    padding: 1px 10px 1px;
    overflow: hidden !important;
  }
  .admissions-home-section .header-clean .pill {
    margin-bottom: 10px;
  }

  .admissions-home-section .header-clean h2 span::after {
    height: 5px;
  }
  .career-guidance-cta .content-wrapper {
    padding: 50px 0;
  }

  .career-guidance-cta .section-tag {
    margin-bottom: 10px;
  }

  .career-guidance-cta .section-title {
    font-size: 2rem;
  }

  .career-guidance-cta .btn-primary-custom {
    padding: 10px 30px;
  }

  .career-guidance-cta .btn-secondary-custom {
    padding: 10px 30px;
  }

  .career-guidance-cta .stats-row {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding: 25px 30px 0px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    align-items: center;
  }

  .testimonials-section {
    padding: 40px 0;
  }
  .testimonials-section .section-tag {
    margin-bottom: 10px;
  }

  .testimonials-section .section-title span::after {
    height: 5px;
  }

  .testimonials-section .section-title {
    font-size: 2rem;
  }
  .testimonials-section .testimonial-card {
    padding: 15px 10px;
    height: auto;
    border-radius: 7px;
  }

  .testimonials-section .testimonials-swiper {
    padding: 5px 5px 30px;
    overflow: hidden !important;
  }
  .testimonials-section .profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .jobs-section-dark .job-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    flex-direction: row;
    margin-top: 20px;
  }
  .jobs-section-dark .tab-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .jobs-section-dark .job-card {
    padding: 20px 10px;
    border-radius: 7px;
  }
  .jobs-section-dark .btn-apply {
    padding: 10px 20px;
    border-radius: 40px;
  }

  .jobs-section-dark .job-grid {
    margin-bottom: 30px;
  }
  .cta-shapes-section {
    padding: 40px 0;
  }

  .cta-shapes-section .cta-tag {
    margin-bottom: 10px;
  }

  .cta-shapes-section .cta-content {
    padding: 30px 15px;
    border-radius: 10px;
  }

  .cta-shapes-section .cta-title {
    font-size: 2rem;
  }

  .cta-shapes-section .btn-primary-custom {
    padding: 10px 30px;
  }

  .cta-shapes-section .btn-secondary-custom {
    padding: 8px 30px;
  }

  .footer-section {
    padding: 40px 0 0px;
  }

  .footer-section .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 0px;
  }

  .footer-section .footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1px;
    position: relative;
    z-index: 10;
  }

  .chat-preview {
    position: fixed;
    right: 70px;
    bottom: 20px;
  }

  .footer-logo img {
    height: 55px;
    object-fit: contain;
  }

  .footer-section .footer-logo {
    margin-bottom: 10px;
  }

  .offcanvas-body {
    background: #f8fbff;
    padding: 20px 0 !important;
  }

  .offcanvas-body .nav-link {
    padding: 10px 20px !important;
    border-radius: 0 !important;
    font-weight: 600;
    color: var(--deep) !important;
    margin: 0 !important;
    border-left: 4px solid transparent;
    transition: all 0.2s;
  }

  .offcanvas-body .nav-link {
    padding: 7px 20px !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    color: var(--deep) !important;
    margin: 0 !important;
    border-left: 4px solid transparent !important;
    transition: all 0.2s ease !important;

    position: relative !important;
    padding-left: 30px !important; /* make space for icon */
  }

  .offcanvas-body .nav-link::before {
    content: "\f054"; /* Font Awesome chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--gold);
  }

  .btn-close {
    --bs-btn-close-color: #fff !important;
    --bs-btn-close-opacity: 1 !important;
    --bs-btn-close-hover-opacity: 1 !important;
    --bs-btn-close-focus-opacity: 1 !important;

    width: 1em !important;
    height: 1em !important;
    padding: 0.5em !important;

    background: none !important;
    opacity: 1 !important;
    border-radius: 6px !important;

    position: relative !important;
  }

  /* Custom white SVG */
  .btn-close::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")
      center / 1em no-repeat;
  }

  .vv-breadcrumb {
    padding: 30px 0;
  }
  .vv-breadcrumb .vv-breadcrumb-heading {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--pure);
  }
  .vv-breadcrumb .vv-breadcrumb-list {
    padding: 5px 15px;
  }

  .about-text {
    margin-bottom: 15px;
  }

  .feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 5px;
  }
  .feature-list li i {
    color: var(--gold);
    font-size: 1.25rem;
    margin-top: 4px;
  }

  .feature-list {
    margin: 0 0 5px 0;
  }

  .vv-core-dark {
    padding: 10px 0 20px;
    text-align: left !important;
  }

  .vv-core-dark .vv-core-dark-title {
    font-size: 26px;
    text-align: left;
  }

  .vv-core-dark .vv-core-dark-content p {
    text-align: left;
    margin-bottom: 8px;
  }
  .vv-core-dark .vv-core-dark-block {
    flex-direction: column-reverse !important;

    margin-bottom: 20px;
  }
  .vv-core-dark .vv-core-dark-container {
    width: 95%;
    margin: auto;
  }

  .vv-team .vv-team-title {
    margin-bottom: 0px;
  }

  .vv-team {
    padding: 40px 0;
  }

  .vv-team .vv-team-content {
    padding: 15px;
  }

  .admissions-home-section .timeline-card {
    height: auto;
  }

  .admissions-home-section .card-icon-small {
    width: 50px;
    height: 50px;

    border-radius: 10px;

    font-size: 1.5rem;
    color: white;
    margin-bottom: 25px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: auto;
  }

  .admissions-home-section .card-link {
    padding: 7px 20px;
  }
  .view-grid {
    gap: 0.5rem;
  }

  .sidebar-block {
    background: var(--pure);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    box-shadow: var(--card-shadow);
  }

  .content-block {
    background: var(--pure);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
  }
  .vv-gallery-header p {
    margin-bottom: 20px;
  }

  .vv-gallery {
    padding: 40px 0;
    background: var(--soft-bg);
  }

  .vv-gallery-header h2 {
    margin-bottom: 5px;
  }

  .cta-modal-content {
    padding: 20px 10px;
  }

  .career-guidence-view .header-pill {
    margin-bottom: 0.5rem;
  }

  .career-guidence-view .section-header,
  .career-guidence-view .section-header-light {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
  }

  .career-guidence-view .features-grid {
    gap: 1rem;
    margin: 1rem 0;
  }

  .career-guidence-view .feature-icon {
    margin: 0 auto 0.5rem;
  }

  .career-guidence-view .feature-card h3 {
    margin: 0 0 0.25rem 0;
  }

  .career-guidence-view .enquiry-btn {
    background: linear-gradient(135deg, var(--gold), var(--sun));
    color: var(--deep);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 25px -8px var(--gold);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .career-guidence-view .enquiry-popup-container {
    border-radius: 10px;
  }
  .career-guidence-view .enquiry-popup-header {
    border-radius: 10px 10px 0 0;
  }
  .job-view-page .header-top {
    margin-bottom: 0.5rem;
  }

  .job-view-page .search-box {
    /* flex: 3; */

    min-width: 300px;
    display: flex;
    align-items: center;
    background: var(--pure);
    border-radius: 15px;
    padding-left: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(188, 143, 55, 0.1);
    position: relative;
  }

  .job-view-page .category-tabs {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
    -webkit-overflow-scrolling: touch;
  }

  .job-view-page .job-header {
    margin-bottom: 1rem;
  }

  .job-view-page .job-card {
    background: var(--pure);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
    border: 1px solid transparent;
    animation: cardFadeIn 0.5s ease;
  }

  .job-view-page .filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
  }

  .job-view-page {
    padding: 3rem 0 3rem;
  }

  .section-padding {
    padding: 50px 0;
  }

  .job-view-page .job-tips {
    background: linear-gradient(
      135deg,
      rgba(188, 143, 55, 0.05),
      rgba(0, 113, 175, 0.05)
    );
    border-radius: 10px;
    padding: 2rem 1rem;
    margin-top: 0rem;
    border: 1px solid rgba(188, 143, 55, 0.1);
  }
  .my-blog-view-inn .grid-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
  }

  .my-blog-view-inn .blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 5px;
  }

  .contact-us-view {
    padding: 50px 0 40px;
  }

  .loader-bar {
    width: 200px !important;
    height: 6px;
    background: #e6edf5;
    border-radius: 10px;
    margin: 30px 0 20px;
    overflow: hidden;
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .px-5 {
    padding-right: 2rem !important;
    padding-left: 2rem !important;
  }
  .mt-5 {
    margin-top: 1rem !important;
  }

  .about-section {
    padding: 40px 0;
  }

  .section-tag {
    background: var(--sun);
    color: var(--deep);
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
  }

  .jobs-section-dark {
    padding: 40px 0;
  }
  .jobs-section-dark .section-title {
    font-size: 2rem;
  }

  .jobs-section-dark .section-header {
    text-align: center;
    margin-bottom: 0px;
  }

  .jobs-section-dark .section-tag {
    display: inline-block;
    background: rgba(188, 143, 55, 0.15);
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 28px;
    border-radius: 40px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    border: 1px solid rgba(188, 143, 55, 0.3);
    text-transform: uppercase;
    backdrop-filter: blur(5px);
  }

  .jobs-section-dark .section-title span::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--sun);
    opacity: 0.4;
    border-radius: 4px;
  }
  .mt-5 {
    margin-top: 1rem !important;
  }

  .mymt-5 {
    margin-top: 1rem !important;
  }

  .mypt-3 {
    padding-top: 1rem !important;
  }

  .ac-tx {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
    padding-left: 50px;
  }

  .admissions-home-section {
    padding: 40px 0 30px;
  }
  .padding-left {
    padding-left: 10px;
  }

  .admissions-home-section .timeline-card {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 5px 10px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    color: white;
    overflow: hidden;
    box-shadow: 0 20px 35px -8px rgba(11, 45, 77, 0.25);
    border: none;
    transition: all 0.3s ease;
    min-height: 200px;
  }

  .admissions-home-section .swiper-container {
    padding: 1px 10px 1px;
    overflow: hidden !important;
  }
  .admissions-home-section .header-clean .pill {
    margin-bottom: 10px;
  }

  .admissions-home-section .header-clean h2 span::after {
    height: 5px;
  }
  .career-guidance-cta .content-wrapper {
    padding: 50px 0;
  }

  .career-guidance-cta .section-tag {
    margin-bottom: 10px;
  }

  .career-guidance-cta .section-title {
    font-size: 2rem;
  }

  .career-guidance-cta .btn-primary-custom {
    padding: 10px 30px;
  }

  .career-guidance-cta .btn-secondary-custom {
    padding: 10px 30px;
  }

  .career-guidance-cta .stats-row {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding: 25px 30px 0px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    align-items: center;
  }

  .testimonials-section {
    padding: 40px 0;
  }
  .testimonials-section .section-tag {
    margin-bottom: 10px;
  }

  .testimonials-section .section-title span::after {
    height: 5px;
  }

  .testimonials-section .section-title {
    font-size: 2rem;
  }
  .testimonials-section .testimonial-card {
    padding: 15px 10px;
    height: auto;
    border-radius: 7px;
  }

  .testimonials-section .testimonials-swiper {
    padding: 5px 5px 30px;
    overflow: hidden !important;
  }
  .testimonials-section .profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .jobs-section-dark .job-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    flex-direction: row;
    margin-top: 20px;
  }
  .jobs-section-dark .tab-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .jobs-section-dark .job-card {
    padding: 20px 10px;
    border-radius: 7px;
  }
  .jobs-section-dark .btn-apply {
    padding: 10px 20px;
    border-radius: 40px;
  }

  .jobs-section-dark .job-grid {
    margin-bottom: 30px;
  }
  .cta-shapes-section {
    padding: 40px 0;
  }

  .cta-shapes-section .cta-tag {
    margin-bottom: 10px;
  }

  .cta-shapes-section .cta-content {
    padding: 30px 15px;
    border-radius: 10px;
  }

  .cta-shapes-section .cta-title {
    font-size: 2rem;
  }

  .cta-shapes-section .btn-primary-custom {
    padding: 10px 30px;
  }

  .cta-shapes-section .btn-secondary-custom {
    padding: 8px 30px;
  }

  .footer-section {
    padding: 40px 0 0px;
  }

  .footer-section .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 0px;
  }

  .footer-section .footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1px;
    position: relative;
    z-index: 10;
  }

  .chat-preview {
    position: fixed;
    right: 70px;
    bottom: 20px;
  }

  .footer-logo img {
    height: 55px;
    object-fit: contain;
  }

  .footer-section .footer-logo {
    margin-bottom: 10px;
  }

  .offcanvas-body {
    background: #f8fbff;
    padding: 20px 0 !important;
  }

  .offcanvas-body .nav-link {
    padding: 10px 20px !important;
    border-radius: 0 !important;
    font-weight: 600;
    color: var(--deep) !important;
    margin: 0 !important;
    border-left: 4px solid transparent;
    transition: all 0.2s;
  }

  .offcanvas-body .nav-link {
    padding: 7px 20px !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    color: var(--deep) !important;
    margin: 0 !important;
    border-left: 4px solid transparent !important;
    transition: all 0.2s ease !important;

    position: relative !important;
    padding-left: 30px !important; /* make space for icon */
  }

  .offcanvas-body .nav-link::before {
    content: "\f054"; /* Font Awesome chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--gold);
  }

  .btn-close {
    --bs-btn-close-color: #fff !important;
    --bs-btn-close-opacity: 1 !important;
    --bs-btn-close-hover-opacity: 1 !important;
    --bs-btn-close-focus-opacity: 1 !important;

    width: 1em !important;
    height: 1em !important;
    padding: 0.5em !important;

    background: none !important;
    opacity: 1 !important;
    border-radius: 6px !important;

    position: relative !important;
  }

  /* Custom white SVG */
  .btn-close::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")
      center / 1em no-repeat;
  }

  .vv-breadcrumb {
    padding: 30px 0;
  }
  .vv-breadcrumb .vv-breadcrumb-heading {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--pure);
  }
  .vv-breadcrumb .vv-breadcrumb-list {
    padding: 5px 15px;
  }

  .about-text {
    margin-bottom: 15px;
  }

  .feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 5px;
  }
  .feature-list li i {
    color: var(--gold);
    font-size: 1.25rem;
    margin-top: 4px;
  }

  .feature-list {
    margin: 0 0 5px 0;
  }

  .vv-core-dark {
    padding: 10px 0 20px;
    text-align: left !important;
  }

  .vv-core-dark .vv-core-dark-title {
    font-size: 26px;
    text-align: left;
  }

  .vv-core-dark .vv-core-dark-content p {
    text-align: left;
    margin-bottom: 8px;
  }
  .vv-core-dark .vv-core-dark-block {
    flex-direction: column-reverse !important;

    margin-bottom: 20px;
  }
  .vv-core-dark .vv-core-dark-container {
    width: 95%;
    margin: auto;
  }

  .vv-team .vv-team-title {
    margin-bottom: 0px;
  }

  .vv-team {
    padding: 40px 0;
  }

  .vv-team .vv-team-content {
    padding: 15px;
  }

  .admissions-home-section .timeline-card {
    height: auto;
  }

  .admissions-home-section .card-icon-small {
    width: 50px;
    height: 50px;

    border-radius: 10px;

    font-size: 1.5rem;
    color: white;
    margin-bottom: 25px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: auto;
  }

  .admissions-home-section .card-link {
    padding: 7px 20px;
  }
  .view-grid {
    gap: 0.5rem;
  }

  .sidebar-block {
    background: var(--pure);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    box-shadow: var(--card-shadow);
  }

  .content-block {
    background: var(--pure);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
  }
  .vv-gallery-header p {
    margin-bottom: 20px;
  }

  .vv-gallery {
    padding: 40px 0;
    background: var(--soft-bg);
  }

  .vv-gallery-header h2 {
    margin-bottom: 5px;
  }

  .cta-modal-content {
    padding: 20px 10px;
  }

  .career-guidence-view .header-pill {
    margin-bottom: 0.5rem;
  }

  .career-guidence-view .section-header,
  .career-guidence-view .section-header-light {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
  }

  .career-guidence-view .features-grid {
    gap: 1rem;
    margin: 1rem 0;
  }

  .career-guidence-view .feature-icon {
    margin: 0 auto 0.5rem;
  }

  .career-guidence-view .feature-card h3 {
    margin: 0 0 0.25rem 0;
  }

  .career-guidence-view .enquiry-btn {
    background: linear-gradient(135deg, var(--gold), var(--sun));
    color: var(--deep);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 25px -8px var(--gold);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .career-guidence-view .enquiry-popup-container {
    border-radius: 10px;
  }
  .career-guidence-view .enquiry-popup-header {
    border-radius: 10px 10px 0 0;
  }
  .job-view-page .header-top {
    margin-bottom: 0.5rem;
  }

  .job-view-page .search-box {
    /* flex: 3; */

    min-width: 300px;
    display: flex;
    align-items: center;
    background: var(--pure);
    border-radius: 15px;
    padding-left: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(188, 143, 55, 0.1);
    position: relative;
  }

  .job-view-page .category-tabs {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
    -webkit-overflow-scrolling: touch;
  }

  .job-view-page .job-header {
    margin-bottom: 1rem;
  }

  .job-view-page .job-card {
    background: var(--pure);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
    border: 1px solid transparent;
    animation: cardFadeIn 0.5s ease;
  }

  .job-view-page .filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
  }

  .job-view-page {
    padding: 3rem 0 3rem;
  }

  .section-padding {
    padding: 50px 0;
  }

  .job-view-page .job-tips {
    background: linear-gradient(
      135deg,
      rgba(188, 143, 55, 0.05),
      rgba(0, 113, 175, 0.05)
    );
    border-radius: 10px;
    padding: 2rem 1rem;
    margin-top: 0rem;
    border: 1px solid rgba(188, 143, 55, 0.1);
  }
  .my-blog-view-inn .grid-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
  }

  .my-blog-view-inn .blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 5px;
  }

  .contact-us-view {
    padding: 50px 0 40px;
  }

  .loader-bar {
    width: 200px !important;
    height: 6px;
    background: #e6edf5;
    border-radius: 10px;
    margin: 30px 0 20px;
    overflow: hidden;
  }
}
