/* index.css - Professional College Landing Page with Brand Colors */

/* ===== CSS Variables with Brand Colors ===== */
:root {
  --ig-primary: #8a1c6e;
  --ig-primary-dark: #6f1a59;
  --ig-primary-light: #f7eff4;
  --ig-accent: #c43a92;
  --ig-dark: #2a1a24;
  --ig-gradient: linear-gradient(135deg, #8a1c6e 0%, #6f1a59 100%);
  --ig-gradient-light: linear-gradient(135deg, #c43a92 0%, #8a1c6e 100%);

  --secondary-color: #6c757d;
  --success-color: #198754;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-50: #f8f9fa;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;

  --purple: #6f42c1;
  --pink: #d63384;
  --teal: #20c997;
  --orange: #fd7e14;

  --shadow-sm: 0 0.125rem 0.5rem rgba(138, 28, 110, 0.08);
  --shadow-md: 0 0.25rem 1rem rgba(138, 28, 110, 0.12);
  --shadow-lg: 0 0.5rem 2rem rgba(138, 28, 110, 0.16);

  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Spacing variables */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
}

/* ===== Base Typography ===== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* Headings */
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "Montserrat", sans-serif;
  color: var(--ig-dark);
}

h1,
.h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
h2,
.h2 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.875rem;
  letter-spacing: -0.015em;
}
h3,
.h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
h4,
.h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}
h5,
.h5 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
h6,
.h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.375rem;
}

/* Container */
.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/* Brand Color Overlay */
.hero-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(138, 28, 110, 0.75) 0%,
    rgba(138, 28, 110, 0.55) 30%,
    rgba(138, 28, 110, 0.35) 100%
  );
  z-index: 2;
}

/* Navigation Buttons */
.hero-slider-prev,
.hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 0.125rem solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  backdrop-filter: blur(0.3125rem);
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev {
  left: 1.875rem;
}
.hero-slider-next {
  right: 1.875rem;
}

.hero-slider-dots {
  position: absolute;
  bottom: 1.875rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.hero-slider-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 0.125rem solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.hero-slider-dot.active {
  background: var(--ig-accent);
  transform: scale(1.2);
}

.hero-slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-content-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 7.5rem 0 5rem;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: white;
  text-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.3);
}

.hero-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.text-highlight {
  color: #ffd700;
  font-weight: 700;
}

.hero-buttons .btn {
  font-weight: 600;
  border-radius: 3.125rem;
  transition: all var(--transition-normal);
}

.hero-buttons .btn-primary {
  background: white;
  color: var(--ig-primary);
  border: 0.125rem solid white;
}

.hero-buttons .btn-primary:hover {
  background: transparent;
  color: white;
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.625rem 1.5625rem rgba(255, 255, 255, 0.2);
}

.hero-buttons .btn-outline-light {
  border: 0.125rem solid white;
  background: transparent;
}

.hero-buttons .btn-outline-light:hover {
  background: white;
  color: var(--ig-primary);
  transform: translateY(-0.1875rem);
}

/* ===== Sub Navigation ===== */
.page-subnav {
  background: white;
  padding: 0.9375rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 0.0625rem solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.subnav {
  display: flex;
  justify-content: center;
  gap: 1.875rem;
  flex-wrap: wrap;
}

.subnav a {
  color: var(--gray-700);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.subnav a:hover,
.subnav a.active {
  color: var(--ig-primary);
}

.subnav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.125rem;
  background: var(--ig-accent);
  transition: width var(--transition-normal);
}

.subnav a:hover::after,
.subnav a.active::after {
  width: 100%;
}

/* ===== Section Common Styles ===== */
.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ig-accent);
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2rem;
  color: var(--ig-dark);
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 1.875rem;
}

.section-text {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
}

/* ===== About Section ===== */
.about-section {
  padding: var(--space-xl) 0;
  background-color: #fff;
  position: relative;
}

.about-image-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: auto;
  min-height: 25rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.main-image:hover {
  transform: translateY(-0.3125rem);
}

