* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    background-color: #f1f5fc;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

header {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 250px;
    background: linear-gradient(-45deg, #0C336C 0%, #060536 100%);

}
.logo img{
    width: 50px;
}
header .header-left {
    display: flex;
    align-items: center;
    width: 100%;
}
header .header-left .logo {
    width: 140px;
}
header .header-left nav {
    margin-left: auto;
}
header .header-left nav ul {
    display: flex;
}
nav ul li a {
    display: block;
    color: #cfd9e0;
    font-size: 18px;
    padding: 5px 10px;
    transition: 0.2s;
}
nav ul li a:hover{
    color: #fff;
}
header .header-right .hamburger {
    margin-left: 20px;
    cursor: pointer;
    display: none;
}
header .header-right .hamburger div {
    width: 30px;
    height: 2px;
    margin: 6px 0;
    background: #fff;
}


/* hero section */

.hero {
    margin: 60px 0px;
}
.hero-container {
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: auto;
    gap: 80px;
}
.hero-left {
    max-width: 50%;
    gap: 20px;
}

.hero-left p{
    margin-top: 20px;
    font-size: 20px;
    
}

.hero-right img{
    width: 500px;
}

/* Course Section */

.course {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("./assets/images/course-background.jpg");
    background-size: cover;

    padding-top: 50px;
    padding-bottom: 100px;

}

.course h1{
    color: white;
    margin-bottom: 30px;
}

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.card {
    width: 30%;
    min-width: 300px;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
}

.card-content {
    padding: 16px;
}

.card-content h3{
    font-size: 24px;
    margin-bottom: 8px;
}

.card-content p {
    color: #666;
    font-size: 18px;
    line-height: 1.3;
}


 .card-content .btn {
     background-color: #c22525;
     width: 232px;
     height: 50px;
     color: #fff;
     border: none;
     padding: 10px 20px;
     border-radius: 6px;
     font-size: 14px;
     cursor: pointer;
     transition: background-color 0.3s;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 6px;
     margin: 20px auto;
}

.card-content .btn:hover {
    background-color: #e74646;
}
.btn .download-icon {
    width: 20px;
    height: 20px;
}
/* Gallery Slider Section */

.slider {
    width: 100%;
    height: 80vh;
    position: relative;
}
  
  .slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .slider img:first-child {
    z-index: 5;
  }
  
  .slider img:nth-child(5) {
    z-index: 0;
  }
  

  .navigation-button {
    text-align: center;
    position: relative;
    bottom: 30px;
    z-index: 10;
  }
  
  .dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
  }
  
  .active-dot,
  .dot:hover {
    background-color: #717171;
  }


  
 /* Contact Section */

.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    gap: 100px;
    background-color: #f1f5fc;
    

 }

.contact-left {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 80px;

}


.contact-section h2 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #737373;
}

.contact-section h3 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #222;
}

.contact-info {
    padding-top: 50px;
}
.contact-info p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: flex;
    gap:10px;
    align-items: center;
    max-width: 400px;

}

.location-icon {
    padding-bottom: 50px;
}


.form-container {
    background-color: #DBEAFE;
    padding: 20px;
    border-radius: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    width: 462px;
    height: 482;
}

.input-field, .textarea-field {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border:none;
    font-size: 16px;
    width: 100%;
}

.textarea-field {
    height: 100px;
    resize: none;
}

.submit-btn {
    background-color: #1e3a8a;
    color: #ffffff;
    padding: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: linear-gradient(-45deg, #0C336C 0%, #060536 100%);
}


/* Footer Section */

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5fc;
    padding-bottom: 20px;
}




@media only screen and (max-width: 1000px) {

    /* navbar section */
    
    header {
        padding: 0 20px;
    }
    header .header-right .hamburger {
        display: block;
    }
    header .header-left nav {
        margin: 0;
        position: absolute;
        top: -100%;
        left: 0;
        width: 100%;
        height: fit-content;
        background: linear-gradient(-45deg, #0C336C 0%, #060536 100%);
        padding: 30px;
        transition: 0.3s;
        text-align: center;
        z-index: -1;
    }
    header .header-left nav.active {
        top: 70px;
        z-index: 10;
    }
    header .header-left nav ul {
        display: block;
    }

  /* hero section */
    .hero-left {
        max-width: 80%;
    }
    
    .hero-left h2{
        font-size: 20px;
        
    }

    .hero-left p{
        margin-top: 20px;
        font-size: 16px;
        max-width: 100%;
        
    }
    
    .hero-right img{
        width: 400px;
    }


  /* course section */

    .card-container {
        gap: 20px;
    }    
    
    .course {
        background-repeat: no-repeat;
        background-size: cover;

    }

    /* contact section */
    
    .contact {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info p {
        max-width: 400px;
    
    }

    .form-container {
        background-color: #DBEAFE;
        padding: 20px;
        border-radius: 10px;
    }
    
    .contact-form {
        display: flex;
        flex-direction: column;
        width: 362px;
        height: 382px;
    }
    
    .location-icon {
    padding-bottom: 75px;
    }
}

