/* Import Titillium Web Font and PT Sans*/
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');


/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PT Sans', sans-serif;
}

body {
    overflow-x: hidden;
    position: relative;
    background-color: #f9f9f9;
}


/* Sticky Header */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    z-index: 10;
    transition: background-color 0.3s, padding 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #34383d;
}

header.scrolled {
    background-color: #292c30;
    padding: 10px 50px;
}


/* Logo Styles */
.logo img {
    max-width: 200px;
    height: auto;
    margin-left: 20px;
    transition: max-width 0.3s, padding 0.3s;
}

header.scrolled .logo img {
    max-width: 130px;
    padding: 5px;
}

/* Navigation */
header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

header nav ul li a {
    color: rgb(247, 247, 247);
    text-decoration: none;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s;
    white-space: nowrap;
}

header nav ul li a:hover {
    color: #878787;
}

/* Background Slider */
.background-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

/* Section Separator */
.section-separator {
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
    margin-top: 0;
    font-family: 'Titillium Web', sans-serif;
    font-size: 36px;
}

/* Arrow Down */
.arrow-down {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid white;
    margin: 10px auto 0;
}

/* Courses Section */
.courses-section {
    padding: 50px 5%;
    background-color: #f9f9f9;
    z-index: 1;
}

.courses-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Enforce 3 columns */
    gap: 30px;
}

/* Course Item Styles */
.course-item {
    background-color: white;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}

.course-item:hover {
    transform: translateY(-5px);
}

.course-item img {
    max-width: 60%;
}


.ribbonfirst {
    position: absolute;
    top: 15px;
    left: -45px;
    width: 150px;
    text-align: center;
    background: rgb(181, 15, 15);
    color: white;
    font-weight: bold;
    transform: rotate(-45deg);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    font-size: 18px;
    padding: 6px 0;
    z-index: 1;
}

.ribbonblog {
    position: absolute;
    top: 15px;
    left: -45px;
    width: 150px;
    text-align: center;
    background: #001595;
    color: white;
    font-weight: bold;
    transform: rotate(-45deg);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    font-size: 14px;
    padding: 6px 0;
    z-index: 1;
}



.ribbonsecond {
    position: absolute;
    top: 15px;
    left: -45px;
    width: 150px;
    text-align: center;
    background: rgb(21, 21, 120);
    color: white;
    font-weight: bold;
    transform: rotate(-45deg);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    font-size: 18px;
    padding: 6px 0;
    z-index: 1;
}


@media (max-width: 600px) {
    .ribbonfirst, .ribbonsecond, .ribbonblog {
        top: 10px;
        left: -35px;
        width: 110px;
        font-size: 12px;
        padding: 4px 0;
    }
}







.course-item h3 {
    margin: 10px 0;
    font-size: 32px;
    font-family: 'Titillium Web', sans-serif;
}

.course-item p {
    margin: 10px 0;
    color: #555;
    font-size: 20px;
    font-family: 'Titillium Web', sans-serif;
    line-height: 1.8;
}

.course-item u {
    margin: 10px 0;
    color: #555;
    font-size: 20px;
    font-family: 'Titillium Web', sans-serif;
    line-height: 1.8;
}

