/*! Base styles and resets */
:root {
  --primary-color: #407C79;
  --secondary-color: #e9f5f5;
  --text-color: #333333;
  --light-text-color: #666666;
  --accent-color: #8ADED4;
  --white: #FFFFFF;
  --black: #000000;
  --border-radius: 20px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  /* Breakpoints */
  --mobile: 576px;
  --tablet: 768px;
  --desktop: 992px;
  --large-desktop: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.menu-open {
  overflow: hidden;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  margin: 0;
  padding: 0;
}

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

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 576px) {
  .container {
    padding: 0 20px;
  }
}

section {
  padding: 40px 0;
  margin-bottom: 0;
  background-color: var(--white);
  overflow: hidden;
  border-radius: 35px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 15px;
}

.section-title {
  color: #999;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-weight: 500;
}

.highlight {
  color: var(--primary-color);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

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

.large-text-btn {
  font-size: 1.2rem;
  letter-spacing: 0.6px;
  padding: 14px 28px;
}

.primary-btn:hover {
  background-color: #0a7a74;
  transform: translateY(-3px);
}

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

.secondary-btn:hover {
  background-color: #d9eded;
}

.cta-btn, .btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  margin: 0 10px;
  padding: 15px 30px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border-radius: 10px;
  font-weight: bold;
  text-transform: uppercase;
}

.cta-btn:hover, .btn-primary:hover {
  background-color: #2d5654;
  transform: translateY(-3px);
}

/* Hover effect for buttons as shown in buttons-hover.png */
.cta-section .cta-btn {
  background-color: var(--accent-color);
  transition: background-color 0.3s ease;
}

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

/* Header */
header {
  padding: 20px 0;
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 0 0 35px 35px;
  transition: transform 0.3s ease;
}

header.sticky {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

header.scrolling-down {
  transform: translateY(-100%);
}

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

.logo img {
  height: 50px;
}

nav ul {
  display: flex;
}

nav li {
  margin-left: 30px;
}

nav a {
  font-weight: 600;
  transition: var(--transition);
  font-size: 1.1rem;
}

nav a:hover {
  color: var(--primary-color);
}

.language {
  font-weight: bold;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  margin-left: 5px;
  z-index: 101;
  width: 45px;
  height: 45px;
}

.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--primary-color);
  margin: 3px 0;
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-toggle.active {
  background-color: var(--primary-color);
}

.mobile-menu-toggle.active span {
  background-color: var(--white);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 768px) {
  header {
    padding: 15px 0;
  }

  .header-content {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 15px;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    grid-column: 1;
    background-color: transparent;
    border-radius: 5px;
    margin-left: 5px;
    padding: 0;
    width: 48px;
    height: 48px;
  }

  .logo {
    grid-column: 2;
    text-align: center;
  }

  .logo img {
    height: 40px;
  }

  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100vh;
    background-color: var(--white);
    box-shadow: none;
    transition: left 0.3s ease, box-shadow 0.3s ease;
    padding: 80px 25px 25px;
    z-index: 100;
    border-radius: 0 10px 10px 0;
  }

  nav.active {
    left: 0;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  nav li {
    margin: 15px 0;
    width: 100%;
    margin-left: 0;
  }

  nav a {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: 1.2rem;
  }

  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }

  .overlay.active {
    display: block;
  }
}

/* Hero Section */
.hero {
  padding: 120px 0 60px;
  margin-top: 0;
  border-radius: 0 0 35px 35px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  color: #000;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-text h2 {
  font-size: 1.8rem;
  text-align: left;
  color: #000;
  margin-bottom: 15px;
  font-weight: normal;
}

