/* MODAL OVERLAY */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  padding: 20px;
}

/* MODAL CONTENT */
.modal-content {
  background: white;
  max-width: 500px;
  margin: 80px auto;
  padding: 30px;
  border-radius: 15px;
  position: relative;
  animation: fadeIn 0.3s ease;
  text-align: center;
}

.modal-content img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.modal-content h2 {
  margin: 10px 0 5px;
  color: #0f172a;
}

.modal-content h4 {
  margin-bottom: 15px;
  color: #1e3a8a;
  font-weight: normal;
}

.modal-content p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

/* CLOSE BUTTON */
.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #555;
}

/* LINKS */
.modal-links {
  margin-top: 20px;
}

.modal-links a {
  display: inline-block;
  margin: 0 10px;
  text-decoration: none;
  color: #2563eb;
  font-weight: bold;
}

/* ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* TEAM HERO */
.team-hero {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.team-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.team-hero p {
  max-width: 700px;
  margin: auto;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* TEAM STATS */
.team-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: -40px auto 60px;
  padding: 0 20px;
}

.stat-card {
  background: white;
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stat-card h2 {
  color: #1e3a8a;
  font-size: 2.2rem;
  margin-bottom: 5px;
}

/* TEAM SECTION */
.team-section {
  padding: 60px 20px;
  text-align: center;
}

.team-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

/* TEAM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.team-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.team-card h3 {
  margin: 10px 0 5px;
  color: #0f172a;
}

.team-card p {
  color: #555;
  font-size: 0.95rem;
}

/* CULTURE */
.team-culture {
  background: #f1f5f9;
  padding: 70px 20px;
  text-align: center;
}

.team-culture h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.team-culture p {
  max-width: 700px;
  margin: auto;
  font-size: 1.05rem;
  color: #333;
}






.team_header
{
display:block;
 width:80%;
 margin:auto;
 margin-top:0px;
 height:250px;
 background-image:url('our_team_images/our_team_1.jpg');
 background-size: cover;
 background-repeat: no-repeat;
 border-radius:10px 10px 10px 10px;
 padding-top:60px;
}

.team_header_child_1
{
margin-top:0px;
font-size:xx-large;
font-weight:bolder;
color:white;
width:80%;
margin:auto;
}

.team_header_child_2
{
margin-top:0px;
font-size:large;
font-weight:bolder;
color:white;
width:80%;
margin:auto;
}

.team_map_container
{
display:flex; 
width:80%;  
margin:auto;
gap:55px;
justify-content:center;
margin-top:45px;	
}

.map_container
{
width:80%;
}

.map_container_child
{
	font-size:xx-large; 
	font-weight:bolder;
	color:navy;
}

.team_details_container
{
	width:80%; 
	height:550px; 
	margin:auto;
}

/*Adjusting Column Layout for Tablet*/
@media screen and (max-width: 600px) {

.team_header
{
display:block;
 width:100%;
	}
	
.team_map_container
{
display:block; 
width:100%;  
margin:auto;
justify-content:center;
margin-top:45px;	
}

.map_container
{
width:100%;
margin-bottom:45px;
}

.team_details_container
{
width:100%; 
height:550px; 
margin:auto;
}

}



/*Adjusting Column Layout for Mobile*/
@media screen and (max-width: 480px) {

.team_header
{
display:block;
 width:100%;
	}
}