@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

/* CSS Variables - Green Theme */
:root {
  --primary-green: #1b6d4a;
  --primary-green-light: #2a8b5e;
  --accent-green: #d4f1e4;
  --accent-green-dark: #a8e6d0;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --transition: all 0.3s ease;
  /* Font families */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.6;
}

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

a:hover {
  color: var(--primary-green-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background-color: var(--bg-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

/* Update logo and brand styles for actual logo image */
.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 0;
}

.logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

/* Apply Trajan Pro-like serif font to brand subtitle */
.brand-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: width 0.3s ease;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-green);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  /* Background with semi-transparent gradient overlay on image */
  background: linear-gradient(135deg, rgba(27, 109, 74, 0.8) 0%, rgba(13, 61, 38, 0.8) 100%), url("public/dlsjbc-bg.jpg") center /
    cover no-repeat;
  color: white;
  padding: 100px 20px 20px;
  min-height: calc(80vh - 100px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero-content {
  /* Restored to centered layout with original max-width */
  max-width: 700px;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-buttons {
  /* Restored to center-aligned buttons */
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--primary-green);
  border-color: white;
}

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

.btn-light:hover {
  background-color: var(--accent-green);
}

/* Sections */
.section-title {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-heading);
  text-align: center;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 50px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.view-all {
  color: var(--primary-green);
  font-weight: 600;
}

/* Features Section */
.why-choose {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-green);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

.feature-card h3 {
  font-size: 18px;
  font-family: var(--font-heading);
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Latest News Section */
.latest-news {
  padding: 80px 20px;
}

/* Homepage latest news uses articles-grid styling for consistency */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

/* Homepage latest news uses articles-grid styling for consistency */

.news-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  cursor: pointer;
}

.news-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.news-content {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-light);
}

.news-card h3 {
  padding: 0 20px 20px;
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.5;
}

.news-category {
  background-color: var(--accent-green);
  color: var(--primary-green);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.news-date {
  color: var(--text-secondary);
  font-size: 12px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  font-family: var(--font-heading);
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

/* Footer */
.footer {
  background-color: var(--primary-green);
  color: white;
  padding: 60px 20px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-family: var(--font-heading);
  margin-bottom: 15px;
  font-size: 16px;
}

.footer-section p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.8;
}

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

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: white;
  opacity: 0.9;
  transition: var(--transition);
}

.footer-section a:hover {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 40px;
  font-family: var(--font-heading);
  margin-bottom: 10px;
}

.page-header p {
  font-size: 16px;
  opacity: 0.95;
}

/* Mission & Vision */
.mission-vision {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.mv-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mv-icon {
  width: 70px;
  height: 70px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-green);
}

.mv-icon svg {
  width: 35px;
  height: 35px;
}

.mv-card h2 {
  font-size: 24px;
  font-family: var(--font-heading);
  margin-bottom: 15px;
}

.mv-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* History */
.history {
  padding: 80px 20px;
}

.history-content {
  max-width: 800px;
  margin: 0 auto;
}

.history-content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: center;
}

/* Core Values */
.core-values {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.value-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.value-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-green);
}

.value-icon svg {
  width: 30px;
  height: 30px;
}

.value-card h3 {
  font-size: 18px;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

/* Admission Process */
.admission-process {
  padding: 80px 20px;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
}

.process-step {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 20px;
  color: var(--primary-green);
}

.step-icon svg {
  width: 30px;
  height: 30px;
}

.process-step h3 {
  font-size: 18px;
  font-family: var(--font-heading);
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Requirements */
.requirements {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.requirement-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.requirement-box h3 {
  font-size: 20px;
  font-family: var(--font-heading);
  margin-bottom: 20px;
  color: var(--primary-green);
}

.requirement-box ul {
  list-style: none;
}

.requirement-box li {
  padding-bottom: 12px;
  padding-left: 20px;
  position: relative;
  color: var(--text-secondary);
  font-size: 14px;
}

.requirement-box li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
}

/* Forms */
.application-form-section,
.contact-form-section {
  padding: 80px 20px;
}

.form-card {
  background: white;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  margin: 0 auto;
}

.form-card h2 {
  font-size: 28px;
  font-family: var(--font-heading);
  margin-bottom: 10px;
  color: var(--text-primary);
}

.form-card > p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(27, 109, 74, 0.1);
}

.form-group textarea {
  resize: vertical;
}

/* Contact Info */
.contact-info {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-green);
}

.contact-icon svg {
  width: 30px;
  height: 30px;
}

.contact-card h3 {
  font-size: 18px;
  font-family: var(--font-heading);
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

/* Articles */
.articles-section {
  padding: 80px 20px;
}

.search-filter {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
}

.search-box svg {
  position: absolute;
  right: 15px;
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  pointer-events: none;
}

.search-filter select {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  min-width: 150px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.article-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  cursor: pointer;
}

.article-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.article-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.article-info {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-light);
}

.article-category {
  background-color: var(--accent-green);
  color: var(--primary-green);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.article-date {
  color: var(--text-secondary);
  font-size: 12px;
}

.article-card h3 {
  padding: 0 20px 20px;
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999;
  }

  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    width: 100%;
  }

  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .features-grid,
  .news-grid,
  .values-grid,
  .contact-cards,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .form-card {
    padding: 30px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .search-filter {
    flex-direction: column;
  }

  .search-filter select {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 22px;
  }

  .hero-subtitle,
  .section-subtitle {
    font-size: 14px;
  }

  .page-header h1 {
    font-size: 22px;
  }

  .cta-section h2 {
    font-size: 24px;
  }

  .process-step {
    padding: 25px;
  }

  .mv-card,
  .value-card,
  .feature-card {
    padding: 25px;
  }
}