/* Full Clickable Style */
.full-clickable {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Button Style */
.course-link-btn1 {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #ff5f5f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Titillium Web', sans-serif;
    transition: background-color 0.3s;
}

.course-link-btn1:hover {
    background-color: #ff3333;
}


.course-link-btn2 {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #5fafff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Titillium Web', sans-serif;
    transition: background-color 0.3s;
}

.course-link-btn2:hover {
    background-color: #3385fe;
}

/* Dummy Content
.filler {
    height: 1000px;
}
*/

/* Mobile Styles */
@media (max-width: 768px) {
    /* Header */
    header {
        padding: 10px 1px;
        flex-direction: column;
    }

    header.scrolled {
        padding: 10px 1px;
    }

    .logo img {
        max-width: 130px;
        margin-left: 0px;
        margin-bottom: 10px;
    }

    header nav ul {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    header nav ul li a {
        font-size: 14px;
    }


    
    /* Courses in a single column on mobile */
    .courses-table {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}

/* Hide mobile slider on desktop */
.mobile-slider-placeholder {
    display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .mobile-slider-placeholder {
        display: block;
        width: 100%;
        height: auto;
    }

    .background-slider {
        display: none;
    }
}


/* Why Us Section */
.features-section {
    padding: 50px 7% 25px;
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
}

.features-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

/* Left Column (Text) */
.features-text {
    flex: 1;
    max-width: 50%;
}

.features-text h2 {
    font-size: 42px;
    font-family: 'Titillium Web', sans-serif;
    margin-bottom: 20px;
    color: #333;
}

.features-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.features-text li {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}




/* Counters Section */
.counters-section {
    display: flex;
    justify-content: space-around;
    padding-left: 7%;
    padding-right: 7%;
    padding-top: 0px;
    padding-bottom: 40px;
    background-color: #f9f9f9;
}

.counter-item {
    text-align: center;
}

.counter-icon {
    font-size: 50px;
    margin-bottom: 10px;
    color: #4caf50;
}

.counter-item h3 {
    font-size: 48px;
    color: #4caf50;
    margin: 10px 0;
    font-family: 'Titillium Web', sans-serif;
}

.counter-item p {
    font-size: 20px;
    color: #555;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
		text-align: justify;
    }

    .features-text, .features-image {
        max-width: 100%;
    }

    .counters-section {
        flex-direction: column;
        gap: 20px;
    }
}

/* Services Section */
.services-section {
    padding: 50px 10%;
    background-color: #f9f9f9;
    text-align: center;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.services-grid h3 {
    margin: 10px 0;
    font-size: 32px;
    font-family: 'Titillium Web', sans-serif;
}

.services-grid p {
    margin: 10px 0;
    color: #555;
    font-size: 16px;
    font-family: 'Titillium Web', sans-serif;
    line-height: 1.8;
}

.services-grid u {
    margin: 10px 0;
    color: #555;
    font-size: 16px;
    font-family: 'Titillium Web', sans-serif;
    line-height: 1.8;
}











.service-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-item img {
    max-width: 120px;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 26px;
    margin: 10px 0;
    font-family: 'Titillium Web', sans-serif;
    color: #353535;
}

.service-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    font-family: 'PT Sans', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

}


/* Online Presence Section */
.online-presence {
    text-align: center;
    padding: 12px 12px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.online-presence h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: #333;
}

.online-presence p {
    font-size: 1.2rem;
    color: #666;
}

.online-presence img {
    width: 100%;
    max-width: 100%;
    height: auto;
}


/* Post Section */
.post {
    margin: 25px 40px 30px 0px;
}

.post h2 {
    font-size: 3.5rem;
    margin-bottom: 40px;
    color: #333;
    text-align: left;
}

.post p {
    font-size: 1.2rem;
    color: #666;
}

.post img {
    display: block;
    margin: 20px auto; /* optional: adds vertical spacing */
    max-width: 750px;
    width: 750px;
    height: auto;
}



.post span {

  font-family: Calibri, sans-serif !important;
  line-height: 1.6 !important;
  color:#555;
}



.post ul {
        margin-left: 10%;
        margin-top: 10px;
}

.post a {
        text-decoration-color: #555;
}







.faq-section {
  max-width: 70%;
  margin: 0px auto;
  padding-bottom: 20px;
  font-family: 'Titillium Web', sans-serif;
}

.faq-section h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
  color: #555;
}

.faq-item {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #efefef;
  border-left: 5px solid #adadad;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.faq-item h3 {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 10px;
}

.faq-item p {
  color: #555;
  margin: 0;
}

.faq-item:hover {
  background-color: #d5d5d5;
}



/* Responsive Design */
@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Update for mobile (phones) */
@media (max-width: 480px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on phone */
    }

    /* Ensure consistent background color */
    body, .reviews-container {
        background-color: #f9f9f9;
    }
}








/* Container for the contact section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    background-color: #f8f8f8;
    padding: 20px;
}

/* Contact Form */


.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
        margin-bottom: 30px;
}


.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    padding: 20px;
    color: #333;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.contact-form-wrapper h2 {
    margin-bottom: 15px;
    color: #333;
    font-family: 'Titillium Web', sans-serif;
}

.contact-form-wrapper p {
    color: #333;
    font-family: 'Titillium Web', sans-serif;
}




.contact-form-wrapper label {
    font-weight: bold;
    margin-top: 20px;
    color: #333;
    display: block;
    font-family: 'Titillium Web', sans-serif;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #c3c3c3;
    color: #333;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Titillium Web', sans-serif;
}

.contact-form-wrapper textarea {
    resize: vertical;
    min-height: 100px;
    color: #333;
    font-family: 'Titillium Web', sans-serif;
}

.contact-form-wrapper button {
    background-color: #4a92c3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    font-family: 'Titillium Web', sans-serif;
}

.contact-form-wrapper button:hover {
    background-color: #206a9d;
}


/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form-wrapper,
    .map-wrapper {
        max-width: 100%;
    }
}









/* Popup Modal Styles */
.popup-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed positioning */
    z-index: 1000; /* Ensure it's on top of other elements */
    bottom: 80px; /* Set to bottom of the page */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for perfect centering */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup-content {
    background-color: #a51c1c;
    color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 400px;
    margin: auto;
}

