html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #EBEAE4;
    padding-bottom: 200px;
  
}

h1 {
    font-family: initial;
    text-align: center;
    font-size: 60px;
}

h3{
    text-align: center;
    font-size: 20px;
}
p {
    background-color: #5F758E;
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}
.responsive {
    width: 100%;
    height: auto;
  }

  th, td {
    padding: 50px;
  }
@import url('https://fonts.googleapis.com/css?family=Poppins: 100, 200, 300,400,500, 600, 700, 800,900');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --clr: #222327;
}

div.navigation{
    position: absolute;
    top: 50px;
    right: 10px;
    
    
}

.navigation {
   
    width: 23%;
    height: 5%px;
    background: #fff;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
}

.navigation ul {
    display: flex;
    width: 350px;
}

.navigation ul li {
    position: relative;
    list-style: none;
    width: 20%;
    height: 70px;
    z-index: 1;
}

.navigation ul li a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
    font-weight: 500;
}

.navigation ul li a .icon {
    position: relative;
    display: block;
    line-height: 75px;
    font-size: 1.5em;
    text-align: center;
    transition: 0.5s;
    color: var(--clr);
}

.navigation ul li:hover a .icon {
    transform: translateY(-20px);
}

.navigation ul li a .text {
    position: absolute;
    color: var(--clr);
    font-weight: 400;
    font-size: 0.75em;
    letter-spacing: 0.05em;
    transition: 0.5s;
    opacity: 0;
    transform: translateY(10px);
}

.navigation ul li:hover a .text {
    opacity: 1;
    transform: translateY(10px);

}

.container{
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items:center;
    justify-content: center;
    padding: 50px 8%;
}

.gallery{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap:30px;
}

.gallery img{
    width:100px;
    height: 100px;
}

img {
    border: 5px solid rgb(81, 79, 79);
  }

.container2 .image-container{
    display:flex;
    flex-wrap: wrap;
    gap: 270px;
    justify-content: center;
    padding: 10px;
}
 .container2 .image-container .image{
    height: 230px;
    width:230px;
    border:10px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    overflow: hidden;
    cursor: pointer;
}
.container2 .image-container .image img{
    height:100%;
    width:100%;
    object-fit: cover;
    transition: .2s linear;
}
.container2 .image-container .image:hover img{
    transform: scale(1.1); 
}

.container2  .popup-image{
    position: fixed;
    top:0; 
    left:0;
    background: rgba(0, 0, 0, .9);
    height:100%;
    width:100%;
    z-index: 100;
    display: none;
}

.container2  .popup-image span{
position: absolute;
top:0; right: 10px;
font-size: 60px;
font-weight: bolder;
color:#fff;
cursor: pointer;
z-index: 100;
}

.container2  .popup-image img{
    position: absolute;
    top:50%; left:50%;
    transform: translate(-50%, -50%);
    border: 5px solid #fff;
    border-radius: 5px;
    width:600px;
    object-fit: cover;
}

@media (max-width:768px){
    .container2  .popup-image img{
        width:95%;

    }
}

.chat-bubble{
    background-color: #5F758E;
    width:290px;
    height:125px;
    border-radius: 10px;
    position: relative;
    left: 200px;
}

.chat-bubble::before{
content: '';
position: absolute;
top: -20px; left: 20px;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid transparent;
border-bottom: 10px solid #5F758E;

}

.chat-bubble2{
    background-color: #5F758E;
    width:290px;
    height:125px;
    border-radius: 10px;
    position: relative;
    left: 300px;
}

.chat-bubble2::before{
content: '';
position: absolute;
top: -20px; left: 110px;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid transparent;
border-bottom: 10px solid #5F758E;

}
.chat-bubble3{
    background-color: #5F758E;
    width:290px;
    height:125px;
    border-radius: 10px;
    position: relative;
    left:300px;
}

.chat-bubble3::before{
content: '';
position: absolute;
top: -20px; left: 180px;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid transparent;
border-bottom: 10px solid #5F758E;

}

.container3 {
    position: relative;
    text-align: center;
    color: #EBEAE4;
  }

  .top-right {
    position: absolute;
    top: 8px;
    left: 16px;
  }


.containerBubble  {
    display:flex;
    flex-wrap: wrap;
    gap: 8%;
    justify-content: center;
    align-items:center;
    padding: 0.6%;
}

.containerBubble {
    position: relative;
    text-align: center;
    color: #EBEAE4;
    }


.top-right {
    position: absolute;
    top: 10px;
    right:15px;
  }

  .google-map {
    padding-bottom: 50%;
    position: relative;
}

.google-map iframe {
    height: 70%;
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
}

.containerContact{
    width:100%;
    height: 80vh;
    background: #EBEAE4;
    display: flex;
    align-items: center;
    justify-content: center;
}

form{
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 2vw 4vw;
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
}

form h3{
    color: #555;
    font-weight: 800;
    margin-bottom: 20px;
}

form input, form textarea{
    border:0;
    margin:10px 0;
    padding: 20px;
    outline: none;
    background: #f5f5f5;
    font-size: 16px;

}

form button{
    padding: 15px;
    background: #5F758E;
    color: #fff;
    font-size: 18px;
    border: 0;
    outline: none;
    cursor: pointer;
    width: 150px;
    margin: 20px auto 0;
    border-radius: 30px;
}
.education-table {
    width: 90%;
    margin: 40px auto;
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.education-table img {
    width: 100%;
    max-width: 400px; /* Reduced from 700px */
    border-radius: 16px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    flex: 1 1 40%;
}

.education-table h4 {
    font-size: 17px;
    line-height: 1.5;
    color: #333;
    flex: 1 1 55%;
}

h3.centered-heading {
    text-align: center;
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #5F758E;
}

/* Google Maps: Smaller height */
.google-map {
    padding-bottom: 30%; /* Reduced from 40% */
    position: relative;
    margin: 0 auto 50px auto;
    width: 90%;
    max-width: 700px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

.google-map iframe {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}
footer {
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
    margin-top: auto;
}