.about-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== FIXED ABOUT FEATURE ALIGNMENT ===== */
#about .d-flex.align-items-start {
  display: flex !important;
  align-items: center !important; /* Perfect vertical alignment */
  gap: 0.75rem;
}

/* Icon Box */
#about .feature-icon {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;

  /* FORCE BRAND COLOR */
  background: var(--ig-primary-light) !important;
  color: var(--ig-primary) !important;

  flex-shrink: 0;
}

/* Icon size */
#about .feature-icon i {
  font-size: 1.2rem;
}

/* Text block */
#about .feature-icon + div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Title */
#about .feature-icon + div h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  line-height: 1.2;
  color: var(--ig-dark);
}

/* Description */
#about .feature-icon + div p {
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.3;
  color: var(--gray-600);
}

.about-content .btn {
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  align-self: flex-start;
  background: var(--ig-primary);
  border-color: var(--ig-primary);
}

.about-content .btn:hover {
  background: var(--ig-primary-dark);
  border-color: var(--ig-primary-dark);
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1.25rem rgba(138, 28, 110, 0.3);
}

/* ===== Colleges Section ===== */
.colleges-section {
  padding: 4rem 0;
  background: var(--ig-primary-light);
}

.college-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 100%;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.college-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--ig-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.college-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.college-card:hover::before {
  transform: scaleX(1);
}

/* College Logo Styles */
.college-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 50%;
  overflow: hidden;
  padding: 0.75rem;
  transition: all 0.3s ease;
  border: 2px solid var(--ig-primary-light);
}

.college-card:hover .college-logo {
  transform: scale(1.05);
  border-color: var(--ig-primary);
  box-shadow: 0 0.5rem 1rem rgba(138, 28, 110, 0.2);
}

.college-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.college-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--ig-dark);
  line-height: 1.4;
}

.college-desc {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.college-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: #888;
}

.college-meta i {
  margin-right: 0.25rem;
}

.college-link {
  display: inline-flex;
  align-items: center;
  color: var(--ig-primary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.college-link:hover {
  color: var(--ig-accent);
  transform: translateX(5px);
}

/* ===== Features Section ===== */
.features-section {
  padding: var(--space-xl) 0;
  background: white;
}

.feature-card {
  padding: 1.875rem;
  border-radius: var(--radius-md);
  border: 0.0625rem solid var(--gray-200);
  transition: all var(--transition-normal);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-0.625rem);
  box-shadow: var(--shadow-lg);
  border-color: var(--ig-primary-light);
}

.feature-icon-wrapper {
  position: relative;
  margin-bottom: 1.25rem;
}

.feature-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: var(--ig-gradient) !important;
}

.feature-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.2;
  z-index: -1;
  animation: pulse 2s infinite;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--ig-dark);
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== Placement Section ===== */
.placement-section {
  padding: var(--space-xl) 0;
  background: var(--ig-gradient);
  position: relative;
  overflow: hidden;
}

.placement-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 18.75rem;
  height: 18.75rem;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
}

.placement-stat {
  text-align: center;
  padding: 1.25rem;
}

.placement-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.placement-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.company-logos {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(0.625rem);
  border-radius: var(--radius-md);
  padding: 1.875rem;
}

.company-logos h5 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.company-logo {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 7.5rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.company-logo:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-0.3125rem);
}

.company-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.1875rem;
  background: linear-gradient(90deg, var(--ig-accent), #ffd700);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.company-logo:hover::before {
  transform: scaleX(1);
}

.company-logo img {
  max-width: 100%;
  max-height: 2.5rem;
  filter: brightness(0) invert(1);
  margin-bottom: 0.5rem;
}

