/* ==========================================================
   Chess Premier League - Main Stylesheet
   Author: Chess Premier League
   Description: Production-ready modern conference website
========================================================== */

/* -------------------------
   CSS Variables (Theme)
-------------------------- */
:root {
  --primary: #0077B6;
  --navy: #023E8A;
  --dark: #0b1220;
  --dark-2: #111a2e;
  --white: #ffffff;
  --text: #cfd8e3;
  --muted: #9db0c3;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0px 10px 30px rgba(0, 0, 0, 0.45);

  --radius: 14px;
  --radius-lg: 20px;

  --container: 1200px;

  --transition: 0.3s ease;
  --font: "Poppins", sans-serif;
}

/* -------------------------
   Global Reset
-------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* -------------------------
   Utility Classes
-------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: auto;
  padding: 0 18px;
}

.section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.3rem;
  color: var(--white);
  margin-bottom: 10px;
}

.section-title p {
  max-width: 720px;
  margin: auto;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 119, 182, 0.45);
}
/* Hide Topbar + Register Button on Mobile */
@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  .nav-actions .btn {
    display: none;
  }
}

/* ================================
   TOP HEADER BAR (DARK)
================================ */
/* ================================
   TOP HEADER BAR (IMPROVED)
================================ */
.topbar {
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}

.topbar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Left side */
.topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-left a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.topbar-left a i {
  font-size: 0.95rem;
}

.topbar-left a:hover {
  color: var(--primary);
}

/* Right side social icons */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-right a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
  font-size: 0.95rem;
}

.topbar-right a:hover {
  background: rgba(0, 119, 182, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ================================
   MOBILE VIEW FIX (CLEAN)
================================ */
@media (max-width: 760px) {
  .topbar {
    padding: 12px 0;
  }

  .topbar-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Contact section in 2 columns */
  .topbar-left {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .topbar-left a {
    font-size: 0.85rem;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex: 1;
    justify-content: center;
  }

  /* Social icons centered row */
  .topbar-right {
    width: 100%;
    justify-content: center;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .topbar-right a {
    width: 36px;
    height: 36px;
  }
}

/* Extra Small Devices */
@media (max-width: 420px) {
  .topbar-left {
    flex-direction: column;
  }

  .topbar-left a {
    width: 100%;
  }
}
/* ================================
   WHITE HEADER THEME (NEW)
================================ */

/* -------------------------
   Header / Navbar (WHITE HEADER FINAL)
-------------------------- */

/* Main Header */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}



/* ================================
   LOGO ADJUSTMENT (IMAGE + TEXT)
================================ */

/* ================================
   HEADER FULL WIDTH + LOGO FULL HEIGHT
================================ */

/* Header Full Width */
.header {
  width: 100%;
}

/* Navbar height fixed */
.navbar {
  height: 80px; /* header height */
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Navbar Layout */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
/* Desktop Menu Font Size Increase */
.nav-links a {
  font-size: 2rem;
  font-weight: 700;
}

/* Mobile Menu Font Size Increase */
.mobile-menu a {
  font-size: 1rem;
  font-weight: 700;
}

/* Logo wrapper */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  text-decoration: none;
}

/* Logo Image full height */
.logo img {
  height: 100%;
  max-height: 70px; /* navbar height se thoda kam */
  width: auto;
  object-fit: contain;
  display: block;
}

/* Logo text */
.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

/* Mobile Responsive */
@media (max-width: 760px) {
  .navbar {
    height: 70px;
  }

  .logo img {
    max-height: 60px;
  }

  .logo-text {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .logo-text {
    display: none;
  }
}

/* Desktop Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: #0b1220;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  font-size: 0.98rem;
}

/* Hover Effect */
.nav-links a:hover {
  color: var(--primary);
}

/* Active Link */
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: "";
  width: 20px;
  height: 3px;
  border-radius: 6px;
  background: var(--primary);
  position: absolute;
  left: 0;
  bottom: -8px;
}

/* Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.18);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--navy);
  font-size: 1.1rem;
}

.hamburger:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 14px;
  gap: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: white;
  animation: fadeDown 0.35s ease;
}

.mobile-menu a {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 119, 182, 0.06);
  text-decoration: none;
  color: #0b1220;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
  transition: var(--transition);
}

.mobile-menu a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 119, 182, 0.12);
}

/* Dropdown Animation */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Header */
@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: grid;
    place-items: center;
  }

  .mobile-menu.active {
    display: flex;
  }

  .logo span {
    font-size: 1rem;
  }
}

/* Extra Small Devices */
@media (max-width: 420px) {
  .logo span {
    display: none;
  }
}
/* ======================================
   Stylish Header Scroll Effect
====================================== */

/* Default Header Transition */
.header {
  transition: all 0.35s ease;
}

/* When scrolled */
.header.scrolled {
  padding: 0;
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

/* Navbar shrink on scroll */
.header.scrolled .navbar {
  padding: 10px 0;
  transition: all 0.35s ease;
}

/* Logo shrink */
.header.scrolled .logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.05rem;
  transition: all 0.35s ease;
}

.header.scrolled .logo span {
  font-size: 1.02rem;
  transition: all 0.35s ease;
}

/* Menu hover underline effect */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 3px;
  border-radius: 10px;
  background: var(--primary);
  transition: 0.35s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Active underline fixed */
.nav-links a.active::after {
  width: 100%;
}


/* =====================================
   HERO BACKGROUND SLIDER
===================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1.5s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Dark Overlay */
.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 18, 32, 0.90),
    rgba(2, 62, 138, 0.55),
    rgba(0, 0, 0, 0.55)
  );
  z-index: 1;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 22px;
}

