/* =======================================
   Albehije Secondary School - Main Stylesheet
   Modern, Responsive Design System
   ======================================= */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Using original school color scheme for consistency */
  --gradient-primary: linear-gradient(135deg, #000428 0%, #004e92 100%);
  --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  --gradient-light: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);

  /* Solid Colors */
  --primary-color: #000428;
  --secondary-color: #004e92;
  --accent-color: #11998e;
  --dark-color: #1e3a8a; /* Updated dark color */
  --light-color: #f8fafc;
  --gray-color: #64748b;
  --light-gray: #e2e8f0;
  --white: #ffffff;
  --error-color: #dc2626; /* Added error color */
  --warning-color: #d97706; /* Added warning color */
  --success-color: #059669; /* Added success color */
  --info-color: #2563eb; /* Added info color */

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

body {
  font-family: "Open Sans", "Inter", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-color);
  background: var(--light-color);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-color);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =======================================
   Header & Navigation
   ======================================= */
.top-bar {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.875rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.contact-info {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.contact-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--white);
  transition: var(--transition);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Main Navigation */
.main-nav-bar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.main-nav-bar.scrolled {
  box-shadow: var(--shadow);
}

.main-nav-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.school-logo {
  height: 50px;
  width: auto;
  border-radius: 8px;
}

.logo-text h1 {
  font-size: 1.5rem;
  margin: 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text p {
  font-size: 0.75rem;
  margin: 0;
  color: var(--gray-color);
}

/* Navigation Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 600;
  color: var(--dark-color);
  padding: 10px 0;
  position: relative;
  font-size: 0.95rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown-menu-item {
  position: relative;
}

.dropdown-menu-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-menu-item > a i {
  font-size: 0.75rem;
  transition: transform 0.3s;
}

.dropdown-menu-item:hover > a i {
  transform: rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  padding: 10px 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  border-top: 3px solid var(--primary-color);
}

.dropdown-menu-item:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content li {
  padding: 0;
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: var(--dark-color);
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-content a:hover {
  background: var(--light-color);
  padding-left: 25px;
  color: var(--primary-color);
}

.dropdown-content a::after {
  display: none;
}

/* Auth Dropdown */
.user-dropdown {
  position: relative;
}

.user-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border-radius: 25px;
  background: var(--light-color);
  cursor: pointer;
  transition: var(--transition);
}

.user-btn:hover {
  background: var(--light-gray);
}

.user-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.user-dropdown .dropdown-content {
  right: 0;
  left: auto;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-color);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 968px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: 80px 20px 20px;
    transition: var(--transition);
    overflow-y: auto;
    z-index: 1001;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
  }

  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin: 0;
    padding-left: 20px;
    border-top: none;
    border-left: 3px solid var(--primary-color);
    display: none;
  }

  .dropdown-menu-item.active .dropdown-content {
    display: block;
  }

  .menu-toggle {
    display: flex;
    z-index: 1002;
  }

  .auth-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
}

/* =======================================
   Buttons
   ======================================= */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 1rem;
  line-height: 1.5;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* =======================================
   Forms
   ======================================= */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-help {
  font-size: 0.875rem;
  color: var(--gray-color);
  margin-top: 0.25rem;
}

.form-error {
  font-size: 0.875rem;
  color: var(--error-color);
  margin-top: 0.25rem;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: var(--error-color);
}

/* =======================================
   Alerts
   ======================================= */
.alert {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid currentColor;
}

.alert i {
  font-size: 1.25rem;
}

.alert-success {
  background: #d1fae5;
  color: var(--success-color);
}

.alert-danger {
  background: #fee2e2;
  color: var(--error-color);
}

.alert-warning {
  background: #fef3c7;
  color: var(--warning-color);
}

.alert-info {
  background: #dbeafe;
  color: var(--info-color);
}

/* =======================================
   Page Header
   ======================================= */
.page-header {
  background: var(--gradient-primary);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom center;
  background-size: cover;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumb a,
.breadcrumb span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.6);
}

/* =======================================
   Content Sections
   ======================================= */
.content-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-color);
  line-height: 1.7;
}

/* =======================================
   Cards
   ======================================= */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-header {
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card-body {
  color: var(--gray-color);
}

.card-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
}

/* =======================================
   Grids
   ======================================= */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* =======================================
   Hero Section
   ======================================= */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(59, 130, 246, 0.8));
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--white);
  max-width: 700px;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease;
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 30px;
  line-height: 1.7;
  animation: fadeInUp 1s ease;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--white);
  width: 30px;
  border-radius: 6px;
}

