/* ==========================================================================
   D. Y. PATIL ONLINE MBA - HIGH FIDELITY STYLESHEET
   Matching screenshot-website.png with full Mobile & Tablet Responsiveness
   ========================================================================== */

:root {
  --primary-maroon: #97224a;
  --dark-maroon: #751433;
  --deep-maroon: #85183d;
  --hero-crimson: #c81e4b;
  --form-crimson: #e4325c;
  --form-btn-border: #d82344;
  --navy-ticker: #002b5c;
  --green-highlight: #1bc458;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-subtle: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 35px rgba(0, 0, 0, 0.18);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.25s ease;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.text-center {
  text-align: center;
}

.text-white {
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Main Header
   -------------------------------------------------------------------------- */
.main-header {
  background-color: #ffffff;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area .main-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.accreditation-logos .ugc-aicte-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.phone-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phone-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--deep-maroon), var(--dark-maroon));
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 8px rgba(133, 24, 61, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.phone-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(133, 24, 61, 0.35);
}

.phone-note {
  display: block;
  font-size: 0.675rem;
  font-weight: 600;
  color: #c81e4b;
  margin-top: 4px;
  line-height: 1.2;
  letter-spacing: 0.1px;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background-color: #2b2f38;
  background-image: url('images/mbanner.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 45px 0 55px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 620px;
  color: #ffffff;
}

.scholarship-alert {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.scholarship-amount {
  color: #00e676;
  font-weight: 800;
  font-size: 1.3rem;
  display: inline-block;
  padding: 0 4px;
  animation: scholarshipPulse 1.8s ease-in-out infinite;
  transform-origin: center center;
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.55), 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

@keyframes scholarshipPulse {
  0%, 100% {
    transform: scale(1);
    color: #00e676;
    text-shadow: 0 0 8px rgba(0, 230, 118, 0.4), 0 2px 4px rgba(0, 0, 0, 0.6);
  }
  50% {
    transform: scale(1.15);
    color: #39ff94;
    text-shadow: 0 0 18px rgba(0, 230, 118, 0.9), 0 0 28px rgba(0, 230, 118, 0.5);
  }
}

.program-badge-title {
  margin-bottom: 8px;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--hero-crimson);
  color: #ffffff;
  font-size: 2.15rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(200, 30, 75, 0.4);
}

.ai-badge .cap-icon {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  margin-top: 6px;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.admissions-pill {
  display: inline-block;
  padding: 7px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------------------
   Enquiry Form & Modal - Modern Redesigned UI
   -------------------------------------------------------------------------- */
.hero-form-wrapper {
  width: 390px;
  flex-shrink: 0;
}

/* Card container overriding inline styles */
.hero-form-wrapper > div {
  background: #ffffff !important;
  padding: 28px 24px 22px !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: box-shadow 0.3s ease;
}

.hero-form-wrapper > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #87193f 0%, #c81e4b 50%, #f43f5e 100%);
}

.hero-form-wrapper h5 {
  font-family: inherit;
  font-weight: 800 !important;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 18px !important;
  font-size: 1.35rem !important;
  color: #0f172a !important;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Remove clumsy <br> spacing from form markup */
.hero-form-wrapper br {
  display: none;
}

/* Form Labels */
.hero-form-wrapper label,
.modal-container label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  margin-top: 6px;
  margin-bottom: 5px;
}

.hero-form-wrapper label p,
.modal-container label p {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}

/* Form Inputs & Selects */
.form-group1 {
  margin-bottom: 12px;
}

.textinput,
.selectinput {
  width: 100%;
  height: 48px;
  padding: 10px 14px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  margin-bottom: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: #0f172a;
  background-color: #f8fafc !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  font-family: inherit;
}

/* Elegant Input Icons (SVG Vector Backgrounds) */
input[name="first_name"].textinput {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E") !important;
  background-position: left 14px center !important;
  background-size: 17px 17px !important;
  background-repeat: no-repeat !important;
  padding-left: 44px !important;
}

input[name="first_name"].textinput:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2387193f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E") !important;
}

input[name="mobile"].textinput {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E") !important;
  background-position: left 14px center !important;
  background-size: 17px 17px !important;
  background-repeat: no-repeat !important;
  padding-left: 44px !important;
}

input[name="mobile"].textinput:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2387193f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E") !important;
}

input[name="email"].textinput {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-position: left 14px center !important;
  background-size: 17px 17px !important;
  background-repeat: no-repeat !important;
  padding-left: 44px !important;
}

input[name="email"].textinput:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2387193f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

select[name="state"].selectinput {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-position: left 14px center, right 14px center !important;
  background-size: 17px 17px, 15px 15px !important;
  background-repeat: no-repeat, no-repeat !important;
  padding-left: 44px !important;
  padding-right: 38px !important;
  cursor: pointer;
}

select[name="state"].selectinput:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2387193f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2387193f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
}

select[name="program"].selectinput {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10v6M2 10l10-5 10 5-10 5z'%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'%3E%3C/path%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-position: left 14px center, right 14px center !important;
  background-size: 17px 17px, 15px 15px !important;
  background-repeat: no-repeat, no-repeat !important;
  padding-left: 44px !important;
  padding-right: 38px !important;
  cursor: pointer;
}

select[name="program"].selectinput:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2387193f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10v6M2 10l10-5 10 5-10 5z'%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'%3E%3C/path%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2387193f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
}

