.text-container_1
 {
  width: 100%;
  max-width: 1100px;
  padding: 1.25rem 1rem;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .text-container {
    width: 80%;
    padding: 2rem 2.5rem;
  }
}

.text-container_2
{
  width: 100%;
  max-width: 1100px;
  padding: 1.25rem 1rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.text-container_3
{
   
  display: flex;
  justify-content: center;
  align-items: center;

}




/* Video wrapper */
.text-container_3 .embedded-video {
  width: 100%;
  max-width: 854px;
}

/* Video styling */
.text-container_3 .embedded-video video {
  width: 100%;
  height: auto;
  max-height: 480px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}



/* start technical excellence */
.text-technical-excellence {
  width: 100%;
  max-width: 1100px;
  padding: 1.25rem 1rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.tte-content {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.tte-text {
  flex: 0 0 66.666%;
}

.tte-image {
  flex: 0 0 33.333%;
}

.tte-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  padding: 1.25rem 1rem;
}

/* Mobile layout */
@media (max-width: 768px) {
  .tte-content {
    flex-direction: column;
  }

  .tte-text,
  .tte-image {
    flex: 0 0 100%;
  }
}
/* end technical excellence*/


/*start safety */
.safety {
  width: 100%;
  max-width: 1100px;
  padding: 1.25rem 1rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.safety-content {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.safety-image {
  flex: 0 0 33.333%;
}

.safety-text {
  flex: 0 0 66.666%;
}

.safety-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  padding: 1.25rem 1rem;
}

/* Mobile layout */
@media (max-width: 768px) {
  .safety-content {
    flex-direction: column;
  }

  .safety-image,
  .safety-text {
    flex: 0 0 100%;
  }
}

/* end safety */




/* start enjoyment */
.text-enjoyment {
  width: 100%;
  max-width: 1100px;
  padding: 1.25rem 1rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.enjoyment-content {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.enjoyment-text {
  flex: 0 0 66.666%;
}

.enjoyment-image {
  flex: 0 0 33.333%;
}

.enjoyment-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  padding: 1.25rem 1rem;
}

/* Mobile layout */
@media (max-width: 768px) {
  .enjoyment-content {
    flex-direction: column;
  }

  .enjoyment-text,
  .enjoyment-image {
    flex: 0 0 100%;
  }
}
/* end enjoyment*/




.image-container {
  position: relative;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Isolated full-width section */
.image-section {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin: 0px 0; /* spacing from other content */
}

/* Full-width centered image */
.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Title positioned above/left of first text box */
.image-title {
  position: absolute;
  top: 80px;     /* adjust vertically relative to text box */
  left: 8%;      /* aligns visually with first box area */
  margin: 0;
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #4da3ff;
  text-underline-offset: 6px;
  z-index: 2;    /* sits above image */
  pointer-events: none; /* avoids blocking clicks on overlay */
}


/* Overlay for text boxes */
.image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 0 5%;
  box-sizing: border-box;
}

/* Text boxes */
.text-box {
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  padding: 20px 24px;
  max-width: 320px;
  border-radius: 6px;
  text-align: center;
}

/* Links */
.text-box a {
  color: #4da3ff;
  font-weight: 600;
  text-decoration: underline;
}

/* Mobile stacking */
@media (max-width: 700px) {
  .image-overlay {
    flex-direction: column;
    gap: 16px;
  }
 .image-title {
    top: 30px;
    left: 20px;
    font-size: 1.6rem;
  }
}


/* Parent container isolates everything */

	



 .image-container2 {
	
 /* background: url("jiri_77381.jpg") center / cover no-repeat; */
	
 width: 100%;
  height: 43%;
  overflow: hidden;
isolation: isolate; /* prevents stacking conflicts */	
 


}

#lesson_booking .image-container2 img {
  width: 100%;
  height: 43%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Overlay container */
#lesson_booking .image-container2-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding: 1rem;
  box-sizing: border-box;
}

/* Text boxes */
#lesson_booking .image-container2-box {
  max-width: 420px;
  padding: 1.5rem;
  color: #fff;

  background: rgba(0, 0, 0, 0.55); /* transparent dark overlay */
  backdrop-filter: blur(2px);

  box-sizing: border-box;
}

#lesson_booking .image-container2-box h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

#lesson_booking .image-container2-box p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

#lesson_booking .image-container2-box a {
  color: #1e90ff;
  text-decoration: none;
  font-weight: 500;
}

#lesson_booking .image-container2-box a:hover {
  text-decoration: underline;
}

/* Mobile layout */
@media (max-width: 768px) {
  #lesson_booking .image-container2-overlay {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }

 #lesson_booking  .image-container2-box {
    max-width: 100%;
  }
	}




/* Independent full-width section */
.products-section {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  margin: 0px 0;
}

/* Image styling */
.products-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Title (no shading) */
.products-title {
  position: absolute;
  top: 70px;
  left: 8%;
  margin: 0;
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #4da3ff;
  text-underline-offset: 6px;
  z-index: 2;
  pointer-events: none;
}

