*{
    margin: 0;
    padding: 0;
}
.logo {
    font-size: 30px;
    font-weight: bold;
    color: #faf7f3;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(../images/caminho\ de\ ciprestes.jpeg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img{
    width: 150px;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #D9D9D9;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

.nav-links ul li a{
    color: #faf7f3;
    text-decoration: none;
    font-size: 13px;
    font-family: "Inter", sans-serif;
}

.text-box{
    width: 100%;
    color:  #faf7f3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1{
    font-size: 62px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 20px;
    color:  #faf7f3;
}

/*------- button --------*/

.button{
    display: inline-block;
    text-decoration: none;
    color: black;
    border: 1px solid  black;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.button:hover{
    border: 1px solid #faf7f3;
    background: #D9D9D9;
    transition: 1s;
}

/*------- nav --------*/

nav .fa-solid{
    display: none;
}

@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #D9D9D9;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa-solid{
        display: block;
        color: #faf7f3;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
}



.course{
    font-family: "Playfair Display"; 
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 40px;
}

h1{
    font-size: 36px;
    font-weight: 600;
}

p{
    color: black;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.course-col{
    flex-basis: 48%; 
    background: #D9D9D9;
    border-radius: 10px;
    margin-bottom: 5%; 
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    display: flex;
    align-items: center; 
    justify-content: center; 
}

.course-col h3 {
    text-align: center;
    font-weight: 600;
    margin: 0;
}

h3, p{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

@media(max-width: 700px) {
    .course .row{
        flex-direction: column;
    }
    .course-col{
        flex-basis: 100%; 
        min-height: auto; 
    }
}

/*--------- campus -------*/

.campus {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; 
}

.campus-link {
    flex-basis: 32%;
    text-decoration: none;
    margin-bottom: 30px;
}

.campus-col {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 400px;
}

.campus-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer:hover {
    background: rgba(189, 169, 169, 0.7); 
}

.layer h3 {
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3 {
    bottom: 49%;
    opacity: 1;
}

/*--------- campus -------*/

.campus-link {
    flex-basis: 32%;
    display: block;
}

.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.campus-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.campus-col img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.campus-col p{
    padding: 0;
    text-align: left;
}

.row .campus-col{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

@media(max-width: 700px) {
    .row{
        justify-content: space-between;
    }
}

/*------- layer --------*/

.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer:hover{
    background: rgba(255, 255, 255, 0.7);
}

.layer h3{
    width: 100%;
    font-weight: 500;
    color: black;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/*------- facilities ---------*/

.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.facilities-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}

.facilities-col img{
    width: 100%;
    border-radius: 10px;
}

.facilities-col p{
    padding: 0;
}

.facilities-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

/*--------- testimonials -----------*/

.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.testimonials-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background-color: #faf7f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}

.testimonials-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonials-col p{
    padding: 0;
    text-align: left;
}

.testimonials-col h3{
    margin-top: 15px;
    text-align: left;
}

@media(max-width: 700px){
    .testimonials-col img{
        margin-left: 5px;
        margin-right: 30px;
    }
    .testimonials .row{
        flex-direction: column;
    }
}

/*------------ footer -------------*/

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
    background: #D9D9D9;
    font-family: "Playfair Display";
    font-size: 13px;
}

.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7)), url(../images/entre\ muros\ e\ verde.jpeg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #faf7f3;
}

.sub-header h1{
    margin-top: 100px;
}

.sub-header p{
    color: #faf7f3;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*------------ about us page -------------*/

.about-us {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-us .row {
    display: flex;
    justify-content: ;
    align-items:flex-start; 
}

.about-col {
    flex-basis: 48%;
    padding: 30px 0;
    text-align: center; 
}


.about-col img {
    width: 100%; 
    display: block;
    object-fit: cover;
}

.about-col h1 {
    padding-top: 0;
    margin-bottom: 20px; 
    font-family: "Playfair Display", serif; 
    font-size: 32px;
}

.about-col p {
    padding: 0 10px;
    font-size: 15px;
    line-height: 24px;
    color: #333;
    font-weight: 500;
}

@media(max-width: 700px) {
    .about-us .row {
        flex-direction: column;
    }
    .about-col {
        flex-basis: 100%;
        width: 100%;
    }
}
/*--------- box comment --------->*/

.comment-box {
border: 1px solid #ccc;
    margin: 50px auto;    
    padding: 20px;
    max-width: 700px;  
    background: #fff;
}

.comment-box h3{
    text-align: left;
}

.comment-form input, .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #faf7f3;
    font-family: inherit;
    font-size: 14px;
}

.comment-form button{
    margin: 10px 0;
}

@media (max-width: 700px) {

.sub-header h1{
    font-size: 50px;
}

.comment-box {
    max-width: 100%;
    margin: 30px 15px;
    padding: 20px 15px;
}

.comment-form input, .comment-form textarea {
    font-size: 14px;
    padding: 12px;
}

.comment-form button {
    width: 100%;
    padding: 12px;
    text-align: center;
}

}

/*--------- contact us page --------->*/

.location {
    width: 80%;
    margin: auto;
    padding: 80px 0;
}

.location iframe{
    width: 100%;
}

.contact-us{
    width: 80%;
    margin: auto;
}

.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div span {
    display: block;
    text-align: left;
}

.contact-col div .fa-solid{
    font-size: 28px;
    margin: 10px;
    margin-right: 30px;
    align-self: flex-start;
}

.contact-col div p{
    padding: 0; 
    text-align: left; 
    line-height: 1.2;
}

.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: black;
    font-weight: 400;
    text-align: left;
    margin-top: 0; 
}

.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.gallery {
    width: 80%;
    margin: auto;
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}