.textinput:hover,
.selectinput:hover {
  border-color: #cbd5e1 !important;
  background-color: #ffffff !important;
}

.textinput:focus,
.selectinput:focus {
  border-color: #87193f !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(135, 25, 63, 0.12) !important;
  outline: none !important;
}

.textinput::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* Submit Buttons */
#leadform1,
#leadform {
  width: 100%;
  height: 50px;
  padding: 0 20px !important;
  margin-top: 14px;
  background: linear-gradient(135deg, #87193f 0%, #c81e4b 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 10px 24px -4px rgba(135, 25, 63, 0.42), 0 4px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

#leadform1:hover,
#leadform:hover {
  background: linear-gradient(135deg, #700f33 0%, #b31640 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(135, 25, 63, 0.55);
}

#leadform1:active,
#leadform:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(135, 25, 63, 0.3);
}

/* Security Notice */
.security-notice {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #a7f3d0;
  text-align: center;
  padding: 10px 14px;
  border-radius: 10px;
  margin: 16px 0 12px !important;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.06);
}

.security-notice span {
  font-size: 12.5px;
  color: #065f46;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.security-notice span i {
  color: #10b981;
  font-size: 13px;
}

/* Modal Window Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
  box-sizing: border-box;
}

.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
  padding: 20px 22px 18px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.modal-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #87193f 0%, #c81e4b 50%, #f43f5e 100%);
  border-radius: 20px 20px 0 0;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-container::-webkit-scrollbar {
  width: 6px;
}

.modal-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}

.modal-header {
  display: flex;
  justify-content: space-between !important;
  flex-direction: row;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.modal-title {
  font-size: 1.3rem;
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0;
}

.modal-close {
  background: #f1f5f9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg) scale(1.08);
}

/* Compact Modal Field Spacing */
.modal-container .form-group1 {
  margin-bottom: 8px;
}

.modal-container .textinput,
.modal-container .selectinput {
  height: 44px;
  margin-bottom: 0 !important;
}

.modal-container label {
  margin-top: 4px;
  margin-bottom: 3px;
}

.modal-container label p {
  margin-bottom: 2px;
}

.modal-container .security-notice {
  margin: 8px 0 6px !important;
  padding: 7px 12px;
}

.modal-container #leadform1 {
  margin-top: 8px;
  height: 46px;
}

/* Responsive Form Adjustments */
@media (max-width: 768px) {
  .hero-form-wrapper {
    width: 100%;
    max-width: 460px;
    margin: 20px auto 0;
  }

  .hero-form-wrapper > div {
    padding: 22px 18px 18px !important;
    border-radius: 14px !important;
  }

  .modal-container {
    width: 100%;
    max-width: 440px;
    padding: 22px 18px 18px;
    border-radius: 16px;
  }

  .modal-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-form-wrapper > div {
    padding: 18px 14px 16px !important;
  }

  .modal-container {
    padding: 18px 14px 16px;
  }

  .textinput,
  .selectinput {
    height: 46px;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-right: 12px !important;
    font-size: 14px;
    border-radius: 10px !important;
  }

  input[name="first_name"].textinput,
  input[name="mobile"].textinput,
  input[name="email"].textinput,
  select[name="state"].selectinput,
  select[name="program"].selectinput {
    padding-left: 42px !important;
  }

  #leadform1,
  #leadform {
    height: 48px;
    font-size: 14.5px !important;
    border-radius: 10px !important;
  }
}


