/* ================================
   AMITY ONLINE UNIVERSITY CLONE
   Modern, Professional, Responsive
   ================================ */

/* CSS Variables */
:root {
  --navy-blue: #0a2e73;
  --gold: #ffcc00;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --text-gray: #666666;
  --border-color: #e0e0e0;
  --success-green: #28a745;
  --hover-navy: #082557;
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Container */
  --container-max: 1200px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.5s ease;
}

/* ================================
   GLOBAL RESET & BASE STYLES
   ================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* ================================
   UTILITY CLASSES
   ================================ */

/* Hidden card class for filter functionality on mobile */
/* Uses !important to override display: flex !important in responsive styles */
.program-card-new.hidden-card {
  display: none !important;
}

/* ================================
   TYPOGRAPHY
   ================================ */

/* ================================
   SEARCH DROPDOWN STYLES
   ================================ */
.search-dropdown {
  scrollbar-width: thin;
  scrollbar-color: #ccc #f5f5f5;
}

.search-dropdown::-webkit-scrollbar {
  width: 6px;
}

.search-dropdown::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 3px;
}

.search-dropdown::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.search-dropdown a:last-child {
  border-bottom: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-blue);
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-gray);
}

/* ================================
   UTILITY CLASSES
   ================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-lg) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-gray);
}

.text-center {
  text-align: center;
}

/* ================================
   BUTTONS
   ================================ */

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-blue);
}

.btn-primary:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.4);
}

.btn-secondary {
  background: var(--navy-blue);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--hover-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 46, 115, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--navy-blue);
  border: 2px solid var(--navy-blue);
}

.btn-outline:hover {
  background: var(--navy-blue);
  color: var(--white);
}

.btn-group {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

/* ================================
   HEADER / NAVIGATION
   ================================ */

.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-fast);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-blue);
}

.logo span {
  color: var(--gold);
}

.nav-menu {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-gray);
  position: relative;
}

.nav-link:hover {
  color: var(--navy-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.nav-cta .btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--navy-blue);
  transition: var(--transition-fast);
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
  background: var(--white);
  color: var(--dark-gray);
  padding: var(--spacing-lg) 0;
}

.hero-program-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition-fast);
  cursor: pointer;
}

.hero-program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.nav-search-desktop {
  display: block;
}

.hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.hero-highlight {
  color: var(--gold);
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-md);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-group {
  justify-content: center;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-md);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat h3 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 0;
}

.hero-stat p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ================================
   LOGOS CAROUSEL
   ================================ */

.logos-section {
  background: var(--light-gray);
  padding: var(--spacing-md) 0;
}

.logos-section h3 {
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: var(--text-gray);
  font-size: 1.1rem;
  font-weight: 500;
}

.logos-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  opacity: 0.7;
}

.logo-item {
  height: 50px;
  display: flex;
  align-items: center;
  filter: grayscale(100%);
  transition: var(--transition-fast);
}

.logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-item img {
  height: 100%;
  width: auto;
}

/* ================================
   PROGRAMS GRID
   ================================ */

.programs-filter {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--navy-blue);
  color: var(--white);
  border-color: var(--navy-blue);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.program-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition-fast);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.program-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--navy-blue), var(--hover-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.program-card-image::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 204, 0, 0.1), transparent);
  transform: rotate(45deg);
}

.program-card-content {
  padding: var(--spacing-md);
}

.program-card h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.3rem;
}

.program-meta {
  display: flex;
  gap: var(--spacing-md);
  margin: var(--spacing-sm) 0;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.program-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.program-meta-item i {
  color: var(--gold);
}

.program-card p {
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
}

.program-card .btn {
  width: 100%;
}

/* ================================
   FEATURES / ADVANTAGES
   ================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.feature-card {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-sm);
  background: linear-gradient(135deg, var(--navy-blue), var(--hover-navy));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gold);
}

.feature-card h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.2rem;
}

.feature-card p {
  font-size: 0.95rem;
}

/* ================================
   CAREER SERVICES
   ================================ */

.career-services {
  background: var(--light-gray);
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.career-item {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: 8px;
  display: flex;
  gap: var(--spacing-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition-fast);
}

.career-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.career-icon {
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--navy-blue);
  flex-shrink: 0;
}

.career-content h4 {
  margin-bottom: 0.5rem;
}

.career-content p {
  font-size: 0.9rem;
  margin: 0;
}

/* ================================
   UGC BADGE
   ================================ */

.ugc-badge {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  background: white;
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.ugc-badge img {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.ugc-badge span {
  color: var(--navy-blue);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  display: block;
}

/* ================================
   TESTIMONIALS
   ================================ */

.testimonials {
  background: var(--navy-blue);
  color: var(--white);
}

.testimonials .section-title h2,
.testimonials .section-title p {
  color: var(--white);
}

.testimonials-slider {
  display: flex;
  gap: var(--spacing-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--spacing-sm) 0;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(255, 255, 255, 0.1);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-md);
  border-radius: 8px;
  min-width: 350px;
  scroll-snap-align: start;
  backdrop-filter: blur(10px);
}

.testimonial-header {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  align-items: center;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-blue);
}

.testimonial-info h4 {
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.testimonial-rating {
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
}

.testimonial-text {
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* ================================
   BLOG PREVIEW
   ================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition-fast);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-content {
  padding: var(--spacing-md);
}

.blog-meta {
  display: flex;
  gap: var(--spacing-sm);
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: var(--spacing-sm);
}

.blog-card h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.3rem;
}

.blog-card p {
  font-size: 0.95rem;
  margin-bottom: var(--spacing-sm);
}

/* ================================
   CONTACT FORM
   ================================ */

.contact-section {
  background: var(--light-gray);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.contact-info {
  background: var(--navy-blue);
  color: var(--white);
  padding: var(--spacing-md);
  border-radius: 8px;
}

.contact-info h3 {
  color: var(--gold);
  margin-bottom: var(--spacing-md);
}

.contact-item {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  align-items: flex-start;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: 0.25rem;
}

.contact-item div h4 {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.contact-item div p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.contact-form {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy-blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ================================
   FOOTER
   ================================ */

.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-section h3 {
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy-blue);
  transform: translateY(-3px);
}

.accreditation-badges {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-sm);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* ================================
   LARGE DESKTOP (1200px+)
   ================================ */
@media (min-width: 1200px) {
  /* Keep desktop styles as-is */
}

/* ================================
   TABLET LANDSCAPE & SMALL DESKTOP (992px - 1199px)
   ================================ */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
    padding: 0 1.5rem;
  }
  
  .why-card {
    flex: 0 0 calc((100% - 60px) / 3) !important;
  }
  
  .program-card-new {
    min-width: 280px !important;
  }
}

/* ================================
   TABLET (768px - 991px)
   ================================ */
@media (max-width: 1024px) {
  .header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .hero h1 {
    font-size: 2.8rem !important;
  }
  
  .hero > .container > div {
    gap: 1.5rem !important;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  /* Why Amity Cards - 2 per row */
  .why-card {
    flex: 0 0 calc(50% - 15px) !important;
    min-width: calc(50% - 15px) !important;
  }
  
  .why-carousel-inner {
    flex-wrap: wrap !important;
  }
  
  /* Carousel navigation */
  .why-carousel-prev,
  .why-carousel-next,
  .carousel-arrow-left,
  .carousel-arrow-right {
    display: none !important;
  }
  
  /* CTA Section responsive */
  section[style*="background: #1e4d8b"] > div > div[style*="grid-template-columns: 400px"] {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  
  section[style*="background: #1e4d8b"] > div > div > div:first-child {
    display: none !important;
  }
  
  section[style*="background: #1e4d8b"] > div > div > div:last-child {
    padding: 40px 30px !important;
  }
  
  /* ================================
     MODAL FORMS - MOBILE FIXES
     ================================ */
  /* Make modal container responsive */
  #applyNowModal > div,
  #enquireNowModal > div,
  #downloadBrochureModal > div {
    max-width: 95% !important;
    margin: auto !important;
  }
  
  /* Convert grid layout to single column */
  #applyNowModal > div > div[style*="grid"],
  #enquireNowModal > div > div[style*="grid"],
  #downloadBrochureModal > div > div[style*="grid"] {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
  }
  
  /* Hide image section on mobile */
  #applyNowModal > div > div > div:first-child,
  #enquireNowModal > div > div > div:first-child,
  #downloadBrochureModal > div > div > div:first-child {
    display: none !important;
  }
  
  /* Reduce form padding for mobile */
  #applyNowModal > div > div > div:last-child,
  #enquireNowModal > div > div > div:last-child,
  #downloadBrochureModal > div > div > div:last-child {
    padding: 25px 20px !important;
  }
  
  /* Adjust modal heading size */
  #applyNowModal h2,
  #enquireNowModal h2,
  #downloadBrochureModal h2 {
    font-size: 1.4rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  /* Adjust modal paragraph size */
  #applyNowModal p,
  #enquireNowModal p,
  #downloadBrochureModal p {
    font-size: 0.9rem !important;
  }
  
  /* Make form inputs mobile-friendly */
  #applyNowModal input,
  #applyNowModal select,
  #applyNowModal textarea,
  #enquireNowModal input,
  #enquireNowModal select,
  #enquireNowModal textarea,
  #downloadBrochureModal input,
  #downloadBrochureModal select,
  #downloadBrochureModal textarea {
    font-size: 12px !important;
    padding: 7px 8px !important;
    min-height: 36px !important;
  }
  
  /* Placeholder text size mobile */
  #applyNowModal input::placeholder,
  #applyNowModal textarea::placeholder,
  #enquireNowModal input::placeholder,
  #enquireNowModal textarea::placeholder,
  #downloadBrochureModal input::placeholder,
  #downloadBrochureModal textarea::placeholder {
    font-size: 11px !important;
    color: #9ca3af !important;
  }
  
  /* Country code dropdown mobile */
  #applyNowModal select,
  #enquireNowModal select,
  #downloadBrochureModal select {
    width: 85px !important;
    font-size: 11px !important;
    padding: 7px 5px !important;
  }
  
  /* Form labels mobile */
  #applyNowModal label,
  #enquireNowModal label,
  #downloadBrochureModal label {
    font-size: 0.8rem !important;
    margin-bottom: 6px !important;
  }
  
  /* Form margins mobile */
  #applyNowModal form > div,
  #enquireNowModal form > div,
  #downloadBrochureModal form > div {
    margin-bottom: 15px !important;
  }
  
  /* Phone number flex container mobile - prevent overflow */
  #applyNowModal div[style*="display: flex"][style*="gap: 10px"],
  #enquireNowModal div[style*="display: flex"][style*="gap: 10px"],
  #downloadBrochureModal div[style*="display: flex"][style*="gap: 10px"] {
    gap: 6px !important;
  }
  
  /* Prevent phone input from overflowing */
  #applyNowModal input[type="tel"],
  #enquireNowModal input[type="tel"],
  #downloadBrochureModal input[type="tel"] {
    width: 100% !important;
    min-width: 0 !important;
  }
  
  /* Checkbox container mobile */
  #applyNowModal div[style*="margin-bottom: 25px"],
  #enquireNowModal div[style*="margin-bottom: 25px"],
  #downloadBrochureModal div[style*="margin-bottom: 25px"] {
    margin-bottom: 20px !important;
  }
  
  /* Checkbox label mobile */
  #applyNowModal label[style*="flex"],
  #enquireNowModal label[style*="flex"],
  #downloadBrochureModal label[style*="flex"] {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  
  /* Checkbox input mobile - force visibility */
  #applyNowModal input[type="checkbox"],
  #enquireNowModal input[type="checkbox"],
  #downloadBrochureModal input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 2px 0 0 0 !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
    border: 2px solid #d1d5db !important;
  }
  
  /* Make submit buttons mobile-friendly */
  #applyNowModal button[type="submit"],
  #enquireNowModal button[type="submit"],
  #downloadBrochureModal button[type="submit"] {
    font-size: 14px !important;
    padding: 11px !important;
  }
  
  /* Error messages */
  .error-message {
    color: #ef4444 !important;
    font-size: 0.7rem !important;
    margin-top: 4px !important;
  }
}

