/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  /* Primary Colors */
  --iebm-primary: #1E6F5C;
  /* Dark Green */
  --iebm-secondary: #A7C957;
  /* Light Green */
  --iebm-accent: #2E2E2E;
  /* Charcoal */
  --iebm-white: #ffffff;

  /* Text Colors */
  --iebm-text: #2E2E2E;
  /* Charcoal for text */
  --iebm-text-light: #64748b;
  --iebm-text-muted: #94a3b8;

  /* Background Colors */
  --iebm-bg: #F6F7F8;
  /* Off White */
  --iebm-bg-light: #F6F7F8;
  --iebm-bg-gray: #e2e8f0;

  /* Border Colors */
  --iebm-border: #e2e8f0;
  --iebm-border-light: #f1f5f9;

  /* Legacy colors - keeping for safety but updated */
  --iebm-navy: #1E6F5C;
  --iebm-purple: #1E6F5C;
  --iebm-orange: #A7C957;
  --iebm-green: #A7C957;
  --iebm-gold: #A7C957;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  font-family: "Open Sans", sans-serif;
  background: var(--iebm-bg);
  color: var(--iebm-text);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Typography */
h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--iebm-primary);
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3.75rem;
  }
}

h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--iebm-primary);
  letter-spacing: -0.005em;
}

@media (min-width: 768px) {
  h2 {
    font-size: 2.25rem;
  }
}

h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--iebm-primary);
}

@media (min-width: 768px) {
  h3 {
    font-size: 1.875rem;
  }
}

h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--iebm-primary);
}

@media (min-width: 768px) {
  h4 {
    font-size: 1.5rem;
  }
}

p,
span,
li,
div {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  color: var(--iebm-text);
  line-height: 1.6;
}

/* Layout Utilities */
.container-pad {
  margin: 0 auto;
  width: 100%;
  max-width: 1280px;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container-pad {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.section-pad {
  padding-top: calc(120px + 2rem);
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .section-pad {
    padding-top: calc(60px + 1rem);
    padding-bottom: 4.5rem;
  }
}

/* Cards */
.card {
  border-radius: 0.5rem;
  border: 1px solid var(--iebm-border);
  background: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: var(--iebm-primary);
}

.card-soft {
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  background: linear-gradient(to bottom right, #f8fafc, white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.875rem 1.5rem;
  font-weight: 800;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .btn {
    font-size: 1rem;
  }
}

.btn-primary {
  background: var(--iebm-primary);
  color: var(--iebm-white);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(180, 43, 53, 0.3);
}

.btn-primary:hover {
  background: rgb(160, 33, 43);
  box-shadow: 0 4px 12px rgba(180, 43, 53, 0.4);
  transform: translateY(-1px);
}

.btn-cta {
  background: var(--iebm-primary);
  color: var(--iebm-white);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(180, 43, 53, 0.3);
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: rgb(160, 33, 43);
  box-shadow: 0 4px 12px rgba(180, 43, 53, 0.4);
  transform: translateY(-1px);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(31, 122, 77, 0.15);
  color: var(--iebm-green);
}

.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--iebm-navy);
}

/* Divider */
.divider {
  height: 0.25rem;
  width: 4rem;
  background: var(--iebm-primary);
  border-radius: 2px;
}

/* Stat Card */
.stat-card {
  border-radius: 0.5rem;
  border: 1px solid var(--iebm-border);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  background: var(--iebm-white);
}

.stat-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: var(--iebm-primary);
  background: rgba(180, 43, 53, 0.03);
}

.stat-number {
  font-family: "Poppins", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--iebm-primary);
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 3rem;
  }
}

/* Accreditation Badge */
.accreditation-badge {
  border-radius: 1.5rem;
  border: 1px solid rgba(30, 111, 92, 0.1);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.accreditation-badge:hover {
  border-color: var(--iebm-primary);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(30, 111, 92, 0.15);
}

.accreditation-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transition: 0.5s;
}

.accreditation-badge:hover::before {
  left: 100%;
}

