/* 
 * IRC Technical Institute - Unified Core Stylesheet
 * Integrates premium corporate design with multi-page structure.
 */

/* Import Google Font (Inter) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-medium);
  background-color: var(--white);
  line-height: var(--line-height-body);
  overflow-x: hidden;
  background-image: radial-gradient(circle at 100% 0%, rgba(128, 0, 0, 0.03) 0%, transparent 50%),
                    radial-gradient(circle at 0% 100%, rgba(217, 119, 6, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: var(--line-height-heading);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: var(--font-size-h3);
  margin-bottom: var(--spacing-xs);
}

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
}

a {
  color: var(--primary-maroon);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark-red);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }
.mt-auto { margin-top: auto; }

.bg-maroon {
  background: linear-gradient(135deg, var(--primary-dark-red) 0%, var(--primary-maroon) 100%);
  color: var(--white);
}
.bg-maroon h1, .bg-maroon h2, .bg-maroon h3, .bg-maroon p { color: var(--white); }

.bg-charcoal {
  background: linear-gradient(135deg, var(--charcoal) 0%, #1E293B 100%);
  color: var(--text-light);
  border-bottom: 1px solid var(--dark-gray);
}
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3 { color: var(--white); }
.bg-charcoal p { color: rgba(255, 255, 255, 0.8); }

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.badge-maroon {
  background-color: var(--primary-light);
  color: var(--primary-maroon);
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  font-family: var(--font-heading);
  min-height: 44px;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
  background-color: var(--primary-dark-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-maroon);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border-color: var(--primary-maroon);
  color: var(--primary-maroon);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark-red);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--white);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--light-gray);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  border: none;
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

/* Header & Glassmorphism Navigation */
header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--medium-gray);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
}

header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-normal);
}

header.scrolled .nav-container {
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  height: 68px; /* 20px bigger than original 48px */
  width: auto;
  display: block;
  transition: var(--transition-normal);
}

header.scrolled .logo img {
  height: 58px; /* Slightly compact when header shrinks on scroll */
}

.logo-text {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-maroon);
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  white-space: nowrap;
  transition: var(--transition-normal);
}

header.scrolled .logo-text {
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-medium);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-maroon);
  transition: var(--transition-fast);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-maroon);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-dark);
  cursor: pointer;
  line-height: 1;
}

/* Glassmorphism Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu { 
  display: none; 
  position: absolute; 
  top: 100%; 
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: rgba(255, 255, 255, 0.98); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 760px; 
  box-shadow: var(--shadow-lg); 
  z-index: 1000; 
  border-radius: var(--radius-md); 
  border: 1px solid var(--medium-gray);
  padding: 20px; 
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dropdown:hover .dropdown-menu {
  display: grid;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dropdown-category {
  display: flex;
  flex-direction: column;
}

.category-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-maroon);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 6px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-align: center;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-list li {
  margin: 0;
}

.category-list li a { 
  display: block; 
  padding: 8px 12px; 
  color: var(--text-medium); 
  font-weight: 500;
  border-bottom: none;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-align: center;
}

.category-list li a::after {
  display: none;
}

.category-list li a:hover { 
  background-color: var(--primary-light); 
  color: var(--primary-maroon); 
}

/* Sections */
section {
  padding: var(--spacing-2xl) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl) auto;
}

.section-header h2 {
  font-size: var(--font-size-h2);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Grids */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 2rem;
}

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

/* Glassmorphism Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--medium-gray);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--primary-light);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img {
  transform: scale(1.03);
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.card-content h3 {
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.card-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
}

/* Course Cards Specifics */
.course-card h3 {
  color: var(--primary-maroon);
}

.course-card:hover h3 {
  color: var(--primary-dark-red);
}

/* Form Elements */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--light-gray);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-maroon);
  box-shadow: 0 0 0 3px var(--primary-light);
  background-color: var(--white);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Footer styling */
footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-xl) 0 var(--spacing-md) 0;
  border-top: 5px solid var(--primary-maroon);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* Specific Page Accents & Custom Layouts */