/* Fade Right Animation */
.fade-right {
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeRight 1.2s ease forwards;
}

@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* ================================
   BREADCRUMB WITH BACKGROUND IMAGE
================================ */
.breadcrumb-bg {
  position: relative;
  padding: 100px 0;
  background: url("../img/sld/sliderchess.jpg") no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

/* Theme Overlay */
.breadcrumb-bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2, 62, 138, 0.85),
    rgba(0, 119, 182, 0.55)
  );
  z-index: 1;
}

/* Content above overlay */
.breadcrumb-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.breadcrumb-inner h2 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 12px;
}

/* Breadcrumb list */
.breadcrumb-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumb-list li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.breadcrumb-list a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-list a:hover {
  color: #ffffff;
  opacity: 0.8;
}

.breadcrumb-list .active {
  color: #ffffff;
  font-weight: 600;
}

.breadcrumb-list i {
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
  .breadcrumb-bg {
    padding: 70px 0;
  }

  .breadcrumb-inner h2 {
    font-size: 2rem;
  }
}
/* Buttons */
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: var(--white);
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  display: grid;
  place-items: center;
}

.slider-btn:hover {
  background: rgba(0, 119, 182, 0.35);
  border-color: var(--primary);
}

.slider-btn.prev {
  left: 18px;
}

.slider-btn.next {
  right: 18px;
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots .dot.active {
  background: var(--primary);
  width: 32px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-content h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 760px) {
  .hero-slider {
    height: 85vh;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .slider-btn {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }
}


/* ================================
   ABOUT SECTION (IMAGE + CONTENT)
================================ */
.about-section {
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.10), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
}

/* Image Box */
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.about-img:hover img {
  transform: scale(1.05);
}

/* Content */
.about-content h2 {
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 12px;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.7;
}

/* Points */
.about-points {
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-points .point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.about-points .point i {
  color: var(--primary);
  font-size: 1.2rem;
}

.about-points .point span {
  color: var(--text);
  font-weight: 600;
}

.about-points .point:hover {
  border-color: rgba(0, 119, 182, 0.5);
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  /* Fade Right Animation */
@keyframes fadeRightTitle {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Apply to About Heading */
.about-content h2 {
  animation: fadeRightTitle 1s ease forwards;
}
}

/* -------------------------
   Highlights Section
-------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 18px;
}

.feature-card i {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ================================
   YOUTUBE VIDEO SECTION
================================ */
.video-section {
  background: linear-gradient(180deg, rgba(2, 62, 138, 0.15), transparent);
}

.video-wrapper {
  display: flex;
  justify-content: center;
}

/* Now video-thumbnail is an <a> tag */
.video-thumbnail {
  position: relative;
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-decoration: none;
  display: block;
}

.video-thumbnail img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.video-thumbnail:hover img {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 119, 182, 0.85);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.6rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition);
}

.video-thumbnail:hover .play-btn {
  transform: scale(1.1);
  background: var(--primary);
}

.video-overlay h3 {
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
}

.video-overlay p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 760px) {
  .video-thumbnail img {
    height: 260px;
  }

  .video-overlay h3 {
    font-size: 1.1rem;
  }

  .play-btn {
    width: 65px;
    height: 65px;
    font-size: 1.3rem;
  }
}
/* Full Image Container */
.full-image {
  width: 100%;
  /*min-height: 100vh;*/
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0b1220; /* fallback bg */
}

