*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

/* part1 */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    overflow: hidden;
    opacity: 05px;
}
.navbar h1{
  color: #007FFF;
  text-decoration: none;
  padding: 14px 20px;
  display: block;
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-style: normal;
}
.brand h1{
font-size: 40px;
}
.navbar a {
    color: #007FFF;
    text-decoration: none;
    padding: 14px 20px;
    display: block;
    font-size: 25px;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: normal;
}
.navbar a:hover {
   background-color: #ddd; 
   color: black;
   border-radius: 50px;
   }
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color:#007FFF;
}
.links 
{ 
  display: flex; 
}
.links a { 
  padding: 14px 20px; 
}
.menu-toggle:hover{
  background-color: #ccc;
  color: black;
  border-radius: 100px;
}

/* part2 */

.mainabout {
margin-top: 100px;
  text-align: center;
  font-size: 40px;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  color: #007FFF;  
  }
  .maincards{
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-top: 50PX;
  }
  .card {
    width: 300px;
    margin: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 470px;
    overflow: hidden;
  }
  .card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
  }
  .card h2 {
    font-size: 20px;
    margin-top: 10px;
    font-family: "Roboto", sans-serif;
  font-weight: 900;
  }
  .card p {
    font-size: 15px;
    color: #666;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    margin-top: 20px;
  }
  
  .link-button {
    background-color: #007FFF; 
    color: #ffffff; 
    border: none; 
    padding: 10px 20px;
    font-size: 14px; 
    cursor: pointer; 
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-weight: 900; 
  }
  .link-button:hover {
    background-color:#004FC5 ; 
    color: #ffffff; 
    border: #004FC5;
  }

  .card button{
    margin-top: 40px;
    border: #007FFF;
  }

/* part3 */

.footer-container {
    background-color: #007FFF;
    color: #fff;
    padding: 20px 0;
    text-align: center;
  }
  .footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    color: #333;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  }
  .footer-content div {
    margin: 20px;
    flex: 1;
  }
  .footer-content h3 {
    background-color: #007FFF;
    color:white ;
    margin-bottom: 15px;
    border-radius: 20px;
    font-size: 25px;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
  }
  .footer-content ul {
    list-style-type: none;
    padding: 0;
    font-size: 17px;
  }
  .footer-content ul li {
    margin-bottom: 10px;
    font-family: "Roboto", sans-serif;
  font-weight: 300;
  }
  .footer-content ul li a {
    text-decoration: none;
    color: #333;
  }
  .footer-content ul li a:hover {
    background-color: #33363D;
    color:white ;
    border-radius: 50px;
  }
  .footer-content .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
  }
  .footer-content .social-icons a {
    color: #fff;
    background-color: #007FFF;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
  }
  .footer-content .social-icons a:hover {
    background-color: #a80f1b;
  }
  .footer-map {
    width: 100%;
    height: 200px;
    margin-top: 20px;
  }
  .footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #ccc;
  }

/* media quree */

@media (max-width: 600px){

/* part1 */

.overlay h1 {
    font-size: 2em;
}

.overlay p {
    font-size: 1em;
}

.overlay {
    width: 90%;
    padding: 15px;
}

/* part2 */


#maincard1{
display: grid;
grid-template-columns: 1fr; 
}
.card{
  width: 530px;
  height: inherit;
}
.card img{
  height: 400px;
}
.card h2{
  font-size: 35px;

}
.card p{
  font-size:25px ;
}

.card a{
  font-size: 25px;
}
#maincard2{
  display: grid;
  grid-template-columns: 1fr; 
}

}


@media (max-width: 768px) {

/* part1 */

.links {
    display: none;
    flex-direction: column;
    width: 100%;
}
.links.active { display: flex; }
.menu-toggle { display: block; }

/* part2 */

.maincards{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
        padding: 15px;
}

}