/* Hero Carousel */
.hero-carousel-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: 0;
  margin-top: 0;
}

@media (min-width: 768px) {
  .hero-carousel-container {
    margin-top: 120px;
    height: calc(100vh - 120px);
  }
}

.hero-carousel-container img {
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel-container:hover img {
  transform: scale(1.01);
}

/* Degree Carousel */
.degree-carousel-full {
  position: relative;
}

.degree-carousel-full img {
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.degree-carousel-full:hover img {
  transform: scale(1.02);
}

/* Degree Slider */
.degree-slider-container {
  position: relative;
}

.degree-slider-card {
  transition: transform 0.3s ease;
}

.degree-slider-card:hover {
  transform: translateY(-4px);
}

/* Scrollbar Hide */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Snap Scrolling */
.snap-x {
  scroll-snap-type: x mandatory;
}

.snap-center {
  scroll-snap-align: center;
}

/* Campus Life Modules */
.campus-life-section {
  position: relative;
  overflow: hidden;
}

.campus-module {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-up 0.6s ease-out forwards;
}

@keyframes fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Campus Events */
.campus-events-section {
  position: relative;
}

.event-card {
  border-radius: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-4px);
}

/* Animations */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}

.degree-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fade-in-up 0.6s ease-out forwards;
}

.degree-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: var(--iebm-primary);
}

/* Placement Marquee */
.marquee-content-scroll {
  display: flex;
  gap: 2rem;
  animation: marquee 25s linear infinite;
  width: max-content;
}

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

  100% {
    transform: translateX(calc(-33.33% - 1rem));
  }
}

.placement-logo-card {
  width: 280px;
  height: 140px;
  background: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.placement-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.8;
}

.placement-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--iebm-primary);
}

.placement-logo-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
  opacity: 1;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  padding: 0.25rem 0;
}

/* Continuous shrinking effect */
header.shrinking {
  padding-top: 0;
  padding-bottom: 0;
}

header.shrinking .header-main {
  padding: 0.5rem 0 !important;
}

header.shrinking .logo img {
  height: 2.5rem !important;
  width: 8rem !important;
}

@media (min-width: 768px) {
  header.shrinking .logo img {
    height: 3rem !important;
    width: 9rem !important;
  }
}

.header-top-bar {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--iebm-purple);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s ease;
  padding: 1rem 0;
}

header.scrolled .header-main {
  padding: 0.75rem 0;
}

.logo img {
  height: 3rem;
  width: 9rem;
  object-fit: contain;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .logo img {
    height: 3.5rem;
    width: 10rem;
  }
}

.logo:hover img {
  transform: scale(1.02);
}

/* Navigation */
nav.desktop-nav {
  display: none;
}

