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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "FormaDJRMicro", "Forma DJR Micro", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  width: 100%;
  min-width: 100%;
  max-width: 100vw;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    margin: 0;
  }
  
  .navbar {
    width: 100%;
    max-width: 100vw;
    left: 0;
    right: 0;
  }
  
  .hero-section {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }
  
  .section {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }
  
  .footer {
    width: 100%;
    max-width: 100vw;
  }
  
  /* Fix any potential horizontal scroll */
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Ensure social sidebar doesn't cause overflow */
  .social-sidebar {
    display: none;
  }
  
  /* Additional mobile fixes */
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    word-wrap: break-word;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.4;
    display: none;
  }
  
  /* Fix gallery grid on mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Fix video grid on mobile */
  .video-grid {
    grid-template-columns: 1fr;
  }
  
  /* Ensure complete video thumbnails on mobile */
  .video-thumbnail {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
  }
  
  .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Hide video descriptions on mobile */
  .video-description {
    display: none;
  }
  
  .video-details {
    padding: 1rem;
  }
  
  .video-main-title {
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  .video-details {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
  }
  
  .main-video-container {
    margin-bottom: 0;
  }
  
  /* Fix news grid on mobile */
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  /* Fix performance grid on mobile */
  .performance-grid {
    grid-template-columns: 1fr;
  }
  
  /* Fix insights grid on mobile */
  .insights-grid {
    grid-template-columns: 1fr;
  }
  
  /* Fix conference grid on mobile */
  .conference-grid {
    grid-template-columns: 1fr;
  }
  
  /* Fix footer grid on mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Hide news description on mobile */
  .news-excerpt {
    display: none;
  }
  
  /* Style read more link as centered button on mobile */
  .news-link {
    display: inline-block !important;
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: var(--border-radius) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    text-align: center !important;
    margin: 1rem auto !important;
    width: fit-content !important;
    transition: var(--transition) !important;
  }
  
  .news-link:hover {
    background-color: var(--secondary-dark) !important;
    color: var(--white) !important;
    transform: translateY(-2px) !important;
  }
  
  .news-article {
    text-align: center;
  }
}

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

@font-face {
  font-family: "Microgramma";
  src: url("https://abrajenergy.com/abraj-events/fonts/Microgramma D Bold Extended.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Forma DJR Micro";
  src: url("https://abrajenergy.com/abraj-events/fonts/FormaDJRMicro.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Forma DJR Micro";
  src: url("https://abrajenergy.com/abraj-events/fonts/FormaDJRMicro Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* CSS Variables */
:root {
  --primary-color: #07788d;
  --primary-dark: #055966;
  --primary-light: #0897b4;
  --secondary-color: #971b2f;
  --secondary-dark: #7e1626;
  --neutral-color: #a7a8a9;
  --accent-color: #edeb39;
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --border-radius: 0.5rem;
  --transition: all 0.3s ease;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "FormaDJRMicro", "Forma DJR Micro", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.2;
}

.font-forma {
  font-family: "Forma DJR Micro", sans-serif;
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: "FormaDJRMicro", "Forma DJR Micro", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

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

.btn-full {
  width: 100%;
}

.btn-large {
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem 0;
  transition: var(--transition);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.navbar.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (min-width: 768px) {
  .navbar-container {
    padding: 0 2rem;
  }
}

.navbar-brand .brand-logo {
  height: 3rem;
  width: auto;
  object-fit: contain;
  display: block;
  max-width: 150px;
}

/* Ensure navbar brand container is visible */
.navbar-brand {
  display: flex;
  align-items: center;
  min-height: 3rem;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-fallback {
  font-family: "Forma DJR Micro", sans-serif;
  letter-spacing: 2px;
}

.navbar:not(.scrolled) .logo-fallback {
  color: var(--white) !important;
}

.desktop-nav {
  display: none;
  gap: 2rem;
}

/* Ensure desktop nav is completely hidden on mobile */
@media (max-width: 767px) {
  .desktop-nav {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  font-family: "Forma DJR Micro", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius);
}

.navbar:not(.scrolled) .nav-link {
  color: var(--white);
}

.nav-link:hover {
  color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.9);
}

.navbar:not(.scrolled) .nav-link:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.2);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

/* Inline Video Player Styles */
.embedded-video-player-inline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  background: var(--black);
}

/* Video wrapper - flexible for both thumbnail and embedded modes */
.video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: var(--black);
  height: 470px; /* Default height for thumbnail mode */
  padding-bottom: 0;
}

/* Embedded video mode */
.video-wrapper.embedded-mode {
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  line-height: 1;
}

.video-close-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}



/* Mobile responsiveness for inline video */
@media (max-width: 768px) {
  .video-close-btn {
    font-size: 1.25rem;
    width: 35px;
    height: 35px;
    top: 8px;
    right: 8px;
  }
}

/* Show mobile menu button only on mobile devices */
@media (max-width: 767px) {
  .mobile-menu-btn {
    display: flex !important;
    visibility: visible;
    opacity: 1;
    background-color: rgba(255, 0, 0, 0.3) !important; /* Temporary debug background */
    min-width: 40px;
    min-height: 40px;
    flex-shrink: 0;
    order: 2;
  }
  
  .navbar-brand {
    order: 1;
    flex-shrink: 0;
  }
  
  /* Ensure hamburger lines are visible on transparent navbar */
  .navbar:not(.scrolled) .hamburger-line {
    background-color: #ffffff !important;
    box-shadow: 0 0 2px rgba(0,0,0,0.3);
  }
  
  .navbar.scrolled .hamburger-line {
    background-color: #1a365d !important;
    box-shadow: 0 0 2px rgba(255,255,255,0.3);
  }
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
  display: block;
  border-radius: 1px;
}

.navbar:not(.scrolled) .hamburger-line {
  background-color: var(--white);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transition: var(--transition);
  z-index: 999;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
}

.mobile-nav-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--secondary-color);
}