/* =======================================
   Stats Section
   ======================================= */
.stats-section {
  background: var(--white);
  padding: 60px 0;
  margin: -50px 0 80px;
  position: relative;
  z-index: 10;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-item i {
  font-size: 3rem;
  margin-bottom: 15px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-color);
  font-weight: 600;
}

/* =======================================
   Features Section
   ======================================= */
.feature-card {
  text-align: center;
  padding: 40px 30px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--gray-color);
  line-height: 1.7;
}

/* =======================================
   Programs Section
   ======================================= */
.program-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.program-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.program-content {
  padding: 25px;
}

.program-content h3 {
  margin-bottom: 15px;
}

.program-content p {
  color: var(--gray-color);
  margin-bottom: 20px;
}

.program-meta {
  display: flex;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--gray-color);
  margin-bottom: 20px;
}

.program-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* =======================================
   About Section
   ======================================= */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.mv-card {
  padding: 30px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color);
}

.mv-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.mv-card i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Leadership Team */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.leader-card {
  text-align: center;
}

.leader-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.leader-position {
  color: var(--gray-color);
  font-size: 0.95rem;
}

/* =======================================
   Academics Section
   ======================================= */
.department-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 12px 25px;
  border: 2px solid var(--light-gray);
  background: var(--white);
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.tab-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* =======================================
   FOOTER STYLES
   ======================================= */
