/* ========================================
   CSS Variables (Design Tokens)
======================================== */
:root {
  --maroon: #7C1D1D;
  --maroon-dark: #5A1515;
  --maroon-light: #9E2B2B;
  --cream: #F7F3ED;
  --gold: #C9A227;
  --gold-light: #E8D48A;
  --transition-base: 0.3s;
  --shadow-card: 0 10px 25px -5px rgba(0,0,0,0.1);
  --shadow-card-hover: 0 25px 50px -12px rgba(124, 29, 29, 0.25);
}

/* ========================================
   Page Load Animation (Scroll Reveal)
======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slideInRight {
  animation: slideInRight 0.8s ease-out forwards;
}

.animate-scaleIn {
  animation: scaleIn 0.7s ease-out forwards;
}

/* Staggered animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Initially hidden for scroll animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Base Styles
======================================== */
body {
  font-family: 'Noto Sans Thai', sans-serif;
  background-color: var(--cream);
  margin: 0;
  padding: 0;
}

.font-heading {
  font-family: 'Playfair Display', serif;
}

/* ========================================
   Header (Navigation)
======================================== */
.header {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Top Nav Links */
.top-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-radius: 0.5rem;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.top-nav-link:hover,
.top-nav-link.active {
  background: rgba(255,255,255,0.15);
  color: white;
}

.top-nav-link.ita-badge {
  background: var(--gold);
  color: var(--maroon-dark);
  font-weight: 700;
}

.top-nav-link.ita-badge:hover {
  background: var(--gold-light);
  color: var(--maroon-dark);
}

/* Menu Dropdown */
.menu-group {
  position: relative;
}

.menu-group:hover .menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-dropdown {
  position: absolute;
  top: 100%;
  margin-top: 0.5rem;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  z-index: 100;
}

.menu-dropdown-inner {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.menu-dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--maroon);
  background: var(--cream);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.menu-dropdown-header svg {
  color: var(--gold);
}

.menu-items {
  padding: 0.5rem;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  border-radius: 0.5rem;
  transition: all 0.15s;
  text-decoration: none;
}

.menu-item:hover {
  background: var(--cream);
  color: var(--maroon);
}

.menu-item.active {
  background: var(--cream);
  color: var(--maroon);
  font-weight: 600;
}

.menu-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(124, 29, 29, 0.1);
  color: var(--maroon);
  flex-shrink: 0;
}

/* Mobile Navigation */
.mobile-nav-link {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.2s;
}

.mobile-nav-link:hover {
  background: rgba(255,255,255,0.1);
}

.mobile-nav-link.sub {
  padding-left: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.mobile-nav-link.ita {
  background: var(--gold);
  color: var(--maroon-dark);
  font-weight: 700;
  text-align: center;
}

.mobile-menu-group {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-toggle {
  display: block;
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-toggle::after {
  content: '+';
  font-size: 1.25rem;
}

.mobile-menu-group.active .mobile-menu-toggle::after {
  content: '-';
}

.mobile-menu-content {
  display: none;
  padding-bottom: 0.5rem;
}

.mobile-menu-group.active .mobile-menu-content {
  display: block;
}

.nav-link {
  position: relative;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav-link:hover { color: var(--maroon); }
.nav-link:hover::after { width: 100%; }

.btn-primary {
  background-color: var(--maroon);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--transition-base);
  font-size: 0.875rem;
}

.btn-primary:hover { background-color: var(--maroon-dark); }

/* Mobile Dropdown */
.mobile-dropdown-btn {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-dropdown-content a {
  border-bottom: none;
}

/* ========================================
   Hero Slider
======================================== */
.slider-section {
  position: relative;
  height: 70vh;
  min-height: 400px;
  max-height: 700px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slider-slide {
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  z-index: 20;
}

.slider-btn:hover { background: var(--gold); color: var(--maroon); }
.slider-btn-prev { left: 24px; }
.slider-btn-next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition-base);
}

.slider-dot.active { background: var(--gold); transform: scale(1.2); }

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* ========================================
   Congratulations Carousel
======================================== */
.congrats-section {
  padding: 4rem 0;
  background-color: var(--cream);
}

.congrats-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.congrats-slider {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
}

.congrats-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.congrats-item {
  min-width: 33.3333%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.congrats-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 16rem;
}

.congrats-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.congrats-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow-card);
  color: var(--maroon);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  z-index: 10;
  border: none;
}

.congrats-btn:hover { background: var(--maroon); color: white; }
.congrats-btn-prev { left: 0.5rem; }
.congrats-btn-next { right: 0.5rem; }

.congrats-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.congrats-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all var(--transition-base);
}