/* Loading Spinner */
.news-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.news-loading p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Fade-in animation for news cards */
.news-card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

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

/* No articles message */
.no-articles {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Hero Slider Section - Full Screen (Desktop + Mobile) */
#home {
  display: block !important;
  width: 100% !important;
}
.hero-slider,
.hero-slider-desktop,
.hero-slider-mobile {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 280px;
  position: relative;
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.hero-slider-desktop {
  display: block;
  min-height: 600px;
  max-height: none;
}

.hero-slider-mobile {
  display: none;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  max-height: none;
  height: auto;
  box-sizing: border-box;
  flex-shrink: 0;
}

.slider-container {
  width: 100%;
  height: 100%;
  min-height: inherit;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-slider-desktop .slider-container {
  min-height: 600px;
}

.hero-slider-mobile .slider-container {
  min-height: 280px;
}

/* Mobile toggle - CONSOLIDATED */
@media (max-width: 768px) {
  .hero-slider-desktop {
    display: none !important;
  }
  .hero-slider-mobile {
    display: block !important;
  }
}

.slider-wrapper {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
  box-sizing: border-box;
  flex-shrink: 0;
}

.slider-slide {
  flex: 0 0 100%;
  flex-shrink: 0;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slider-slide img,
.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  z-index: 0;
}


.slider-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2); /* Lighter overlay */
  z-index: 1;
}

.slider-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 20px;
}

.slider-content h2 {
  font-size: clamp(24px, 5vw + 1rem, 48px);
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 20px;
  line-height: 1.2;
}

.slider-content p {
  font-size: clamp(14px, 4vw + 0.5rem, 18px);
  margin-bottom: clamp(20px, 5vw, 30px);
  opacity: 0.95;
  line-height: 1.6;
}

.slider-content .btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  border: 2px solid white;
  background-color: white;
  color: var(--primary-green);
  text-decoration: none;
  cursor: pointer;
}

.slider-content .btn:hover {
  background-color: transparent;
  color: white;
}

/* Slider Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (hover: hover) {
  .slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.4);
  }
}



.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  width: auto;
  gap: 10px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.slider-dot {
  width: clamp(12px, 4vw, 16px);
  height: clamp(12px, 4vw, 16px);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: white;
  transform: scale(1.2);
}

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

/* Featured Section */
.featured-section {
  padding: 20px;
  min-height: calc(30vh - 40px);
  display: flex;
  align-items: center;
  background-color: var(--bg-light);
}

.featured-section .container {
  text-align: left;
  max-width: 100%;
}

.featured-section .section-title {
  text-align: center;
  margin-bottom: 10px;
}

.featured-section .section-subtitle {
  text-align: left;
  margin-bottom: 0;
}

/* Slider Loading State */
.slider-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: white;
  font-size: 18px;
}

/* Responsive Slider */
@media (max-width: 768px) {
  .hero-slider-mobile {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    height: auto;
    min-height: 280px;
    margin-bottom: 48px;
    background: #000;
  }

  .hero-slider-mobile .slider-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: 280px;
    height: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.22);
    background: #000;
  }

  .hero-slider-mobile .slider-wrapper,
  .hero-slider-mobile .slider-slide {
    width: 100%;
    height: 100%;
    min-height: 100%;
  }

  .hero-slider-mobile .slider-slide {
    position: relative;
    align-items: stretch;
  }

  .hero-slider-mobile .slider-image,
  .hero-slider-mobile .slider-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
  }

  .hero-slider-mobile .slider-content {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: calc(100% - 24px);
    background: rgba(0, 0, 0, 0.42);
    padding: 10px 12px;
    border-radius: 10px;
    z-index: 10;
  }

  .hero-slider-mobile .slider-content h2 {
    font-size: clamp(16px, 5vw, 22px);
    margin-bottom: 6px;
  }

  .hero-slider-mobile .slider-content p {
    font-size: clamp(12px, 3.5vw, 16px);
    margin-bottom: 8px;
  }

  .hero-slider-mobile .slider-content .btn {
    font-size: clamp(12px, 3.5vw, 14px);
    padding: clamp(8px, 2.5vw, 12px) clamp(14px, 4vw, 18px);
  }

  .hero-slider-mobile .slider-arrow {
    width: clamp(36px, 10vw, 42px);
    height: clamp(36px, 10vw, 42px);
    font-size: clamp(18px, 4vw, 22px);
    background-color: rgba(0, 0, 0, 0.42);
  }

  .hero-slider-mobile .slider-prev {
    left: 8px;
  }

  .hero-slider-mobile .slider-next {
    right: 8px;
  }

  .hero-slider-mobile .slider-dots {
    bottom: 8px;
    display: inline-flex;
    width: auto;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 10px;
    border-radius: 16px;
    backdrop-filter: blur(4px);
  }
}

@media (max-width: 480px) {
  .hero-slider-mobile {
    /* Removed min-height to allow auto-sizing */
  }

  .hero-slider-mobile .slider-dots {
    bottom: clamp(15px, 4vw, 25px);
    gap: clamp(8px, 3vw, 12px);
    padding: clamp(6px, 2vw, 8px) clamp(10px, 3vw, 12px);
    border-radius: clamp(16px, 5vw, 20px);
  }
}

@media (max-width: 360px) {
  .hero-slider-mobile {
    /* Removed min-height to allow auto-sizing */
  }
  
  .hero-slider-mobile .slider-content {
    padding: 8px;
  }
}
