/* Base Styles */
:root {
  --primary: #077B8D;
  --primary-hover: #066a7a;
  --secondary: #9E1B2F;
  --secondary-hover: #8a182a;
  --purple: #6f5091;
  --yellow: #edeb39;
  --neutral: #a7a8a9;
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --transition-fast: 0.4s;
  --transition-normal: 0.6s;
  --transition-slow: 0.8s;
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.375rem;
  --border-radius-lg: 0.5rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --animation-duration: 1.2s;
  --abraj-teal: #077B8D;
  --abraj-dark: #333333;
  --heading-font: "Microgramma D Bold Extended", "Microgramma", sans-serif;
  --body-font: "FormaDJRMicro", "Inter", sans-serif;
}

/* Font Faces */
@font-face {
  font-family: "Microgramma D Bold Extended";
  src: url("../fonts/Microgramma D Bold Extended.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Microgramma";
  src: url("../fonts/Microgramma-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FormaDJRMicro";
  src: url("../fonts/FormaDJRMicro.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FormaDJRMicro";
  src: url("../fonts/FormaDJRMicro Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FormaDJRMicro";
  src: url("../fonts/FormaDJRMicro-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  line-height: 1.5;
  color: var(--gray-800);
  background-color: var(--white);
}

p {
  font-family: var(--body-font);
  margin-bottom: 1rem;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
}

.section-divider {
  width: 5rem;
  height: 0.25rem;
  background-color: var(--secondary);
  margin: 0 auto 1.5rem;
}

.section-description {
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.125rem;
  text-align: center;
}

.light {
  color: var(--white);
}

.light .section-title {
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  font-family: var(--body-font);
  position: relative;
  overflow: hidden;
}

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

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

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

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 2px solid var(--abraj-teal);
  transition: background-color var(--transition-normal);
}

.navbar.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
}

.navbar.scrolled .nav-link {
  color: var(--primary) !important;
}

.navbar.scrolled .nav-link:hover {
  color: var(--secondary) !important;
}

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

.navbar-logo {
  z-index: 1001;
}

.logo {
  height: 35px;
  width: auto;
  display: block;
  transition: filter var(--transition-normal);
}

/* Initial State (Transparent Navbar) */
.navbar .logo {
  filter: brightness(0) invert(1);
}

/* Scrolled State (White Navbar Background) */
.navbar.scrolled .logo {
  filter: none;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: #ffffff;
  font-family: "Microgramma", sans-serif;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--abraj-teal);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff; /* Initial color: white */
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001; /* Ensure button is above other navbar content */
  transition: color var(--transition-normal);
}

/* Change mobile menu button color when navbar is scrolled */
.navbar.scrolled .mobile-menu-btn {
  color: var(--primary); /* Change color to primary theme color */
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; /* Start from the top */
  left: 0;
  right: 0;
  bottom: 0; /* Cover full height */
  background-color: var(--gray-800); /* Add dark background */
  padding: 6rem 2rem 2rem; /* Add padding (top padding to avoid navbar) */
  z-index: 1000; /* Below navbar-logo and mobile-menu-btn but above page */
  overflow-y: auto; /* Allow scrolling if content is long */
  transform: translateX(100%); /* Start off-screen */
  transition: transform var(--transition-normal) ease-in-out;
}

.mobile-nav.active {
  display: block;
  transform: translateX(0); /* Slide in */
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* Removed padding from here, added to .mobile-nav */
}

.mobile-nav-link {
  font-family: var(--heading-font);
  display: block;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

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

  .mobile-nav.active {
    display: block;
  }

  .section-header,
  .countdown-header {
    text-align: center;
  }

  .section-title::after,
  .countdown-title::after,
  .feature-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Reduce padding and title size for Standards section on mobile */
  .standards-section {
    padding: 3rem 0;
  }
  .standards-section .section-title {
    font-size: 1.75rem; /* Smaller font size for mobile */
    line-height: 1.3;
  }
  .standards-content.two-columns {
    grid-template-columns: 1fr; /* Stack columns */
    width: 100%; /* Ensure grid container respects parent width */
  }

  .service-column {
    width: 100%;           /* Column takes full width of the grid track */
    display: flex;
    flex-direction: column;
    align-items: center;   /* Center flex items (image div, button div) */
    gap: 1.5rem;
  }

  .standards-image {
    width: 100%;
  }

  /* Simplify button container */
  .standards-button-container {
    display: block; /* Let button center itself */
    width: 100%;
  }

  /* Center the button itself using auto margins */
  .standards-button-container .btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
  }

  /* Keep button container centering */
  /* 
  .standards-button-container {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  */
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-bg.jpeg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.9);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(7, 141, 141, 0.3), rgba(182, 47, 72, 0.2));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 6rem 0 4rem;
}