.mobile-nav-link {
  font-family: "Forma DJR Micro", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: var(--transition);
}

.mobile-nav-link:hover {
  color: var(--secondary-color);
}

/* Social Sidebar */
.social-sidebar {
  position: fixed;
  left: 0;
  top: 33.33%;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  padding: 0.75rem;
}

.social-link {
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}

/* Navbar Border */
.navbar-border {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 67vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
  background-color: var(--neutral-color);
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100vw;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
}

/* Hero Navigation Buttons */
.hero-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 15;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  pointer-events: none;
}

.hero-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  opacity: 0.7;
}

.hero-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--primary-color);
  opacity: 1;
  transform: scale(1.1);
}

.hero-nav-btn:active {
  transform: scale(0.95);
}

.hero-nav-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Hero Slide Indicators */
.hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  gap: 0.75rem;
}

/* Hero Slide Titles */
.slide-title {
  position: absolute !important;
  top: 50% !important;
  left: max(1rem, calc((100vw - 1200px) / 2 + 2rem)) !important;
  right: auto !important;
  transform: translate(0, -50%) !important;
  z-index: 10 !important;
  color: #ffffff !important;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  text-align: left !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  max-width: 60% !important;
  line-height: 1.2 !important;
  padding: 0 !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* Additional specific rule to ensure slide titles are visible */
.hero-slide .slide-title {
  position: absolute !important;
  top: 50% !important;
  left: max(1rem, calc((100vw - 1200px) / 2 + 2rem)) !important;
  right: auto !important;
  transform: translate(0, -50%) !important;
  z-index: 10 !important;
  color: #ffffff !important;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  text-align: left !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  max-width: 60% !important;
  line-height: 1.2 !important;
  padding: 0 !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

.hero-indicator {
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-indicator:hover {
  border-color: var(--white);
  transform: scale(1.2);
}

.hero-indicator.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(7, 120, 141, 0.5);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .hero-nav {
    padding: 0 1rem;
  }
  
  .hero-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .hero-nav-btn svg {
    width: 1rem;
    height: 1rem;
  }
  
  .hero-indicators {
    bottom: 1.5rem;
    gap: 0.5rem;
  }
  
  .hero-indicator {
    width: 0.625rem;
    height: 0.625rem;
  }
  
  .slide-title {
    font-size: 1.5rem !important;
    padding: 0.75rem !important;
    max-width: 80% !important;
    color: #ffffff !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    left: 1rem !important; /* align with container padding on mobile */
    transform: translate(0, -50%) !important;
    text-align: left !important;
  }
}

/* Video Section Styles */
.video-section {
  background-color: var(--gray-50);
  padding: 4rem 0;
}

.video-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}

/* Ensure equal height columns */
.main-video-container,
.side-videos {
  min-height: 500px;
}

/* Main Video Container */
.main-video-container {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition);
}

.main-video-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.video-wrapper {
  position: relative;
}

.main-video-container .video-wrapper .video-thumbnail {
  position: relative;
  width: 100%;
  height: 470px;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-100);
}

/* Fallback for direct child relationship */
.main-video-container .video-thumbnail {
  position: relative;
  width: 100%;
  height: 470px;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-100);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  background: var(--gray-200);
}

.video-thumbnail img:error {
  background: var(--gray-300);
  position: relative;
}

.video-thumbnail img:error::after {
  content: "Video thumbnail unavailable";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--gray-600);
  font-size: 0.875rem;
  text-align: center;
}

.video-thumbnail:hover img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition);
  opacity: 0.9;
}

.video-thumbnail:hover .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 3rem 1.5rem 1.5rem 1.5rem;
  color: var(--white);
}

.overlay-title {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.video-details {
  padding: 1.5rem;
  border-top: 1px solid var(--gray-100);
  min-height: 150px;
}

.video-main-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 0.75rem 0;
}

.video-description {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

/* Side Videos */
.side-videos {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.side-video-header {
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 1.5rem;
  text-align: center;
}

.side-video-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.auto-slide-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.auto-slide-text {
  font-size: 0.75rem;
  opacity: 0.9;
}

.auto-slide-dots {
  display: flex;
  gap: 0.25rem;
}

.auto-slide-dots .dot {
  width: 4px;
  height: 4px;
  background: var(--white);
  border-radius: 50%;
  opacity: 0.6;
  animation: dotPulse 1.5s ease-in-out infinite;
}

.auto-slide-dots .dot:nth-child(2) {
  animation-delay: 0.3s;
}

.auto-slide-dots .dot:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.side-video-item {
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
  cursor: pointer;
}

.side-video-item:last-child {
  border-bottom: none;
}

.side-video-item:hover {
  background: var(--gray-50);
}

.side-video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-100);
}

.side-video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.side-video-item:hover .side-video-thumbnail img {
  transform: scale(1.05);
}

.play-button-small {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.8;
  transition: var(--transition);
}

.side-video-item:hover .play-button-small {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Enhanced Video Section Styles */
.side-videos-scroll-container {
  flex: 1;
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--gray-100);
}

.side-videos-scroll-container::-webkit-scrollbar {
  width: 6px;
}

