*{
    padding: 0px;
    margin: 0px;
  /*  background-color: black; */
}

/* thumbslider */

.slider-container {
    margin-left: auto;
    margin-right: auto;
    width: 960px; /* Set the container width to the slide width */
    overflow: hidden; /* Hide any overflow */
}

.slider {
    display: flex;
    transition: transform 1s ease-in-out;
}


.slider img {
    width: 960px; /* Adjust this value according to your image width */
    height: 540px; /* Ensure height is also correctly set */
}

.text-overlay {
    background-color: yellow;
    text-align: center;
    font-size: 20px;
}

/* header */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: yellow;
    color: black;
    padding: 20px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

.logo a {
    color: black;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.navigate ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navigate ul li {
    margin: 0 10px;
}

.navigate ul li a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.navigate ul li a:hover {
    background-color: #0056b3;
}

/* welcome */

.banner{
    padding-top: 80px;
    text-align: center;
    height: inherit;
}

.banner h1{
    font-size: 80px;
    text-shadow: #fff;
    color: white;
}

.banner p{
    font-size: 50px;
    text-shadow: red;
    color: #fff;
}

.banner a{
    background-color: red;
    font-size: 35px;
    color:#fff;
}

.banner a:hover{
    background: none;
    background-color: black;
}

/* our services */

.highlights h2{
    text-align: center;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.highlights {
    padding: 20px;
    background-color: #f5f5f5;
}

.our-services {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.our-services h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.cards {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Add spacing between cards */
}

.card {
    flex: 1; 
    background-size: cover;
    background-position: center;
    color: white;
    padding: 20px;
    box-sizing: border-box; /* Include padding in the element's total width and height */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align text to the bottom */
    height: 300px; /* Adjust height as needed */
    border-radius: 10px; /* Optional: Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add some shadow for depth */
}

.card h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: white;
}

.card p {
    margin: 0;
    font-size: 16px;
    color: white;
}

.cards :hover{
    cursor: pointer;
    text-decoration: underline;
}

/* goals */

.goal{
    text-align: center;
}

.goal h2{
    font-size: 35px;
}

.goal p{
    font-size: 20px;
    text-transform: capitalize;
}

.btn{
    background-color: red;
    font-size: 20px;
    color: white;
}

.btn:hover{
    background-color: black;
}

/* footer */
.foot{
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}


@media (max-width: 500px) {

    /* welcome */
    
    .banner{
    padding-top: 80px;
    text-align: center;
    height: inherit;
    }
 
    .banner h1{
      font-size: 65px;
      text-shadow: #fff;
      color: white;
    }

    .banner p{
      font-size: 50px;
      text-shadow: red;
      color: #fff;
    }

    .banner a{
      background-color: red;
      font-size: 35px;
      color:#fff;
    }

    .banner a:hover{
      background: none;
      background-color: black;
    }

    /* thumbslider */

    .slider-container {
        margin-left: auto;
        margin-right: auto;
        
        width: 300px; /* Set the container width to the slide width */
        overflow: hidden; /* Hide any overflow */
    }
    
    .slider {
        display: flex;
        transition: transform 1s ease-in-out;
    }
    
    .slider img {
        width: 300px; /* Adjust this value according to your image width */
        height: 200px; /* Ensure height is also correctly set */
    }
    
    .text-overlay {
        background-color: yellow;
        text-align: center;
        font-size: 20px;
    }

    /* courses */

    .highlights h2{
        text-align: center;
    }
    
    body {
        margin: 0;
        font-family: Arial, sans-serif;
    }
    
    .highlights {
        padding: 20px;
        background-color: #f5f5f5;
    }
    
    .our-services {
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
    }
    
    .our-services h2 {
        font-size: 24px;
        margin-bottom: 10px;
        color: #333;
    }
    
    .cards {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 50px;
    }
    
    .card {
        flex: 1; 
        background-size: cover;
        background-position: center;
        color: white;
        padding: 20px;
        box-sizing: border-box; /* Include padding in the element's total width and height */
        display: flex;
        flex-direction: column;
        justify-content: flex-end; /* Align text to the bottom */
        width: 400px;
        height: 300px; /* Adjust height as needed */
        border-radius: 10px; /* Optional: Rounded corners */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add some shadow for depth */
    }
    
    .card h3 {
        margin: 0 0 10px 0;
        font-size: 24px;
        color: white;
    }
    
    .card p {
        margin: 0;
        font-size: 14px;
        color: white;
    }
    
    .cards :hover{
        cursor: pointer;
        text-decoration: underline;
    }
}   

@media (min-width: 510px) and (max-width: 900px) {

    /* thumbslider */

    .slider-container {
        margin-left: auto;
        margin-right: auto;
        width: 650px; /* Set the container width to the slide width */
        overflow: hidden; /* Hide any overflow */
        
    }
    
    .slider {
        display: flex;
        transition: transform 1s ease-in-out;
    }
    
    .slider img {
        width: 650px;    /* Adjust this value according to your image width */
        height: 400px; /* Ensure height is also correctly set */
    }
    
    .text-overlay {
        background-color: yellow;
        text-align: center;
        font-size: 20px;
    }

    /* courses */

    .highlights h2{
        text-align: center;
    }
    
    body {
        margin: 0;
        font-family: Arial, sans-serif;
    }
    
    .highlights {
        padding: 20px;
        background-color: #f5f5f5;
    }
    
    .our-services {
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
    }
    
    .our-services h2 {
        font-size: 24px;
        margin-bottom: 10px;
        color: #333;
    }
    
    .cards {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 50px;
    }
    
    .card {
        flex: 1; 
        background-size: cover;
        background-position: center;
        color: white;
        padding: 20px;
        box-sizing: border-box; /* Include padding in the element's total width and height */
        display: flex;
        flex-direction: column;
        justify-content: flex-end; /* Align text to the bottom */
        width: 400px;
        height: 300px; /* Adjust height as needed */
        border-radius: 10px; /* Optional: Rounded corners */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add some shadow for depth */
    }
    
    .card h3 {
        margin: 0 0 10px 0;
        font-size: 24px;
        color: white;
    }
    
    .card p {
        margin: 0;
        font-size: 14px;
        color: white;
    }
    
    .cards :hover{
        cursor: pointer;
        text-decoration: underline;
    }
} 