import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');
/* Reset and Base Styles */

html, body { margin: 0; padding: 0; width: 100%; overflow-x: hidden; }
body { 
    font-family: 'Jost', sans-serif; 
    color: #203838;
    margin: 0;
 }

#about {
    background: #f8f8f8;
}

.social-icons a {
  margin-left: 15px;
  text-decoration: none;
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.logo {
    max-height: 225px;
    height: auto;
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
}


.landing-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100vh;
}

#title {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}


#imagelanding {
  width: 60%;
  background: url(assets/images/pexels-yankrukov-5794027.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#imagelanding .int { background: #00000066; }
#imagelanding .int * { color: #ffffff; }
#imagelanding .int h1 { font-size: 50px; }
#imagelanding .int h3 { font-size: 25px; }
#imagelanding #knowmore { 
    margin-top: 40px; 
    border: 2px solid  #fff; 
    background: none; 
    padding: 10px 20px; 
    font-size: 25px; 
    color: white; 
    cursor: pointer; 
    transition: background 0.3s ease; 
}
#imagelanding #knowmore:hover { background: #ffffff33; }

.threecolumncontainer { 
    width: 100vw; 
    position: relative; 
    text-align: center; 
    padding: 40px 0; 
    background: #f8f8f8;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* allows wrapping */
    justify-content: center;
    gap: 30px;
}
.columnimagecontainer { 
    width: 100%; 
    height: 300px; 
    overflow: hidden; 
    position: relative; 
    background-size: cover; 
    background-position: center top; 
    background-repeat: no-repeat;
    border-radius: 3px;
}
.column h2 { 
    margin-top: 30px; 
    font-size: 24px; 
    color: #203838; 
}
.column p { 
    margin-top: 20px; 
    font-size: 16px; 
    color: #203838; 
    line-height: 1.6; 
}

/* Contact Section */
#contact { 
    clear: both; 
    background: #DBEAEA; 
    color: #203838; 
    padding: 60px 20px; 
    text-align: center; 
}
#contact h2 { 
    font-size: 32px; 
    margin-bottom: 40px; 
    font-weight: 400; 
}
.contact-container { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 30px; 
}
.contact-card { 
    background: #f0f8f8; 
    padding: 20px; 
    border-radius: 8px; 
    width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.contact-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
}
.contact-card h3 { 
    font-size: 22px; 
    margin-bottom: 15px;
    color: #203838;
}
.contact-card p { 
    font-size: 16px; 
    margin-bottom: 20px; 
    color: #203838; 
}
.contact-card a { 
    display: inline-block; 
    padding: 10px 20px; 
    background: #DBEAEA; 
    color: #203838; 
    text-decoration: none; 
    border-radius: 5px; 
    font-size: 16px; 
    transition: background 0.3s ease; 
}
.contact-card a:hover { 
    background: #5a93939c; 
}


#pediatrica {
  background: #f0f8f8;
  color: #203838;
  padding: 60px 20px;
  text-align: center;
}

#pediatrica .section-intro {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

#pediatrica h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

#pediatrica p {
  font-size: 18px;
  line-height: 1.6;
  color: #203838;
}

.reasons-container h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #203838;
}

.reason-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.reason-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
}

.reason-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #5a9393;
  font-size: 16px;
}
/* Footer */
footer { 
    background: #DBEAEA; 
    color: #203838; 
    text-align: center; 
    padding: 20px 20px; 
    padding-right: 50px;
    font-size: 14px; 
}
/* Responsive Design */
@media only screen and (max-width: 800px) { 
  
  .social-icons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    visibility: visible;
    padding-bottom: 20px;
    }

    .social-icons a {
        margin: 0 10px;
    }

    footer {
        flex-direction: column;
        align-items: right;
    }

    .landing-container {
    flex-direction: column;
    height: auto;
    }
    
    .int { 
        width: 100%; 
        height: 100%; 
        display: table-cell; 
        vertical-align: middle; 
        text-align: center;
        align-content: center;
    }

    #title {
    width: 100%;
    height: 35vh;
    background-color: #DBEAEA;
    display: flex;
    align-items: center;
    justify-content: center;
    }
    
    #imagelanding {
    width: 100%;
    height: 80vh;
    background: url(assets/images/pexels-yankrukov-5794027.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    }

    .column { 
        width: 80%; 
        margin: 10%; 
        position: relative; 
        display: inline-block; 
        min-height: 50vh; 
        vertical-align: top; 
    }
    #title .int h3 { font-size: 25px; }
    #contact h2 { font-size: 28px; }
    .contact-card { width: 100%; max-width: 300px; }
}

  #pediatrica {
    padding: 40px 15px;
  }

  #pediatrica h2 {
    font-size: 24px;
  }

  #pediatrica p {
    font-size: 16px;
  }

  .reasons-container h3 {
    font-size: 20px;
  }

  .reason-list li {
    font-size: 14px;
    padding-left: 24px;
  }

  .reason-list li::before {
    font-size: 14px;
  }

@media only screen and (min-width: 801px) {
    .social-icons {
    display: flex;
    justify-content: flex-end;
    align-items: right;
    visibility: visible;
    }

    .social-icons a {
        margin-left: 15px;
    }
    
    .logo {
        max-width: 300px;
        max-height: 225px;
        align-content: center;
    }

    .int { 
        padding: 20px; 
        width: 100%; 
        height: 100%; 
        display: table-cell; 
        vertical-align: middle; 
        text-align: center; 
    }
    
    .landing-container {
    flex-direction: column;
    height: auto;
    background: #DBEAEA;
  }

    #title { 
        display: table; 
        width: 100%;
        height: 50vh;
        position: relative; 
        float: left; 
        background-color: #DBEAEA;
    }
    #imagelanding { 
        display: table; 
        width: 100%;
        height: 48vh;
        position: relative; 
        float: right; 
        background: url(assets/images/pexels-yankrukov-5794027.jpg);
        background-size: cover; 
        background-position: center; 
    }
    #title .int h3 { font-size: 35px; }
    .column { 
        width: calc(100% / 4); 
        margin: 0 1.5%; 
        position: relative; 
        display: inline-block; 
        min-height: 80vh; 
        vertical-align: top; 
    }
    #contact h2 { font-size: 32px; }
    .contact-card { width: 280px; }
}

#pediatrica {
    padding: 80px 40px;
  }

  #pediatrica h2 {
    font-size: 36px;
  }

  #pediatrica p {
    font-size: 20px;
  }

  .reasons-container h3 {
    font-size: 28px;
  }

  .reason-list li {
    font-size: 18px;
    padding-left: 32px;
  }

  .reason-list li::before {
    font-size: 18px;
  }

  footer {
        flex-direction: column;
        align-items: right;
    }