.hero-text {
  max-width: 48rem;
  color: var(--white);
  padding: 0 1rem;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-date {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.scroll-indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.particles-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: var(--gray-50);
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.about-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper {
  position: relative;
  padding-bottom: 75%; /* 4:3 aspect ratio */
}

.about-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(7, 141, 141, 0.2);
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.about-button-container {
  display: flex;
  justify-content: center;
}

.download-icon {
  margin-right: 0.5rem;
}

/* Countdown Section */
.countdown-section {
  padding: 2.5rem 0;
  background-color: var(--gray-100);
}

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

.countdown-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  text-align: center;
}

.countdown-subtitle {
  color: var(--gray-600);
  text-align: center;
}

.countdown-timer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 32rem;
  margin: 0 auto;
}

.countdown-item {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.countdown-item:hover {
  transform: translateY(-0.5rem);
}

.countdown-value {
  font-family: "Microgramma", sans-serif;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.countdown-value.number-change {
  animation: numberChange 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.countdown-label {
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* Countdown Number Animation */
@keyframes numberChange {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Add flip effect to countdown items */
.countdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  transform: translateY(-100%);
  transition: transform 0.3s ease-out;
}

.countdown-item:hover::before {
  transform: translateY(0);
}

/* Why Visit Section */
.why-visit-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.why-visit-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/drilling-rig.jpeg");
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) opacity(0.05);
  z-index: 0;
}

.why-visit-section .container {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  height: 100%;
  transition: all var(--transition-slow) cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-0.625rem) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.feature-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  background-color: rgba(7, 141, 141, 0.1);
  border-radius: 50%;
  transition: all var(--transition-normal) cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon-container {
  transform: scale(1.1) rotate(5deg);
  background-color: rgba(7, 141, 141, 0.2);
}

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

.feature-title {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary);
  margin: 1rem 0 0.5rem;
}

.feature-description {
  color: var(--gray-600);
}

/* Gallery Section - Slider */
.gallery-section {
  padding: 3rem 0;
  background-color: var(--gray-50);
  overflow: hidden;
}

/* Gallery Section Animation */
.gallery-section .slider-container {
  opacity: 0;
  transform: translateY(30px); /* Start below */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition-delay: 0.3s; /* Slight delay after section appears */
}

.gallery-section.animate-in .slider-container {
  opacity: 1;
  transform: translateY(0); /* Slide up */
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  /* Don't set a fixed width here - let it be determined by the slides */
}

.slider-slide {
  width: calc(100% / 3); /* Show 3 slides at once */
  padding: 0 1rem;
  flex: 0 0 calc(100% / 3); /* This ensures each slide takes exactly 1/3 width */
  box-sizing: border-box;
}

.slider-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: 400px;
  background: #fff;
  text-align: right; /* For RTL text alignment */
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide the text overlay and read more button as requested */
.slider-content {
  display: none; /* Completely hide the text overlay and buttons */
}

/* Keep the original CSS commented out for reference */
/* 
.slider-content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  transition: all 0.3s ease;
}

.slider-title {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.slider-subtitle {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slider-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 4px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.slider-btn:hover {
  background-color: var(--white);
  color: var(--primary);
}
*/

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.5rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

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

/* Responsive slider */
@media (max-width: 992px) {
  .slider-slide {
    width: 50%; /* Show 2 slides on medium screens */
    flex: 0 0 50%;
  }
  
  .slider-card {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .slider-slide {
    width: 100%; /* Show 1 slide on small screens */
    flex: 0 0 100%;
  }
  
  .slider-card {
    height: 300px;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  transition: transform var(--transition-normal);
}

.lightbox-close:hover {
  transform: scale(1.1);
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  gap: 6rem;
  margin-bottom: 4rem;
}

/* Left Side - Brand */
.footer-brand {
  flex: 0 0 350px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-img {
  height: auto;
  max-width: 250px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 0.5rem;
}

/* Additional class for the logo in the footer brand section */
.footer-brand .footer-logo-img {
  max-height: none;
  display: block;
}

.footer-logo p {
  font-size: 0.875rem;
  color: var(--white);
  opacity: 0.9;
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.social-link:hover {
  background-color: var(--yellow);
  color: var(--primary);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* Right Side - Navigation */
.footer-nav-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 4rem;
}

.footer-nav-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
  text-transform: uppercase;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--yellow);
  display: block;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-top: -0.25rem;
}

.footer-nav-link {
  font-family: var(--body-font);
  color: var(--white);
  font-size: 1rem;
  font-weight: normal;
  transition: all var(--transition-normal);
}

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

.media-title {
  font-family: var(--heading-font);
  margin-top: 2rem;
}

.address-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.address-container svg {
  color: var(--yellow);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.address-container p {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5;
}

/* Copyright */
.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright p {
  font-family: var(--body-font);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: normal;
  opacity: 0.8;
}

/* Responsive Footer */
@media (max-width: 1200px) {
  .footer-content {
    gap: 4rem;
  }

  .footer-nav-grid {
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  .footer-content {
    flex-direction: column;
    gap: 3rem;
  }

  .footer-brand {
    flex: none;
    align-items: center;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

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

  .footer-logo-img {
    max-width: 280px;
    margin: 0 auto 0.5rem;
  }

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

@media (max-width: 768px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

  .footer-nav {
    align-items: center;
  }

  .address-container {
    justify-content: center;
  }
}

/* Footer Animation States */
.footer-section.animate-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-section.animate-active {
  opacity: 1;
  transform: translateY(0);
}

.social-link.animate-ready {
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition-normal) cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link.animate-active {
  opacity: 1;
  transform: scale(1);
}

/* Enhanced Animations */
/* Animation Base Classes */
.animate-ready {
  opacity: 0;
  transition: opacity var(--animation-duration) ease-out, transform var(--animation-duration) ease-out;
}

/* Animation Initial States */
.section-header.animate-ready {
  opacity: 0;
  transform: translateY(-30px);
}

.about-image-container.animate-ready {
  opacity: 0;
  transform: translateX(-50px);
}

.about-text.animate-ready {
  opacity: 0;
  transform: translateX(50px);
}

.about-button-container.animate-ready {
  opacity: 0;
  transform: translateY(30px);
}

/* Animation Active States */
.animate-fade-down {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.animate-fade-left {
  opacity: 1 !important;
  transform: translateX(0) !important;
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.animate-fade-right {
  opacity: 1 !important;
  transform: translateX(0) !important;
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.animate-fade-up {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.animate-pop-in {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Animations */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-0.625rem);
  }
  60% {
    transform: translateY(-0.3125rem);
  }
}

.animate-fade-in > * {
  opacity: 0;
  animation: fade-in 0.8s forwards;
}

.animate-fade-in > *:nth-child(1) {
  animation-delay: 0.2s;
}

.animate-fade-in > *:nth-child(2) {
  animation-delay: 0.4s;
}

.animate-fade-in > *:nth-child(3) {
  animation-delay: 0.6s;
}

.animate-fade-in > *:nth-child(4) {
  animation-delay: 0.8s;
}

.animate-fade-in > *:nth-child(5) {
  animation-delay: 1s;
}

/* Media Queries */
/* Height-based adjustments for short screens */
@media (max-height: 650px) {
    .hero-content {
        padding: 4rem 0 2rem;
    }
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    .hero-date {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    .hero-buttons {
        gap: 0.75rem;
    }
    .scroll-indicator {
        display: none;
    }
}

/* Mobile adjustments first (width-based) */
@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-date {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-text {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  
  .hero-buttons .btn {
      width: auto;
      padding: 0.6rem 1.2rem;
      font-size: 0.9rem;
  }
}

/* Tablet and Desktop Adjustments */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: row;
    align-items: center;
  }

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

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

@media (min-width: 768px) {
  .section-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .about-button-container {
    justify-content: flex-start;
  }

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

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

  .hero-text {
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }

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

  /* Remove the 3-column layout for gallery to maintain 2x2 grid */
  /* .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  } */
}

/* Ensure gallery grid stays 2x2 even at large screens */
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 350px); /* Slightly larger height for bigger screens */
  }
}

/* PDF Download Animation */
.downloading {
  animation: pulse 1s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Animation classes for elements that should animate on scroll */
.bg-loaded {
  animation: fade-in 1s ease-out;
}

/* Footer Animation States */
.footer-company.animate-ready {
  opacity: 0;
  transform: translateX(-50px);
}

.footer-links.animate-ready {
  opacity: 0;
  transform: translateY(30px);
}

.footer-contact.animate-ready {
  opacity: 0;
  transform: translateX(50px);
}

.footer-bottom.animate-ready {
  opacity: 0;
  transform: translateY(20px);
}

.social-link.animate-ready {
  opacity: 0;
  transform: scale(0.5);
}

/* Enhanced Footer Animations */
.footer {
  position: relative;
  overflow: hidden;
}

.footer-company,
.footer-links,
.footer-contact {
  transition: all var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-bottom {
  transition: all var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link {
  transition: all var(--transition-normal) cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Footer Social Links Hover Effect */
.social-link:hover {
  transform: scale(1.2) rotate(8deg);
  color: var(--secondary);
}

/* Footer Nav Link Hover Effect */
.footer-nav-link {
  position: relative;
  transition: color var(--transition-normal), transform var(--transition-normal);
}

.footer-nav-link:hover {
  transform: translateX(8px);
}

/* Contact Item Hover Effect */
.contact-item {
  transition: transform var(--transition-normal);
}

.contact-item:hover {
  transform: translateX(8px);
}

.contact-icon {
  transition: transform var(--transition-normal);
}

.contact-item:hover .contact-icon {
  transform: scale(1.2);
  color: var(--secondary);
}

/* Feature Cards Animation States */
.feature-card.animate-ready {
  opacity: 0;
  transition: all var(--transition-slow) cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Initial states for different directions */
.feature-card:nth-child(1).animate-ready {
  transform: translateX(-100px);
}

.feature-card:nth-child(2).animate-ready {
  transform: translateY(100px);
}

.feature-card:nth-child(3).animate-ready {
  transform: translateX(100px);
}

.feature-card:nth-child(4).animate-ready {
  transform: translateX(-100px);
}

.feature-card:nth-child(5).animate-ready {
  transform: translateY(100px);
}

.feature-card:nth-child(6).animate-ready {
  transform: translateX(100px);
}

/* Enhanced Feature Card Animations */
.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  height: 100%;
  transition: all var(--transition-slow) cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-0.625rem) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.feature-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  background-color: rgba(7, 141, 141, 0.1);
  border-radius: 50%;
  transition: all var(--transition-normal) cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon-container {
  transform: scale(1.1) rotate(5deg);
  background-color: rgba(7, 141, 141, 0.2);
}

/* Standards Section */
.standards-section {
  padding: 5rem 0;
  background-color: var(--white);
}

/* Ensure the title section is displayed */
.standards-section .section-header {
  display: block; /* Was previously hidden */
  margin-bottom: 3rem; /* Add back bottom margin */
}

.standards-content {
  display: grid;
  gap: 3rem;
  align-items: start; /* Align items to the start */
  margin-top: 0; 
}

/* Apply two-column layout specifically */
.standards-content.two-columns {
  grid-template-columns: 1fr 1fr; /* Create two equal columns */
}

/* Styles for each column */
.service-column {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center items in the column */
  gap: 1.5rem; /* Space between image and button */
}

.standards-button-container {
  margin-top: 0; /* Remove top margin, using gap instead */
}

.standards-button-container .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.standards-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%; /* Ensure image container takes full column width */
}

.standards-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-normal);
  aspect-ratio: 16 / 9; /* Maintain a consistent aspect ratio */
  object-fit: cover; /* Ensure image covers the area */
}

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

/* Responsive adjustments for the two columns */
@media (max-width: 768px) {
  .standards-content.two-columns {
    grid-template-columns: 1fr; /* Stack columns on smaller screens */
    width: 100%; /* Ensure grid container respects parent width */
  }
}

/* Standards Section Animation */
.standards-section .section-header {
  opacity: 0;
  transform: translateY(-30px); /* Start header above */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.standards-section.animate-in .section-header {
  opacity: 1;
  transform: translateY(0); /* Drop in header */
}

/* Re-adding service column animations */
.service-column {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.standards-content.two-columns .service-column:nth-child(1) {
  /* transform: translateX(-50px); */ /* Commented out for layout testing */
}

.standards-content.two-columns .service-column:nth-child(2) {
  /* transform: translateX(50px); */  /* Commented out for layout testing */
}

.standards-section.animate-in .service-column {
  opacity: 1;
  /* transform: translateX(0); */ /* Commented out for layout testing */
}

/* Add slight delay for staggering */
.standards-section.animate-in .service-column:nth-child(1) {
  transition-delay: 0.2s;
}

.standards-section.animate-in .service-column:nth-child(2) {
  transition-delay: 0.4s;
}

/* Meet The Experts Section */
.meet-experts-section {
  padding: 5rem 0;
  background-color: var(--gray-50);
  position: relative;
}

.meet-experts-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/ABRAJ MONOGRAM-02.png');
  background-position: right;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.5;
  z-index: 0;
  mix-blend-mode: multiply;
}

.meet-experts-section .container {
  position: relative;
  z-index: 1;
}

.experts-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.experts-text {
  text-align: center;
  margin-bottom: 2rem;
}

.experts-text p {
  color: var(--gray-700);
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0.5rem 0;
}

.experts-form-container {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.experts-form-card {
  padding: 2rem;
}

.form-header {
  text-align: left;
  margin-bottom: 2rem;
}

.form-header h3 {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--gray-600);
  font-size: 1rem;
}

.experts-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group .required {
  color: var(--secondary);
}

.form-group input,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  color: var(--gray-800);
  background-color: var(--white);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group input::placeholder,
.form-group select::placeholder {
  color: var(--gray-400);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  margin-top: 1rem;
  font-weight: 600;
}

.form-note {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
  text-transform: uppercase;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--yellow);
  display: block;
}

.media-title {
  font-family: var(--heading-font);
  margin-top: 2rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-top: -0.25rem;
}

.footer-nav-link {
  font-family: var(--body-font);
  color: var(--white);
  font-size: 1rem;
  font-weight: normal;
  transition: all var(--transition-normal);
}

.footer-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background-color: var(--yellow);
  transform: translateY(-50%);
  transition: width var(--transition-normal);
}

.footer-nav-link:hover {
  color: var(--yellow);
  padding-left: 1.5rem;
}

.footer-nav-link:hover::before {
  width: 1rem;
}

.address-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.address-container svg {
  color: var(--yellow);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.address-container p {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5;
}

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

.footer-bottom p {
  font-family: var(--body-font);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: normal;
  opacity: 0.8;
}

/* Standards Section Title */
.standards-section .section-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
}

/* Experts Section */
.meet-experts-section .section-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
}

/* Gallery Section */
.gallery-section .section-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
}

@media (min-width: 768px) {
  .section-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
  }
  
  /* Additional media query styles */
}

/* Expert Card Title */
.expert-card-title {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary);
  margin: 1rem 0 0.25rem;
}

/* Category Title */
.category-title {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Add to Calendar Section */
.calendar-options {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.calendar-dropdown {
  position: relative;
  display: inline-block;
}

.calendar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--body-font);
  transition: all var(--transition-normal);
  color: var(--white);
  cursor: pointer;
  border: none;
  background-color: var(--primary);
}

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

.calendar-btn svg {
  width: 18px;
  height: 18px;
}

.calendar-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  background-color: var(--white);
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-md);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

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

.calendar-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--gray-800);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color var(--transition-fast);
  cursor: pointer;
}