/* Overlay container */
.products-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
  box-sizing: border-box;
}

/* Grid layout */
.products-grid {
  display: grid;
  width: 100%;
  max-width: 1100px;
  gap: 20px;
}

/* Desktop layout:
   3 boxes top row
   2 centered bottom row */
@media (min-width: 701px) {
  .products-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto;
  }

  .product-box:nth-child(1) { grid-column: 1 / span 2; }
  .product-box:nth-child(2) { grid-column: 3 / span 2; }
  .product-box:nth-child(3) { grid-column: 5 / span 2; }

  .product-box:nth-child(4) { grid-column: 2 / span 2; }
  .product-box:nth-child(5) { grid-column: 4 / span 2; }
}

/* Mobile stacking */
@media (max-width: 700px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .products-title {
    top: 30px;
    left: 20px;
    font-size: 1.6rem;
  }
}

/* Product text boxes */
.product-box {
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  padding: 18px 22px;
  border-radius: 6px;
  text-align: center;
}

/* Links */
.product-box a {
  color: #4da3ff;
  font-weight: 600;
  text-decoration: underline;
}





/* Independent resources section */
.resources-section {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  margin: 0px 0;
}

/* Image */
.resources-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* NEW: subtle background overlay */
.resources-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* adjust strength here */
  z-index: 1;
}
/* Ensure content sits above overlay */
.resources-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resources-overlay,
.resources-title {
  position: absolute;
  z-index: 2;
}

/* Title */
.resources-title {
  position: absolute;
  top: 70px;
  left: 8%;
  margin: 0;
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #4da3ff;
  text-underline-offset: 6px;
  z-index: 2;
  pointer-events: none;
}

/* Overlay */
.resources-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
  box-sizing: border-box;
}

/* Grid layout */
.resources-grid {
  display: grid;
  width: 100%;
  max-width: 1100px;
  gap: 20px;
}

/* Desktop layout: 3 top, 2 centered bottom */
@media (min-width: 701px) {
  .resources-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto;
  }

  .resource-card:nth-child(1) { grid-column: 1 / span 2; }
  .resource-card:nth-child(2) { grid-column: 3 / span 2; }
  .resource-card:nth-child(3) { grid-column: 5 / span 2; }

  .resource-card:nth-child(4) { grid-column: 2 / span 2; }
  .resource-card:nth-child(5) { grid-column: 4 / span 2; }
}

/* Mobile */
@media (max-width: 700px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .resources-title {
    top: 30px;
    left: 20px;
    font-size: 1.6rem;
  }
}

/* Text cards */
.resource-card {
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  padding: 18px 22px;
  border-radius: 6px;
  text-align: center;
}

/* Links */
.resource-card a {
  color: #4da3ff;
  font-weight: 600;
  text-decoration: underline;
}


/* --- table styling --- */
.styled-table {
    width: 800px;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-family: Arial, sans-serif;
  }

  /* Title bar */
  .styled-table thead th {
    background-color: #cfe8ff; /* light blue */
    color: #000;
    text-align: left;
    padding: 12px;
    font-size: 18px;
    border: 1px solid #ddd;
  }

  /* Table cells */
  .styled-table td {
    padding: 10px;
    border: 1px solid #ddd;
  }

  /* Alternating rows */
  .styled-table tbody tr:nth-child(even) {
    background-color: #f2f2f2; /* light grey */
  }

  .styled-table tbody tr:nth-child(odd) {
    background-color: #ffffff; /* white */
  }
/* --- end of table styling --- */






.image-container3 {
  width: 100%;
  height: 40%;
  overflow: hidden;
}

.image-container3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/*Absolute centering (classic, very robust)

Useful if you’re doing fancy positioning or animations.*/

.image-container_9 {
  width: 80%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.image-container_9 img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
}



 





.container-fluid_2
{
align: center;
height: 400px;
  overflow: hidden;
}


/*footer style starts */

.footer-three-column {
  background-color: #000;
  color: #fff;
  width: 100%;
}

.footer-three-column-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;

  display: flex;
  gap: 2rem;
}

.footer-col {
  flex: 1;
}

.footer-col h4 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.footer-col p {
  margin: 0;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #1e90ff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Mobile layout */
@media (max-width: 768px) {
  .footer-three-column-inner {
    flex-direction: column;
  }
}
/* Copyright bar */
.footer-copyright {
  border-top: 1px solid #333;
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #ccc;
}

/* Mobile layout */
@media (max-width: 768px) {
  .footer-three-column-inner {
    flex-direction: column;
  }
}

/* Mobile layout */
@media (max-width: 768px) {
  .footer-three-column-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-links li {
    margin-bottom: 0.4rem;
  }

  /* Smaller copyright text on mobile */
  .footer-copyright {
    font-size: 0.75rem;
    padding: 0.75rem 1rem;
  }
}

/*footer style ends */