/* Hero */
.hero {
  background-color: var(--primary-maroon);
  background-image: linear-gradient(rgba(128, 0, 0, 0.9), rgba(90, 0, 0, 0.9)), url('../assets/images/hero_classroom.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 140px 0 100px 0;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-size: 3.25rem;
  line-height: 1.15;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Trust Section */
.trust-section {
  background-color: var(--charcoal);
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-card {
  text-align: center;
  padding: var(--spacing-md);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-card:last-child {
  border-right: none;
}

.trust-card h3 {
  color: var(--accent-gold);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-xs);
  font-weight: 800;
}

.trust-card p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* Why Choose List */
.why-choose {
  background-color: var(--light-gray);
}

.why-list {
  list-style: none;
}

.why-list li {
  margin-bottom: var(--spacing-md);
  padding-left: 35px;
  position: relative;
  font-weight: 500;
  color: var(--text-medium);
}

.why-list li::before {
  content: '✓';
  color: var(--primary-maroon);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

/* FAQ Styling */
.faq-teaser .faq-item, .faq-container .faq-item {
  background: var(--white);
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--medium-gray);
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-teaser .faq-item:hover, .faq-container .faq-item:hover {
  border-color: var(--primary-maroon);
}

.faq-teaser .faq-question, .faq-container .faq-question {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.faq-teaser .faq-answer, .faq-container .faq-answer {
  display: none;
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--medium-gray);
  color: var(--text-medium);
  line-height: 1.6;
}

.faq-teaser .faq-item.active .faq-answer, .faq-container .faq-item.active .faq-answer {
  display: block;
}

/* Page Headers for subpages */
.subpage-hero {
  padding-top: 140px;
  padding-bottom: var(--spacing-xl);
  text-align: center;
}

.subpage-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Contact layout specifics */
.contact-details-list {
  margin-bottom: 2rem;
}

.contact-detail-row {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-icon-box {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-text-box h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-text-box p {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Modal styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  display: flex;
  flex-direction: row;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transform: scale(0.95);
  transition: var(--transition-normal);
  border: none;
}

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

.modal-banner {
  flex: 1;
  background: linear-gradient(135deg, var(--primary-maroon) 0%, #4a0000 100%);
  color: var(--white);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.modal-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  z-index: 1;
}

.modal-banner > * {
  position: relative;
  z-index: 2;
}

.modal-banner h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #ffffff;
}

.modal-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 2rem;
  color: #ffffff;
}

.modal-banner-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-banner-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
}

.modal-banner-features svg {
  color: #10B981;
  flex-shrink: 0;
}

.modal-form-section {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--white);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(0,0,0,0.05);
  border: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background-color: rgba(0,0,0,0.1);
  color: var(--primary-maroon);
}

.modal-body {
  padding: 3rem 2.5rem 2.5rem;
  overflow-y: auto;
  flex: 1;
}

.modal-body h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.modal-body > p {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.modal-form-group {
  margin-bottom: 1.25rem;
}

.modal-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.modal-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  background-color: #F8FAFC;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.modal-form-input:focus {
  outline: none;
  border-color: var(--primary-maroon);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.1);
}

.modal-submit-btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(128, 0, 0, 0.2);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--charcoal);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(150%);
  transition: var(--transition-normal);
  z-index: 3000;
  font-weight: 500;
  font-size: 0.95rem;
  border-left: 4px solid var(--success-green);
}

.toast-notification.active {
  transform: translateY(0);
}

.toast-success-icon {
  color: var(--success-green);
  flex-shrink: 0;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

/* Micro-animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.animate-pulse {
  animation: pulse 2s infinite ease-in-out;
}

/* Career Card Details (Course Pages) */
.career-card-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--medium-gray);
  box-shadow: var(--shadow-sm);
}

/* ==========================================
   Hero Slider Section (Split 2-Column Layout)
   ========================================== */
.hero-slider-section {
  position: relative;
  height: 80vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #1C0505 0%, var(--charcoal) 100%);
  display: flex;
  align-items: center;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide-content-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.slide-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.slide-text {
  color: var(--white);
  text-align: left;
}

.slide-text h1,
.slide-text h2 {
  font-size: 3.25rem;
  line-height: 1.15;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  padding-left: 20px;
}

.slide-image-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.slide-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.03);
}

.slide-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background-color: var(--primary-maroon);
  border-color: var(--primary-maroon);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev {
  left: 30px;
}

.slider-arrow.next {
  right: 30px;
}

/* Dots Page Indicators */
.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.65);
}

.slider-dot.active {
  background-color: var(--primary-maroon);
  border-color: var(--primary-maroon);
  width: 22px;
  border-radius: 10px;
}

/* Responsive Overrides (Grid Stacking for mobile) */
@media (max-width: 768px) {
  .hero-slider-section {
    height: auto;
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 60px;
    display: block;
  }

  .hero-slider {
    height: auto;
  }
  
  .slide {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    opacity: 1;
    visibility: visible;
    display: none;
    transition: none;
  }
  
  .slide.active {
    display: block;
  }
  
  .slide-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .slide-text {
    text-align: center;
  }
  
  .slide-text h1,
  .slide-text h2 {
    font-size: 2.15rem;
    margin-bottom: 1.25rem;
    padding-left: 0;
  }
  
  .slide-image-wrapper {
    max-width: 320px;
    height: 320px;
    margin: 0 auto;
  }

  .slider-arrow {
    display: none;
  }
  
  .slider-dots {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 2rem;
    justify-content: center;
  }
}