.calendar-menu-item:hover {
  background-color: var(--gray-100);
}

.calendar-menu-item svg {
  width: 16px;
  height: 16px;
  color: var(--gray-600);
}

.calendar-menu-item.google svg {
  color: #4285F4;
}

.calendar-menu-item.outlook svg {
  color: #0078D4;
}

.calendar-menu-item.apple svg {
  color: #555555;
}

@media (max-width: 640px) {
  .calendar-btn {
    width: 100%;
    max-width: 220px;
  }
  
  .calendar-menu {
    width: 100%;
  }
}

/* Event Video Section */
.event-video-section {
  padding: 6rem 0;
  background-color: var(--gray-700); /* Dark gray background */
  position: relative;
  overflow: hidden;
}

.event-video-section .container {
  position: relative; /* Needed for absolute positioning of the button */
  max-width: 1600px; /* Wider container for this section */
  padding: 0 5rem; /* Add padding to accommodate social links */
}

.video-preview-link {
  display: block;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.video-preview {
  position: relative;
  background-color: var(--gray-600); /* Slightly lighter gray for the video area */
  height: 60vh; /* Adjust height as needed */
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal);
  background-size: cover; /* Ensure the background image covers the div */
  background-position: center; /* Center the background image */
}

.video-preview:hover {
  transform: scale(1.02);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: var(--white);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 100px; /* Size of the circle */
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-normal), transform var(--transition-normal);
}