.company-name {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

/* ===== Campus Life Section ===== */
.campus-life-section {
  padding: var(--space-xl) 0;
  background: var(--ig-primary-light);
}

.campus-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.campus-card:hover {
  transform: translateY(-0.625rem);
  box-shadow: var(--shadow-lg);
}

.campus-img {
  height: 15.625rem;
  overflow: hidden;
}

.campus-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.campus-card:hover .campus-img img {
  transform: scale(1.1);
}

.campus-content {
  padding: 1.5rem;
}

.campus-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--ig-dark);
}

.campus-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.campus-link {
  display: inline-flex;
  align-items: center;
  color: var(--ig-primary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.campus-link:hover {
  color: var(--ig-accent);
  transform: translateX(0.3125rem);
}

/* ===== Floating CTA Section ===== */
.floating-cta-section {
  padding: 3.75rem 0;
  position: relative;
  z-index: 10;
}

.floating-cta {
  position: relative;
  padding: 2.5rem;
  background: var(--ig-gradient);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: pulse 2s infinite;
}

.floating-cta-content h3 {
  font-size: 1.75rem;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.floating-cta-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.floating-cta-btn {
  position: relative;
  z-index: 2;
  border-radius: 3.125rem;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  box-shadow: 0 0.5rem 1.5625rem rgba(0, 0, 0, 0.2);
  transition: all var(--transition-normal);
  animation: floatBtn 3s ease-in-out infinite;
  background: white;
  color: var(--ig-primary);
  border: none;
}

.floating-cta-btn:hover {
  background: var(--ig-primary-light);
  color: var(--ig-primary-dark);
  transform: translateY(-0.125rem);
}

.floating-element {
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.5rem;
  animation: floatElement 6s ease-in-out infinite;
}

.fe-1 {
  top: 1.25rem;
  left: 1.25rem;
  animation-delay: 0s;
}
.fe-2 {
  top: 2.5rem;
  right: 2.5rem;
  animation-delay: 2s;
}
.fe-3 {
  bottom: 1.875rem;
  left: 50%;
  animation-delay: 4s;
}

/* ===== Buttons ===== */
.btn {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  border-radius: 0.375rem;
  transition: all var(--transition-normal);
}

.btn-lg {
  font-size: 1.125rem;
  padding: 0.75rem 2rem;
}
.btn-sm {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.btn-primary {
  background: var(--ig-primary);
  border: 0.0625rem solid var(--ig-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--ig-primary-dark);
  border-color: var(--ig-primary-dark);
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  border: 0.125rem solid white;
  color: white;
  background: transparent;
}

.btn-outline-light:hover {
  background: white;
  color: var(--ig-primary);
  transform: translateY(-0.125rem);
}

.btn-light {
  background: white;
  color: var(--ig-primary);
  border: 0.0625rem solid white;
}

.btn-light:hover {
  background: var(--ig-primary-light);
  color: var(--ig-primary-dark);
  transform: translateY(-0.125rem);
}

/* ===== Animations ===== */
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0.625rem 2.5rem rgba(138, 28, 110, 0.3);
  }
  50% {
    box-shadow: 0 0.9375rem 3.125rem rgba(138, 28, 110, 0.5);
  }
}

@keyframes floatBtn {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-0.625rem) scale(1.05);
  }
}

@keyframes floatElement {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.2;
  }
  25% {
    transform: translateY(-0.9375rem) rotate(90deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(0) rotate(180deg);
    opacity: 0.2;
  }
  75% {
    transform: translateY(0.9375rem) rotate(270deg);
    opacity: 0.3;
  }
}