.full-image img {
  width: 100%;
  height: auto;       /* IMPORTANT */
  max-height: 100vh;
  object-fit: contain; /* NO crop, full image visible */
  display: block;
}

/* ================================
   MOBILE FIX (IMPORTANT)
================================ */
@media (max-width: 768px) {
  .full-image {
    height: 60vh; /* better mobile experience */
  }
}

@media (max-width: 480px) {
  .full-image {
    height: 50vh;
  }
}
/* -------------------------
   Speakers Section
-------------------------- */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.speaker img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.speaker-info {
  padding: 16px;
}

.speaker-info h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.speaker-info p {
  color: var(--muted);
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.social-icons a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
/* ================================
   SPLIT SECTION (8:4 LAYOUT)
================================ */
.split-section {
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.10), transparent);
}

.split-grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 8:4 ratio */
  gap: 40px;
  align-items: center;
}

/* Content Side */
.split-content h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 14px;
}

.split-content p {
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.7;
}

/* List */
.split-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.split-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text);
}

.split-list i {
  color: var(--primary);
}

/* Image Side */
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.split-image:hover img {
  transform: scale(1.05);
}

/* ================================
   RESPONSIVE
================================ */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 2fr; /* image 4, content 8 */
  gap: 40px;
  align-items: center;
}

/* Responsive */
@media (max-width: 980px) {
  .split-grid {
    grid-template-columns: 1fr;
  }
}

  .split-content h2 {
    font-size: 2rem;
  }
}
.feature-card a {
  color: var(--primary);
  text-decoration: none !important;
  font-weight: 600;
  transition: var(--transition);
}

.feature-card a:hover {
  color: var(--white);
  text-decoration: none !important;
}
.feature-card a,
.feature-card a:visited,
.feature-card a:active,
.feature-card a:hover {
  text-decoration: none !important;
  color: var(--primary);
}
/* -------------------------
   Stats Counter
-------------------------- */
.stats {
  background: linear-gradient(180deg, rgba(0,119,182,0.14), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.stat-card {
  padding: 24px 18px;
}

.stat-card h3 {
  font-size: 2.1rem;
  color: var(--white);
  margin-bottom: 6px;
}

.stat-card p {
  color: var(--muted);
}

/* -------------------------
   Testimonials Slider
-------------------------- */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  padding: 40px 26px;
}

.slide p {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.slide h4 {
  color: var(--white);
}

.slide span {
  color: var(--muted);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  width: 28px;
}

/* -------------------------
   Gallery Grid + Lightbox
-------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.03);
  border-color: rgba(0, 119, 182, 0.5);
}
/* ================================
   GALLERY LIGHTBOX (NEW)
================================ */
.gallery-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.gallery-popup img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

/* Close Button */
.gallery-popup-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.8rem;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-popup-close:hover {
  color: var(--primary);
  transform: scale(1.2);
}
/* Lightbox Overlay */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 92%;
  max-height: 82vh;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}


/* -------------------------
   Schedule Table
-------------------------- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.schedule-table th,
.schedule-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.schedule-table th {
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.schedule-table td {
  color: var(--text);
}

.schedule-table tr:hover td {
  background: rgba(0, 119, 182, 0.08);
}


/* ================================
   EQUAL CONTACT GRID
================================ */
.contact-equal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* BOX STYLE */
.contact-box {
  padding: 22px;
}

/* CONTACT ITEMS */
.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.contact-item i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(0,119,182,0.15);
  border-radius: 12px;
  color: var(--primary);
}

.contact-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-item p {
  color: var(--white);
  font-weight: 600;
}

/* SOCIAL GRID */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 15px;
}

.social-grid a {
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-grid a:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .contact-equal-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   FORM FIX + CLEAN UI
================================ */

/* Make textarea full width */
.full-width {
  grid-column: 1 / -1;
}

/* Improve spacing */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Labels */
.form-group label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

/* Inputs */
input, textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--white);
  outline: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

/* Focus effect */
input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,119,182,0.15);
}

/* Textarea height */
textarea {
  min-height: 150px;
  resize: none;
}

/* Submit button full width feel */
.submit-btn {
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  font-size: 1rem;
  border-radius: 12px;
}

/* Better grid spacing */
.form-grid {
  gap: 16px;
}

/* Mobile fix */
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------
   Footer
-------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.02);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* Footer column spacing */
.footer-col p {
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.footer p, .footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* -------------------------
   Back To Top Button
-------------------------- */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 119, 182, 0.22);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

/* -------------------------
   Responsive Design
-------------------------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: grid;
    place-items: center;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .speakers-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}