.side-videos-scroll-container::-webkit-scrollbar-track {
  background: var(--gray-100);
}

.side-videos-scroll-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.side-videos-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.side-video-info {
  padding: 0.75rem 1rem;
}

.side-video-info h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
}

.side-video-item.active {
  background: var(--primary-color);
  color: var(--white);
}

.side-video-item.active .side-video-info h4 {
  color: var(--white);
}

.side-video-item.active .play-button-small {
  opacity: 1;
}

/* Auto-slideshow styles */
.side-video-item.auto-active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(7, 120, 141, 0.3);
  transition: all 0.5s ease;
  position: relative;
}

.side-video-item.auto-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  animation: slideProgress 3s linear infinite;
  z-index: 1;
}

@keyframes slideProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

.side-video-item.auto-active .side-video-info h4 {
  color: var(--white);
}

.side-video-item.auto-active .play-button-small {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.side-video-item.auto-active .side-video-thumbnail img {
  transform: scale(1.05);
}

/* Smooth transitions for auto-slideshow */
.side-video-item {
  transition: all 0.5s ease;
}

.side-video-item .side-video-thumbnail img {
  transition: transform 0.5s ease;
}

.side-video-item .play-button-small {
  transition: all 0.5s ease;
}

.video-scroll-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

.scroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.scroll-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.scroll-btn:disabled {
  background: var(--gray-300);
  cursor: not-allowed;
  transform: none;
}

.scroll-btn:disabled:hover {
  background: var(--gray-300);
  transform: none;
}

/* Video switching animation */
.main-video-container .video-thumbnail.switching {
  opacity: 0.7;
  transform: scale(0.98);
}

.main-video-container .video-details.switching {
  opacity: 0.7;
}

.video-fade-transition {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Add fade transition to main video elements */
.main-video-container .video-thumbnail,
.main-video-container .video-details {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.main-video-container .video-thumbnail img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .side-videos {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .side-video-header {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .video-section {
    padding: 3rem 0;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .main-video-container .video-thumbnail {
    height: 250px;
    width: 100%;
    overflow: hidden;
  }
  
  .main-video-container .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .video-section .video-wrapper {
    height: 250px !important;
    padding-bottom: 0 !important;
  }
  
  .video-section .video-wrapper.embedded-mode {
    height: 200px !important;
    padding-bottom: 0 !important;
  }
  
  .main-video-container {
    order: 1;
    margin-bottom: 0;
    min-height: auto;
    padding-bottom: 0;
  }
  
  .side-videos {
    order: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }
  
  .side-video-header {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  
  .auto-slide-indicator {
    display: none;
  }
  
  .side-videos-scroll-container {
    max-height: 350px;
    flex: none;
  }
  
  .side-video-item {
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .side-video-item:last-child {
    border-bottom: none;
  }
  
  .side-video-thumbnail {
    width: 120px;
    height: 68px;
    flex-shrink: 0;
  }
  
  .side-video-info {
    flex: 1;
    padding: 0.5rem 1rem 0.5rem 0;
  }
  
  .side-video-info h4 {
    font-size: 0.8rem;
    line-height: 1.2;
  }
  
  .video-details {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    min-height: auto;
  }
  
  .overlay-title {
    font-size: 0.9rem;
    line-height: 1.2;
  }
  
  .video-main-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  .video-description {
    font-size: 0.8rem;
    line-height: 1.4;
    display: none;
  }
  
  .video-overlay-text {
    padding: 1.5rem 1rem 1rem 1rem;
  }
  
  .play-button svg {
    width: 50px;
    height: 50px;
  }
  
  .play-button-small svg {
    width: 30px;
    height: 30px;
  }
  
  .video-scroll-indicators {
    padding: 0.75rem;
  }
  
  .scroll-btn {
    width: 28px;
    height: 28px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .video-section {
    padding: 0.75rem 0;
  }
  
  .main-video-container .video-thumbnail {
    height: 200px;
  }
  
  .video-section .video-wrapper {
    height: 200px !important;
    padding-bottom: 0 !important;
  }
  
  .video-section .video-wrapper.embedded-mode {
    height: 200px !important;
    padding-bottom: 0 !important;
  }
  
  .overlay-title {
    font-size: 0.8rem;
    line-height: 1.1;
  }
  
  .video-main-title {
    font-size: 0.9rem;
  }
  
  .video-description {
    font-size: 0.75rem;
  }
  
  .video-details {
    padding: 0.5rem 0.75rem;
  }
  
  .video-overlay-text {
    padding: 1rem 0.75rem 0.75rem 0.75rem;
  }
  
  .play-button svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .video-section {
    padding: 3rem 0;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .main-video-container .video-thumbnail {
    height: 350px;
  }
  
  .main-video-container {
    order: 1;
  }
  
  .side-videos {
    order: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  
  .side-video-header {
    grid-column: 1 / -1;
    text-align: center;
  }
  
  .overlay-title {
    font-size: 1.1rem;
  }
  
  .video-main-title {
    font-size: 1.125rem;
  }
  
  .video-description {
    font-size: 0.9rem;
  }
}

/* News Section Styles */
.news-section {
  background-color: var(--white);
  padding: 4rem 0;
}

.news-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.news-article {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius);
  transition: var(--transition);
  align-items: center;
  margin-bottom: 1.5rem;
}

.news-article:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-title {
  font-family: "FormaDJRMicro", "Forma DJR Micro", "Inter", sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
  margin: 0 0 1rem 0;
  text-decoration: none;
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

.news-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.news-link:hover {
  color: var(--primary-dark);
}

.news-image {
  width: 300px;
  height: 180px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

/* Responsive Design for News Section */
@media (max-width: 768px) {
  .news-section {
    padding: 3rem 0;
  }
  
  .news-grid {
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .news-article {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .news-image {
    width: 100%;
    height: 220px;
    order: -1;
  }
  
  .news-title {
    font-family: "FormaDJRMicro", "Forma DJR Micro", "Inter", sans-serif;
    font-size: 1.125rem;
  }
  
  .news-excerpt {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .news-section {
    padding: 2rem 0;
  }
  
  .news-article {
    padding: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .news-image {
    height: 180px;
  }
  
  .news-title {
    font-family: "FormaDJRMicro", "Forma DJR Micro", "Inter", sans-serif;
    font-size: 1rem;
  }
  
  .news-excerpt {
    font-size: 0.8rem;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.15);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  transition: all 0.5s ease;
}

/* Hero Content Transitions */
.hero-title,
.hero-subtitle,
.hero-buttons {
  transition: all 0.5s ease;
}

.hero-title {
  transition-delay: 0s;
}

.hero-subtitle {
  transition-delay: 0.1s;
}

.hero-buttons {
  transition-delay: 0.2s;
}

.hero-content.transitioning .hero-title,
.hero-content.transitioning .hero-subtitle,
.hero-content.transitioning .hero-buttons {
  opacity: 0;
  transform: translateY(20px);
}

.hero-content.transitioning .hero-title {
  transition-delay: 0s;
}

.hero-content.transitioning .hero-subtitle {
  transition-delay: 0.05s;
}

.hero-content.transitioning .hero-buttons {
  transition-delay: 0.1s;
}

.hero-text {
  max-width: 64rem;
  color: var(--white);
}

.hero-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

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

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-family: "Forma DJR Micro", sans-serif;
}

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

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  animation: bounce 2.5s infinite;
}

.scroll-text {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-family: "Forma DJR Micro", sans-serif;
}

.scroll-arrow {
  animation: bounce 2.5s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Responsive scroll indicator */
@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 4rem;
  }
  
  .scroll-text {
    display: none; /* Hide scroll down text on mobile */
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

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

.section-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

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

.section-subtitle {
  font-size: 1.125rem;
  max-width: 48rem;
  margin: 0 auto;
  font-family: "Forma DJR Micro", sans-serif;
  color: var(--gray-600);
}

.section-subtitle-italic {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1rem;
  font-style: italic;
  font-family: "Forma DJR Micro", sans-serif;
}

.section-subtitle-bold {
  font-weight: 700;
  color: var(--gray-700);
  font-size: 1.125rem;
}

/* Photo Gallery Section */
.photo-gallery {
  background-color: var(--gray-50);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.photo-gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/ABRAJ%20MONOGRAM-02.png');
  background-size: 900px auto;
  background-position: 1250px 350px;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

/* Background pattern removed */

.photo-gallery .container {
  position: relative;
  z-index: 2;
}

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

.gallery-item {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

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

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

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

/* Video Highlight Section */
.video-highlight {
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.video-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(7, 136, 141, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(135, 27, 48, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.video-highlight .container {
  position: relative;
  z-index: 5;
}

.video-container {
  position: relative;
  margin: 2rem auto;
  max-width: 1200px;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #000;
  z-index: 10;
  /* Enhanced shadow effect similar to reference */
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 10px 20px -5px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  
  /* Add a subtle border glow */
  border: 1px solid rgba(255, 255, 255, 0.2);
  
  /* Create depth with multiple layers */
  transform: translateZ(0);
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.video-container:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 35px 70px -15px rgba(0, 0, 0, 0.3),
    0 15px 30px -8px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Add backdrop effect behind video container */
.video-container::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, 
    rgba(7, 136, 141, 0.15) 0%, 
    rgba(135, 27, 48, 0.1) 100%);
  border-radius: 2rem;
  z-index: -1;
  filter: blur(20px);
  opacity: 0.8;
}

/* Removed duplicate video-wrapper rule - using the one defined for embedded player */

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  /* Add subtle inner shadow for depth */
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
  /* Ensure video is visible */
  background-color: #1a1a1a;
  /* Add minimum height to ensure container is visible */
  min-height: 300px;
}

/* Fallback styling if video doesn't load */
.video-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(7, 136, 141, 0.1) 0%, rgba(135, 27, 48, 0.1) 100%);
  border-radius: 1.5rem;
  z-index: -1;
}

/* Additional video container styling - fixed positioning */
.video-highlight .video-container {
  min-height: 470px;
  /* Stable positioning for video container */
  position: relative;
}

/* Video container scroll animation - only through intersection observer */
.video-highlight .video-container.scale-up {
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.video-highlight .video-container.scale-up.animate {
  transform: scale(1);
  opacity: 1;
}

/* Custom Video Controls */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem 1.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-container:hover .video-controls {
  opacity: 1;
}

.play-pause-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-pause-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.play-pause-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.progress-container {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: var(--primary-color);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s ease;
}

.time-display {
  color: white;
  font-size: 0.875rem;
  font-family: "FormaDJRMicro", "Forma DJR Micro", sans-serif;
  min-width: 80px;
  text-align: center;
}

.volume-control,
.fullscreen-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s ease;
}

.volume-control:hover,
.fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.volume-control svg,
.fullscreen-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Large Play Button Overlay */
.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(7, 136, 141, 0.9);
  border: 3px solid white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.video-play-overlay:hover {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-overlay svg {
  width: 32px;
  height: 32px;
  fill: white;
  margin-left: 4px; /* Slight offset for visual centering */
}

/* Video is playing state */
.video-container.playing .video-play-overlay {
  opacity: 0;
  pointer-events: none;
}

/* Booth Highlights Section */
.booth-highlights {
  background-color: var(--gray-50);
  background-image: url('images/ABRAJ%20MONOGRAM-02.png');
  background-size: 200px auto;
  background-position: bottom left;
  background-repeat: no-repeat;
  background-attachment: local;
  position: relative;
  z-index: 1;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .highlights-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.highlight-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition);
}

.highlight-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.card-content {
  padding: 2rem;
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-icon {
  color: var(--primary-color);
  margin-right: 0.75rem;
}

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

.card-title {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.card-description {
  font-family: "Forma DJR Micro", sans-serif;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}

.lightbox-modal.active {
  display: flex !important;
}

.lightbox-content {
  margin: auto;
  display: block !important;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Override any general image hiding styles for lightbox */
.lightbox-modal img.lightbox-content {
  opacity: 1 !important;
  display: block !important;
  visibility: visible !important;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2001;
  user-select: none;
}

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

/* Lightbox Navigation */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2002;
  border-radius: 4px;
  user-select: none;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  color: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%);
}

/* Lightbox Counter */
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  z-index: 2002;
}

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

@keyframes zoomIn {
  from { transform: scale(0.9); }
  to { transform: scale(1); }
}

/* Media Insights Section */
.media-insights {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.media-insights::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(7, 136, 141, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(151, 27, 47, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

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

@media (min-width: 1024px) {
  .insights-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.insight-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  box-shadow: 
    0 20px 40px rgba(7, 136, 141, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 3rem 2.5rem;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}

.insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 2rem 2rem 0 0;
}

.insight-card:hover::before {
  transform: scaleX(1);
}

.insight-card:hover {
  box-shadow: 
    0 30px 60px rgba(7, 136, 141, 0.2),
    0 15px 35px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-12px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 1);
}

.insight-card {
  display: block;
  align-items: center;
  margin-bottom: 1rem;
}

.insight-icon {
  width: 5rem;
  height: 5rem;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 
    0 15px 35px rgba(151, 27, 47, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.insight-icon::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: rgba(151, 27, 47, 0.3);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  filter: blur(8px);
}

.insight-card:hover .insight-icon::after {
  opacity: 0.8;
}

.insight-card:hover .insight-icon {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 
    0 20px 40px rgba(151, 27, 47, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.insight-icon svg {
  color: white;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
  width: 28px;
  height: 28px;
}

.insight-content {
  flex: 1;
  position: relative;
}

.insight-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  font-family: "Forma DJR Micro", sans-serif;
  margin-bottom: 1rem;
  line-height: 1.1;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.insight-value::after {
  content: attr(data-value);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateX(-100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

.insight-label {
  color: var(--gray-700);
  font-size: 1.1rem;
  font-family: "Forma DJR Micro", sans-serif;
  line-height: 1.6;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.insight-card:hover .insight-label {
  opacity: 1;
  color: var(--gray-800);
}

/* Progress bars removed as requested */

/* Floating elements for visual interest */
.media-insights .floating-element {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

.media-insights .floating-element:nth-child(1) {
  top: 10%;
  left: 5%;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.media-insights .floating-element:nth-child(2) {
  top: 60%;
  right: 10%;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--secondary-color), #fbbf24);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

.media-insights .floating-element:nth-child(3) {
  bottom: 20%;
  left: 15%;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #fbbf24, var(--primary-color));
  border-radius: 50%;
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Enhanced section header */
.media-insights .section-header {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-bottom: 4rem;
}

.media-insights .section-title {
  position: relative;
  display: inline-block;
}

/* Abraj Performance Section */
.abraj-performance {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.performance-tabs {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  overflow: visible;
}

.tab-navigation {
  display: flex;
  background: transparent;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 3rem;
}

.tab-btn {
  flex: 1;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  font-family: "Forma DJR Micro", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.875rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-btn:hover {
  color: var(--primary-color);
  background: rgba(7, 136, 141, 0.05);
}

.tab-btn.active {
  color: var(--primary-color);
  background: rgba(7, 136, 141, 0.08);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.tab-content {
  display: none;
  padding: 2rem 0;
}

.tab-content.active {
  display: block;
}

.performance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .performance-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .performance-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

@media (min-width: 1200px) {
  .performance-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.performance-metric {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 10px 25px rgba(7, 136, 141, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.performance-metric::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  border-radius: 1.5rem 1.5rem 0 0;
}

.performance-metric:hover::before {
  transform: scaleX(1);
}

.performance-metric:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(7, 136, 141, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.metric-icon {
  width: 4rem;
  height: 4rem;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 
    0 12px 28px rgba(151, 27, 47, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.performance-metric:hover .metric-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    0 16px 32px rgba(151, 27, 47, 0.4),
    0 6px 16px rgba(0, 0, 0, 0.15);
}

.metric-icon svg {
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.metric-value {
  font-family: "Forma DJR Micro", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.metric-label {
  font-family: "Forma DJR Micro", sans-serif;
  color: var(--gray-700);
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 500;
  opacity: 0.9;
}

.performance-note {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(7, 136, 141, 0.1);
}

.performance-note p {
  font-family: "Forma DJR Micro", sans-serif;
  color: var(--gray-600);
  font-size: 0.875rem;
  font-style: italic;
  margin: 0;
}

/* Responsive adjustments for performance section */
@media (max-width: 768px) {
  .tab-navigation {
    flex-direction: column;
  }
  
  .tab-btn {
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
  }
  
  .tab-content {
    padding: 2rem 1.5rem;
  }
  
  .performance-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0.5rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }
  
  .performance-grid:active {
    cursor: grabbing;
  }
  
  .performance-grid::-webkit-scrollbar {
    display: none;
  }
  
  .performance-metric {
    flex: 0 0 calc(50% - 0.5rem);
    min-width: 160px;
    scroll-snap-align: start;
    margin-right: 1rem;
  }
  
  /* Hide any notification/toast messages */
  .notification,
  .toast,
  .alert,
  .success-message,
  [class*="notification"],
  [class*="toast"],
  [class*="alert"],
  [class*="success"],
  #toast,
  .toast-content,
  .toast-icon,
  .toast-text,
  .toast-title,
  .toast-description {
    display: none !important;
  }

/* SharePoint scroll behavior fixes */
  html {
    scroll-behavior: smooth !important;
    scroll-padding-top: 80px !important;
  }
  
  body {
    scroll-behavior: smooth !important;
  }
  
  /* Prevent SharePoint from overriding scroll behavior */
  * {
    scroll-behavior: smooth !important;
  }
  
  /* Simple smooth scrolling */
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }
  
  /* Basic link styling */
  a[href^="#"] {
    cursor: pointer;
  }

/* Performance Metrics Navigation Buttons */
  .performance-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0 1rem;
  }
  
  .performance-nav-btn {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(151, 27, 47, 0.3);
  }
  
  .performance-nav-btn:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(151, 27, 47, 0.4);
  }
  
  .performance-nav-btn:disabled {
    background: var(--gray-600);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  
  .performance-nav-btn svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
  }
  
  .performance-metric {
    padding: 1.5rem 1rem;
  }
  
  .metric-value {
    font-size: 1.75rem;
  }
  
  .metric-label {
    font-size: 0.85rem;
  }
}

/* Achievement Grid - Two Column Layout */
.achievement-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

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

.achievement-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  box-shadow: 
    0 15px 35px rgba(7, 136, 141, 0.1),
    0 5px 15px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  border-radius: 1.5rem 1.5rem 0 0;
}

.achievement-card:hover::before {
  transform: scaleX(1);
}

.achievement-card:hover {
  box-shadow: 
    0 25px 50px rgba(7, 136, 141, 0.15),
    0 10px 25px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 1);
}

/* Mini Conference Section */
.mini-conference {
  background-color: var(--gray-50);
  background-image: url('public/images/abstract-geometric-square-grey-with-line-on-white-background-technology-concept-free-vector.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.mini-conference .container {
  position: relative;
  z-index: 2;
}

.mini-conference .section-header {
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.068);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

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

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

@media (min-width: 1024px) {
  .conference-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.conference-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  height: 100%;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.219);
}

.conference-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--secondary-color);
  transition: width 0.4s ease;
  z-index: 10;
  border-radius: 2px 2px 0 0;
}

.conference-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.conference-card:hover::before {
  width: 100%;
}

.video-thumbnail-container {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.video-thumbnail-container .conference-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--primary-color);
  font-family: "Forma DJR Micro", sans-serif;
  line-height: 1.4;
  margin-bottom: 1rem;
  text-align: center;
}

.video-thumbnail-link {
  display: block;
  text-decoration: none;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}





.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  background-color: #f0f0f0;
  background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.thumbnail-image[src*="mqdefault"] {
  object-fit: contain;
  background-color: #000;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.8;
  transition: var(--transition);
  pointer-events: none;
}

.video-thumbnail-link:hover .video-thumbnail {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}



.video-thumbnail-link:hover .thumbnail-image {
  transform: scale(1.05);
}

.video-thumbnail-link:hover .play-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

@media (min-width: 768px) {
  .video-thumbnail {
    height: 180px;
  }
}

@media (min-width: 1024px) {
  .video-thumbnail {
    height: 470px;
  }
}

/* Newsletter Section */
.newsletter {
  background-color: var(--primary-color);
  color: var(--white);
  position: relative;
  overflow: hidden;
}



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

.opacity-90 {
  opacity: 0.9;
}

.bg-secondary {
  background-color: var(--secondary-color);
}

.newsletter-form-container {
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.newsletter-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 2rem;
}

.newsletter-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.newsletter-icon {
  color: var(--secondary-color);
  margin-right: 0.75rem;
}

.newsletter-title {
  font-size: 1.25rem;
  font-weight: bold;
  font-family: "Forma DJR Micro", sans-serif;
  text-transform: uppercase;
}

.newsletter-form {
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: "Forma DJR Micro", sans-serif;
  color: var(--white);
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  color: var(--white);
  font-family: "Forma DJR Micro", sans-serif;
  transition: var(--transition);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.newsletter-disclaimer {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Forma DJR Micro", sans-serif;
  text-align: center;
}

/* Never Miss an Update Section */
.never-miss-update {
  background-color: var(--primary-color);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.update-form-container {
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.update-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 2rem;
}

.update-form {
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: #2d3748;
  color: var(--white);
  padding: 3rem 0 1rem;
}

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

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

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

/* Mobile center alignment for footer */
@media (max-width: 767px) {
  .footer-column {
    align-items: center;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-divider {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-contact {
    align-items: center;
    text-align: center;
  }
  
  .contact-item {
    justify-content: center;
  }
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-logo {
  height: 3.75rem;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-description {
  font-size: 0.875rem;
  font-family: "Forma DJR Micro", sans-serif;
  margin-bottom: 1.5rem;
}

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

.footer-social-link {
  background-color: var(--primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social-link:hover {
  background-color: var(--primary-light);
  transform: scale(1.1);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: bold;
  font-family: "Forma DJR Micro", sans-serif;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-divider {
  width: 3rem;
  height: 2px;
  background-color: var(--accent-color);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
  font-family: "Forma DJR Micro", sans-serif;
  transition: var(--transition);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-family: "Forma DJR Micro", sans-serif;
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

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

.footer-copyright {
  font-size: 0.875rem;
  font-family: "Forma DJR Micro", sans-serif;
}



/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

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

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

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.overflow-hidden {
  overflow: hidden;
}

.transition-all {
  transition: var(--transition);
}

/* Responsive Design */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section {
    padding: 3rem 0;
  }

  .card-content {
    padding: 1.5rem;
  }

  .newsletter-card {
    padding: 1.5rem;
  }

  .social-sidebar {
    display: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .social-sidebar,
  .scroll-indicator,
  .toast {
    display: none;
  }

  .hero-section {
    height: 50vh;
    min-height: 300px;
    max-height: 400px;
    padding: 1.5rem 0;
  }

  .section {
    padding: 2rem 0;
  }

  .btn {
    border: 1px solid #000;
    background: none !important;
    color: #000 !important;
  }
}

/* Scroll-triggered Animation System */

/* Base animation states - elements start hidden/transformed */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate {
  opacity: 1;
}

/* Fade animations */
.fade-up {
  transform: translateY(50px);
}

.fade-up.animate {
  transform: translateY(0);
}

.fade-down {
  transform: translateY(-50px);
}

.fade-down.animate {
  transform: translateY(0);
}

.fade-left {
  transform: translateX(-50px);
}

.fade-left.animate {
  transform: translateX(0);
}

.fade-right {
  transform: translateX(50px);
}

.fade-right.animate {
  transform: translateX(0);
}

/* Scale animations */
.scale-up {
  transform: scale(0.8);
}

.scale-up.animate {
  transform: scale(1);
}

.scale-down {
  transform: scale(1.2);
}

.scale-down.animate {
  transform: scale(1);
}

/* Rotation animations */
.rotate-in {
  transform: rotate(-10deg) scale(0.8);
}

.rotate-in.animate {
  transform: rotate(0deg) scale(1);
}

/* Flip animations */
.flip-up {
  transform: perspective(400px) rotateX(90deg);
}

.flip-up.animate {
  transform: perspective(400px) rotateX(0deg);
}

.flip-left {
  transform: perspective(400px) rotateY(-90deg);
}

.flip-left.animate {
  transform: perspective(400px) rotateY(0deg);
}

/* Slide animations */
.slide-up {
  transform: translateY(100px);
}

.slide-up.animate {
  transform: translateY(0);
}

.slide-down {
  transform: translateY(-100px);
}

.slide-down.animate {
  transform: translateY(0);
}

.slide-left {
  transform: translateX(-100px);
}

.slide-left.animate {
  transform: translateX(0);
}

.slide-right {
  transform: translateX(100px);
}

.slide-right.animate {
  transform: translateX(0);
}

/* Bounce animations */
.bounce-in {
  transform: scale(0.3);
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.animate {
  transform: scale(1);
}

/* Stagger delays for grid items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* Additional dramatic entrance animations */
.zoom-in {
  transform: scale(0.5);
  opacity: 0;
}

.zoom-in.animate {
  transform: scale(1);
  opacity: 1;
}

.blur-in {
  filter: blur(10px);
  opacity: 0;
}

.blur-in.animate {
  filter: blur(0px);
  opacity: 1;
}

/* Enhanced parallax-style animations */
.parallax-up {
  transform: translateY(100px) scale(0.9);
  opacity: 0;
}

.parallax-up.animate {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Advanced stagger animations for complex layouts */
.wave-stagger {
  animation-delay: calc(var(--stagger-index) * 0.1s);
}

/* Section title enhanced animations */
.section-title {
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-divider {
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: left center;
}

.section-subtitle {
  transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Section-specific animation enhancements */

/* Enhanced section entrance animations */
.section {
  opacity: 1;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section:not(.animate) {
  opacity: 0;
  transform: translateY(50px);
}

/* Photo Gallery animations */
.photo-gallery .gallery-item {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.photo-gallery .gallery-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Enhanced slider animations */
.slider-slide {
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-slide:hover {
  transform: translateY(-5px) scale(1.02);
}

/* Video section enhanced animations */
.video-thumbnail {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.play-button, .play-button-small {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.play-button:hover, .play-button-small:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* News section enhanced animations */
.news-article {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-article:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-image img {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.news-link {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-link:hover {
  color: var(--primary-color) !important;
  transform: translateX(5px);
}

/* Video section animation - clean approach */
.video-highlight .video-container {
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform-origin: center center;
}

/* Insight cards enhanced hover */
.insight-card {
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.insight-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 25px 50px rgba(7, 136, 141, 0.15);
}

/* Achievement cards enhanced animation */
.achievement-card {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.achievement-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 30px 60px rgba(135, 27, 48, 0.2);
}

/* Conference cards enhanced animation */
.conference-card {
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.conference-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Newsletter form animation */
.newsletter-card {
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Footer enhanced animation */
.footer-column {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Special keyframe animations */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes zoomInRotate {
  0% {
    transform: scale(0.5) rotate(-5deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes bounceInDown {
  0% {
    transform: translateY(-100px) scale(0.8);
    opacity: 0;
  }
  60% {
    transform: translateY(10px) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes flipInX {
  0% {
    transform: perspective(400px) rotateX(90deg);
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotateX(-10deg);
  }
  70% {
    transform: perspective(400px) rotateX(5deg);
  }
  100% {
    transform: perspective(400px) rotateX(0deg);
    opacity: 1;
  }
}

/* Animation classes for complex effects */
.animate-slide-left {
  animation: slideInFromLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-slide-right {
  animation: slideInFromRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-zoom-rotate {
  animation: zoomInRotate 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-bounce-down {
  animation: bounceInDown 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-flip-x {
  animation: flipInX 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Slider Gallery Styles */
.slider-gallery-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
  position: relative;
}

.slider-gallery {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 1.5rem;
  padding: 0.5rem;
}

.slider-track.auto-scrolling {
  transition: transform 0.8s ease-in-out;
}

.slider-slide {
  min-width: calc(33.333% - 1rem);
  flex: 0 0 calc(33.333% - 1rem);
  transition: all 0.3s ease;
}

.slide-content {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 3px solid transparent;
  text-decoration: none;
  color: inherit;
  display: block;
}

.slide-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 3px solid var(--secondary-color);
}

.slide-content:hover img {
  transform: scale(1.05);
}

.slide-content img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.slide-brand {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  font-family: "Forma DJR Micro", sans-serif;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  letter-spacing: 0.05em;
}

.slider-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slider-nav-btn {
  background-color: white;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-nav-btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .slider-slide {
    min-width: calc(50% - 0.75rem);
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .slider-slide {
    min-width: 100%;
    flex: 0 0 100%;
  }
  
  .slider-track {
    gap: 1rem;
  }
}

/* Gallery Image Description Styles */
.slide-description {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: white;
  padding: 1.5rem 1.5rem 1.5rem;
  transform: translateY(0);
  opacity: 1;
  transition: all 0.4s ease;
  border-radius: 0 0 0.75rem 0.75rem;
}

.slide-content:hover .slide-description {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.slide-description h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: white;
  line-height: 1.3;
  font-family: "Inter", sans-serif;
}

.slide-description p {
  font-size: 0.9rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  font-family: "Inter", sans-serif;
}

/* Mobile responsive adjustments for descriptions */
@media (max-width: 768px) {
  .slide-description {
    padding: 1rem 1rem 1rem;
    /* Always show descriptions on mobile for better UX */
    transform: translateY(0);
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
  }
  
  .slide-description p {
    font-size: 0.85rem;
  }
}










/* ============================= */
/* High-resolution Enhancements  */
/* ============================= */

/* 1440p and above */
@media (min-width: 1440px) {
  .container { max-width: 1320px; }
  .navbar-container { max-width: 1320px; }
  .hero-section { max-height: 750px; }
  .slide-title,
  .hero-slide .slide-title {
    left: max(1rem, calc((100vw - 1320px) / 2 + 2rem)) !important;
    font-size: 3em !important;
    max-width: 65% !important;
  }
  .hero-nav-btn { width: 3.5rem; height: 3.5rem; }
  .video-section .video-wrapper { height: 470px; }
  .main-video-container .video-thumbnail,
  .video-wrapper { height: 560px; }
  .news-article { grid-template-columns: 1fr 360px; }
  .news-image { width: 360px; height: 220px; }
  .slide-content img { height: 480px; }
}

/* 1920p (Full HD) and above */
@media (min-width: 1920px) {
  .container { max-width: 1600px; }
  .navbar-container { max-width: 1600px; }
  .hero-section { max-height: 850px; }
  .slide-title,
  .hero-slide .slide-title {
    left: max(1rem, calc((100vw - 1600px) / 2 + 2rem)) !important;
    font-size: 3.25em !important;
    max-width: 66% !important;
  }
  .hero-nav-btn { width: 3.75rem; height: 3.75rem; }
  .video-section .video-wrapper { height: 470px; }
  .main-video-container .video-thumbnail,
  .video-wrapper { height: 640px; }
  .news-article { grid-template-columns: 1fr 420px; }
  .news-image { width: 420px; height: 260px; }
  .slide-content img { height: 560px; }
  .section { padding: 6rem 0; }
  .section-title { font-size: 3em; }
}

/* 2560p (2K/4K width) and above */
@media (min-width: 2560px) {
  .container { max-width: 1920px; }
  .navbar-container { max-width: 1920px; }
  .hero-section { max-height: 950px; }
  body { font-size: 18px; }
  .slide-title,
  .hero-slide .slide-title {
    left: max(1rem, calc((100vw - 1920px) / 2 + 2rem)) !important;
    font-size: 4em !important;
    max-width: 68% !important;
  }
  .hero-nav-btn { width: 4rem; height: 4rem; }
  .video-section .video-wrapper { height: 470px; }
  .main-video-container .video-thumbnail,
  .video-wrapper { height: 720px; }
  .news-article { grid-template-columns: 1fr 500px; }
  .news-image { width: 500px; height: 300px; }
  .slide-content img { height: 640px; }
  .section { padding: 7rem 0; }
  .section-title { font-size: 3.75em; }
  .nav-link { font-size: 1.125em; }
  .news-title { font-size: 1.75em; }
  .news-excerpt { font-size: 1.05em; }
  .video-main-title { font-size: 1.5em; }
  .video-description { font-size: 1.05em; }
  .metric-value { font-size: 1.75em; }
  .metric-label { font-size: 1em; }
}