/* ===== Responsive Design ===== */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .floating-cta-content h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-lead {
    font-size: 1rem;
  }
  .hero-sub {
    font-size: 0.9375rem;
  }
  .hero-buttons .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .about-image-container {
    margin-bottom: 2rem;
  }
  .college-logo {
    width: 80px;
    height: 80px;
  }
  .floating-cta {
    padding: 1.5rem;
    text-align: center;
  }
  .floating-cta-content h3 {
    font-size: 1.25rem;
  }
  .floating-cta-btn {
    margin-top: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 70vh;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-lead {
    font-size: 0.9375rem;
  }
  .hero-sub {
    font-size: 0.875rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .hero-slider-prev,
  .hero-slider-next {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
  .hero-slider-prev {
    left: 0.625rem;
  }
  .hero-slider-next {
    right: 0.625rem;
  }
  .subnav {
    gap: 1rem;
  }
  .subnav a {
    font-size: 0.875rem;
  }
  .section-title {
    font-size: 1.35rem;
  }
  .section-lead {
    font-size: 0.9375rem;
  }
  .college-logo {
    width: 70px;
    height: 70px;
  }
  .college-title {
    font-size: 1rem;
  }
  .college-desc {
    font-size: 0.8125rem;
  }
  .placement-number {
    font-size: 2rem;
  }
  .company-logos {
    margin-top: 2rem;
  }
  .floating-cta-section {
    padding: 2rem 0;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-lead {
    font-size: 0.875rem;
  }
  .hero-sub {
    font-size: 0.8125rem;
  }
  .section-subtitle {
    font-size: 0.75rem;
  }
  .section-title {
    font-size: 1.25rem;
  }
  .feature-icon {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
  }
  .feature-title {
    font-size: 1rem;
  }
  .feature-desc {
    font-size: 0.8125rem;
  }
  .college-logo {
    width: 60px;
    height: 60px;
  }
  .college-title {
    font-size: 0.9375rem;
  }
  .placement-stat {
    padding: 0.75rem;
  }
  .placement-number {
    font-size: 1.5rem;
  }
  .placement-label {
    font-size: 0.8125rem;
  }
}

/* ===== Mobile 2x2 Grid Fix for About Features ===== */
@media (max-width: 47.9375rem) {
  #about .row.mb-3 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    margin: 0 !important;
  }

  #about .row.mb-3 > .col-sm-6 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #about .row.mb-3 .d-flex.align-items-start {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0.75rem 0.5rem !important;
    border: 0.0625rem solid #e9ecef;
    border-radius: 0.625rem;
    background: #ffffff;
    height: 100%;
  }

  #about .feature-icon {
    margin: 0 0 0.5rem 0 !important;
    width: 2.75rem !important;
    height: 2.75rem !important;
    border-radius: 0.625rem !important;
  }

  #about .feature-icon i {
    font-size: 1.125rem !important;
  }
  #about .feature-icon + div h6 {
    font-size: 0.875rem !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.2 !important;
  }
  #about .feature-icon + div p {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
  }
}

/* ===== Desktop Alignment Fix ===== */
@media (min-width: 48rem) {
  #about .d-flex.align-items-start {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem;
  }

  #about .feature-icon {
    width: 3.5rem !important;
    height: 3.5rem !important;
    min-width: 3.5rem !important;
    border-radius: 0.875rem !important;
  }

  #about .feature-icon i {
    font-size: 1.375rem !important;
  }
  #about .feature-icon + div {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  #about .feature-icon + div h6 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.2 !important;
  }
  #about .feature-icon + div p {
    font-size: 0.875rem !important;
    margin: 0 !important;
    line-height: 1.4 !important;
  }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .main-image:hover,
  .college-card:hover,
  .feature-card:hover,
  .campus-card:hover,
  .company-logo:hover,
  .floating-cta-btn:hover {
    transform: none;
  }
  .floating-element,
  .feature-icon::before {
    display: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===== Print Styles ===== */
@media print {
  .hero-section,
  .floating-cta-section,
  .page-subnav {
    background: white !important;
    color: black !important;
  }
  .hero-slider-container,
  .company-logos,
  .campus-img,
  .hero-slider-prev,
  .hero-slider-next,
  .hero-slider-dots,
  .floating-element,
  .btn {
    display: none !important;
  }
  .hero-content-overlay {
    position: relative;
    background: var(--ig-primary);
    padding: 2rem 0;
  }
  .hero-title,
  .hero-lead,
  .hero-sub {
    color: black !important;
  }
  .college-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .college-logo {
    border: 1px solid #ddd;
  }
}