.popup-content p {
    color: #ffffff;
}



.close-btn {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 40px;
    color: #000000;
    cursor: pointer;
}

.close-btn:hover {
    color: rgb(131, 131, 131);
}











/* Footer Styling */
.footer {
    background-color: #333; /* Dark gray background */
    color: #ccc; /* Light gray text */
    padding: 80px 30px 200px 30px;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 20px solid #212121;
}

.footer-text-phone {

         display: none;  /* Hidden on desktop */
    }

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto; 
    gap: 20px;
}

.footer-left {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    text-align: center;  /* Center the text as well */
}

.footer-left img {
    max-width: 200px;
    margin-bottom: 15px;
}

.footer-left .facebook-logo {
    max-width: 60px;
    margin-top: 15px;
}


.footer p {
    margin: 5px 0;
    font-size: 16px;
font-family: 'Titillium Web', sans-serif;
}

.footer-right {
    width: 70%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 30px;
    text-align: center;  /* Center the text as well */
}


.footer-right a {
    font-size: 16px;
        color: #ccc;
font-family: 'Titillium Web', sans-serif;
    text-decoration: none;
    flex: 1 1 30%;
}

.footer-right a:hover {
    text-decoration: underline;
}


/* Responsive Design */
@media (max-width: 768px) {

    .footer-text-desktop {

        display: none; /* Hidden on phone */
    }

    .footer-text-phone .facebook-logo {
    max-width: 40px;
}

.footer-text-phone {

         display: block; 
                 margin-top: 30px;
                
                  text-align: center;
    }

    .footer {
    padding-top: 40px;
    padding-bottom: 10px;
}




    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-left,
    .footer-right {
        width: 100%;
    }

    .footer-right {
        justify-content: center;
    }

    .footer-right a {
        flex: 1 1 45%; /* 2 columns on small screens */
        max-width: 200px;
    }

.faq-section {
  max-width: 95%;
}

}



/* Back to Top Button Styles */
.back-to-top-btn {
    position: fixed; /* Ensures the button floats */
    bottom: 20px; /* Position from the bottom */
    right: 20px; /* Position from the right */
    width: 50px;
    height: 50px;
    background-color: #333; /* Dark color */
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-btn:hover {
    background-color: #555;
    transform: scale(1.1);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.grecaptcha-badge {
  visibility: hidden;
}




 .table {
      width: 70%;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      font-size: 18px;
    }

    .row {
      display: flex;
      flex-wrap: wrap;
    }

    .col-1, .col-2 {
      display: flex;
      align-items: center;      /* Vertically center text */
      padding: 15px 0;          /* Top & bottom padding */
      padding-left: 10px;       /* Optional: add some horizontal padding */
    }

    .col-1 {
      width: 100%;
    }

    .col-2 {
      width: 50%;
    }

    .blue {
      background-color: #bbe1ff;
      color: #555
    }

.notblue {
      background-color: #ffbbbb;
      color: #555
    }


    .red {
      background-color: #fbfbfb;
      color: #555;
    }

    .grey {
      background-color: #ededed;
      color: #555;
    }

    .green {
      background-color: #fbfbfb;
      color: #555;
    }

    @media (max-width: 768px) {
      .table {
        width: 95%;
      }
      .col-2 {
        width: 100%;
      }
      .online-presence {
    margin-top: 0px;
    margin-bottom: 0px;
}

.online-presence h2 {
    font-size: 2rem;
}


.post {
    margin-top: 0px;
    margin-bottom: 0px;
}

.post h2 {
    font-size: 2rem;
}





    }


    /* Online Presence Section */
.terms {
    text-align: left;
    padding: 12px 12px;
    
    margin-bottom: 30px;
}

.terms h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.terms p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}


.container {
    display: flex;
    gap: 20px;
    margin: 10px 7%;
}

.main-content {
    flex: 0 0 70%;
}

.sidebar {
    flex: 0 0 30%;
    background-color: #f9f9f9;
        border-radius: 8px;
        margin-top: 40px;
}

.sidebar h3 {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.sidebar h4 {
    text-align: center;
    margin-top: 10px;
}

.sidebar p {
    text-align: justify;
margin-top: 10px;
}


.sidebar-post {
    margin-bottom: 50px;
    font-size: 16px;
}

.sidebar-post a {
    color: #333;
    text-decoration: none;
}

.sidebar-post a:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {

.container {
    flex-direction: column;
    margin: 10px 4%;
}

.post img {
    width: 100%;
}

.post {
    margin: 0px;
    text-align: justify;
}








}