
.nav ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    height: 50px;
    list-style-type: none;
    background: #7f5cc1;
    color: aliceblue;
    border-radius: 8px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 18px;
    padding: 0 20px;

}

.nav ul a{
    text-decoration: none;
    color: white;
}

.nav ul li {
    padding: 0 15px;
    cursor: pointer;
}

.hoslogo img {
    height: 70px;
   
    
}

.hero {
    min-height: 70vh;
    background: 
        linear-gradient(to right, rgba(255,255,255,0.9) 40%, rgba(255,255,255,0.2)),
        url("images1/mainimg.png") no-repeat center right;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 5%;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(24px, 4vw, 48px);
    line-height: 1.2;
}

.hero h1 span {
    display: block;
}

.hero h2 {
    margin-top: 20px;
    font-size: clamp(18px, 3vw, 28px);
}

.hero p {
    margin-top: 15px;
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.6;
}

.hero-content h1{
    background-color: lightskyblue;
}
.hero-content h2{
    background: #7f5cc1;
}

.hero-content p{

    background-color: #7f5cc1;
}

.learnmore {
    margin-top: 20px;
    padding: 10px 18px;
    background: lightgreen;
    border-radius: 6px;
    border: none;
    font-size: 16px;
}


.learnmore{
    background-color: lightgreen;
    color: black;
    border-radius: 5px;
    font-size: 18px;
}

.learnmore:hover{
    cursor: pointer;
    background-color: greenyellow;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;   
    margin-top: 50px;
}

.cards:hover{
    cursor: pointer;
}

.card1, .card2, .card3 {
    height: 220px;
    width: 250px;
    max-width: 90%;
    border: 1px solid black;
}


.inside {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.specialties-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.specialties-header {
  
  text-align: center;
  margin-bottom: 30px;
}

.specialties-header h2 {
  color: #7f5cc1;
  font-size: 30px;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  justify-items: center;
}

.specialty {
  background-color: #fff;
  border: 2px solid #7f5cc1;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  width: 100%;
  max-width: 250px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.specialty:hover{
    background: #7f5cc1;
}

.specialty p {
  color: brown;
  font-weight: bold;
  font-size: 16px;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.specialty:hover{
cursor: pointer;

}

.footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: #7f5cc1;
    padding: 40px 20px;
    gap: 30px;
    color: white;
}

.footer-col h2 {
    margin-bottom: 15px;
}

.footer-col ul {
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-col a {
    text-decoration: none;
    color: white;
}

.socialicons img {
    margin-top: 15px;
}


@media (max-width: 768px) {
    .nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px;
    }
 .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 15px;
        margin-top: 10px;
    }
}
 


@media (max-width: 600px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 
footer */

/* tablet 2 columns */

@media (max-width: 900px) {
    .footer {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }
}

/* mobile 1 column */

@media (max-width: 600px) {
    .footer {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