@media (min-width: 1280px) {
  nav.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

nav.desktop-nav a {
  position: relative;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 0.5rem;
}

nav.desktop-nav a:hover {
  color: var(--iebm-primary);
  background: rgba(180, 43, 53, 0.05);
}

nav.desktop-nav a.active {
  color: var(--iebm-primary);
  background: rgba(180, 43, 53, 0.08);
}

nav.desktop-nav a svg {
  transition: transform 0.3s ease;
}

nav.desktop-nav a:hover svg {
  transform: translateY(-2px);
}

/* Nav Apply Button */
.nav-apply-btn {
  background: linear-gradient(135deg, var(--iebm-primary) 0%, #8b1a21 100%);
  color: white !important;
  padding: 0.75rem 1.75rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(180, 43, 53, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem !important;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-apply-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(180, 43, 53, 0.4);
  background: linear-gradient(135deg, #a0212b 0%, #7a161c 100%);
  color: white !important;
}

.nav-apply-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: block;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  cursor: pointer;
}

@media (min-width: 1280px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle:hover {
  background: #f1f5f9;
}

.mobile-menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 9999px;
  transition: all 0.3s ease;
  background: #475569;
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 0.5rem;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 1rem;
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 0.5rem;
  background: var(--iebm-primary);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
  background: var(--iebm-primary);
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 0.5rem;
  background: var(--iebm-primary);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  transition: all 0.5s ease;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 1280px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 20rem;
  max-width: 85vw;
  background: white;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s ease-out;
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}

/* Footer */
footer {
  background: var(--iebm-bg-gray);
  color: var(--iebm-text);
  border-top: 1px solid var(--iebm-border);
}

footer a {
  color: var(--iebm-text) !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:visited {
  color: var(--iebm-text) !important;
}

footer a:hover {
  color: var(--iebm-primary) !important;
  text-decoration: underline;
}

/* Ensure all footer content inherits color from footer tag */
footer h4,
footer p,
footer div,
footer span,
footer b,
footer svg {
  color: inherit !important;
}

/* Fix for dividers and borders if they use semi-transparent white */
footer .divider {
  background: var(--iebm-primary) !important;
}

footer div[style*="border-top"] {
  border-top-color: var(--iebm-border) !important;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: white;
  color: var(--iebm-secondary) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.social-icon-link:hover {
  background: var(--iebm-primary);
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(180, 43, 53, 0.3);
}

.social-icon-link svg {
  width: 1.125rem;
  height: 1.125rem;
  color: inherit !important;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 56rem;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: visible;
  /* Changed from hidden to ensure close icon is visible if slightly outside */
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-close {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  z-index: 50;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--iebm-primary);
  border: 3px solid white;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-close:hover {
  background: #154d40;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    background: white;
    color: var(--iebm-primary);
    border: 2px solid #e2e8f0;
  }
}

/* Grid Utilities */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

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

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Gap Utilities */
.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

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

.justify-between {
  justify-content: space-between;
}

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

/* Spacing Utilities */
.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-20 {
  margin-top: 5rem;
}

/* Padding Utilities */
.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-12 {
  padding: 3rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

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

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Text Utilities */
.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-black {
  font-weight: 900;
}

.uppercase {
  text-transform: uppercase;
}

/* Color Utilities */
.text-white {
  color: white;
}

.text-slate-600 {
  color: #475569;
}

.text-slate-700 {
  color: #334155;
}

/* Width/Height Utilities */
.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.h-12 {
  height: 3rem;
}

/* Border Utilities */
.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-slate-200 {
  border-color: #e2e8f0;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* Shadow Utilities */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

/* Position */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

/* Display */
.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }
}

@media (min-width: 1280px) {
  .xl\:hidden {
    display: none;
  }
}

/* Object Fit */
.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}

/* Transition */
.transition-all {
  transition: all 0.3s ease;
}

/* Space Y */
.space-y-2>*+* {
  margin-top: 0.5rem;
}

.space-y-3>*+* {
  margin-top: 0.75rem;
}

.space-y-4>*+* {
  margin-top: 1rem;
}

/* List */
.list-disc {
  list-style-type: disc;
}

/* Aspect Ratio */
.aspect-square {
  aspect-ratio: 1 / 1;
}

/* Z-index */
.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

/* Hero Surface */
.hero-surface {
  background:
    radial-gradient(1200px 400px at 20% 0%, rgba(212, 175, 55, 0.18), transparent 60%),
    radial-gradient(900px 450px at 90% 20%, rgba(31, 122, 77, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(30, 47, 91, 0.06), rgba(255, 255, 255, 1));
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Form Elements */
input,
textarea,
select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  font-family: "Open Sans", sans-serif;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--iebm-navy);
  box-shadow: 0 0 0 3px rgba(11, 55, 77, 0.1);
}

textarea {
  resize: vertical;
  min-height: 7rem;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* Checkbox */
input[type="checkbox"] {
  width: auto;
  height: auto;
  margin-right: 0.5rem;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Body Scroll Lock */
body.no-scroll {
  overflow: hidden;
}

/* Achievement Cards Hover Effects */
.achievement-card {
  cursor: pointer;
}

.achievement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
  border-color: rgba(180, 43, 53, 0.3);
}

.achievement-card:hover>div:first-of-type {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}