/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  /* Premium Islamic Palette */
  --col-primary: #1a4d33;
  /* Deep Islamic Green */
  --col-primary-dark: #123524;
  --col-gold: #c5a059;
  /* Muted Gold */
  --col-gold-light: #e0be75;
  --col-bg: #faf9f6;
  /* Off-white / Eggshell */
  --col-bg-alt: #f0f2f0;
  /* Soft Green-Grey Tint */
  --col-text: #2d3436;
  /* Charcoal */
  --col-text-muted: #636e72;
  --col-white: #ffffff;
  --col-error: #e74c3c;

  /* Spacing & Layout */
  --max-width: 1280px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;

  /* Animations */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--col-bg);
  color: var(--col-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  color: var(--col-primary);
  font-weight: 700;
  line-height: 1.2;
}

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

.section-padding {
  padding: 100px 0;
}

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

.text-gold {
  color: var(--col-gold);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--col-primary);
  color: var(--col-white);
  box-shadow: 0 4px 15px rgba(26, 77, 51, 0.2);
}

.btn-primary:hover {
  background-color: var(--col-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 77, 51, 0.3);
}

.btn-outline {
  border: 2px solid var(--col-primary);
  color: var(--col-primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--col-primary);
  color: var(--col-white);
}

.btn-gold {
  background-color: var(--col-gold);
  color: #fff;
}

.btn-gold:hover {
  background-color: var(--col-gold-light);
  transform: translateY(-2px);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

header.scrolled {
  height: 70px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--col-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  color: var(--col-text);
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

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

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--col-gold);
  transition: var(--transition-fast);
}

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

/* Pulse Animation for CTA */
.btn-pulse {
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0% {
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(197, 160, 89, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: var(--col-white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 53, 36, 0.9), rgba(18, 53, 36, 0.7));
  z-index: 1;
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--col-white);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.5s;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.8s;
}

.hero-btn-wrapper {
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.2s;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Stats Section */
.stats-section {
  position: relative;
  margin-top: -80px;
  z-index: 10;
  padding-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  background: var(--col-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.stat-card {
  text-align: center;
  padding: 20px;
  border-right: 1px solid #eee;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--col-gold);
  font-family: 'Playfair Display', serif;
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: var(--col-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* About Section */
.about-content {
  display: flex;
  gap: 30px;
  /* Reduced gap for compact look */
  align-items: stretch;
  /* Critical: matches height of image col to text col */
}

.about-text {
  flex: 1;
}

/* New Content Box Style */
.about-desc-box {
  background: #ffffff;
  padding: 40px;
  /* Generous padding */
  border-radius: 30px;
  /* Distinctly curved edges */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  /* Soft depth */
  border: 1px solid rgba(0, 0, 0, 0.02);
  margin-bottom: 30px;
  text-align: left;
  /* Reset container alignment */
}

/* "Proper Alignment" - Justified text for neat box look */
.about-desc-box p {
  text-align: justify;
  line-height: 1.8;
  /* Improve readability */
  color: #555;
  margin-bottom: 15px;
}

.about-desc-box h3 {
  text-align: center;
  /* Heading remains centered */
  margin-bottom: 25px;
  color: var(--col-primary-dark);
  font-weight: 700;
}

#about-text h4,
#about-text ul {
  text-align: left;
  padding-left: 10px;
}

.about-image {
  flex: 0 0 270px;
  /* Increased from 200px (+35%) */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
}

.about-image img {
  width: 100%;
  flex: 1;
  /* Each image takes equal vertical space */
  object-fit: cover;
  border-radius: 20px;
  /* Rounded/Curved corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Bouncy spring transition */
  cursor: pointer;
}

/* "Variety Model" Animation Effects */
.about-image img:hover {
  transform: scale(1.05) rotate(2deg);
  /* Pop out and tilt */
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.about-image img:active {
  transform: scale(0.90) rotate(0deg);
  /* Press down effect */
  transition: 0.1s;
}

.about-image img:nth-child(even):hover {
  transform: scale(1.05) rotate(-2deg);
  /* Alternate tilt direction */
}

/* Vertical Gallery specific adjustments - Override min-height */
.vertical-gallery {
  min-height: auto;
}

/* Activities */
.activity-card {
  background: var(--col-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

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

.activity-img {
  height: 200px;
  background: #ddd;
}

.activity-body {
  padding: 25px;
}

/* Contact & Forms */
.contact-form {
  background: var(--col-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--col-primary);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--col-gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--col-primary-dark) 0%, #0a1b2a 100%);
  color: var(--col-white);
  padding: 80px 0 40px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--col-gold), transparent);
}

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

.footer h4 {
  color: var(--col-gold);
  margin-bottom: 25px;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  position: relative;
  display: inline-block;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--col-gold);
}

.footer ul {
  list-style: none;
}

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

.footer a {
  color: #bdc3c7;
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--col-white);
}

/* Quick Links Grid */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 25px;
}

.footer-links-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.footer-links-grid a span {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.footer-links-grid a:hover span {
  transform: scale(1.3) rotate(10deg);
}

.footer-contact-card {
  grid-column: 1 / -1;
  /* Span full width of grid */
  background: #f8f9fa;
  padding: 25px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.footer-contact-card h4 {
  color: var(--col-primary-dark) !important;
  margin-bottom: 20px;
  text-align: center;
}

.footer-contact-card h4::after {
  background: var(--col-primary) !important;
  left: 50% !important;
  transform: translateX(-50%);
}

.contact-links {
  display: flex;
  flex-direction: row;
  /* Horizontal */
  gap: 30px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  /* Responsive wrap */
}

/* Creative Contact Item Animations */
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 12px 15px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Bouncy spring */
  border: 1px solid rgba(0, 0, 0, 0.03);
  flex: 1;
  min-width: 250px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  /* For ripple */
}

/* Hover State: Lift, Shadow, Border Glow */
.contact-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--col-gold);
  padding-left: 20px !important;
  /* Slight slide right */
}

