/* Modern Professional Design System */
:root {
  /* Colors */
  --primary-color: #2A5CAA;
  /* Royal Blue */
  --primary-dark: #1a3c75;
  --secondary-color: #D4AF37;
  /* Metallic Gold (More professional than FFD700) */
  --secondary-light: #F4D03F;
  --text-dark: #2c3e50;
  --text-light: #596275;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --white: #ffffff;

  /* Status Colors */
  --success: #27ae60;
  --warning: #f1c40f;
  --danger: #e74c3c;
  --info: #3498db;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;

  /* Spacing & Layout */
  --container-width: 1200px;
  --header-height: 100px;
  --border-radius: 8px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Staff Image Hover Effect */
.staff-img-container {
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto 15px;
  transition: transform 0.3s ease;
}

.staff-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.staff-img:hover {
  filter: hue-rotate(15deg) saturate(140%);
}

.staff-card:hover .staff-img-container {
  transform: scale(1.05);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: none;
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

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

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

.btn.gold {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.btn.gold:hover {
  background-color: var(--secondary-light);
}

/* Cards */
.card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  transition: all 0.3s ease;
}

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

/* Header & Nav */
header {
  height: var(--header-height);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

.logo-image-div {
  flex: 0 0 auto;
}

.logo-image-div img {
  height: 70px;
}

.nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.quick-icons {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 15px;
}

.login-btn-small {
  padding: 6px 12px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.login-btn-small:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 15px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 800;
  color: var(--text-dark);
  font-size: 1.2rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.lang-switch a.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--secondary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(42, 92, 170, 0.8), rgba(42, 92, 170, 0.6)), url('images/hero.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-top: var(--header-height);
}

.hero-content {
  max-width: 800px;
  padding: 30px 0px;
  text-align: center;
}

.hero-logo {
  max-width: 60%;
  min-width: 150px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  opacity: 0.5;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  max-width: 700px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* Lead Text */
.lead-text {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  line-height: 1.8;
}

/* Our Commitment Section */
.commitment {
  padding: 100px 0;
  background-color: var(--bg-white);
}

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

.value-card {
  background: var(--bg-light);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: block;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.value-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

.value-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Student Love Section */
.student-love-container {
  margin-top: 60px;
  background: var(--white);
  padding: 40px 50px;
  border-radius: var(--border-radius);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.student-love-container h3 {
  color: var(--primary-color);
  margin-bottom: 30px;
}

.student-love {
  display: flex;
  flex-direction: column;
  /*gap: 15px; */
}

.student-love li {
  padding: 5px 0;
  font-size: 1rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 15px;
  /*border-bottom: 1px solid #eee;*/
}

.student-love li:last-child {
  border-bottom: none;
}

.student-love li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

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

/* Quick Highlights Section */
.highlights {
  padding: 80px 0;
  background: var(--primary-dark);
}

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

.highlight-card {
  text-align: center;
  padding: 40px 30px;
  background: rgba(59, 130, 246, 0.3);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-card h3 {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.highlight-card p {
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
}

/* Features/Commitment */
.features {
  padding: 100px 0;
}

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

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(42, 92, 170, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Featured Programs */
.programs {
  background-color: var(--bg-light);
  padding: 100px 0;
}

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

.program-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: block;
  border-top: 4px solid var(--primary-color);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--secondary-color);
}

.program-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
  transition: color 0.3s ease;
}

.program-card:hover i {
  color: var(--secondary-color);
}

.program-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.program-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.program-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.program-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 30px;
  color: var(--white);
}

.program-overlay h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.program-overlay h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* News Section */
.news-events {
  padding: 100px 0;
  background-color: var(--bg-light);
}

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

.news-item {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-img {
  height: 200px;
  background-color: #eee;
  background-size: cover;
  background-position: center;
}

.news-content {
  padding: 25px;
}

.news-date {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 50px;
  text-align: center;
}

.footer-section h3 {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.contact-info i {
  color: var(--secondary-color);
  margin-right: 10px;
  width: 20px;
}

.contact-info .btn {
  margin-top: 20px;
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.social-media a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-media a:hover {
  background: var(--secondary-color);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.newsletter h4 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: 1rem;
}

.newsletter form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter input[type="email"] {
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  width: 220px;
  font-size: 0.9rem;
}

.newsletter .btn {
  padding: 12px 25px;
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 25px;
  text-align: center;
}

.legal a {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 10px;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.legal a:hover {
  color: var(--secondary-color);
}

.legal p {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.subscription-message {
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.subscription-success {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
}

.subscription-error {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

/* News Detail */
.news-detail {
  padding: 120px 0 60px;
  /* Account for fixed header */
}

.news-detail-content {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.news-detail-img {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

.news-detail-date {
  color: var(--text-light);
  margin-bottom: 10px;
}

.back-to-news {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-weight: 600;
}

/* Portal Styles */
.portal-layout {
  display: flex;
  min-height: 100vh;
}

.portal-sidebar {
  width: 250px;
  background: var(--primary-dark);
  color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 1000;
}

.portal-sidebar .logo {
  padding: 20px;
  color: white;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  text-align: center;
  display: block;
}

.portal-nav {
  flex: 1;
}

.portal-nav a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s;
}

.portal-nav a:hover,
.portal-nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-left: 4px solid var(--secondary-color);
}

.portal-main {
  flex: 1;
  margin-left: 250px;
  background: #f4f6f8;
  padding: 30px;
}

.portal-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

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

.data-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.data-list li:last-child {
  border-bottom: none;
}

/* Forms */
input,
select,
textarea {
  font-family: inherit;
}

/* Responsive */
@media (max-width: 768px) {
  header .container {
    padding: 0 15px;
  }

  header {
    padding: 0 15px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 20px;
    gap: 15px;
  }

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

  .quick-icons.desktop-only {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .portal-layout {
    flex-direction: column;
  }

  .portal-sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .portal-main {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Leadership & Admin Section */
.leadership-admin {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.leadership-container {
  margin-bottom: 60px;
}

.leadership-principal {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.principal-card {
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.principal-img-container {
  width: 200px;
  height: 200px;
  border: 4px solid var(--secondary-color);
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.grid-staff-heads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  justify-items: center;
}

.grid-staff-admin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center;
}

.staff-card-title {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.staff-card-role {
  color: #666;
  font-size: 0.9em;
  font-weight: 500;
}

.staff-role-bold {
  font-weight: bold;
}

.staff-img-small {
  width: 150px;
  height: 150px;
}

.staff-img-smaller {
  width: 120px;
  height: 120px;
}

/* --- Common Page Layout Styles --- */

.page-container {
  padding: 60px 20px;
  min-height: 60vh;
}

.content-block {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content-sm {
  max-width: 600px;
}

.feature-icon-container {
  text-align: center;
  margin-bottom: 30px;
}

.feature-icon-large {
  font-size: 4rem;
  color: var(--primary-color);
}

.feature-icon-green {
  color: var(--success);
}

.feature-icon-gold {
  color: var(--secondary-color);
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.img-responsive-rounded {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.highlight-box {
  margin-top: 40px;
  padding: 30px;
  border-radius: var(--border-radius);
}

.highlight-box-green {
  background: #e8f5e9;
  border-left: 5px solid var(--success);
}

.highlight-box-blue {
  background: #e1f5fe;
  border-left: 5px solid #29b6f6;
}

/* Admissions Steps */
.admissions-steps {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.step-item {
  text-align: center;
  width: 100px;
}

.step-circle {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  line-height: 50px;
  margin: 0 auto;
  font-weight: bold;
}

.step-connector {
  height: 2px;
  width: 50px;
  background: #ddd;
}

/* Student Life Page Styles */
.student-life-header {
  background: var(--primary-dark);
  color: white;
  padding: 30px 0;
  text-align: center;
  margin-bottom: 30px;
}

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

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

.activity-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-5px);
}

.activity-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.activity-content {
  padding: 20px;
}

.activity-content h3 {
  margin-top: 0;
  color: var(--text-dark);
}

.activity-content p {
  color: #666;
  line-height: 1.6;
}

.view-details {
  display: inline-block;
  margin-top: 15px;
  color: var(--warning);
  font-weight: bold;
  text-decoration: none;
}

.view-details:hover {
  text-decoration: underline;
}

/* Activity Detail Styles */
.activity-detail {
  display: none;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.back-to-activities {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: bold;
}

.back-to-activities:hover {
  text-decoration: underline;
}

.activity-main-image {
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-bottom: 20px;
}

.activity-description {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.thumb {
  height: 150px;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 3px solid transparent;
}

.thumb:hover {
  transform: scale(1.05);
  border-color: var(--warning);
}

.thumb.active {
  border-color: var(--warning);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }

  .activity-main-image {
    height: 250px;
  }
}