.congrats-dot.active { background: var(--maroon); transform: scale(1.2); }

/* ========================================
   Awards & Achievements Carousel
======================================== */
.awards-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
}

.awards-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.awards-container .section-title {
  color: white;
}

.awards-container .text-gray-600 {
  color: rgba(255, 255, 255, 0.7);
}

.awards-slider {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.awards-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.awards-item {
  min-width: 20%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.awards-card {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2);
  height: 14rem;
  position: relative;
}

.awards-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.awards-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--gold);
  color: var(--maroon-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.awards-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2);
  color: var(--maroon);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  z-index: 10;
  border: none;
}

.awards-btn:hover { background: var(--gold); color: var(--maroon-dark); }
.awards-btn-prev { left: 0.5rem; }
.awards-btn-next { right: 0.5rem; }

.awards-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.awards-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-base);
}

.awards-dot.active { background: var(--gold); transform: scale(1.2); }

/* ========================================
   e-Service Section
======================================== */
.eservice-section {
  padding: 5rem 0;
  background-color: var(--cream);
}

.eservice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 15px -3px rgba(0,0,0,0.08);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.eservice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(124, 29, 29, 0.15);
  border-color: var(--maroon);
}

.eservice-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.eservice-card:hover .eservice-icon {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--maroon-dark);
  transform: scale(1.1);
}

.eservice-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--maroon);
  margin-bottom: 0.25rem;
}

.eservice-desc {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.3;
}

/* ========================================
   Section Titles
======================================== */
.section-title {
  font-family: 'Playfair Display', serif;
  color: var(--maroon);
  font-size: 2.25rem;
  font-weight: 700;
}

.section-subtitle {
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.gold-line {
  position: relative;
  display: inline-block;
}

.gold-line::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ========================================
   About Section
======================================== */
.about-section {
  padding: 6rem 0;
  background-color: var(--cream);
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--maroon);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
}

.about-image {
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(124, 29, 29, 0.8));
  color: white;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(124, 29, 29, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  flex-shrink: 0;
}

/* ========================================
   Department Cards
======================================== */
.dept-section {
  padding: 6rem 0;
  background: white;
}

.dept-card {
  background: var(--cream);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s;
}

.dept-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.dept-card-image {
  height: 12rem;
  overflow: hidden;
  position: relative;
}

.dept-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.dept-card:hover .dept-card-image img { transform: scale(1.05); }

.dept-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(transparent, rgba(124, 29, 29, 0.8));
}

.dept-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition-base);
}

.dept-link:hover { gap: 0.75rem; }

/* ========================================
   News Section
======================================== */
.news-section {
  padding: 6rem 0;
  background: var(--cream);
}

.news-card {
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.4s;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(124, 29, 29, 0.2);
  border-color: var(--gold);
}

.news-card:hover .news-image img {
  transform: scale(1.08);
}

.news-image {
  height: 14rem;
  overflow: hidden;
  position: relative;
}

.news-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(124, 29, 29, 0.15));
  pointer-events: none;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.news-tag-red { background: var(--maroon); color: white; }