/* Active/Click State: Press Effect */
.contact-item:active {
  transform: scale(0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: 0.1s;
}

/* Ripple Effect on Click using ::after */
.contact-item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: rgba(197, 160, 89, 0.2);
  /* Gold ripple */
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.0s, opacity 0.0s;
  pointer-events: none;
}

.contact-item:active::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  /* Back-bounce easing */
  flex-shrink: 0;
  z-index: 2;
}

/* Hover: Icon Rotates and Scales */
.contact-item:hover .contact-icon {
  transform: rotate(10deg) scale(1.1);
}

/* Color Coding */
.contact-icon.icon-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

.contact-item:hover .contact-icon.icon-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.contact-icon.icon-phone {
  background: rgba(0, 123, 255, 0.1);
  color: #007BFF;
}

.contact-item:hover .contact-icon.icon-phone {
  background: #007BFF;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.contact-icon.icon-email {
  background: rgba(220, 53, 69, 0.1);
  color: #DC3545;
}

.contact-item:hover .contact-icon.icon-email {
  background: #DC3545;
  color: white;
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.contact-label {
  display: flex;
  flex-direction: column;
  min-width: 0;
  /* Allow the flex item to shrink below its content size */
  overflow: hidden;
}

.contact-label strong {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-label span {
  font-size: 0.95rem;
  color: var(--col-primary-dark);
  font-weight: 600;
  word-break: break-all;
  /* Break long email addresses */
  overflow-wrap: anywhere;
}

/* Highlight Animation (from script.js) */
@keyframes footer-contact-glow {
  0% {
    box-shadow: 0 0 0px rgba(197, 160, 89, 0);
  }

  50% {
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.8);
    transform: scale(1.05);
  }

  100% {
    box-shadow: 0 0 0px rgba(197, 160, 89, 0);
  }
}

.contact-highlight-anim {
  animation: footer-contact-glow 1.5s ease-in-out;
}

/* Social Connect Specifics */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: #bdc3c7;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn svg {
  width: 22px;
  height: 22px;
}

.social-btn:hover {
  transform: translateY(-5px) scale(1.1);
  color: white;
  background: var(--col-gold);
  border-color: var(--col-gold);
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.social-btn.fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 10px 20px rgba(24, 119, 242, 0.3);
}

.social-btn.insta:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3);
}

.social-btn.yt:hover {
  background: #FF0000;
  border-color: #FF0000;
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

.social-btn:active {
  transform: scale(0.9);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #888;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
  }

  .main-nav ul {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {}

  .about-content {
    flex-direction: column;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
}

/* --- About Image Gallery Row --- */
.about-gallery-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.about-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 220px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Subtle overlay */
.about-gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  /* Light neutral overlay */
  pointer-events: none;
  transition: background 0.3s;
}

.about-gallery-item:hover img {
  transform: scale(1.05);
}

.about-gallery-item:hover::after {
  background: rgba(0, 0, 0, 0);
  /* Reveal clear image on hover */
}

/* --- Curriculum / Academics Section --- */
.curriculum-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.curriculum-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  flex: 1;
  min-width: 300px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.curr-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 25px;
  color: var(--col-primary);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.curr-icon svg {
  width: 100%;
  height: 100%;
}

.curriculum-card h3 {
  margin-bottom: 15px;
  margin-top: 55px;
  /* Added spacing to prevent overlap with icon */
  color: var(--col-primary-dark);
}

/* Fix margin for card p */
.curriculum-card p {
  color: #666;
  line-height: 1.6;
}

/* Click / Interact Animations */
.curriculum-card:focus,
.curriculum-card:active {
  outline: none;
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(229, 9, 20, 0.15);
  /* Light glow using brand color approx */
}

/* Icon Pulse/Bounce on Active */
.curriculum-card:focus .curr-icon,
.curriculum-card:active .curr-icon {
  transform: scale(1.1) translateY(-5px);
  color: var(--col-gold);
}

/* Optional Ripple pseudo-element (simplified as highlight overlay) */
.curriculum-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(197, 160, 89, 0.05);
  /* very subtle tint using gold color */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.curriculum-card:focus::after,
.curriculum-card:active::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .curriculum-card {
    min-width: 100%;
  }
}

/* Horizontal Gallery Marquee */
.gallery-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 30px 0;
  background: rgba(0, 0, 0, 0.2);
}

.gallery-marquee {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 15s linear infinite;
  padding-left: 20px;
}

.gallery-marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.gallery-item {
  flex: 0 0 350px;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  border: 2px solid rgba(197, 160, 89, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.9);
}

.gallery-item:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  z-index: 10;
  border-color: var(--col-gold);
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.gallery-item:active {
  transform: scale(0.95);
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  padding: 40px 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.8);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: zoom-in;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 45px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  transition: 0.3s;
}

.lightbox-close:hover {
  color: var(--col-gold);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

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

  .footer-links-grid {
    justify-content: center;
  }

  .footer-contact-card {
    padding: 20px;
  }

  .contact-item {
    padding: 10px;
    flex-direction: row;
    text-align: left;
  }

  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .gallery-item {
    flex: 0 0 280px;
    height: 180px;
  }

  .gallery-marquee {
    animation-duration: 20s;
  }
}

@media (max-width: 480px) {
  .contact-label span {
    font-size: 0.85rem;
  }
}