.terms-text {
  font-size: 0.7rem;
  color: #475569;
  line-height: 1.35;
}

.error-msg {
  display: none;
  font-size: 0.72rem;
  color: #dc2626;
  margin-top: 3px;
}

.submit-btn {
  width: 100%;
  padding: 10px 0;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.submit-btn:hover {
  background-color: var(--form-crimson);
  color: #ffffff;
  border-color: var(--form-crimson);
  box-shadow: 0 4px 12px rgba(228, 50, 92, 0.3);
}

/* --------------------------------------------------------------------------
   Eligibility Strip
   -------------------------------------------------------------------------- */
.eligibility-strip {
  background: linear-gradient(90deg, #951b44 0%, #bd204f 100%);
  color: #ffffff;
  padding: 10px 0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.eligibility-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.eligibility-badge {
  background-color: #701031;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.eligibility-text {
  font-size: 0.95rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Section Heading Component
   -------------------------------------------------------------------------- */
.section-heading-wrapper {
  margin-bottom: 35px;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: #1e293b;
  display: inline-block;
  position: relative;
  line-height: 1.3;
}

.highlight-underline {
  position: relative;
  display: inline-block;
}

.curve-line {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: -10px;
  pointer-events: none;
  height: 10px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Ranked and Accredited Section
   -------------------------------------------------------------------------- */
.accreditations-section {
  padding: 55px 0 45px;
  background-color: #ffffff;
}

.accreditations-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.accreditation-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 180px;
}

.accreditation-img-box {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.accreditation-img-box img {
  max-height: 75px;
  max-width: 140px;
  object-fit: contain;
}

.accreditation-label strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
}

.accreditation-label span {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   AI Tools Covered Section (Interactive Carousel)
   -------------------------------------------------------------------------- */
.ai-tools-section {
  background: linear-gradient(135deg, #87193f 0%, #aa1f4d 100%);
  padding: 55px 0 50px;
  position: relative;
}

.ai-tools-carousel-container {
  position: relative;
}

.ai-tools-carousel-wrapper {
  position: relative;
  margin-bottom: 25px;
  padding: 0 54px;
  overflow: visible;
}

.ai-tools-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 18px 6px 30px;
  cursor: grab;
  scrollbar-width: none;
  user-select: none;
}

.ai-tools-track::-webkit-scrollbar {
  display: none;
}

.ai-tools-track:active,
.ai-tools-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.ai-tool-column {
  flex: 0 0 calc(25% - 15px);
  min-width: 255px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ai-category-header {
  min-height: 48px;
  margin-bottom: 14px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.ai-category-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  transition: color 0.3s ease, transform 0.3s ease;
}

.ai-tool-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 24px 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 3.5px solid transparent;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.card-speech-arrow {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #ffffff;
  transition: border-bottom-color 0.35s ease, transform 0.35s ease;
}

/* =========================================
   STUNNING HOVER EFFECTS
   ========================================= */
.ai-tool-column:hover .ai-tool-card {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32), 0 0 15px rgba(228, 50, 92, 0.25);
  border-top: 3.5px solid #e4325c;
}

.ai-tool-column:hover .card-speech-arrow {
  border-bottom-color: #e4325c;
  transform: translateX(-50%) translateY(-2px);
}

.ai-tool-column:hover .ai-category-header h3 {
  color: #ffe4e6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.ai-tool-column:hover .check-icon {
  transform: scale(1.22);
  color: #e4325c;
}

.ai-tool-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-tool-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.825rem;
  line-height: 1.42;
  color: #334155;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ai-tool-column:hover .ai-tool-list li:hover {
  transform: translateX(4px);
  color: #0f172a;
}

.check-icon {
  color: #c81e4b;
  font-size: 1.05rem;
  margin-top: 2px;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Carousel Navigation Arrows */
.ai-carousel-arrow {
  position: absolute;
  top: calc(50% + 14px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #87193f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
  z-index: 15;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ai-carousel-arrow:hover {
  background-color: #e4325c;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(228, 50, 92, 0.45);
}

.ai-carousel-arrow.prev {
  left: 0;
}

.ai-carousel-arrow.next {
  right: 0;
}

@media (min-width: 1360px) {
  .ai-tools-carousel-wrapper {
    padding: 0;
  }

  .ai-carousel-arrow.prev {
    left: -54px;
  }

  .ai-carousel-arrow.next {
    right: -54px;
  }
}

@media (max-width: 991px) {
  .ai-tool-column {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  .ai-tools-carousel-wrapper {
    padding: 0;
  }

  .ai-tool-column {
    flex: 0 0 86%;
  }

  .ai-carousel-arrow {
    display: none;
  }
}

/* Slider Dots */
.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 25px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.dot.active {
  background-color: #ffffff;
  transform: scale(1.2);
}

.section-cta-center {
  text-align: center;
}

.btn-pill-white {
  display: inline-block;
  padding: 10px 32px;
  background-color: #ffffff;
  color: #a81d45;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1.5px solid #ffffff;
  transition: all 0.25s ease;
}

.btn-pill-white:hover {
  background-color: transparent;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Programme Features Section
   -------------------------------------------------------------------------- */
.programme-features-section {
  padding: 55px 0 45px;
  background-color: #ffffff;
  background-image: url('images/progBg.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.features-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  max-width: 1050px;
  margin: 0 auto;
}

.feature-col {
  display: flex;
  flex-direction: column;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.feature-check {
  color: #c81e4b;
  font-size: 1.25rem;
}

.feature-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
}

.feature-content {
  flex: 1;
  margin-bottom: 18px;
}

.feature-primary {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3px;
}

.feature-secondary {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.4;
}

.feature-underline {
  height: 2px;
  background-color: #334155;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Specializations Section (Interactive Left-to-Right Carousel)
   -------------------------------------------------------------------------- */
.specializations-section {
  background: #951b44;
  padding: 55px 0 50px;
  position: relative;
}

.specializations-carousel-wrapper {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 54px;
  overflow: visible;
}

.specializations-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  gap: 0;
  padding: 10px 0 20px;
}

.specializations-track::-webkit-scrollbar {
  display: none;
}

.specializations-track:active,
.specializations-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.specialization-slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 0 12px;
  box-sizing: border-box;
  display: block;
  /* All slides stay in flex flow */
}

.specializations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .specializations-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.specialization-card {
  color: #ffffff;
}

.spec-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-pill);
  padding: 6px 24px 6px 8px;
  margin-bottom: 20px;
  background-color: rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(4px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.spec-header-pill:hover {
  background-color: rgba(0, 0, 0, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.spec-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.spec-icon-box i {
  font-size: 1.25rem;
  color: #ffffff;
}

.spec-header-pill:hover .spec-icon-box {
  background-color: rgba(255, 255, 255, 0.32);
  transform: scale(1.08);
}

.spec-title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
}

.spec-body p {
  font-size: 0.885rem;
  line-height: 1.68;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.92);
}

/* Carousel Navigation Arrows for Specializations */
.spec-carousel-arrow {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #87193f;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
  z-index: 15;
}

.spec-carousel-arrow:hover {
  background-color: #e4325c;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(228, 50, 92, 0.45);
}

.spec-carousel-arrow.prev {
  left: 0;
}

.spec-carousel-arrow.next {
  right: 0;
}

@media (min-width: 1360px) {
  .specializations-carousel-wrapper {
    padding: 0;
  }

  .spec-carousel-arrow.prev {
    left: -54px;
  }

  .spec-carousel-arrow.next {
    right: -54px;
  }
}

@media (max-width: 600px) {
  .specializations-carousel-wrapper {
    padding: 0;
  }

  .spec-carousel-arrow {
    display: none;
  }
}

.specializations-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.specializations-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
}

.specializations-dots .dot:hover {
  background-color: rgba(255, 255, 255, 0.85);
}

.specializations-dots .dot.active {
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
  transform: scale(1.22);
}

/* --------------------------------------------------------------------------
   Career Support Section (Nurturing Career Dreams)
   -------------------------------------------------------------------------- */
.career-support-section {
  background-color: #f8fafc;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: 60px 0 50px;
}

.career-container {
  display: flex;
  align-items: center;
}

.career-left-col {
  width: 60%;
  max-width: 650px;
}

.career-right-col {
  width: 40%;
}

.career-left-col .section-heading-wrapper {
  margin-bottom: 30px;
}

.career-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 30px;
  margin-bottom: 35px;
}

.career-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.pillar-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--deep-maroon), var(--hero-crimson));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(133, 24, 61, 0.25);
}

.pillar-icon-wrapper img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.pillar-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.pillar-content p {
  font-size: 0.825rem;
  color: #64748b;
  line-height: 1.45;
}

.btn-solid-red {
  display: inline-block;
  padding: 11px 32px;
  background-color: #b91c44;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(185, 28, 68, 0.35);
  transition: all 0.25s ease;
}

.btn-solid-red:hover {
  background-color: #921434;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(185, 28, 68, 0.45);
}

/* --------------------------------------------------------------------------
   Admission Process Section
   -------------------------------------------------------------------------- */
.admission-process-section {
  background: linear-gradient(135deg, #87193f 0%, #aa1f4d 100%);
  padding: 55px 0 50px;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1050px;
  margin: 0 auto 30px;
}

.process-step-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.step-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #c21a46;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(194, 26, 70, 0.3);
}

.step-desc {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.5;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Sample Degree & edX Section
   -------------------------------------------------------------------------- */
.degree-edx-section {
  padding: 60px 0 55px;
  background-color: #ffffff;
}

.degree-edx-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.degree-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.certificate-display-box {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-width: 440px;
  width: 100%;
}

.sample-degree-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.edx-crimson-box {
  background: linear-gradient(135deg, #a81c47, #85183d);
  border-radius: 20px;
  padding: 35px 30px;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(133, 24, 61, 0.25);
}

.edx-header {
  margin-bottom: 25px;
}

.edx-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.edx-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
}

.edx-subtitle strong {
  font-weight: 800;
  text-decoration: underline;
}

.edx-collaboration-box {
  /* background-color: #ffffff; */
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); */
  max-width: 460px;
  margin: 0 auto;
}

.edx-collaboration-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* --------------------------------------------------------------------------
   Top-Ranked Faculty Section
   -------------------------------------------------------------------------- */
.faculty-section {
  padding: 55px 0 45px;
  background-color: #ffffff;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.faculty-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  transition: transform 0.25s ease;
}

.faculty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.faculty-photo-box {
  width: 100%;
  height: 200px;
  background-color: #f8fafc;
  overflow: hidden;
}

.faculty-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.faculty-info {
  background: linear-gradient(135deg, #87193f, #aa1f4d);
  color: #ffffff;
  padding: 14px 10px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faculty-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.faculty-designation {
  font-size: 0.725rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

.faculty-section .btn-pill-white {
  background-color: #ffffff;
  color: #a81c47;
  border: 1.5px solid #a81c47;
}

.faculty-section .btn-pill-white:hover {
  background-color: #a81c47;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Student Exchange Programs Section
   -------------------------------------------------------------------------- */
.exchange-programs-section {
  background: #951b44;
  padding: 55px 0 50px;
}

.exchange-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.video-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.25s ease;
  background-color: #000000;
}

.video-card:hover {
  transform: scale(1.02);
}

.video-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 40px;
  background-color: #ff0000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #cc0000;
}

/* --------------------------------------------------------------------------
   Recruiters Section
   -------------------------------------------------------------------------- */
.recruiters-section {
  padding: 55px 0 50px;
  background-color: #f8fafc;
}

.recruiters-subheading {
  font-size: 0.95rem;
  color: #64748b;
  margin-top: 15px;
  margin-bottom: 25px;
}

.recruiters-marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 15px 0;
}

.recruiters-marquee-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: recruitersScroll 35s linear infinite;
}

.recruiters-marquee-track:hover {
  animation-play-state: paused;
}

.recruiter-logo-box {
  width: 160px;
  height: 80px;
  background-color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.recruiter-logo-box:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.recruiter-logo-box img {
  max-width: 100%;
  max-height: 55px;
  object-fit: contain;
}

@keyframes recruitersScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   SEO Keywords Section (Just Before Footer)
   -------------------------------------------------------------------------- */
.keywords-section {
  padding: 40px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.keywords-text {
  font-size: 13px;
  text-align: center;
  line-height: 1.7;
  color: #64748b;
  max-width: 1140px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Main Footer
   -------------------------------------------------------------------------- */
.main-footer {
  background-color: #0b192c;
  color: #e2e8f0;
  padding: 35px 0 25px;
}

.footer-disclaimer-box {
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.disclaimer-text {
  font-size: 0.775rem;
  line-height: 1.6;
  color: #94a3b8;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.disclaimer-text strong {
  color: #cbd5e1;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 18px;
  font-size: 0.825rem;
  color: #94a3b8;
}

.footer-bottom-bar p {
  color: #94a3b8;
}

.footer-bottom-bar a {
  color: #cbd5e1;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-bottom-bar a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Mobile Sticky Bottom Conversion Bar
   -------------------------------------------------------------------------- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.15);
  padding: 8px 12px;
  gap: 10px;
}

.mobile-call-btn,
.mobile-enquire-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
}

.mobile-call-btn {
  background-color: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.mobile-enquire-btn {
  background-color: var(--form-crimson);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(228, 50, 92, 0.3);
}

/* --------------------------------------------------------------------------
   Modals
   -------------------------------------------------------------------------- */
.video-modal-overlay,
.success-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal-overlay.active,
.success-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.video-modal-container {
  width: 100%;
  max-width: 800px;
  background-color: #111827;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.video-modal-header {
  padding: 14px 20px;
  background-color: #1f2937;
  color: #ffffff;
}

.video-modal-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.video-player-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-player-box iframe {
  width: 100%;
  height: 100%;
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.8rem;
  color: #ffffff;
  z-index: 10;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #ef4444;
}

.success-modal-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 35px 25px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 16px;
}

.success-modal-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.success-modal-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 22px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile, Tablet, Desktop)
   ========================================================================== */

/* Universal Mobile Safety: prevent any child from breaking layout */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
}

p, span, a, h1, h2, h3, h4, h5, h6, strong {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Large Tablets & Small Laptops (<= 1100px) */
@media (max-width: 1100px) {
  .hero-container {
    gap: 25px;
  }

  .hero-title {
    font-size: 2.85rem;
  }

  .ai-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faculty-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets (<= 991px) */
@media (max-width: 991px) {
  .main-header {
    padding: 10px 0;
  }

  .logo-area .main-logo {
    height: 42px;
  }

  .accreditation-logos .ugc-aicte-logo {
    height: 38px;
  }

  .phone-cta-btn {
    font-size: 0.85rem;
    padding: 7px 14px;
  }

  .hero-section {
    padding: 35px 0 45px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-form-wrapper {
    width: 100%;
    max-width: 480px;
  }

  .degree-edx-container {
    grid-template-columns: 1fr;
  }

  .career-container {
    flex-direction: column;
  }

  .career-left-col {
    width: 100%;
    max-width: 100%;
  }

  .career-right-col {
    display: none;
  }

  .career-support-section {
    background-image: none !important;
  }

  .features-three-col {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .specializations-grid {
    grid-template-columns: 1fr;
  }

  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .exchange-videos-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .main-header {
    padding: 8px 0;
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .logo-area .main-logo {
    height: 36px;
    max-width: 140px;
  }

  .accreditation-logos .ugc-aicte-logo {
    height: 30px;
    max-width: 80px;
  }

  .header-right {
    gap: 12px;
  }

  .phone-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .phone-cta-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .phone-note {
    font-size: 0.65rem;
    color: #64748b;
    margin-top: 2px;
  }

  .scholarship-pill {
    font-size: 0.88rem;
    padding: 6px 14px;
    line-height: 1.4;
    display: inline-block;
    max-width: 100%;
  }

  .ai-badge {
    font-size: 1.35rem;
    padding: 4px 12px;
  }

  .ai-badge .cap-icon {
    font-size: 1.15rem;
  }

  .hero-title {
    font-size: 2.25rem;
    line-height: 1.18;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .admissions-pill {
    font-size: 0.82rem;
    padding: 5px 14px;
  }

  .eligibility-container {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 8px 12px;
  }

  .eligibility-badge {
    font-size: 0.8rem;
    padding: 3px 10px;
  }

  .eligibility-text {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .section-title {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .accreditations-grid {
    gap: 14px;
    justify-content: center;
  }

  .accreditation-item {
    width: 135px;
    max-width: calc(50% - 10px);
  }

  .accreditation-img-box {
    height: 54px;
  }

  .accreditation-img-box img {
    max-height: 48px;
  }

  .ai-tools-section {
    padding: 40px 0 35px;
  }

  .ai-tool-column {
    flex: 0 0 85%;
  }

  .specializations-section {
    padding: 40px 0 35px;
  }

  .specializations-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .spec-header-pill {
    max-width: 100%;
    padding: 4px 14px 4px 6px;
    gap: 10px;
  }

  .spec-title {
    font-size: 0.9rem;
  }

  .spec-body p {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .career-support-section {
    padding: 40px 0 35px;
  }

  .career-pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .degree-edx-section {
    padding: 40px 0 35px;
  }

  .edx-crimson-box {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .edx-title {
    font-size: 1.45rem;
  }

  .faculty-section {
    padding: 40px 0 35px;
  }

  .faculty-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .exchange-programs-section {
    padding: 40px 0 35px;
  }

  .exchange-videos-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    gap: 16px;
  }

  .recruiters-section {
    padding: 40px 0 35px;
  }

  .recruiter-logo-box {
    width: 125px;
    height: 65px;
    padding: 8px 12px;
  }

  .modal-container {
    width: 94%;
    max-width: 440px;
    padding: 16px;
    border-radius: 8px;
  }

  .modal-title {
    font-size: 1.15rem;
  }

  /* Show mobile conversion sticky bar */
  .mobile-sticky-cta {
    display: flex;
  }

  body {
    padding-bottom: 60px; /* Space for mobile sticky footer */
  }
}

/* Small Smart Phones (<= 480px) */
@media (max-width: 480px) {
  .header-container {
    gap: 6px;
  }

  .logo-area .main-logo {
    height: 32px;
    max-width: 125px;
  }

  .header-right {
    gap: 8px;
  }

  .accreditation-logos .ugc-aicte-logo {
    height: 26px;
    max-width: 65px;
  }

  .phone-cta-btn {
    padding: 5px 9px;
    font-size: 0.74rem;
  }

  .phone-note {
    font-size: 0.6rem;
  }

  .scholarship-pill {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .ai-badge {
    font-size: 1.15rem;
    padding: 3px 10px;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .ai-tool-column {
    flex: 0 0 92%;
  }

  .faculty-grid {
    grid-template-columns: 1fr;
    max-width: 270px;
    margin-left: auto;
    margin-right: auto;
  }

  .disclaimer-text {
    font-size: 0.7rem;
    line-height: 1.5;
  }

  .footer-bottom-bar {
    font-size: 0.72rem;
  }
}

/* Extra Small Phones (<= 380px) */
@media (max-width: 380px) {
  .accreditation-logos {
    display: none; /* Hide UGC badge on <380px so brand logo and phone button fit on one neat line */
  }

  .logo-area .main-logo {
    height: 28px;
    max-width: 110px;
  }

  .phone-cta-btn {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .phone-note {
    font-size: 0.55rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .ai-tool-column {
    flex: 0 0 96%;
  }
}

/* ==========================================================================
   Floating Download Brochure Button
   ========================================================================== */
.floating-brochure-container {
  position: fixed;
  right: 25px;
  bottom: 28px;
  z-index: 998;
}

.floating-brochure-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #9f0202 0%, #c81e4b 100%);
  color: #ffffff !important;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 13px 22px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(159, 2, 2, 0.42), 0 2px 6px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  animation: floatBrochurePulse 3s infinite;
}

.floating-brochure-btn .brochure-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.floating-brochure-btn:hover {
  background: linear-gradient(135deg, #7e0000 0%, #a81239 100%);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 28px rgba(159, 2, 2, 0.55), 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.floating-brochure-btn:hover .brochure-icon-wrapper {
  transform: translateY(2px);
}

.floating-brochure-btn:active {
  transform: translateY(-1px) scale(0.99);
}

@keyframes floatBrochurePulse {
  0% {
    box-shadow: 0 8px 24px rgba(159, 2, 2, 0.42), 0 0 0 0 rgba(200, 30, 75, 0.55);
  }
  70% {
    box-shadow: 0 8px 24px rgba(159, 2, 2, 0.42), 0 0 0 14px rgba(200, 30, 75, 0);
  }
  100% {
    box-shadow: 0 8px 24px rgba(159, 2, 2, 0.42), 0 0 0 0 rgba(200, 30, 75, 0);
  }
}

/* Tablet & Mobile adjustments */
@media (max-width: 768px) {
  .floating-brochure-container {
    right: 14px;
    bottom: 74px; /* Sits right above the fixed mobile sticky conversion bar (height 60px) */
    z-index: 998;
  }

  .floating-brochure-btn {
    padding: 10px 18px;
    font-size: 13px;
    gap: 8px;
    border-radius: 40px;
    box-shadow: 0 6px 18px rgba(159, 2, 2, 0.48);
  }

  .floating-brochure-btn .brochure-icon-wrapper {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .floating-brochure-container {
    right: 10px;
    bottom: 70px;
  }

  .floating-brochure-btn {
    padding: 9px 15px;
    font-size: 12px;
    gap: 7px;
  }
}
