/* Sponsor / partner logos (tcl-training.php) */
.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px 40px;
    margin: 24px auto;
    max-width: 960px;
}

.centered-container .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px 40px;
}

.img1,
.img2 {
    max-width: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0;
}
        .line {
    border: 1px solid #680b1c;
    width: 25%;
}
        .line1 {
    border: 1px solid #680b1c;
    width: 19%;
}

    .line2 {
    border: 1px solid #680b1c;
    width: 12%;
}   

    .line3 {
    border: 1px solid #680b1c;
    width: 36%;
}   
.line4 {
  border: 1px solid #680b1c;
  width: 30%;
}
.groove {border-style: groove;}
.line-conf{
  text-align: center;
    border: 1px solid #680b1c;
  width: 25%;
}
    table {
        border-collapse: collapse;
        width: 100%;
    }

    th, td {
        padding: 10px; /* Adjust this value as needed */
        text-align: center;
    }
.mytable {
             width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-size: 1em;
            min-width: 400px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
          }
        tbody tr {
              transition: background-color 0.3s ease;
        }
        tbody tr:nth-of-type(even) {
            background-color: #f3f3f3;
        }
        tbody tr:hover {
            background-color: #e9f7ef;
        }
 .instructor-container {
            display: flex;
            justify-content: space-around;
            gap: 20px;
        }
        .instructor-box {
            width: 300px;
            background-color: white;
            border: 1px solid #ddd;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            overflow: hidden;
            text-align: center;
            padding: 15px;
        }
        .instructor-box img {
            width: 100%;
            height: auto;
            border-bottom: 1px solid #ddd;
        }
        .instructor-box h3 {
            margin: 15px 0 5px;
            font-size: 20px;
            color: #333;
        }
        .instructor-box p {
            margin: 5px 0;
            font-size: 16px;
            color: #666;
        }
        .instructor-box .outline-link {
            display: block;
            margin-top: 15px;
            padding: 10px 15px;
            font-size: 14px;
            color: white;
            background-color: #007bff;
            text-decoration: none;
            border-radius: 4px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }
        .instructor-box .outline-link:hover {
            background-color: #0056b3;
        }
 .training-info {
    margin: 20px auto;
    max-width: 720px;
    text-align: center;
 }
 .zoom-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}

.zoom-table th, .zoom-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.zoom-table th {
  background-color: #4CAF50;
  color: white;
}

.zoom-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.zoom-table tr:hover {
  background-color: #ddd;
}

.zoom-table td a {
  color: #1a73e8;
  text-decoration: none;
}

.zoom-table td a:hover {
  text-decoration: underline;
}

.youtube-section {
  text-align: center;
  margin: 40px auto;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 10px;
  max-width: 1200px;
}

.youtube-section h2 {
  font-size: 30px;
  margin-bottom: 20px;
  color: #333;
}

.youtube-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.course-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  width: 220px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.course-photo {
  width: 100%;
  height: auto;
  border-radius: 50%;
  margin-bottom: 10px;
}

.course-item h3 {
  font-size: 18px;
  margin: 10px 0;
  color: #333;
}

.course-item p {
  font-size: 16px;
  margin: 5px 0;
  color: #666;
}

.course-item a {
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
}

.course-item a:hover {
  text-decoration: underline;
}
       .custom-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-family: Arial, sans-serif;
        }
        .custom-table th, .custom-table td {
            padding: 10px;
            border: 1px solid #ddd;
            text-align: left;
        }
        .custom-table th {
            background-color: #4CAF50;
            color: white;
        }
        .custom-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        .custom-table a {
            color: #007bff;
            text-decoration: none;
        }
        .custom-table a:hover {
            text-decoration: underline;
        }
        .table-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 10px;
            font-family: Arial, sans-serif;
            color: #333;
        }

        /* Responsive Table for Mobile */
        @media screen and (max-width: 600px) {
            .custom-table, .custom-table thead, .custom-table tbody, .custom-table th, .custom-table td, .custom-table tr {
                display: block;
            }

            .custom-table th {
                position: absolute;
                top: -9999px;
                left: -9999px;
            }

            .custom-table tr {
                border: 1px solid #ccc;
                margin-bottom: 10px;
            }

            .custom-table td {
                border: none;
                border-bottom: 1px solid #eee;
                position: relative;
                padding-left: 50%;
                text-align: right;
            }

            .custom-table td:before {
                position: absolute;
                top: 50%;
                left: 15px;
                width: 45%;
                padding-right: 10px;
                white-space: nowrap;
                transform: translateY(-50%);
                font-weight: bold;
                text-align: left;
            }

            .custom-table td:nth-of-type(1):before { content: "Training"; }
            .custom-table td:nth-of-type(2):before { content: "Morning Session"; }
            .custom-table td:nth-of-type(3):before { content: "Evening Session"; }
        }

/* General layout */
.course-section {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
  background-color: inherit; /* Match the background color of the webpage */
  margin: 50px 0;
}

.course-card {
  width:50%;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease; /* Hover effect without box shadow */
}

.course-card:hover {
  transform: translateY(-5px); /* Slight lift on hover */
}

.card-content {
  padding: 25px;
}

.course-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 15px;
}

.instructor-info {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.instructor-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.instructor-name {
  font-size: 18px;
  font-weight: bold;
  color: #555;
}

/* Button styles */
.button-container {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.schedule-button {
  background-color: #007bff; /* Blue background */
  color: white; /* White text */
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none; /* Remove underline */
  transition: background-color 0.3s ease;
}

.schedule-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

/* Responsive styles */
@media (max-width: 768px) {
  .course-section {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .course-card {
    width: 100%; /* Full width for mobile */
    margin-bottom: 20px;
  }

  .instructor-info {
    flex-direction: column;
    align-items: center;
  }

  .instructor-photo {
    margin-bottom: 10px; /* Space between photo and name */
  }
}
/* Title styling */
.event-title {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 0;
}

/* General slider container */
.event-slider {
  position: relative;
  width: 100%;
  max-width: 700px; /* Reduced max-width */
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-sizing: border-box;
}

/* Slider images container */
.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
}

/* Smaller image size */
.event-slider img,
.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

/* Navigation buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 12px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* Dots navigation */
.dot-container {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  transition: background-color 0.3s;
  cursor: pointer;
}

.dot:hover, .dot.active {
  background-color: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .event-slider {
    max-width: 100%;
    padding: 0 10px;
  }

  .prev, .next {
    padding: 10px;
    font-size: 18px;
  }

  .dot-container {
    bottom: 5px;
  }

  .event-slider img,
  .slide img {
    max-height: 220px;
  }
}

/* For the entire training schedule section */
.training-schedule {
    text-align: center;
    padding: 20px;
}

h1 {
    font-size: 32px;
    margin-bottom: 30px;
}

/* Flexbox container to place the two cards side by side */
.training-cards {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px; /* Add space between cards */
    flex-wrap: wrap; /* Ensure wrapping on smaller screens */
}

.fiber-card, .isp-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 65%; /* Each card takes 45% of the container */
    margin-bottom: 30px;
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.instructor-img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-right: 15px;
    border: 2px solid #007bff;
}

.fiber-instructor, .instructor {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.instructor-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Button Styles */
.schedule-btn {
    background-color: #007bff;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    display: inline-block;
    transition: background-color 0.3s;
}

.schedule-btn:hover {
    background-color: #0056b3;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .training-cards {
        flex-direction: column; /* Stack vertically on smaller screens */
    }

    .fiber-card, .isp-card {
        width: 90%; /* Full width on small screens */
    }
}