.hero-text p {
  font-style: italic;
  color: #000;
  font-size: 1.1rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

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

.buttons {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.buttons .btn {
  margin: 0;
}

.hero-details {
  font-weight: 400;
  text-align: center;
  font-size: 1.1rem;
  margin-top: 10px;
  margin-bottom: 20px;
}

.hero-details p {
  margin-bottom: 0px;
}

@media (max-width: 992px) {
  .hero {
    padding: 100px 0 40px;
  }

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

  .hero-text {
    width: 100%;
    order: 1;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  .hero-image {
    width: 100%;
    order: 0;
    justify-content: center;
    margin-bottom: 30px;
  }

  .hero-image img {
    max-width: 80%;
  }

  .buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 90px 0 30px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text h2 {
    font-size: 1.4rem;
  }

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

@media (max-width: 576px) {
  .hero {
    padding: 85px 0 25px;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-text h2 {
    font-size: 1.2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-image img {
    max-width: 90%;
  }
}

.scroll-down {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.scroll-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Add drawing animation as specified in the instructions */
  overflow: hidden;
}

.scroll-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.5);
  animation: draw-circle 2s ease-in-out infinite;
}

.scroll-icon span {
  display: block;
  width: 16px;
  height: 16px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  animation: scroll 2s infinite;
}

@keyframes draw-circle {
  0% {
    transform: rotate(0deg);
    border-top-width: 0;
  }
  25% {
    border-top-width: 3px;
  }
  50% {
    transform: rotate(90deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes scroll {
  0% {
    transform: rotate(45deg) translate(-5px, -5px);
    opacity: 0.7;
  }
  50% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: rotate(45deg) translate(-5px, -5px);
    opacity: 0.7;
  }
}

/* About Section */
.about {
  background-color: var(--white);
  margin-top: 20px;
  padding-bottom: 0;
}

.about-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-areas:
    "text image"
    "text definition";
  gap: 30px;
  margin-bottom: 30px;
}

.about-text {
  grid-area: text;
  padding-right: 40px;
}

.about-image {
  grid-area: image;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-image img {
  max-width: 75%;
  height: auto;
}

.definition {
  grid-area: definition;
  color: var(--primary-color);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: -20px;
  position: relative;
  text-align: center;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.about-text ul {
  margin: 20px 0;
}

.about-text li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.about-text .compact-list li {
  margin-bottom: 2px;
}

.about-text li::before {
  content: "•";
  color: var(--primary-color);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -5px;
}

.quote-block {
  margin-top: 30px;
}

.quote {
  text-align: center;
  color: var(--primary-color);
  font-style: italic;
  font-size: 1.1rem;
  margin: 30px 0;
  padding: 0 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote p {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "text"
      "definition";
  }

  .about-text {
    padding-right: 0;
  }

  .about-image {
    margin-bottom: 20px;
  }

  .about-image img {
    max-width: 60%;
    margin: 0 auto;
  }

  .about-text h2 {
    text-align: center;
    font-size: 1.6rem;
  }

  .definition {
    margin-top: 20px;
    padding: 0 10%;
  }
}

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

  .quote {
    padding: 0 5%;
    font-size: 1rem;
  }

  .about-text h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .about-image img {
    max-width: 85%;
  }

  .about-text li {
    font-size: 0.95rem;
  }

  .definition {
    padding: 0;
    font-size: 0.9rem;
  }
}

/* CTA Section */
.cta-section {
  padding: 0; !important;
  text-align: center;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

/* Partners Section */
.partners {
  padding: 40px 0;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}

.partners-logos img {
  height: 60px;
  object-fit: contain;
  margin: 10px 20px;
  opacity: 0.85;
  transition: var(--transition);
}

.partners-logos img:hover {
  opacity: 1;
}

/* Program Section */
.program {
  background-color: var(--white);
}

.program-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.program-header h3 {
  flex: 3;
  padding-right: 30px;
  font-weight: 600;
  font-size: 1.5rem;
  max-width: 70%;
}

.program-header .btn {
  flex: 1;
  max-width: 200px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.program-card {
  background-color: var(--white);
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius);
  padding: 35px;
  transition: var(--transition);
  height: 100%;
  min-height: 340px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  overflow: hidden;
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
  border-color: var(--primary-color);
}

.card-header {
  display: grid;
  grid-template-columns: 75% 25%;
  gap: 15px;
  margin-bottom: 5px;
}

.card-title-area {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card-icon {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.card-icon img {
  width: 100%;
  max-width: 85px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

.card-content {
  line-height: 1.6;
}

.card-footer {
  margin-top: auto;
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
}

.program-card h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

.program-card h5 {
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.keywords {
  font-size: 0.9rem;
  color: var(--light-text-color);
  font-style: italic;
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .program-header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .program-header h3 {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
    font-size: 1.4rem;
  }

  .program-header .btn {
    max-width: 100%;
    width: auto;
  }

  .program-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .program-card {
    padding: 25px;
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .program-card {
    padding: 20px;
  }

  .card-header {
    grid-template-columns: 65% 35%;
  }

  .card-icon img {
    max-width: 70px;
  }

  .program-card h4 {
    font-size: 1.3rem;
  }

  .program-card h5 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .program {
    padding: 30px 0;
  }

  .program-card h4 {
    font-size: 1.2rem;
  }

  .program-card p {
    font-size: 0.95rem;
  }

  .keywords {
    font-size: 0.85rem;
  }
}

/* Formats Section */
.formats {
  background-color: var(--white);
}

.formats-title-row {
  margin-bottom: 40px;
  width: 70%;
}

.formats-header {
  text-align: left;
  font-weight: 600;
  margin-bottom: 0;
}

/* Main grid layout - top section */
.formats-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.formats-left-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.formats-right-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.experts-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Middle grid section */
.formats-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* Bottom grid section */
.formats-final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.participation-image img {
  width: 75%;
  max-width: 75%;
  height: auto;
  border-radius: 20px;
  margin: 0 auto;
  display: block;
}

.formats-final-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.formats-cta {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

@media (max-width: 992px) {
  .formats-title-row {
    width: 100%;
  }

  .formats-header {
    text-align: center;
    font-size: 1.3rem;
  }

  .formats-main-grid,
  .formats-bottom-grid,
  .formats-final-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .formats-right-column {
    order: -1;
  }

  .experts-image img {
    max-width: 80%;
    margin: 0 auto;
  }

  .participation-image img {
    width: 80%;
  }
}

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

  .formats-left-column {
    gap: 30px;
  }

  .formats-cta {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .formats-cta .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .experts-image img,
  .participation-image img {
    width: 100%;
    max-width: 100%;
  }

  .formats-header {
    font-size: 1.2rem;
  }
}

/* Format card styling */
.format-card {
  background-color: transparent;
  border-radius: var(--border-radius);
  padding: 30px;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--secondary-color);
  position: relative;
}

.format-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
  border-color: var(--primary-color);
}

.card-header {
  display: grid;
  grid-template-columns: 75% 25%;
  gap: 15px;
  margin-bottom: 5px;
}

.card-title-area {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

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

.card-icon {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.card-icon img {
  width: 100%;
  max-width: 85px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

/* Format-card specific overrides */
.format-card .card-header {
  grid-template-columns: 70% 30%;
  gap: 20px;
  margin-bottom: 80px;
}

.format-card .card-icon {
  max-width: 100%;
}

.format-card .card-icon img {
  max-width: 100%;
  object-fit: initial;
  opacity: 1;
}

.card-content {
  flex-grow: 1;
}

.format-card .card-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  margin-top: 120px; /* Ensure enough space from the content above */
}

.tag {
  font-style: italic;
  color: var(--light-text-color);
  font-size: 0.9rem;
  margin-top: 15px;
  display: flex;
  align-items: center;
}

.tag::before {
  content: "\f0c6";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1rem;
  color: var(--primary-color);
  margin-right: 8px;
}

.format-card ul {
  margin: 15px 0;
}

.format-card li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.format-card li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* Why Participate Section */
.why-participate {
  background-color: var(--white);
  clear: both;
}

.participation-columns {
  display: flex;
  gap: 40px;
}

.participation-column {
  flex: 1;
}

.participation-column h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
}

.participation-column ul {
  margin-bottom: 20px;
}

.participation-column li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 25px;
}

.participation-column li::before {
  content: "•";
  color: var(--primary-color);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -5px;
}

/* Venue Section */
.venue {
  background-color: var(--white);
}

.venue-content {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 40px;
  margin-bottom: 30px;
}

.venue-info {
  display: flex;
  flex-direction: column;
}

.venue-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.venue-info h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.location-pin::before {
  content: "\f3c5"; /* Font Awesome map-pin icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary-color);
  margin-right: 8px;
}

.venue-details {
  font-style: italic;
  margin: 15px 0;
}

.venue-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
  justify-content: center;
}

.venue-buttons .btn {
  font-weight: normal;
}

/* Speakers Section */
.speakers {
  background-color: var(--white);
}

.speakers-content {
  display: grid;
  grid-template-columns: 75% 25%;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.speakers-info h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-size: 1.3rem;
  line-height: 1.4;
}

.speakers-info p {
  font-size: 1.1rem;
  font-weight: normal;
  margin-bottom: 5px;
}

.speakers-info ul {
  margin: 10px 0 20px;
}

.requirements-link {
  margin-top: 20px;
  font-style: normal;
  line-height: 1.5;
  font-size: 1rem;
}

.requirements-link a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 500;
}

.speakers-info li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
  font-size: 1.1rem;
  font-weight: normal;
}

.speakers-info li::before {
  content: "•";
  color: var(--primary-color);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -5px;
}

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

.application-text {
  text-align: center;
  margin: 30px 0;
}

.application-text h4 {
  font-weight: 700;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.timeline {
  display: flex;
  flex-direction: column;
  margin: 60px 0 40px;
  position: relative;
  width: 100%;
}

.timeline-dates {
  display: flex;
  width: 100%;
  position: relative;
}

.timeline-date {
  font-weight: bold;
  text-align: center;
  font-size: 1.1rem;
  position: absolute;
  transform: translateX(-50%);
  margin-bottom: 15px;
}

.timeline-date:nth-child(1) {
  left: 10%;
  transform: translateX(-50%);
}

.timeline-date:nth-child(2) {
  left: 50%;
}

.timeline-date:nth-child(3) {
  right: 20%;
  transform: translateX(50%);
  text-align: center;
}

.timeline-line {
  position: relative;
  height: 4px;
  background-color: transparent;
  margin: 50px 0 20px;
  width: 100%;
}

/* Background line spanning the full width */
.timeline-line::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background-color: var(--primary-color);
}

/* Arrow at the end for desktop */
.timeline-line::after {
  content: '';
  position: absolute;
  right: -10px;
  top: -8px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--primary-color);
  z-index: 3;
}

/* Arrow for both desktop and mobile */
.timeline-arrow {
  display: none;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 4px;
  position: absolute;
  top: -8px;
  z-index: 2;
}

.timeline-marker:nth-child(1) {
  left: 10%;
}

.timeline-marker:nth-child(2) {
  left: 50%;
  transform: translateX(-50%);
}

.timeline-marker:nth-child(3) {
  right: 20%;
}

.timeline-labels {
  display: flex;
  width: 100%;
  position: relative;
}

.timeline-label {
  font-size: 0.95rem;
  text-align: center;
  position: absolute;
  transform: translateX(-50%);
  min-width: 110px;
}

.timeline-label:nth-child(1) {
  left: 10%;
  transform: translateX(-50%);
  text-align: center;
}

.timeline-label:nth-child(2) {
  left: 50%;
}

.timeline-label:nth-child(3) {
  right: 20%;
  transform: translateX(50%);
  text-align: center;
}

.important-note {
  font-style: italic;
  text-align: center;
  margin-top: 80px;
  color: var(--light-text-color);
}

/* Contact Section */
.contact {
  background-color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.4;
}

.contact-details {
  margin-top: 20px;
  line-height: 1.6;
}

.contact-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
}

.contact-image img {
  width: 150px;
  height: auto;
  max-width: 100%;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 30%);
  gap: 5%;
  justify-content: center;
}

.contact-option {
  background-color: var(--secondary-color);
  padding: 25px;
  border-radius: 10px;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-option h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-option a {
  color: var(--primary-color);
  font-weight: 500;
  word-break: break-word;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  padding: 60px 0 30px;
  border-radius: 35px 35px 0 0;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  margin-bottom: 30px;
}

.footer-logo img {
  height: 60px;
}

.footer-main {
  display: grid;
  grid-template-columns: 50% 50%;
  width: 100%;
}

.footer-info {
  padding-right: 40px;
  line-height: 1.6;
}

.footer-info p {
  margin-bottom: 10px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav-row {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 20px;
}

.footer-nav a {
  transition: var(--transition);
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-nav a:hover {
  color: var(--primary-color);
}

@media (max-width: 992px) {
  footer {
    padding: 40px 0 30px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-info {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .footer-logo img {
    height: 50px;
  }

  .footer-nav-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .footer-nav a {
    font-size: 1rem;
    display: block;
    padding: 5px 0;
  }
}

@media (max-width: 576px) {
  footer {
    padding: 30px 0 20px;
    margin-top: 30px;
  }

  .footer-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .footer-logo img {
    height: 40px;
  }

  .footer-info {
    text-align: center;
    font-size: 0.9rem;
  }
}

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

  .hero {
    padding-top: 150px;
  }

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

  .speakers-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .speakers-image {
    order: 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
  }

  .speakers-info {
    order: 1;
  }

  .speakers-image img {
    max-width: 60%;
    margin: 0 auto;
  }

  .speakers-info h3 {
    text-align: center;
  }

  .venue-content {
    grid-template-columns: 1fr;
  }

  .venue-info {
    order: 0;
  }

  .venue-image {
    order: 1;
    margin-top: 0;
    display: flex;
    justify-content: center;
  }

  .venue-image img {
    max-width: 80%;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-image {
    display: none;
  }

  .hero-text,
  .about-text,
  .speakers-info {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .venue-info {
    padding-right: 0;
    margin-bottom: 15px;
  }

  /* Program grid is already 2 columns by default */

  .formats-title-row {
    width: 100%;
  }

  .formats-main-grid,
  .formats-bottom-grid,
  .formats-final-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .formats-cta {
    flex-direction: column;
    gap: 15px;
  }

  .participation-columns {
    flex-direction: column;
  }

  .contact-options {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

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

  .program-header {
    flex-direction: column;
    text-align: center;
  }

  .program-header h3 {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .card-header {
    grid-template-columns: 2fr 1fr;
  }

  .contact-options {
    grid-template-columns: 1fr;
  }

  .venue-image img,
  .speakers-image img {
    max-width: 100%;
  }

  header {
    padding: 15px 0;
  }

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

  nav {
    margin-top: 20px;
    width: 100%;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav li {
    margin: 5px 10px;
  }

  .buttons {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-info {
    padding-right: 0;
  }

  .footer-nav-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline {
    height: auto;
    padding: 0 20px;
    margin: 40px 0 60px;
    position: relative;
  }

  .timeline-dates,
  .timeline-labels {
    position: static;
    height: auto;
    width: auto;
    transform: none;
  }

  .timeline-line {
    height: 100%;
    width: 4px;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    background-color: transparent;
  }

  .timeline-line::before {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
  }

  .timeline-line::after {
    display: none;
  }

  .timeline-arrow {
    display: block;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid var(--primary-color);
    z-index: 3;
  }

  /* Reset positioning for all items */
  .timeline-date,
  .timeline-label,
  .timeline-marker {
    position: static;
    transform: none !important;
    min-width: auto;
    width: auto;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }

  /* Create grid layout for each timeline step */
  .timeline-step {
    display: grid;
    grid-template-columns: 40% 20% 40%;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
  }

  .timeline-step:last-child {
    margin-bottom: 0;
  }

  .timeline-step .timeline-date {
    grid-column: 1;
    text-align: right;
    padding-right: 15px;
    font-weight: bold;
    font-size: 1.1rem;
  }

  .timeline-step .timeline-marker {
    grid-column: 2;
    justify-self: center;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 4px;
    z-index: 2;
  }

  .timeline-step .timeline-label {
    grid-column: 3;
    text-align: left;
    padding-left: 15px;
    font-size: 0.95rem;
  }

  @media (max-width: 576px) {
    .timeline-step {
      grid-template-columns: 35% 30% 35%;
    }
  }
}