.footer {
  background: linear-gradient(135deg, #000428 0%, #004e92 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 60px 0 0;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
  padding: 0 15px;
}

.footer-title {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  line-height: 1.8;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-column ul li a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-column address {
  font-style: normal;
}

.footer-column address p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-column address p i {
  margin-top: 4px;
  color: #fbbf24;
  min-width: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #fbbf24;
  transform: translateY(-3px);
}

.newsletter-form {
  margin-top: 15px;
}

.newsletter-form .form-group {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border-radius: 8px;
  font-size: 0.95rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: #fbbf24;
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-form .btn-subscribe {
  padding: 12px 20px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.newsletter-form .btn-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.footer-bottom {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
  color: white;
}

/* =======================================
   AUTHENTICATION PAGES STYLES
   ======================================= */
.auth-section {
  min-height: calc(100vh - 200px);
  padding: 60px 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
}

.auth-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.3" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,149.3C672,149,768,203,864,208C960,213,1056,171,1152,144C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom center;
  background-size: cover;
  opacity: 0.5;
}

.auth-section .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.auth-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  padding: 40px;
  position: relative;
  z-index: 1;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h2 {
  color: #1e3a8a;
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.auth-header p {
  color: #64748b;
  font-size: 0.95rem;
}

.auth-info {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.auth-info h3 {
  color: #1e3a8a;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.instructions {
  color: #475569;
  line-height: 1.7;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 12px;
  border-left: 4px solid #3b82f6;
}

.info-item i {
  color: #3b82f6;
  font-size: 1.5rem;
  min-width: 30px;
}

.info-item strong {
  color: #1e3a8a;
  display: block;
  margin-bottom: 5px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background: white;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.forgot-password {
  text-align: right;
  margin-top: 8px;
}

.forgot-password a {
  color: #3b82f6;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
}

.forgot-password a:hover {
  text-decoration: underline;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
}

.remember-me input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

.remember-me label {
  margin: 0;
  cursor: pointer;
  font-weight: 400;
}

.btn-block {
  width: 100%;
  display: block;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 25px 0;
  color: #64748b;
  font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider::before {
  margin-right: 15px;
}

.auth-divider::after {
  margin-left: 15px;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  color: #64748b;
  font-size: 0.95rem;
}

.auth-footer a {
  color: #3b82f6;
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Registration Steps */
.registration-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.registration-steps::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e2e8f0;
  z-index: 0;
}

.registration-steps .step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 10px;
  background: white;
  color: #64748b;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.registration-steps .step.active {
  color: #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.registration-steps .step.completed {
  color: #10b981;
}

/* Multi-step form */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-step h3 {
  color: #1e3a8a;
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.radio-group label:hover {
  border-color: #3b82f6;
  background: #f8fafc;
}

.radio-group input[type="radio"]:checked + i {
  color: #3b82f6;
}

.radio-group label input[type="radio"] {
  width: auto;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.account-summary {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Password strength meter */
.password-strength {
  margin-top: 10px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  transition: all 0.3s ease;
}

.password-feedback {
  font-size: 0.85rem;
  margin-top: 5px;
}

/* =======================================
   ERROR PAGES STYLES
   ======================================= */
.error-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
}

.error-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
  background: white;
  padding: 60px 40px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.error-icon {
  font-size: 5rem;
  color: #f59e0b;
  margin-bottom: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.error-content h2 {
  color: #1e3a8a;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.error-content .lead {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.7;
}

.error-code {
  background: linear-gradient(135deg, #000428 0%, #004e92 100%);
  color: white;
  padding: 40px;
  border-radius: 12px;
  margin: 30px 0;
  display: inline-block;
  min-width: 300px;
}

.error-code .code {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.error-code .error-message {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 15px;
}

.suggestions {
  margin: 40px 0;
}

.suggestions h4 {
  color: #1e3a8a;
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.suggestion-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.search-box {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 12px;
}

.search-box h4 {
  color: #1e3a8a;
  margin-bottom: 15px;
}

.search-form .input-group {
  display: flex;
  max-width: 500px;
  margin: 20px auto 0;
  gap: 10px;
}

.search-form input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.search-form input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-form button {
  padding: 15px 30px;
  border-radius: 8px;
}

.site-map-link {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
}

.site-map-link a {
  color: #3b82f6;
  font-weight: 600;
  text-decoration: none;
}

.site-map-link a:hover {
  text-decoration: underline;
}

/* =======================================
   RESPONSIVE DESIGN
   ======================================= */
@media (max-width: 992px) {
  .auth-section .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .auth-container {
    padding: 30px 20px;
  }

  .auth-info {
    padding: 30px 20px;
  }

  .error-content {
    padding: 40px 30px;
  }

  .error-code .code {
    font-size: 4rem;
  }

  .suggestion-links {
    flex-direction: column;
  }

  .suggestion-links .btn {
    width: 100%;
  }

  .search-form .input-group {
    flex-direction: column;
  }

  .search-form input {
    width: 100%;
  }

  .search-form button {
    width: 100%;
  }

  .registration-steps {
    flex-wrap: wrap;
  }

  .registration-steps .step {
    flex-basis: 50%;
    font-size: 0.8rem;
    padding: 8px 5px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 0 0;
    margin-top: 40px;
  }

  .footer-column {
    padding: 0;
  }

  .auth-header h2 {
    font-size: 1.5rem;
  }

  .error-content {
    padding: 30px 20px;
  }

  .error-content h2 {
    font-size: 1.75rem;
  }

  .error-code {
    padding: 30px 20px;
    min-width: 250px;
  }

  .error-code .code {
    font-size: 3rem;
  }

  .error-code .error-message {
    font-size: 1.2rem;
  }
}

/* =======================================
   AUTH PAGES STYLES
   ======================================= */
.auth-section {
  padding: 60px 0;
  background: var(--light-color);
}

.auth-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
}

.auth-container {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.auth-header p {
  color: var(--gray-color);
  font-size: 1rem;
}

/* Auth Info Sidebar */
.auth-info {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.auth-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.auth-info .instructions {
  color: var(--gray-color);
}

.auth-info .info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: var(--light-color);
  border-radius: var(--border-radius);
}

.auth-info .info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.auth-info .info-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.auth-info ol {
  padding-left: 20px;
  margin: 20px 0;
}

.auth-info ol li {
  margin-bottom: 10px;
  color: var(--gray-color);
}

/* Registration Steps Indicator */
.registration-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
  padding: 0 10px;
}

.registration-steps::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--light-gray);
  z-index: 0;
}

.registration-steps .step {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 8px 15px;
  border-radius: 20px;
  border: 2px solid var(--light-gray);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-color);
  transition: var(--transition);
  cursor: default;
}

.registration-steps .step.active {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: var(--white);
}

.registration-steps .step.completed {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: var(--white);
}

/* Multi-Step Form */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.form-step h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--dark-color);
}

/* Radio Groups for Account Type Selection */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}

.radio-group label:hover {
  border-color: var(--primary-color);
  background: var(--light-color);
}

.radio-group label input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.radio-group label input[type="radio"]:checked + i,
.radio-group label:has(input[type="radio"]:checked) {
  border-color: var(--primary-color);
  background: var(--light-color);
}

.radio-group label i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Checkbox Groups */
.checkbox-group {
  margin-bottom: 20px;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.checkbox-group span {
  line-height: 1.6;
  color: var(--gray-color);
}

.checkbox-group a {
  color: var(--primary-color);
  text-decoration: underline;
}

.checkbox-group a:hover {
  color: var(--secondary-color);
}

/* Remember Me Checkbox */
.remember-me {
  display: flex;
  align-items: center;
  gap: 10px;
}

.remember-me input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.remember-me label {
  cursor: pointer;
  color: var(--gray-color);
  margin: 0;
}

/* Forgot Password Link */
.forgot-password {
  text-align: right;
  margin-top: 10px;
}

.forgot-password a {
  color: var(--primary-color);
  font-size: 0.9rem;
  transition: var(--transition);
}

.forgot-password a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Password Strength Indicator */
.password-strength {
  height: 4px;
  border-radius: 2px;
  margin-top: 10px;
  background: var(--light-gray);
  overflow: hidden;
  position: relative;
}

.password-strength::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  transition: all 0.3s ease;
}

.password-strength.weak::after {
  width: 33%;
  background: #dc2626;
}

.password-strength.medium::after {
  width: 66%;
  background: #f59e0b;
}

.password-strength.strong::after {
  width: 100%;
  background: #10b981;
}

.password-feedback {
  font-size: 0.85rem;
  margin-top: 5px;
  color: var(--gray-color);
}

.confirm-feedback {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 5px;
}

/* Account Summary */
.account-summary {
  background: var(--light-color);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.account-summary p {
  margin-bottom: 10px;
  color: var(--dark-color);
  display: flex;
  justify-content: space-between;
}

.account-summary strong {
  color: var(--primary-color);
}

/* Auth Divider */
.auth-divider {
  position: relative;
  text-align: center;
  margin: 30px 0;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--light-gray);
}

.auth-divider span {
  position: relative;
  background: var(--white);
  padding: 0 15px;
  color: var(--gray-color);
  font-size: 0.9rem;
}

/* Auth Footer */
.auth-footer {
  text-align: center;
  margin-top: 20px;
}

.auth-footer p {
  margin-bottom: 10px;
  color: var(--gray-color);
}

.auth-footer a {
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

.auth-footer a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Test Credentials Box */
.test-credentials {
  background: var(--light-color);
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-top: 20px;
}

.test-credentials h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.test-credentials .text-muted {
  color: var(--gray-color);
  font-size: 0.875rem;
}

.test-credentials .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.test-credentials p {
  margin: 0;
  padding: 10px;
  background: var(--white);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
}

/* Form Navigation Buttons */
.reg-next-step,
.reg-prev-step {
  margin-top: 20px;
}

.reg-prev-step {
  margin-right: 10px;
}

.btn-outline-secondary {
  background: transparent;
  color: var(--gray-color);
  border: 2px solid var(--light-gray);
}

.btn-outline-secondary:hover {
  background: var(--light-color);
  border-color: var(--gray-color);
  color: var(--dark-color);
}

/* Error States */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #dc2626;
}

.error-feedback {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 5px;
  display: none;
}

.field-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 5px;
}

.is-invalid {
  border-color: #dc2626 !important;
}

/* Password Strength Meter */
.password-strength {
    height: 4px;
    margin-top: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.password-strength.weak {
    background-color: #dc2626;
    width: 25%;
}

.password-strength.medium {
    background-color: #d97706;
    width: 50%;
}

.password-strength.strong {
    background-color: #059669;
    width: 100%;
}

/* Error states */
input.error {
    border-color: #dc2626 !important;
}

.field-error {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Alert enhancements */
.alert-warning {
    border-left: 4px solid #d97706;
}

.alert-danger {
    border-left: 4px solid #dc2626;
}

.alert-success {
    border-left: 4px solid #059669;
}

/* =======================================
   BACK TO TOP BUTTON
   ======================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* =======================================
   RESPONSIVE DESIGN
   ======================================= */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .auth-section .container {
    grid-template-columns: 1fr;
  }

  .auth-info {
    position: static;
    max-height: none;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .registration-steps {
    flex-direction: column;
    gap: 10px;
  }

  .registration-steps::before {
    display: none;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .auth-container {
    padding: 25px;
  }

  .auth-info {
    padding: 25px;
  }

  .newsletter-form .form-group {
    flex-direction: column;
  }

  .btn-subscribe {
    width: 100%;
  }
}

/* =======================================
   UTILITY CLASSES
   ======================================= */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.p-3 {
  padding: 0.75rem;
}

.border {
  border: 1px solid var(--light-gray);
}

.rounded {
  border-radius: var(--border-radius);
}

.text-muted {
  color: var(--gray-color);
}

.small {
  font-size: 0.875rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.col-md-6 {
  flex: 1;
  min-width: 250px;
}

/* =======================================
   SMOOTH SCROLLING
   ======================================= */
html {
  scroll-behavior: smooth;
}

/* =======================================
   ANIMATIONS
   ======================================= */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

.slide-in-up {
  animation: slideInUp 0.6s ease;
}