/* ================================
   DESKTOP HERO LEFT CONTENT - HIDE BACKGROUND
   ================================ */
/* Hide the background-image on the hero left content div on desktop */
section[style*="mba-hero-bg"] > div.container > div[style*="grid"] > div[style*="background-image"],
section[style*="mca-hero-bg"] > div.container > div[style*="grid"] > div[style*="background-image"],
section[style*="bba-hero-bg"] > div.container > div[style*="grid"] > div[style*="background-image"] {
  background-image: none !important;
  background: transparent !important;
}

/* ================================
   MOBILE & TABLET (up to 768px)
   ================================ */
@media (max-width: 768px) {
  :root {
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
  }
  
  .container {
    padding: 0 1rem;
    max-width: 100%;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  /* ================================
     HEADER & NAVIGATION - MOBILE
     ================================ */
  .header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
  }
  
  .nav {
    padding: 0.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }
  
  .logo img {
    height: 32px !important;
    width: auto !important;
  }
  
  /* Hide desktop search */
  .nav-search-desktop {
    display: none !important;
  }
  
  /* Mobile Navigation Menu */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 1.5rem 2rem;
    transition: left 0.3s ease;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    z-index: 999;
    gap: 0 !important;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .nav-menu .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-gray);
  }
  
  .nav-cta {
    flex-direction: column;
    width: 100%;
    margin-top: 1.5rem;
    gap: 0.75rem !important;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
  }
  
  .nav-cta .btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px !important;
    font-size: 1rem !important;
  }
  
  /* Hamburger Menu Toggle */
  .mobile-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    -webkit-tap-highlight-color: transparent;
  }
  
  .mobile-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--navy-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* Mobile Enquire Button */
  .mobile-enquire-btn {
    display: inline-flex !important;
    align-items: center;
    font-size: 0.7rem !important;
    padding: 5px 12px !important;
    white-space: nowrap !important;
    border-radius: 15px !important;
    border-width: 1.5px !important;
  }
  
  /* Mobile Search Bar */
  .mobile-search-bar {
    display: block !important;
    padding: 10px 15px !important;
  }
  
  .mobile-search-bar input {
    padding: 8px 12px 8px 38px !important;
    font-size: 0.85rem !important;
    border-radius: 25px !important;
  }
  
  .mobile-search-bar .fa-search {
    left: 12px !important;
    font-size: 0.95rem !important;
  }
  
  /* Menu Overlay */
  .nav-menu.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
  
  /* ================================
     HERO SECTION - MOBILE
     ================================ */
  .hero {
    padding: 1.5rem 0 !important;
  }
  
  /* Convert hero grid to single column */
  .hero .hero-grid,
  .hero > .container > div[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  
  /* Hero content area */
  .hero .hero-grid > div:first-child {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    order: 1 !important;
  }
  
  /* Hide hero image on mobile */
  .hero .hero-grid > div:last-child,
  .hero > .container > div > div:last-child {
    display: none !important;
  }
  
  /* UGC Badge */
  .ugc-badge {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    padding: 8px 14px !important;
    border-radius: 25px !important;
    margin-bottom: 1rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    background: white !important;
  }
  
  .ugc-badge img {
    height: 22px !important;
    width: auto !important;
    flex-shrink: 0 !important;
    display: block !important;
  }
  
  .ugc-badge span {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    color: var(--navy-blue) !important;
    display: block !important;
  }
  
  .hero .hero-grid > div:first-child > div:first-child {
    display: inline-flex !important;
    width: auto !important;
    margin-bottom: 1rem !important;
    padding: 6px 14px !important;
  }
  
  .hero .hero-grid > div:first-child > div:first-child img {
    height: 22px !important;
  }
  
  .hero .hero-grid > div:first-child > div:first-child span {
    font-size: 0.75rem !important;
  }
  
  /* Hero Heading */
  .hero h1,
  .hero .hero-grid > div:first-child > h1 {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.75rem !important;
  }
  
  .hero h1 span[style*="border"] {
    padding: 4px 12px !important;
    font-size: 1.5rem !important;
  }
  
  /* Hero description */
  .hero p,
  .hero .hero-grid > div:first-child > p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
  }
  
  .hero p br {
    display: none;
  }
  
  /* Program Cards Row */
  .hero .hero-grid > div:first-child > div:nth-child(4),
  .hero > .container > div > div:first-child > div:nth-child(4) {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 8px !important;
    margin-bottom: 1.25rem !important;
    scroll-snap-type: x mandatory;
  }
  
  .hero-program-card {
    flex: 0 0 auto !important;
    width: 85px !important;
    scroll-snap-align: start;
  }
  
  .hero-program-card img {
    height: 60px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 8px 8px 0 0 !important;
  }
  
  .hero-program-card > div {
    padding: 8px 6px !important;
    border-radius: 0 0 8px 8px !important;
  }
  
  .hero-program-card h4 {
    font-size: 0.75rem !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }
  
  .hero-program-card p {
    display: none !important;
  }
  
  /* CTA Buttons */
  .hero .hero-grid > div:first-child > div:nth-child(5),
  .hero > .container > div > div:first-child > div:nth-child(5) {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
  }
  
  .hero .hero-grid > div:first-child > div:nth-child(5) a,
  .hero > .container > div > div:first-child > div:nth-child(5) a {
    flex: 1 !important;
    padding: 10px 14px !important;
    font-size: 0.8rem !important;
    text-align: center !important;
    border-radius: 25px !important;
  }
  
  /* Features Bar */
  .hero .hero-grid > div:first-child > div:nth-child(6),
  .hero > .container > div > div:first-child > div:nth-child(6) {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
  }
  
  /* ================================
     PROGRAMS SECTION - MOBILE
     ================================ */
  #programs,
  .section[id="programs"] {
    padding: 2.5rem 0 !important;
  }
  
  #programs h2,
  .section[id="programs"] h2 {
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* Programs Filter */
  .programs-filter-new,
  div[style*="programs-filter"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 0.5rem !important;
    padding-bottom: 10px !important;
    -webkit-overflow-scrolling: touch !important;
    user-select: none !important;
  }
  
  .programs-filter-new button,
  .filter-btn-new {
    flex: 0 0 auto !important;
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(30, 58, 138, 0.2) !important;
    user-select: none !important;
  }
  
  /* Programs section subtitle - smaller on mobile */
  #programs .container > div:first-child p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  
  /* Hide search bar on mobile */
  #programs div[style*="width: 320px"] {
    display: none !important;
  }
  
  /* Category Tabs */
  div[style*="display: flex"][style*="gap: 2rem"][style*="border-bottom"] {
    overflow-x: auto !important;
    gap: 1.25rem !important;
    padding-bottom: 0.75rem !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .category-tab {
    white-space: nowrap !important;
    font-size: 0.8rem !important;
    padding-bottom: 0.4rem !important;
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(139, 0, 0, 0.2) !important;
    user-select: none !important;
    display: inline-block !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
  
  /* Programs Carousel */
  .programs-carousel {
    display: flex !important;
    gap: 0.75rem !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 1rem !important;
  }
  
  .program-card-new {
    flex: 0 0 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    scroll-snap-align: start !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  .program-card-new img {
    height: 120px !important;
  }
  
  .program-card-new h3 {
    font-size: 0.9rem !important;
    min-height: 42px !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
  }
  
  .program-card-new > div[style*="padding"] {
    padding: 0.85rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
  }
  
  .program-card-new div[style*="height: 32px"],
  .program-card-new div[style*="display: flex"][style*="align-items: center"][style*="gap: 0.5rem"] {
    margin-bottom: 0.5rem !important;
  }
  
  .program-card-new div[style*="display: flex"][style*="justify-content: space-between"] {
    margin-bottom: auto !important;
    margin-top: auto !important;
    padding-bottom: 0.5rem !important;
    font-size: 0.75rem !important;
  }
  
  .program-card-new div[style*="display: flex"][style*="justify-content: space-between"] i {
    font-size: 0.7rem !important;
  }
  
  .program-card-new button {
    padding: 8px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    margin-top: 0 !important;
  }
  
  /* Collaboration Badge Responsive Styles */
  .collaboration-badge {
    font-size: 0.7rem !important;
    gap: 0.3rem !important;
  }
  
  .collaboration-badge span {
    font-size: 0.7rem !important;
  }
  
  .collaboration-badge img {
    height: 14px !important;
    max-width: 80px !important;
  }
  
  /* Apply Now button smaller on mobile */
  .btn,
  .btn-primary {
    padding: 10px 18px !important;
    font-size: 0.85rem !important;
  }
  
  .nav-cta .btn {
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
  }
  
  /* Hide carousel arrows on mobile */
  .carousel-arrow-left,
  .carousel-arrow-right {
    display: none !important;
  }
  
  /* ================================
     WHY AMITY SECTION - MOBILE
     ================================ */
  .why-amity-section,
  section[id="advantages"] {
    padding: 2.5rem 0 !important;
  }
  
  .why-amity-section h2,
  section[id="advantages"] h2 {
    font-size: 1.5rem !important;
  }
  
  /* Hide carousel arrows */
  .why-carousel-prev,
  .why-carousel-next {
    display: none !important;
  }
  
  /* Why Amity Cards - 2 per row grid on mobile */
  .why-amity-section .why-carousel-track {
    overflow: visible !important;
    overflow-x: visible !important;
  }
  
  .why-amity-section .why-carousel-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    transform: none !important;
  }
  
  .why-amity-section .why-card,
  .why-amity-section .why-carousel-inner > div {
    flex: 0 0 calc(50% - 5px) !important;
    min-width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    padding: 15px 10px !important;
    box-sizing: border-box !important;
  }
  
  .why-amity-section .why-card > div:first-child,
  .why-amity-section .why-carousel-inner > div > div:first-child {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto 10px !important;
  }
  
  .why-amity-section .why-card > div:first-child img,
  .why-amity-section .why-carousel-inner > div > div:first-child img {
    width: 35px !important;
    height: 35px !important;
  }
  
  .why-amity-section .why-card h3,
  .why-amity-section .why-carousel-inner > div h3 {
    font-size: 0.8rem !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
  }
  
  .why-amity-section .why-card p,
  .why-amity-section .why-carousel-inner > div p {
    font-size: 0.65rem !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  
  /* ================================
     CTA SECTION - MOBILE
     ================================ */
  section[style*="background: white"][style*="padding: 60px"] > .container > div[style*="background: #1e4d8b"] {
    border-radius: 16px !important;
    min-height: auto !important;
  }
  
  section[style*="background: white"][style*="padding: 60px"] > .container > div[style*="background: #1e4d8b"] > div {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  
  section[style*="background: white"][style*="padding: 60px"] > .container > div[style*="background: #1e4d8b"] > div > div:first-child {
    display: none !important;
  }
  
  section[style*="background: white"][style*="padding: 60px"] > .container > div[style*="background: #1e4d8b"] > div > div:last-child {
    padding: 40px 25px !important;
  }
  
  section[style*="background: white"][style*="padding: 60px"] > .container > div[style*="background: #1e4d8b"] h2 {
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
  }
  
  section[style*="background: white"][style*="padding: 60px"] > .container > div[style*="background: #1e4d8b"] h2 br {
    display: none;
  }
  
  /* ================================
     BRAND LOGOS SLIDER - MOBILE
     ================================ */
  section[style*="background: #f8f9fa"][style*="padding: 80px"] h2 {
    font-size: 1.25rem !important;
    padding: 0 1rem !important;
    margin-bottom: 2rem !important;
  }
  
  .brand-logo-item {
    width: 130px !important;
    height: 70px !important;
    padding: 12px !important;
  }
  
  /* Speed up brand slider on mobile */
  .brand-slider-track,
  div[style*="animation: scroll-brands"] {
    animation-duration: 10s !important;
  }
  
  /* ================================
     CAREER SERVICES - MOBILE (2 cards visible)
     ================================ */
  .career-services {
    padding: 2.5rem 0 !important;
  }
  
  .career-services .section-title h2 {
    font-size: 1.5rem !important;
  }
  
  .career-services .container > div[style*="display: flex"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding-bottom: 1rem !important;
    overflow-x: visible !important;
    overflow: visible !important;
  }
  
  .career-services .container > div[style*="display: flex"] > div[style*="flex:"] {
    flex: 0 0 calc(50% - 5px) !important;
    min-width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    box-sizing: border-box !important;
  }
  
  .career-services .container > div > div img {
    height: 100px !important;
  }
  
  .career-services .container > div > div > div {
    padding: 12px 10px !important;
  }
  
  .career-services .container > div > div h3 {
    font-size: 0.8rem !important;
    margin-bottom: 8px !important;
  }
  
  .career-services .container > div > div li {
    font-size: 0.65rem !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
  }
  
  .career-services .container > div > div li i {
    font-size: 10px !important;
    margin-right: 6px !important;
  }
  
  .career-services > .container > div > div li i {
    font-size: 12px !important;
    margin-right: 8px !important;
  }
  
  /* ================================
     TESTIMONIALS - MOBILE
     ================================ */
  .testimonials {
    padding: 2.5rem 0 !important;
  }
  
  .testimonials .section-title h2 {
    font-size: 1.5rem !important;
  }
  
  .testimonials-slider {
    gap: 1rem !important;
    padding: 0.75rem 0 !important;
  }
  
  .testimonial-card {
    min-width: 280px !important;
    padding: 1.25rem !important;
  }
  
  .testimonial-avatar {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.2rem !important;
  }
  
  .testimonial-info h4 {
    font-size: 1rem !important;
  }
  
  .testimonial-text {
    font-size: 0.9rem !important;
  }
  
  /* ================================
     CONTACT / FORMS - MOBILE
     ================================ */
  .contact-wrapper {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .contact-info,
  .contact-form {
    padding: 1.5rem !important;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 14px !important;
    font-size: 16px !important; /* Prevents iOS zoom */
  }
  
  /* ================================
     FOOTER - MOBILE (Concise)
     ================================ */
  .footer {
    padding: 1.5rem 0 1rem !important;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.25rem !important;
  }
  
  .footer-section {
    text-align: left;
  }
  
  .footer-section:first-child {
    grid-column: span 2;
    text-align: center;
  }
  
  .footer-section:first-child p {
    display: none;
  }
  
  .footer-section h3 {
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 0.75rem !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.4 !important;
  }
  
  .footer-links {
    align-items: flex-start;
    gap: 0.25rem !important;
  }
  
  .footer-links a {
    padding: 2px 0 !important;
  }
  
  .social-links {
    justify-content: center;
    gap: 0.75rem !important;
  }
  
  .social-links a {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
  }
  
  .accreditation-badges {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem !important;
  }
  
  .accreditation-badges .badge {
    font-size: 0.65rem !important;
    padding: 3px 8px !important;
  }
  
  .footer-bottom {
    font-size: 0.7rem !important;
    text-align: center;
    padding-top: 1rem !important;
    margin-top: 1rem !important;
  }
  
  /* ================================
     MODALS - MOBILE
     ================================ */
  #applyNowModal > div > div,
  #enquireNowModal > div > div,
  #downloadBrochureModal > div > div {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  
  #applyNowModal > div > div > div:first-child,
  #enquireNowModal > div > div > div:first-child,
  #downloadBrochureModal > div > div > div:first-child {
    display: none !important;
  }
  
  #applyNowModal > div > div > div:last-child,
  #enquireNowModal > div > div > div:last-child,
  #downloadBrochureModal > div > div > div:last-child {
    padding: 30px 20px !important;
  }
  
  /* Modal Container Fix */
  #applyNowModal > div,
  #enquireNowModal > div,
  #downloadBrochureModal > div {
    max-width: 95% !important;
    margin: 20px auto !important;
    max-height: calc(100vh - 40px) !important;
    border-radius: 16px !important;
  }
  
  /* Modal Form Styling */
  #applyNowModal form > div,
  #enquireNowModal form > div,
  #downloadBrochureModal form > div {
    margin-bottom: 15px !important;
  }
  
  #applyNowModal h2,
  #enquireNowModal h2,
  #downloadBrochureModal h2 {
    font-size: 1.5rem !important;
    margin-bottom: 8px !important;
  }
  
  #applyNowModal p,
  #enquireNowModal p,
  #downloadBrochureModal p {
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
  }
  
  #applyNowModal input,
  #applyNowModal select,
  #enquireNowModal input,
  #enquireNowModal select,
  #downloadBrochureModal input,
  #downloadBrochureModal select {
    padding: 12px !important;
    font-size: 16px !important;
  }
  
  /* Phone input flex fix */
  #applyNowModal div[style*="display: flex"][style*="gap: 10px"],
  #enquireNowModal div[style*="display: flex"][style*="gap: 10px"],
  #downloadBrochureModal div[style*="display: flex"][style*="gap: 10px"] {
    flex-wrap: nowrap !important;
  }
  
  #applyNowModal select[style*="width: 80px"],
  #enquireNowModal select[style*="width: 80px"],
  #downloadBrochureModal select[style*="width: 80px"] {
    width: 90px !important;
    flex-shrink: 0 !important;
  }
  
  /* Checkbox label */
  #applyNowModal label[style*="display: flex"][style*="gap: 8px"],
  #enquireNowModal label[style*="display: flex"][style*="gap: 8px"],
  #downloadBrochureModal label[style*="display: flex"][style*="gap: 8px"] {
    font-size: 0.7rem !important;
    line-height: 1.4 !important;
  }
  
  /* Submit button */
  #applyNowModal button[type="submit"],
  #enquireNowModal button[type="submit"],
  #downloadBrochureModal button[type="submit"] {
    padding: 14px !important;
    font-size: 1rem !important;
  }
  
  /* Review Modal */
  #reviewModal > div {
    width: 95% !important;
    max-width: 95% !important;
    margin: 20px auto !important;
    padding: 25px 20px !important;
    max-height: calc(100vh - 40px) !important;
    border-radius: 16px !important;
  }
  
  #reviewModal > div > button {
    top: 10px !important;
    right: 10px !important;
  }
  
  #reviewModal > div > div[style*="display: flex"][style*="gap: 15px"] {
    gap: 12px !important;
    margin-bottom: 20px !important;
  }
  
  #reviewModal div[id="modalReviewerImage"] {
    width: 55px !important;
    height: 55px !important;
  }
  
  #reviewModal h3[id="modalReviewerName"] {
    font-size: 1.1rem !important;
  }
  
  #reviewModal p[id="modalReviewerPosition"] {
    font-size: 0.8rem !important;
  }
  
  #reviewModal div[id="modalReviewText"] {
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
  }

  #shareModal > div {
    width: 95% !important;
    padding: 25px 20px !important;
  }
  
  #shareModal > div > div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
  
  #shareModal button[style*="padding: 15px"] {
    padding: 12px !important;
  }
  
  /* ================================
     NEXT-GEN LEARNING SECTION - MOBILE
     ================================ */
  .nextgen-learning,
  section[class*="nextgen-learning"] {
    padding: 40px 0 !important;
  }
  
  .nextgen-learning h2,
  section[class*="nextgen-learning"] > .container > h2 {
    font-size: 1.5rem !important;
    text-align: center !important;
    margin-bottom: 25px !important;
  }
  
  /* Main gradient container */
  .nextgen-learning > .container > div[style*="background: linear-gradient"],
  section[class*="nextgen-learning"] > .container > div[style*="background: linear-gradient"] {
    padding: 25px 20px !important;
    border-radius: 20px !important;
    min-height: auto !important;
  }
  
  /* Cards Grid - change to single column on mobile */
  .nextgen-learning > .container > div > div[style*="display: grid"],
  section[class*="nextgen-learning"] > .container > div > div[style*="display: grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    max-width: 100% !important;
  }
  
  /* Individual Cards */
  .nextgen-learning > .container > div > div > div[style*="background: white"],
  section[class*="nextgen-learning"] > .container > div > div > div[style*="background: white"] {
    padding: 18px 16px !important;
    border-radius: 12px !important;
    gap: 12px !important;
  }
  
  .nextgen-learning > .container > div > div > div > div > i,
  section[class*="nextgen-learning"] > .container > div > div > div > div > i {
    font-size: 24px !important;
  }
  
  .nextgen-learning > .container > div > div > div > div > h3,
  section[class*="nextgen-learning"] > .container > div > div > div > div > h3 {
    font-size: 14px !important;
  }
  
  /* Hide the person image on mobile */
  .nextgen-learning > .container > div > img,
  section[class*="nextgen-learning"] > .container > div > img[style*="position: absolute"] {
    display: none !important;
  }
  
  /* ================================
     REVIEWS SECTION - MOBILE
     ================================ */
  .testimonials,
  section[class*="testimonials"] {
    padding: 40px 0 !important;
  }
  
  .testimonials h2,
  section[class*="testimonials"] > .container > h2 {
    font-size: 1.5rem !important;
    text-align: center !important;
    margin-bottom: 10px !important;
  }
  
  .testimonials hr,
  section[class*="testimonials"] > .container > hr {
    margin: 20px auto !important;
  }
  
  /* Reviews Carousel Wrapper */
  .reviews-carousel-wrapper {
    padding: 0 10px !important;
  }
  
  /* Reviews Carousel Container */
  .reviews-carousel-container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  /* Reviews Track */
  .reviews-carousel-track {
    display: flex !important;
    gap: 15px !important;
    padding-bottom: 15px !important;
  }
  
  /* Review Cards - Fixed width for scrolling */
  .review-card {
    flex: 0 0 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    min-height: 380px !important;
    padding: 20px !important;
  }
  
  /* Video Cards */
  .review-card.video-card {
    min-height: 320px !important;
    position: relative !important;
    cursor: pointer !important;
  }
  
  .review-card.video-card .video-thumbnail {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }
  
  .review-card.video-card .testimonial-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  
  .review-card .video-play-btn {
    width: 60px !important;
    height: 60px !important;
    z-index: 10 !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    pointer-events: auto !important;
  }
  
  .review-card .video-play-btn svg {
    pointer-events: none !important;
  }
  
  /* Review Card Header */
  .review-card > div[style*="display: flex"][style*="gap: 15px"] {
    gap: 12px !important;
    margin-bottom: 15px !important;
  }
  
  .review-card img[style*="width: 60px"] {
    width: 50px !important;
    height: 50px !important;
  }
  
  .review-card h3[style*="font-size: 18px"] {
    font-size: 16px !important;
  }
  
  .review-card p[style*="font-size: 13px"] {
    font-size: 12px !important;
  }
  
  .review-card p[style*="font-size: 14px"][style*="line-height: 1.7"] {
    font-size: 13px !important;
    -webkit-line-clamp: 7 !important;
  }
  
  /* Hide review carousel arrows on mobile */
  .reviews-carousel-wrapper > button,
  .reviews-carousel-wrapper button[style*="position: absolute"] {
    display: none !important;
  }
  
  /* ================================
     FAQ SECTION - MOBILE
     ================================ */
  section > .container > div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"][style*="gap: 60px"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }
  
  /* FAQ Container */
  section > .container > div > div[style*="background: white"][style*="border-radius: 20px"][style*="padding: 50px"] {
    padding: 25px 20px !important;
    border-radius: 16px !important;
  }
  
  /* FAQ Title */
  section > .container > div > div > h2[style*="font-size: 36px"] {
    font-size: 1.4rem !important;
    margin-bottom: 20px !important;
  }
  
  /* FAQ Tab Buttons */
  section > .container > div > div > div[style*="display: flex"][style*="gap: 15px"][style*="margin-bottom: 30px"] {
    gap: 8px !important;
    margin-bottom: 20px !important;
    overflow-x: auto !important;
    padding-bottom: 5px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .faq-tab-btn,
  section > .container > div > div > div > button[style*="padding: 12px 28px"] {
    padding: 10px 16px !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  
  /* FAQ Items */
  .faq-item {
    padding: 15px 0 !important;
  }
  
  .faq-item > div[style*="display: flex"][style*="justify-content: space-between"] {
    gap: 10px !important;
  }
  
  .faq-item span[style*="font-size: 16px"] {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  
  .faq-item .faq-answer,
  .faq-item > div[style*="padding-top: 15px"] {
    padding-top: 12px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
  }
  
  /* Apply Now Side Form */
  section > .container > div > div[style*="background: #1e3a8a"] {
    padding: 25px 20px !important;
    border-radius: 16px !important;
  }
  
  section > .container > div > div[style*="background: #1e3a8a"] h2 {
    font-size: 1.3rem !important;
    margin-bottom: 8px !important;
  }
  
  section > .container > div > div[style*="background: #1e3a8a"] p {
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
  }
  
  /* Apply Now Bottom Form (with gradient) */
  section > .container > div > div[style*="background: linear-gradient"] {
    padding: 25px 15px !important;
    border-radius: 16px !important;
    margin: 0 !important;
  }
  
  section > .container > div > div[style*="background: linear-gradient"] h2 {
    font-size: 1.4rem !important;
    margin-bottom: 10px !important;
  }
  
  section > .container > div > div[style*="background: linear-gradient"] p {
    font-size: 0.85rem !important;
    margin-bottom: 20px !important;
  }
  
  section > .container > div > div[style*="background: linear-gradient"] form {
    gap: 18px !important;
  }
  
  section > .container > div > div[style*="background: linear-gradient"] input,
  section > .container > div > div[style*="background: linear-gradient"] select {
    padding: 12px 14px !important;
    font-size: 14px !important;
  }
  
  section > .container > div > div[style*="background: linear-gradient"] label {
    font-size: 11px !important;
  }
  
  section > .container > div > div[style*="background: linear-gradient"] div[style*="display: flex"][style*="gap: 10px"] {
    flex-wrap: nowrap !important;
  }
  
  section > .container > div > div[style*="background: linear-gradient"] div[style*="display: flex"][style*="gap: 10px"] select {
    width: 90px !important;
    flex-shrink: 0 !important;
  }
  
  section > .container > div > div[style*="background: linear-gradient"] button[type="submit"] {
    padding: 14px !important;
    font-size: 14px !important;
  }
  
  /* ================================
     FLOATING BUTTONS - MOBILE
     ================================ */
  .floating-icons,
  div[style*="position: fixed"][style*="right: 20px"][style*="top: 50%"] {
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
    gap: 10px !important;
  }
  
  .floating-icons a,
  div[style*="position: fixed"][style*="right: 20px"] a {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.1rem !important;
  }
  
  /* ================================
     GENERAL MOBILE UTILITIES
     ================================ */
  section {
    padding: 2rem 0 !important;
  }

  /* Top banner - remove bottom margin */
  div[style*="background: var(--navy-blue)"][style*="text-align: center"] {
    margin-bottom: 0 !important;
  }

  .hero {
    padding: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }

  .hero .container {
    padding-top: 0.2rem !important;
    padding-bottom: 0 !important;
  }

  /* Hero section immediately after top banner - remove gap */
  section[style*="background-image"][style*="hero-bg"] {
    margin-top: 0 !important;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .section-title p {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .btn-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-group .btn {
    width: 100%;
  }
  
  /* Hide desktop-only elements */
  .hide-on-mobile,
  .desktop-only {
    display: none !important;
  }
  
  /* Show mobile-only elements */
  .show-on-mobile,
  .mobile-only {
    display: block !important;
  }
  
  /* Programs Grid fallback */
  .programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }

  .program-card-image {
    height: 150px !important;
  }

  .program-card-content {
    padding: 0.9rem !important;
  }

  .program-card h3 {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.4rem !important;
  }

  .program-meta {
    flex-direction: column !important;
    gap: 0.2rem !important;
    margin: 0.4rem 0 !important;
    align-items: flex-start !important;
  }

  .program-meta-item {
    font-size: 0.7rem !important;
    width: 100% !important;
  }

  .program-meta-item span {
    display: inline !important;
  }

  .program-card p {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.6rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .career-grid {
    grid-template-columns: 1fr !important;
  }
  
  .blog-grid {
    grid-template-columns: 1fr !important;
  }

  /* MBA/MCA/BBA Hero Section Mobile Styles */
  section[style*="mba-hero-bg"],
  section[style*="mca-hero-bg"],
  section[style*="bba-hero-bg"] {
    padding: 0 !important;
    background-image: none !important;
  }

  section[style*="mba-hero-bg"] > div[class="container"],
  section[style*="mca-hero-bg"] > div[class="container"],
  section[style*="bba-hero-bg"] > div[class="container"] {
    padding: 0 !important;
    max-width: 100% !important;
  }

  section[style*="mba-hero-bg"] > div[class="container"] > div[style*="grid"],
  section[style*="mca-hero-bg"] > div[class="container"] > div[style*="grid"],
  section[style*="bba-hero-bg"] > div[class="container"] > div[style*="grid"] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Hero Content Box with Background */
  section[style*="mba-hero-bg"] > div[class="container"] > div[style*="grid"] > div:first-child,
  section[style*="mca-hero-bg"] > div[class="container"] > div[style*="grid"] > div:first-child,
  section[style*="bba-hero-bg"] > div[class="container"] > div[style*="grid"] > div:first-child {
    background-size: cover !important;
    background-position: center !important;
    padding: 20px 15px !important;
    border-radius: 0 !important;
    position: relative !important;
  }

  /* Add background overlay to content box */
  section[style*="mba-hero-bg"] > div[class="container"] > div[style*="grid"] > div:first-child::before,
  section[style*="mca-hero-bg"] > div[class="container"] > div[style*="grid"] > div:first-child::before,
  section[style*="bba-hero-bg"] > div[class="container"] > div[style*="grid"] > div:first-child::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(30, 58, 138, 0.8) !important;
    z-index: 0 !important;
  }

  /* Ensure content appears above overlay */
  section[style*="mba-hero-bg"] > div[class="container"] > div[style*="grid"] > div:first-child > *,
  section[style*="mca-hero-bg"] > div[class="container"] > div[style*="grid"] > div:first-child > *,
  section[style*="bba-hero-bg"] > div[class="container"] > div[style*="grid"] > div:first-child > * {
    position: relative !important;
    z-index: 1 !important;
  }

  /* Hero title responsive sizing */
  section[style*="mba-hero-bg"] h1,
  section[style*="mca-hero-bg"] h1,
  section[style*="bba-hero-bg"] h1 {
    font-size: 1.5rem !important;
    margin-bottom: 0.75rem !important;
  }

  /* Download brochure button and share */
  section[style*="mba-hero-bg"] div[style*="display: flex"],
  section[style*="mca-hero-bg"] div[style*="display: flex"],
  section[style*="bba-hero-bg"] div[style*="display: flex"] {
    flex-wrap: wrap !important;
    margin-bottom: 15px !important;
  }

  /* QS Badge responsive */
  section[style*="mba-hero-bg"] div[style*="display: inline-flex"],
  section[style*="mca-hero-bg"] div[style*="display: inline-flex"],
  section[style*="bba-hero-bg"] div[style*="display: inline-flex"] {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 15px !important;
  }

  section[style*="mba-hero-bg"] div[style*="display: inline-flex"] img,
  section[style*="mca-hero-bg"] div[style*="display: inline-flex"] img,
  section[style*="bba-hero-bg"] div[style*="display: inline-flex"] img {
    height: 40px !important;
  }

  /* Hero Form Mobile Styles - Compact */
  section[style*="mba-hero-bg"] > div[class="container"] > div[style*="grid"] > div:last-child,
  section[style*="mca-hero-bg"] > div[class="container"] > div[style*="grid"] > div:last-child,
  section[style*="bba-hero-bg"] > div[class="container"] > div[style*="grid"] > div:last-child {
    border-radius: 0 !important;
    padding: 20px 12px !important;
    box-shadow: none !important;
    border-top: 3px solid #1e3a8a !important;
  }

  section[style*="mba-hero-bg"] form h2,
  section[style*="mca-hero-bg"] form h2,
  section[style*="bba-hero-bg"] form h2 {
    font-size: 1.3rem !important;
    margin-bottom: 15px !important;
  }

  /* Compact form inputs */
  section[style*="mba-hero-bg"] form div[style*="margin-bottom"],
  section[style*="mca-hero-bg"] form div[style*="margin-bottom"],
  section[style*="bba-hero-bg"] form div[style*="margin-bottom"] {
    margin-bottom: 10px !important;
  }

  section[style*="mba-hero-bg"] form label,
  section[style*="mca-hero-bg"] form label,
  section[style*="bba-hero-bg"] form label {
    font-size: 12px !important;
    margin-bottom: 4px !important;
  }

  section[style*="mba-hero-bg"] form input,
  section[style*="mca-hero-bg"] form input,
  section[style*="bba-hero-bg"] form input,
  section[style*="mba-hero-bg"] form select,
  section[style*="mca-hero-bg"] form select,
  section[style*="bba-hero-bg"] form select {
    padding: 10px !important;
    font-size: 13px !important;
  }

  section[style*="mba-hero-bg"] form button[type="submit"],
  section[style*="mca-hero-bg"] form button[type="submit"],
  section[style*="bba-hero-bg"] form button[type="submit"] {
    padding: 12px !important;
    font-size: 14px !important;
    margin-bottom: 10px !important;
  }

  section[style*="mba-hero-bg"] form label[for*="consent"],
  section[style*="mca-hero-bg"] form label[for*="consent"],
  section[style*="bba-hero-bg"] form label[for*="consent"] {
    font-size: 10px !important;
  }

  /* Seats filling fast section compact */
  section[style*="mba-hero-bg"] form div[style*="background: #e5e7eb"],
  section[style*="mca-hero-bg"] form div[style*="background: #e5e7eb"],
  section[style*="bba-hero-bg"] form div[style*="background: #e5e7eb"] {
    padding: 8px !important;
  }

  section[style*="mba-hero-bg"] form div[style*="background: #e5e7eb"] p,
  section[style*="mca-hero-bg"] form div[style*="background: #e5e7eb"] p,
  section[style*="bba-hero-bg"] form div[style*="background: #e5e7eb"] p {
    font-size: 12px !important;
  }

  /* Quick Stats Cards - 2 per row on mobile */
  section[style*="padding: 60px 0"] > div[class="container"] > div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  /* Flip cards responsive sizing */
  .flip-card {
    height: 180px !important;
  }

  section[style*="padding: 60px 0"] > div[class="container"] > div[style*="grid"] > div[style*="background: linear-gradient"] {
    padding: 25px 15px !important;
    border-radius: 15px !important;
  }

  section[style*="padding: 60px 0"] > div[class="container"] > div[style*="grid"] > div[style*="background: linear-gradient"] h3 {
    font-size: 1.3rem !important;
    margin-bottom: 10px !important;
  }

  /* Flip card front/back content sizing */
  .flip-card-front,
  .flip-card-back {
    padding: 25px 15px !important;
    border-radius: 15px !important;
  }

  .flip-card-front h3 {
    font-size: 1.8rem !important;
    margin-bottom: 8px !important;
  }

  .flip-card-front p,
  .flip-card-back p {
    font-size: 0.85rem !important;
    margin-top: 10px !important;
  }

  .flip-card-back p {
    line-height: 1.5 !important;
  }

  /* Top banner - remove bottom gap */
  div[style*="background: var(--navy-blue)"][style*="text-align: center"] {
    margin-bottom: 0 !important;
  }

  /* General Page Section Spacing */
  section[style*="padding: 60px 0"] {
    padding: 30px 0 !important;
  }

  section[style*="padding: 80px 0"] {
    padding: 40px 0 !important;
  }

  /* Responsive Typography - exclude flip cards and specific sections */
  section h2 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }

  section h3:not(.flip-card-front h3):not(.flip-card-back h3) {
    font-size: 1.2rem !important;
  }

  section p:not(.flip-card-front p):not(.flip-card-back p) {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  /* Preserve Quick Stats Cards font sizes */
  .flip-card-front h3 {
    font-size: 2.5rem !important;
  }

  .flip-card-front p {
    font-size: 1rem !important;
  }

  .flip-card-back p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  /* Quick Stats first card (scholarships) - preserve fonts */
  section[style*="padding: 60px 0"][style*="background: white"] > div > div[style*="grid-template-columns: repeat(4"] > div[style*="background: linear-gradient(135deg, #ff3366"] h3 {
    font-size: 1.8rem !important;
  }

  /* Buttons responsive */
  .btn,
  a.btn,
  button.btn {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
  }

  /* Specialization cards grid - 1 per row on mobile */
  div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  /* Generic grid layouts - stack on mobile */
  .grid,
  div[class*="grid"] {
    grid-template-columns: 1fr !important;
  }

  /* Images responsive */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Tables responsive */
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Modal adjustments for mobile */
  div[id*="Modal"] > div {
    max-width: 95% !important;
    margin: 10px auto !important;
  }

  /* Floating buttons positioning */
  .floating-contact-buttons,
  .floating-icons {
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
    gap: 10px !important;
  }

  .floating-contact-buttons a,
  .floating-icons a {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.1rem !important;
  }

  /* Sticky CTA bar mobile */
  .sticky-cta-bar {
    padding: 10px 0 !important;
  }

  .sticky-cta-bar .btn {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }

  /* Testimonial cards */
  .testimonial-card,
  div[class*="testimonial"] {
    padding: 15px !important;
  }

  /* Career/Features grids already handled but ensure consistency */
  .features-grid,
  .career-grid,
  .blog-grid,
  div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  /* Admission Process Section - Mobile */
  section > div > h2[style*="Admission Process"],
  section > div > h2[style*="font-size: 42px"] {
    font-size: 1.5rem !important;
    margin-bottom: 25px !important;
    padding-left: 0 !important;
    text-align: center !important;
  }

  /* Admission steps grid - stack vertically */
  section > div > div[style*="grid-template-columns: repeat(5"] {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    padding: 0 10px !important;
  }

  /* Admission step items */
  section > div > div[style*="grid-template-columns: repeat(5"] > div {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    gap: 15px !important;
    padding: 15px !important;
    background: #f9fafb !important;
    border-radius: 12px !important;
  }

  /* Hide connecting arrows on mobile */
  section > div > div[style*="grid-template-columns: repeat(5"] > div > div > div[style*="position: absolute"] {
    display: none !important;
  }

  /* Admission step icons */
  section > div > div[style*="grid-template-columns: repeat(5"] > div > div img {
    width: 60px !important;
    height: 60px !important;
    margin: 0 !important;
  }

  section > div > div[style*="grid-template-columns: repeat(5"] > div > div {
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Admission step text */
  section > div > div[style*="grid-template-columns: repeat(5"] > div h3 {
    font-size: 0.95rem !important;
    margin-bottom: 5px !important;
    line-height: 1.3 !important;
  }

  section > div > div[style*="grid-template-columns: repeat(5"] > div h3 br {
    display: none !important;
  }

  section > div > div[style*="grid-template-columns: repeat(5"] > div p {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }

  /* Potential Job Roles Section - Mobile */
  section > div > div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Job role cards */
  section > div > div[style*="grid-template-columns: repeat(3"] > div {
    border-radius: 12px !important;
  }

  /* Job role card header */
  section > div > div[style*="grid-template-columns: repeat(3"] > div > div:first-child {
    padding: 20px !important;
  }

  section > div > div[style*="grid-template-columns: repeat(3"] > div > div:first-child h3 {
    font-size: 1.3rem !important;
  }

  /* Job role card content */
  section > div > div[style*="grid-template-columns: repeat(3"] > div > div:last-child {
    padding: 20px 15px !important;
  }

  section > div > div[style*="grid-template-columns: repeat(3"] > div > div:last-child ul {
    gap: 12px !important;
  }

  section > div > div[style*="grid-template-columns: repeat(3"] > div > div:last-child ul li img {
    width: 16px !important;
    height: 16px !important;
  }

  section > div > div[style*="grid-template-columns: repeat(3"] > div > div:last-child ul li span {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  /* Certificate Section - Prevent overflow on mobile */
  section > div > div[style*="display: grid"][style*="gap: 60px"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Laptop frame - prevent overflow */
  div[style*="max-width: 500px"][style*="position: relative"] {
    max-width: 100% !important;
    padding: 0 10px !important;
  }

  div[style*="max-width: 500px"] div[style*="background: linear-gradient"][style*="border-radius: 10px"] {
    padding: 10px 10px 35px 10px !important;
  }

  div[style*="max-width: 500px"] div[style*="position: absolute"][style*="bottom: 0"][style*="width: 110%"] {
    width: 100% !important;
  }

  div[style*="max-width: 500px"] div[style*="position: absolute"][style*="bottom: 0"][style*="width: 140%"] {
    width: 100% !important;
  }

  /* Fee Structure - 2 cards per row on mobile */
  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div {
    padding: 20px 15px !important;
    border-radius: 15px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div p {
    font-size: 0.85rem !important;
    margin-bottom: 15px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div h3 {
    font-size: 1.5rem !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div img {
    width: 60px !important;
  }

  /* Why Say Yes to Amity Online - 2 columns and smaller fonts */
  section[style*="padding: 60px 0"][style*="background: white"] > div > div[style*="grid-template-columns: repeat(4"][style*="border-bottom"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  section[style*="padding: 60px 0"][style*="background: white"] > div > div[style*="grid-template-columns: repeat(4"] > div {
    padding: 20px 12px !important;
  }

  section[style*="padding: 60px 0"][style*="background: white"] > div > div[style*="grid-template-columns: repeat(4"] > div > div img {
    max-width: 45px !important;
    max-height: 45px !important;
  }

  section[style*="padding: 60px 0"][style*="background: white"] > div > div[style*="grid-template-columns: repeat(4"] > div > div[style*="width: 70px"] {
    width: 50px !important;
    height: 50px !important;
  }

  section[style*="padding: 60px 0"][style*="background: white"] > div > div[style*="grid-template-columns: repeat(4"] > div h3 {
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
  }

  section[style*="padding: 60px 0"][style*="background: white"] > div > div[style*="grid-template-columns: repeat(4"] > div p {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
  }

  /* Testimonials Section - Fix overlap and improve layout */
  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > h2[style*="font-size: 42px"] {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="position: relative"][style*="overflow: hidden"] {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 15px !important;
  }

  #testimonialsTrack,
  div[id="testimonialsTrack"] {
    gap: 15px !important;
  }

  .testimonial-slide,
  div[class="testimonial-slide"] {
    flex: 0 0 85% !important;
    min-width: 85% !important;
    padding: 20px !important;
    border-radius: 15px !important;
  }

  .testimonial-slide img,
  div[class="testimonial-slide"] img {
    width: 50px !important;
    height: 50px !important;
  }

  .testimonial-slide h4,
  div[class="testimonial-slide"] h4 {
    font-size: 15px !important;
  }

  .testimonial-slide p,
  div[class="testimonial-slide"] p {
    font-size: 12px !important;
  }

  .testimonial-text,
  div[class="testimonial-text"] {
    max-height: 100px !important;
    font-size: 13px !important;
  }

  /* Hide carousel arrows on mobile - enable swipe instead */
  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="position: relative"] > button {
    display: none !important;
  }

  /* Testimonial dots */
  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="display: flex"][style*="justify-content: center"][style*="gap: 10px"] span {
    width: 10px !important;
    height: 10px !important;
  }

  /* Program Related Specializations - MCA page - 2 columns on mobile */
  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div {
    padding: 25px 20px !important;
    min-height: 180px !important;
    border-radius: 15px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div img {
    width: 45px !important;
    height: 45px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div h3 {
    font-size: 1rem !important;
    line-height: 1.3 !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div div[style*="width: 40px"][style*="height: 40px"] {
    width: 32px !important;
    height: 32px !important;
  }

  /* Program Related Specializations - BBA page - flex layout on mobile */
  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="display: flex"][style*="justify-content: center"][style*="flex-wrap: wrap"] {
    gap: 15px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="display: flex"][style*="justify-content: center"][style*="flex-wrap: wrap"] > div {
    flex: 0 0 calc(50% - 8px) !important;
    padding: 25px 20px !important;
    min-height: 180px !important;
    border-radius: 15px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="display: flex"][style*="justify-content: center"][style*="flex-wrap: wrap"] > div img {
    width: 45px !important;
    height: 45px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="display: flex"][style*="justify-content: center"][style*="flex-wrap: wrap"] > div h3 {
    font-size: 1rem !important;
    line-height: 1.3 !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="display: flex"][style*="justify-content: center"][style*="flex-wrap: wrap"] > div a[style*="width: 40px"][style*="height: 40px"] {
    width: 32px !important;
    height: 32px !important;
  }

  /* ==========================================
     QUICK STATS CARDS - ENSURE EQUAL HEIGHT
     ========================================== */
  /* Quick Stats section - 2 columns on mobile */
  section[style*="padding: 60px 0"][style*="background: white"] > div[class="container"] > div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  /* All quick stats cards - equal height */
  section[style*="padding: 60px 0"][style*="background: white"] > div[class="container"] > div[style*="grid-template-columns: repeat(4"] > div {
    min-height: 180px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  /* Quick Stats - Scholarship card */
  section[style*="padding: 60px 0"][style*="background: white"] > div[class="container"] > div[style*="grid-template-columns: repeat(4"] > div[style*="background: linear-gradient(135deg, #ff3366"] {
    padding: 25px 15px !important;
  }

  section[style*="padding: 60px 0"][style*="background: white"] > div[class="container"] > div[style*="grid-template-columns: repeat(4"] > div[style*="background: linear-gradient(135deg, #ff3366"] h3 {
    font-size: 1.3rem !important;
    margin-bottom: 10px !important;
  }

  section[style*="padding: 60px 0"][style*="background: white"] > div[class="container"] > div[style*="grid-template-columns: repeat(4"] > div[style*="background: linear-gradient(135deg, #ff3366"] a {
    font-size: 12px !important;
    padding: 8px 18px !important;
  }

  /* MCA Program Highlights And Advantages - 2 cards per row on mobile */
  section[style*="padding: 80px 0"][style*="background: #f5f5f5"] > div > div[style*="display: flex"][style*="justify-content: space-between"] {
    flex-direction: column !important;
    gap: 15px !important;
    margin-bottom: 25px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f5f5f5"] > div > div[style*="display: flex"][style*="justify-content: space-between"] h2 {
    font-size: 1.5rem !important;
    text-align: center !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f5f5f5"] > div > div[style*="display: flex"][style*="justify-content: space-between"] p {
    max-width: 100% !important;
    text-align: center !important;
    font-size: 0.85rem !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f5f5f5"] > div > hr {
    margin-bottom: 25px !important;
  }

  /* MCA Program Highlights cards grid - 2 per row */
  section[style*="padding: 80px 0"][style*="background: #f5f5f5"] > div > div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f5f5f5"] > div > div[style*="grid-template-columns: repeat(4"] > div > div[style*="height: 240px"] {
    height: 160px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f5f5f5"] > div > div[style*="grid-template-columns: repeat(4"] > div > div:last-child {
    padding: 15px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f5f5f5"] > div > div[style*="grid-template-columns: repeat(4"] > div h3 {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f5f5f5"] > div > div[style*="grid-template-columns: repeat(4"] > div p {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
  }

  /* MCA Eligibility Criteria - make more concise on mobile */
  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 60px"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Eligibility heading */
  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: 1fr 1fr"] > div > div[style*="display: flex"][style*="align-items: center"][style*="gap: 15px"] {
    margin-bottom: 20px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: 1fr 1fr"] > div > div[style*="display: flex"][style*="align-items: center"][style*="gap: 15px"] svg {
    width: 35px !important;
    height: 35px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: 1fr 1fr"] > div > div[style*="display: flex"][style*="align-items: center"][style*="gap: 15px"] h2 {
    font-size: 1.5rem !important;
  }

  /* Eligibility list items */
  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: 1fr 1fr"] > div > div > div[style*="display: flex"][style*="gap: 15px"] {
    margin-bottom: 15px !important;
    gap: 10px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: 1fr 1fr"] > div > div > div[style*="display: flex"][style*="gap: 15px"] svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: 1fr 1fr"] > div > div > div[style*="display: flex"][style*="gap: 15px"] p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  /* Eligibility category boxes */
  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: 1fr 1fr"] > div > div[style*="background: #1e3a8a"] {
    padding: 12px 15px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: 1fr 1fr"] > div > div[style*="background: #1e3a8a"] h3 {
    font-size: 1.3rem !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: 1fr 1fr"] > div > div[style*="background: white"][style*="padding: 30px"] {
    padding: 15px !important;
    margin-bottom: 20px !important;
  }

  /* MBA "Lead the Future" section - single column on mobile */
  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* MBA Lead the Future cards */
  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(2, 1fr)"] > div {
    padding: 20px !important;
    gap: 15px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(2, 1fr)"] > div > div[style*="width: 70px"][style*="height: 70px"] {
    width: 50px !important;
    height: 50px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(2, 1fr)"] > div > div[style*="width: 70px"] img {
    width: 30px !important;
    height: 30px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(2, 1fr)"] > div h5 {
    font-size: 1.05rem !important;
    margin-bottom: 8px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(2, 1fr)"] > div p,
  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(2, 1fr)"] > div div {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(2, 1fr)"] > div ul {
    padding-left: 15px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(2, 1fr)"] > div ul li {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 5px !important;
  }
}

/* ================================
   SMALL MOBILE (up to 480px)
   ================================ */
@media (max-width: 480px) {
  :root {
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
  }
  
  .container {
    padding: 0 0.875rem;
    max-width: 100%;
  }

  .programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.35rem;
  }
  
  /* Hero Section */
  .hero h1,
  .hero .hero-grid > div:first-child > h1 {
    font-size: 1.5rem !important;
  }
  
  .hero h1 span[style*="border"] {
    padding: 3px 10px !important;
    font-size: 1.35rem !important;
  }
  
  .hero p {
    font-size: 0.9rem !important;
  }
  
  .hero-program-card {
    width: 75px !important;
  }
  
  .hero-program-card img {
    height: 55px !important;
  }
  
  .hero-program-card h4 {
    font-size: 0.7rem !important;
  }
  
  /* CTA Buttons - Stack on very small screens */
  .hero .hero-grid > div:first-child > div:nth-child(5),
  .hero > .container > div > div:first-child > div:nth-child(5) {
    flex-direction: column !important;
    gap: 0.625rem !important;
  }
  
  .hero .hero-grid > div:first-child > div:nth-child(5) a,
  .hero > .container > div > div:first-child > div:nth-child(5) a {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
  }
  
  /* Features - wrap properly */
  .hero .hero-grid > div:first-child > div:nth-child(6),
  .hero > .container > div > div:first-child > div:nth-child(6) {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  
  /* Section Titles */
  .section-title h2 {
    font-size: 1.35rem;
  }
  
  .section-title p {
    font-size: 0.85rem;
  }
  
  /* Program Cards */
  .program-card-new {
    flex: 0 0 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
  }
  
  .program-card-new h3 {
    font-size: 0.95rem !important;
  }
  
  /* Programs section subtitle - even smaller on extra small screens */
  #programs .container > div:first-child p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }
  
  /* Filter buttons - ensure they work on small screens */
  .filter-btn-new {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Category tabs - ensure they work on small screens */
  .category-tab {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  
  /* Collaboration Badge - Extra Small Screens */
  .collaboration-badge {
    font-size: 0.65rem !important;
    gap: 0.25rem !important;
  }
  
  .collaboration-badge span {
    font-size: 0.65rem !important;
  }
  
  .collaboration-badge img {
    height: 12px !important;
    max-width: 70px !important;
  }
  
  /* Why Amity Cards */
  .why-card {
    flex: 0 0 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    padding: 20px 16px !important;
  }
  
  .why-card h3 {
    font-size: 1rem !important;
  }
  
  .why-card p {
    font-size: 0.8rem !important;
  }
  
  /* Career Services */
  .career-services > .container > div > div[style*="flex: 0 0 calc(25%"] {
    flex: 0 0 250px !important;
    min-width: 250px !important;
  }
  
  /* Testimonial Cards */
  .testimonial-card {
    min-width: 260px !important;
    padding: 1rem !important;
  }
  
  /* CTA Section */
  section[style*="background: white"][style*="padding: 60px"] > .container > div[style*="background: #1e4d8b"] h2 {
    font-size: 1.35rem !important;
    line-height: 1.4 !important;
  }
  
  section[style*="background: white"][style*="padding: 60px"] > .container > div[style*="background: #1e4d8b"] a {
    padding: 12px 35px !important;
    font-size: 1rem !important;
  }
  
  /* Brand logos */
  .brand-logo-item {
    width: 110px !important;
    height: 60px !important;
    padding: 10px !important;
  }
  
  section[style*="background: #f8f9fa"][style*="padding: 80px"] h2 {
    font-size: 1.1rem !important;
  }
  
  /* Buttons */
  .btn {
    padding: 11px 22px;
    font-size: 0.875rem;
  }
  
  /* Footer */
  .footer-section h3 {
    font-size: 1rem !important;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 0.85rem !important;
  }
  
  .footer-bottom p {
    font-size: 0.75rem !important;
  }
  
  /* Modals */
  #applyNowModal > div,
  #enquireNowModal > div,
  #downloadBrochureModal > div {
    width: 95% !important;
    margin: 5% auto !important;
  }
  
  #applyNowModal > div > div > div:last-child,
  #enquireNowModal > div > div > div:last-child,
  #downloadBrochureModal > div > div > div:last-child {
    padding: 25px 16px !important;
  }
  
  #applyNowModal h2,
  #enquireNowModal h2,
  #downloadBrochureModal h2 {
    font-size: 1.4rem !important;
  }
  
  /* Forms - prevent iOS zoom */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
    -webkit-appearance: none;
  }
  
  /* Share Modal */
  #shareModal > div > div[style*="grid-template-columns"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  
  #shareModal button[style*="padding: 15px"] {
    padding: 10px !important;
  }
  
  #shareModal button span {
    font-size: 10px !important;
  }
  
  /* Floating buttons */
  .floating-icons,
  div[style*="position: fixed"][style*="right: 20px"][style*="top: 50%"] {
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
  }
  
  .floating-icons a,
  div[style*="position: fixed"][style*="right: 20px"] a {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }
  
  /* Top Banner */
  div[style*="background: var(--navy-blue)"][style*="text-align: center"] {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }
  
  /* ================================
     NEXT-GEN LEARNING - SMALL MOBILE
     ================================ */
  .nextgen-learning h2,
  section[class*="nextgen-learning"] > .container > h2 {
    font-size: 1.3rem !important;
  }
  
  .nextgen-learning > .container > div[style*="background: linear-gradient"] {
    padding: 20px 15px !important;
  }
  
  .nextgen-learning > .container > div > div > div[style*="background: white"] {
    padding: 15px 12px !important;
  }
  
  .nextgen-learning > .container > div > div > div > div > i {
    font-size: 20px !important;
  }
  
  .nextgen-learning > .container > div > div > div > div > h3 {
    font-size: 13px !important;
  }
  
  /* ================================
     REVIEWS - SMALL MOBILE
     ================================ */
  .testimonials h2,
  section[class*="testimonials"] > .container > h2 {
    font-size: 1.3rem !important;
  }
  
  .review-card {
    flex: 0 0 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    min-height: 350px !important;
    padding: 18px !important;
  }
  
  .review-card.video-card {
    min-height: 280px !important;
  }
  
  .review-card img[style*="width: 60px"] {
    width: 45px !important;
    height: 45px !important;
  }
  
  .review-card h3[style*="font-size: 18px"] {
    font-size: 15px !important;
  }
  
  .review-card p[style*="font-size: 14px"][style*="line-height: 1.7"] {
    font-size: 12px !important;
    -webkit-line-clamp: 6 !important;
  }
  
  /* ================================
     FAQ - SMALL MOBILE
     ================================ */
  section > .container > div > div[style*="background: white"][style*="padding: 50px"] {
    padding: 20px 15px !important;
  }
  
  section > .container > div > div > h2[style*="font-size: 36px"] {
    font-size: 1.25rem !important;
  }
  
  .faq-tab-btn,
  section > .container > div > div > div > button[style*="padding: 12px 28px"] {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }
  
  .faq-item span[style*="font-size: 16px"] {
    font-size: 13px !important;
  }
  
  .faq-item .faq-answer,
  .faq-item > div[style*="padding-top: 15px"] {
    font-size: 12px !important;
  }
  
  /* Side Apply Form */
  section > .container > div > div[style*="background: #1e3a8a"] {
    padding: 20px 15px !important;
  }
  
  section > .container > div > div[style*="background: #1e3a8a"] h2 {
    font-size: 1.2rem !important;
  }
  
  /* Modals 480px */
  #reviewModal > div {
    padding: 20px 15px !important;
  }
  
  #reviewModal h3[id="modalReviewerName"] {
    font-size: 1rem !important;
  }
  
  #reviewModal div[id="modalReviewText"] {
    font-size: 0.85rem !important;
  }

  /* Quick Stats Cards - adjusted for 480px */
  .flip-card {
    height: 180px !important;
  }

  section[style*="padding: 60px 0"][style*="background: white"] > div > div[style*="grid-template-columns: repeat(4"] > div[style*="background: linear-gradient(135deg, #ff3366"] h3 {
    font-size: 1.5rem !important;
  }

  .flip-card-front h3 {
    font-size: 2rem !important;
  }

  .flip-card-front p {
    font-size: 0.9rem !important;
  }

  .flip-card-back p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  /* Admission process - even more compact on small screens */
  section > div > div[style*="grid-template-columns: repeat(5"] > div {
    padding: 12px !important;
    gap: 12px !important;
  }

  section > div > div[style*="grid-template-columns: repeat(5"] > div > div img {
    width: 50px !important;
    height: 50px !important;
  }

  section > div > div[style*="grid-template-columns: repeat(5"] > div h3 {
    font-size: 0.9rem !important;
  }

  section > div > div[style*="grid-template-columns: repeat(5"] > div p {
    font-size: 0.75rem !important;
  }

  /* Job roles - more compact */
  section > div > div[style*="grid-template-columns: repeat(3"] > div > div:first-child {
    padding: 15px !important;
  }

  section > div > div[style*="grid-template-columns: repeat(3"] > div > div:first-child h3 {
    font-size: 1.2rem !important;
  }

  section > div > div[style*="grid-template-columns: repeat(3"] > div > div:last-child {
    padding: 15px 12px !important;
  }

  section > div > div[style*="grid-template-columns: repeat(3"] > div > div:last-child ul {
    gap: 10px !important;
  }

  section > div > div[style*="grid-template-columns: repeat(3"] > div > div:last-child ul li span {
    font-size: 0.8rem !important;
  }

  /* Fee Structure - smaller on 480px */
  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div {
    padding: 15px 10px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div p {
    font-size: 0.75rem !important;
    margin-bottom: 10px !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div h3 {
    font-size: 1.3rem !important;
  }

  section[style*="padding: 80px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div img {
    width: 50px !important;
  }

  /* Why Say Yes - even smaller on 480px */
  section[style*="padding: 60px 0"][style*="background: white"] > div > div[style*="grid-template-columns: repeat(4"] > div {
    padding: 15px 10px !important;
  }

  section[style*="padding: 60px 0"][style*="background: white"] > div > div[style*="grid-template-columns: repeat(4"] > div > div img {
    max-width: 35px !important;
    max-height: 35px !important;
  }

  section[style*="padding: 60px 0"][style*="background: white"] > div > div[style*="grid-template-columns: repeat(4"] > div h3 {
    font-size: 0.8rem !important;
  }

  section[style*="padding: 60px 0"][style*="background: white"] > div > div[style*="grid-template-columns: repeat(4"] > div p {
    font-size: 0.7rem !important;
  }

  /* Testimonials - even smaller on 480px */
  .testimonial-slide,
  div[class="testimonial-slide"] {
    flex: 0 0 90% !important;
    min-width: 90% !important;
    padding: 15px !important;
  }

  .testimonial-slide img,
  div[class="testimonial-slide"] img {
    width: 45px !important;
    height: 45px !important;
  }

  .testimonial-slide h4,
  div[class="testimonial-slide"] h4 {
    font-size: 14px !important;
  }

  .testimonial-text,
  div[class="testimonial-text"] {
    max-height: 90px !important;
    font-size: 12px !important;
  }

  /* Program Related Specializations - even smaller on 480px */
  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div {
    padding: 20px 15px !important;
    min-height: 160px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div img {
    width: 40px !important;
    height: 40px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div h3 {
    font-size: 0.9rem !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div div[style*="width: 40px"][style*="height: 40px"],
  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="grid-template-columns: repeat(4"] > div div[style*="width: 32px"][style*="height: 32px"] {
    width: 28px !important;
    height: 28px !important;
  }

  /* BBA specializations - even smaller on 480px */
  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="display: flex"][style*="justify-content: center"][style*="flex-wrap: wrap"] > div {
    flex: 0 0 calc(50% - 8px) !important;
    padding: 20px 15px !important;
    min-height: 160px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="display: flex"][style*="justify-content: center"][style*="flex-wrap: wrap"] > div img {
    width: 40px !important;
    height: 40px !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="display: flex"][style*="justify-content: center"][style*="flex-wrap: wrap"] > div h3 {
    font-size: 0.9rem !important;
  }

  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="display: flex"][style*="justify-content: center"][style*="flex-wrap: wrap"] > div a[style*="width: 40px"][style*="height: 40px"],
  section[style*="padding: 60px 0"][style*="background: #f9fafb"] > div > div[style*="display: flex"][style*="justify-content: center"][style*="flex-wrap: wrap"] > div a[style*="width: 32px"][style*="height: 32px"] {
    width: 28px !important;
    height: 28px !important;
  }
}

/* ================================
   EXTRA SMALL MOBILE (up to 360px)
   ================================ */
@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }
  
  h1 {
    font-size: 1.35rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  
  .hero h1,
  .hero .hero-grid > div:first-child > h1 {
    font-size: 1.35rem !important;
  }
  
  .hero h1 span[style*="border"] {
    padding: 2px 8px !important;
    font-size: 1.2rem !important;
  }
  
  .hero p {
    font-size: 0.85rem !important;
  }
  
  .hero-program-card {
    width: 68px !important;
  }
  
  .hero-program-card img {
    height: 50px !important;
  }
  
  .hero-program-card h4 {
    font-size: 0.65rem !important;
  }
  
  .program-card-new {
    flex: 0 0 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
  }
  
  .why-card {
    flex: 0 0 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
  }
  
  .testimonial-card {
    min-width: 240px !important;
  }
  
  .logo img {
    height: 35px !important;
  }
  
  .mobile-enquire-btn {
    font-size: 0.75rem !important;
    padding: 6px 12px !important;
  }
  
  /* ================================
     NEXT-GEN, REVIEWS, FAQ - EXTRA SMALL
     ================================ */
  .nextgen-learning h2 {
    font-size: 1.2rem !important;
  }
  
  .nextgen-learning > .container > div > div > div[style*="background: white"] {
    padding: 12px 10px !important;
    gap: 10px !important;
  }
  
  .nextgen-learning > .container > div > div > div > div > h3 {
    font-size: 12px !important;
  }
  
  .testimonials h2 {
    font-size: 1.2rem !important;
  }
  
  .review-card {
    flex: 0 0 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    min-height: 320px !important;
    padding: 15px !important;
  }
  
  .review-card.video-card {
    min-height: 250px !important;
  }
  
  section > .container > div > div > h2[style*="font-size: 36px"] {
    font-size: 1.15rem !important;
  }
  
  .faq-tab-btn {
    padding: 7px 12px !important;
    font-size: 0.75rem !important;
  }
  
  .faq-item span[style*="font-size: 16px"] {
    font-size: 12px !important;
  }
  
  div[style*="position: fixed"][style*="right: 30px"][style*="bottom: 40px"] a {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }
}

/* ================================
   MBA/BBA PAGE RESPONSIVE STYLES
   ================================ */
   
@media (max-width: 991px) {
  /* Hero Banner with form */
  section[style*="background-image"] > .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  section[style*="background-image"] h1 {
    font-size: 2rem !important;
  }
  
  /* Quick Stats Cards Grid */
  section[style*="padding: 60px"] > .container > div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  
  .flip-card {
    height: 200px !important;
  }
}

@media (max-width: 768px) {
  /* MBA/BBA Hero Banner */
  section[style*="mba-hero-bg"],
  section[style*="bba-hero-bg"],
  section[style*="background-image"][style*="cover"] {
    padding: 30px 0 !important;
  }
  
  section[style*="background-image"] h1 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
  }
  
  section[style*="background-image"] .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Hero Form */
  section[style*="background-image"] > .container > div > div:last-child {
    padding: 25px !important;
    border-radius: 16px !important;
  }
  
  section[style*="background-image"] > .container > div > div:last-child h2 {
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
  }
  
  /* Stats Cards */
  section[style*="padding: 60px"] > .container > div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  
  .flip-card {
    height: 180px !important;
  }
  
  .flip-card h3 {
    font-size: 1.1rem !important;
  }
  
  /* Program Overview Grid */
  section > .container > div[style*="display: grid"][style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Two Column Grids */
  section > .container > div[style*="display: grid"][style*="repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Sticky Form */
  .sticky-form {
    position: relative !important;
    top: 0 !important;
  }
  
  /* Experience/Gallery Cards */
  div[style*="display: grid"][style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  
  .experience-card img {
    height: 150px !important;
  }
  
  /* Admission Steps */
  .step-indicator {
    padding-left: 50px !important;
  }
  
  .step-number {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
  }
  
  /* Specialization Cards */
  .specialization-card {
    padding: 20px !important;
  }
  
  .specialization-card h3 {
    font-size: 1.1rem !important;
  }
  
  /* QS Badge */
  div[style*="display: inline-flex"][style*="box-shadow"] {
    flex-direction: column !important;
    text-align: center !important;
    padding: 15px !important;
  }
  
  div[style*="display: inline-flex"][style*="box-shadow"] img {
    margin: 0 auto 10px !important;
  }
  
  /* Sticky CTA Bar */
  .sticky-cta-bar .container {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .sticky-cta-bar .btn {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  /* MBA/BBA Hero */
  section[style*="background-image"] h1 {
    font-size: 1.5rem !important;
  }
  
  section[style*="background-image"] > .container > div > div:first-child > div[style*="backdrop-filter"] {
    font-size: 11px !important;
    padding: 5px 12px !important;
  }
  
  /* Stats Cards - Single Column on small mobile */
  section[style*="padding: 60px"] > .container > div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  
  .flip-card {
    height: 160px !important;
  }
  
  /* Experience Grid */
  div[style*="display: grid"][style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  
  .experience-card img {
    height: 200px !important;
  }
  
  /* Download Brochure Button */
  section[style*="background-image"] a[style*="display: flex"][style*="gap: 8px"] {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
  }
  
  /* Form inputs */
  section[style*="background-image"] input,
  section[style*="background-image"] select {
    padding: 10px !important;
    font-size: 14px !important;
  }
}

/* ================================
   UTILITY MOBILE CLASSES
   ================================ */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
  
  .show-mobile {
    display: block !important;
  }
  
  .text-center-mobile {
    text-align: center !important;
  }
  
  .full-width-mobile {
    width: 100% !important;
  }
  
  /* Hide decorative elements on mobile */
  div[style*="position: absolute"][style*="opacity: 0."] {
    display: none !important;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Spinner */
.spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--gold);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ================================
   TOUCH-FRIENDLY & ACCESSIBILITY
   ================================ */

/* Improve tap targets for mobile */
@media (max-width: 768px) {
  .btn,
  button,
  [role="button"],
  a.nav-link,
  .carousel-arrow,
  .testimonial-arrow {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Improve touch scrolling */
  .programs-carousel-inner,
  .why-amity-carousel-inner,
  .brand-logos-container {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }
  
  .program-card,
  .why-amity-card,
  .testimonial-slide {
    scroll-snap-align: start;
  }
  
  /* Prevent text selection on buttons */
  .btn,
  button,
  .carousel-arrow {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Reduce motion for accessibility */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
  
  /* Focus states for accessibility */
  a:focus,
  button:focus,
  input:focus,
  select:focus,
  textarea:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }
  
  /* Fix iOS button appearance */
  input[type="submit"],
  input[type="button"],
  button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  
  /* Improve form inputs on mobile */
  input,
  select,
  textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
    -webkit-appearance: none;
    border-radius: 4px;
  }
}

/* ================================
   SAFE AREA INSETS (for notched phones)
   ================================ */
@supports (padding: max(0px)) {
  @media (max-width: 768px) {
    .header {
      padding-left: max(var(--spacing-sm), env(safe-area-inset-left));
      padding-right: max(var(--spacing-sm), env(safe-area-inset-right));
    }
    
    footer {
      padding-bottom: max(var(--spacing-lg), env(safe-area-inset-bottom));
    }
    
    .floating-enquiry-btn,
    .whatsapp-btn,
    .call-btn {
      margin-bottom: max(20px, env(safe-area-inset-bottom));
    }
  }
}

/* ================================
   LANDSCAPE ORIENTATION FIXES
   ================================ */
@media (max-width: 900px) and (orientation: landscape) {
  .hero-section {
    min-height: auto !important;
    padding: 60px 0 !important;
  }
  
  .hero-section h1 {
    font-size: 1.8rem !important;
  }
  
  .modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    height: 60vh;
    overflow-y: auto;
  }
}

/* ================================
   HIGH RESOLUTION DISPLAY FIXES
   ================================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .header {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
  }
  
  .btn {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

/* ================================
   DARK MODE SUPPORT (Optional)
   ================================ */
@media (prefers-color-scheme: dark) {
  /* Uncomment below if you want to support dark mode */
  /*
  :root {
    --navy-blue: #1a4fa0;
    --white: #1a1a1a;
    --light-gray: #2a2a2a;
    --dark-gray: #e0e0e0;
    --text-gray: #cccccc;
    --border-color: #444444;
  }
  
  body {
    background: #121212;
    color: #e0e0e0;
  }
  */
}

/* ================================
   PRINT STYLES
   ================================ */
@media print {
  .header,
  .floating-enquiry-btn,
  .whatsapp-btn,
  .call-btn,
  .modal,
  .carousel-arrow,
  .hamburger,
  .mobile-enquire-btn,
  .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
}

/* ================================
   CAROUSEL DRAG STATE
   ================================ */
.active-dragging {
  cursor: grabbing !important;
  scroll-behavior: auto !important;
}

.programs-carousel-inner,
.why-amity-carousel-inner,
.testimonials-slider,
.brand-logos-container {
  cursor: grab;
}

.programs-carousel-inner:active,
.why-amity-carousel-inner:active,
.testimonials-slider:active,
.brand-logos-container:active {
  cursor: grabbing;
}

/* ================================
   MOBILE VIEWPORT HEIGHT FIX
   ================================ */
@media (max-width: 768px) {
  .hero-section,
  .modal-content,
  .nav-menu.active {
    max-height: calc(var(--vh, 1vh) * 100);
  }
  
  .nav-menu.active {
    height: calc(var(--vh, 1vh) * 100 - 60px);
  }
}

/* ================================
   MOBILE SKELETON LOADER
   ================================ */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ================================
   MOBILE RIPPLE EFFECT FOR BUTTONS
   ================================ */
@media (max-width: 768px) {
  .btn {
    position: relative;
    overflow: hidden;
  }
  
  .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }
  
  .btn:active::after {
    width: 300px;
    height: 300px;
  }
}
