* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: #ccc;
  color: #000;
}

/* Navbar */
.nav-bar {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  height: 50px;
  background-color: #fff;
  box-shadow: 3px 3px 10px lightslategray;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 1;
  border: 3px solid black;
  margin-bottom: 3px;
}

.logo {
  flex: 1;
  font-size: 40px;
  margin-left: 50px;
  font-family: Satisfy;
}

ul.menu {
  flex: 1;
  display: flex;
  flex-flow: row wrap;
}

.menu li {
  flex: 1;
  list-style-type: none;
  font-size: 16px;
  font-family: "Barlow Condensed";
  text-align: center;
}

.menu li a {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  font-size: 18px;
}

.menu li a:hover {
  color: rgb(69, 69, 225);
  text-decoration: underline;
}

/* Hamburger icon */
.menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 40px;
  font-size: 26px;
  color: #000;
  cursor: pointer;
  z-index: 1100;
}


/* container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 40px 0;
}


/* <!Phone and Whatsapp --> */
.contact-icons {
position: fixed;
right: 20px;
bottom: 100px;
display: flex;
gap: 20px;
z-index: 999;
}

.contact-icons a img {
width: 40px;
height: 40px;
background-color: black ;
border-radius: 20%;
border: 2px solid white;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease;
animation: bounce 1s ease-in-out 2s infinite;
}

.contact-icons a img:hover {
transform: scale(1.1);
}

.contact-icons a{
  background-color: none;
  color: none;   
  border: none;
}

@keyframes bounce {
0%, 100% {
  transform: translateY(0);
}
50% {
  transform: translateY(-10px);

}
}


h1, h2 {
text-align: center;
margin-bottom: 20px;
color: #111;
}

p{
text-align: center;
line-height: 1.7;
margin-bottom: 40px;
color: #121111;
font-size: 25px;
}

/* Section spacing */
.section {
margin-bottom: 70px;
}

/* Grid layout */
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 25px;
}

/* Card design */
.card {
height: 400px;
background: #fff;
border-radius: 14px;
overflow: hidden;
box-shadow: 0 8px 22px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 2px solid black;
}

.card:hover {
transform: translateY(-8px);
box-shadow: 0 14px 30px rgba(0,0,0,0.15);
border: 5px solid gray;
background-color: #043f3c;   
color: wheat;
}


.card img {
width: 90%;
height: 80%;
margin-left: 20px;
margin-top: 20px;
object-fit: cover;
border-radius: 50px;
border: 10px solid black;
}

img:hover{
border: 10px solid gray;
background-color: #000  ;

}

.card-content {
padding: 20px;
text-align: center;
}

.card-content h3 {
margin-bottom: 10px;
color: #111;
}

.card-content p {
margin-bottom: 0;
font-size: 15px;
}

/* Team section */
.team img {
width: 90%;
margin-left: 20px;
margin-top: 20px;
height: 400px;
object-fit: cover;
border-radius: 50px;
border: 10px solid black;
}

.team img:hover{
border: 10px solid gray;
background-color: #000  ;
}

/* Footer */
footer {
background: #111;
color: #fff;
text-align: center;
padding: 20px 10px;
}

footer p {
margin: 0;
font-size: 14px;
color: #ccc;
}

/* <!-- Responsive Design --> */
@media (max-width: 992px) {

  /* Navbar */
  .logo{
    font-size: 20px;
  }

  
 .menu-toggle {
    display: block;
    top: 10px;
    font-size: 20px;
  }

  .nav-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
    height: auto;
  }

  ul.menu {
    width: 100%;
    display: none;
    flex-direction: row;
    justify-content: space-around;
    background: #fff;
    border-top: 2px solid #000;
    margin-top: 10px;
  }

  ul.menu.active {
    display: flex;
  }

  .menu li {
    flex: unset;
    padding: 10px;
  }

  .menu li a {
    font-size: 16px;
  }

}

/* Mobile adjustments */
@media (max-width: 600px) {

.logo { font-size: 28px; }
  
h1 {
font-size: 26px;
}

h2 {
font-size: 22px;
}

a{
margin-left: 50px;
}
.card img {
height: 180px;
}

.card-content p {
font-size: 14px;
}

.card-content h3 {
font-size: 18px;
}

.card img{
height: 200px;
float: center;

}
}