.news-tag-gold { background: var(--gold); color: var(--maroon-dark); }
.news-tag-green { background: #16a34a; color: white; }
.news-tag-blue { background: #2563eb; color: white; }
.news-tag-purple { background: #7c3aed; color: white; }

/* ========================================
   Info News Section (Procurement & Recruitment)
======================================== */
.info-news-section {
  padding: 4rem 0;
  background: white;
}

.info-news-card {
  background: var(--cream);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
}

.info-news-item {
  display: block;
  padding: 0.875rem;
  background: white;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.info-news-item:hover {
  border-color: var(--gold);
  transform: translateX(5px);
  box-shadow: 0 4px 15px -3px rgba(0,0,0,0.08);
}

.info-news-date {
  font-size: 0.7rem;
  font-weight: 600;
  color: #9ca3af;
  white-space: nowrap;
  min-width: 60px;
}

.info-news-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.info-news-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: #fee2e2;
  color: #dc2626;
}

.info-news-tag.info-tag-green {
  background: #d1fae5;
  color: #059669;
}

.info-news-tag.info-tag-blue {
  background: #dbeafe;
  color: #2563eb;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--maroon);
  transition: gap 0.2s ease;
}

.view-all-link:hover {
  gap: 0.5rem;
}

/* ========================================
   Programs Section
======================================== */
.programs-section {
  padding: 5rem 0;
  background: var(--cream);
}

.programs-section .section-title {
  color: var(--maroon);
}

/* Tab Buttons */
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

.tab-btn.active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: white;
}

.tab-btn svg {
  flex-shrink: 0;
}

/* Tab Content */
.tab-content {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Program Card */
.program-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-radius: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.program-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -5px rgba(201, 162, 39, 0.3);
}

.program-code {
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.4rem 0.65rem;
  background: var(--maroon);
  color: white;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.program-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .tab-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  .tab-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
  padding: 5rem 0;
  background: var(--maroon);
  position: relative;
  overflow: hidden;
}

.cta-blob {
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(60px);
}

.cta-blob-1 { top: 0; left: 25%; background: var(--gold); }
.cta-blob-2 { bottom: 0; right: 25%; background: white; }

.cta-btn {
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-base);
}

.cta-btn-gold { background: var(--gold); color: var(--maroon); }
.cta-btn-gold:hover { background: var(--gold-light); }
.cta-btn-outline { border: 2px solid white; color: white; }
.cta-btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ========================================
   Contact Section
======================================== */
.contact-section {
  padding: 6rem 0;
  background: white;
}

.contact-card {
  background: var(--cream);
  border-radius: 1.5rem;
  padding: 2rem;
}

.contact-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  outline: none;
  transition: all var(--transition-base);
  font-size: 1rem;
}

.contact-input:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(124, 29, 29, 0.1);
}

.contact-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(124, 29, 29, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  flex-shrink: 0;
}

/* ========================================
   Footer
======================================== */
.footer {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: white;
  padding: 4rem 0;
}

.footer-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-link:hover { color: var(--gold); }

.social-btn {
  width: 3rem;
  height: 3rem;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all var(--transition-base);
}

.social-btn:hover { background: var(--gold); color: var(--maroon); }

/* ========================================
   Utilities
======================================== */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
  .slider-section { height: 60vh; }
  .congrats-item { min-width: 50%; }
  .awards-item { min-width: 33.3333%; }
}

@media (max-width: 768px) {
  .slider-section { height: 50vh; min-height: 300px; }
  .slider-btn { width: 40px; height: 40px; }
  .slider-btn-prev { left: 12px; }
  .slider-btn-next { right: 12px; }
  .congrats-item { min-width: 100%; }
  .awards-item { min-width: 50%; }
  .about-image img { height: 300px; }
  .about-badge { right: 0; bottom: -1rem; }
}

@media (max-width: 640px) {
  .slider-section { height: 40vh; min-height: 250px; }
  .awards-item { min-width: 100%; }
  .eservice-card { padding: 1rem 0.75rem; }
  .eservice-icon { width: 3rem; height: 3rem; }
  .eservice-name { font-size: 0.85rem; }
}