.play-button svg {
  width: 50px; /* Size of the play icon */
  height: 50px;
}

.video-preview-link:hover .play-button {
  background-color: rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-caption {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  right: 3rem;
  z-index: 2;
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.3;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.video-caption .highlight {
  color: var(--yellow);
  font-weight: 700;
}

.all-media-btn {
  position: absolute;
  top: 1.5rem;
  right: 5rem; /* Position relative to the container padding */
  z-index: 3;
  background-color: var(--gray-800);
  color: var(--white);
  border: 1px solid var(--gray-600);
  padding: 0.6rem 1.2rem;
}

.all-media-btn:hover {
  background-color: var(--gray-900);
}

/* Social links for video section */
.event-video-section .social-links {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 3;
}

.event-video-section .social-link {
  background-color: var(--gray-800);
  color: var(--white);
}

.event-video-section .social-link:hover {
  background-color: var(--yellow);
  color: var(--primary);
}

/* Responsive adjustments for Event Video Section */
@media (max-width: 992px) {
  .video-caption {
    font-size: 2rem;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
  }

  .all-media-btn {
    top: 1rem;
    right: 2rem; /* Adjust for container padding */
  }

  .event-video-section .container {
    padding: 0 4rem; /* Reduce padding slightly */
  }

  .event-video-section .social-links {
    left: 1rem;
  }
}

@media (max-width: 768px) {
  .event-video-section {
    padding: 4rem 0;
  }

  .video-preview {
    height: 50vh;
  }

  .video-caption {
    font-size: 1.75rem;
    text-align: center;
    bottom: 1.5rem;
    left: 1rem;
    right: 1rem;
  }

  .play-button {
    width: 80px;
    height: 80px;
  }

  .play-button svg {
    width: 40px;
    height: 40px;
  }

  .all-media-btn {
    position: relative; /* Change positioning */
    display: block;
    width: max-content;
    margin: 1.5rem auto 0;
    top: auto;
    right: auto;
  }

  .event-video-section .container {
    padding: 0 1rem; /* Standard padding */
  }

  .event-video-section .social-links {
    display: none; /* Hide vertical social links on small screens */
  }
}

/* Back to Top Button */
#back-to-top-btn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999; /* Ensure it's above other content */
  border: none;
  outline: none;
  background-color: var(--secondary);
  color: white;
  cursor: pointer;
  padding: 1rem;
  border-radius: 50%;
  width: 50px; /* Fixed size */
  height: 50px;
  box-shadow: var(--shadow-md);
  transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
  opacity: 0;
  visibility: hidden;
}

#back-to-top-btn.show {
  display: block;
  opacity: 1;
  visibility: visible;
}

#back-to-top-btn:hover {
  background-color: var(--secondary-hover);
}

#back-to-top-btn svg {
  width: 100%;
  height: 100%;
}
