/* Base */
body{

  font-family: Arial, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  background:#f9fafc; /* or #fff */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  
}

/* Header */

header{
  position:relative;
  background:#2c3e50;
  color:#fff;
  padding:20px 40px;
}


header, nav{
  box-shadow:none;
  outline:none;
}



/* header inner layout */
.top-header{
  display:flex;
  align-items:center;
  justify-content:center;
  height:70px;   /* keeps header height consistent */
}

.top-header h1{
  margin: 10px 0;
}

nav{
  margin-top:10px;
}

nav a{
  color:#fff;
  text-decoration:none;
  margin:0 15px;
  font-weight:bold;
}

nav a:hover{ text-decoration:underline; }

/* Team / Gallery layout */

.gallery{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:40px;
  margin-bottom:30px;
}
.gallery1{
  display:grid;
  grid-template-columns: repeat(3, 250px); /* 3 per row on PC */
  justify-content:center; /* center them */
  gap:14px;
  margin:40px auto;
}
/* Tablet: 2 columns */
@media (max-width: 900px){
  .gallery1{
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-item{ text-align:center; }

.team-item img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:12px;
}

.team-item h4{
  margin:10px 0 2px;
  color:#1b4f72;
}

.team-item p{
  margin:0;
  font-size:14px;
  color:#555;
}

/* If you still use staff_pic somewhere */
.staff_pic img{
  width:300px;
  height:300px;
  object-fit:cover;
  border-radius:10px;
}

/* Portfolio images (ONLY if used outside team-item) */
.gallery > img{
  width:100%;
  height:80px;
  object-fit:contain;
  background:white;
  padding:6px;
  border-radius:6px;  
}


.gallery > img:hover{ transform:scale(1.05); }

/* Forms */
form{
  max-width:500px;
  margin:20px auto;
  text-align:left;
}

input, textarea{
  width:100%;
  padding:10px;
  border-radius:5px;
  border:1px solid #ccc;
  margin-bottom:10px;
  font-size:16px;
}

input:focus, textarea:focus{
  border-color:#2c3e50;
  outline:none;
}

form button{
  width:100%;
  padding:10px;
  background:#2c3e50;
  color:#fff;
  font-size:16px;
  border-radius:5px;
  border:none;
  cursor:pointer;
}

form button:hover{ background:#34495e; }

/* Lightbox */
.lightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index:999;
  padding:20px;
  background:rgba(0,0,0,0.9);
  justify-content:center;
  align-items:center;
}

.lightbox-content{
  max-width:90%;
  max-height:80%;
  border-radius:10px;
}

.close{
  position:absolute;
  top:30px;
  right:40px;
  font-size:40px;
  color:#fff;
  cursor:pointer;
}

.close:hover{ color:#ccc; }

/* Company Background */
.company-background{
  padding: 20px 10% 40px;  /* top | left-right | bottom */
  background:#f9fafc;
  text-align:left;
}

.section-title{
  font-size:40px;
  color:#1b4f72;
  margin:0 0 10px;
}

.section-line{
  border:none;
  height:2px;
  background:#cfd8dc;
  margin:0 0 10px;
}

.background-content{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:60px;
  margin-bottom:10px;
}

.left-content h3{
  font-size:26px;
  line-height:1.3;
  color:#1b4f72;
}

.highlight{ color:#4CAF50; }

.right-content{
  flex:1;
  flex-basis:30%;
}

.right-content p{
  font-size:18px;
  line-height:1.8;
  margin-left:70px;
  color:#333;
  text-align:justify;
}

/* Timeline */
.timeline{
  display:flex;
  justify-content:space-between;
  gap:40px;
}

.timeline-item{
  flex:1;
  color:#333;
  line-height:1.4;
  text-align:justify;
}

.timeline-item h4{
  font-size:22px;
  color:#1b4f72;
  margin:0 0 10px;
}

.timeline-item p{
  font-size:16px;
  margin: 8px 0;     /* reduce paragraph spacing */
  color:#555;
}

.timeline-item h4.today{ color:#4CAF50; }

/* Profile card */
.profile-card{
  
  width:300px;
  height:400px;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
  border:1px solid #d6e3f2;
  box-shadow:0 10px 25px rgba(27,8,8,0.12);
  margin:40px auto;
}
.profile-body{
  background:#eeeff1 !important;  /* change box color */
  padding:10px 18px;   /* smaller padding = smaller box */
}
.profile-body h4{
  position:relative;
  margin:10px 0 10px;
  margin-top:5px; 
}
.profile-body p{
  position:relative;
  margin-top:0px; 
}

.profile-media{
  position:relative;
  height:300px; 
}

.profile-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.profile-body{ padding:18px; }

.profile-badge{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:#eaf2fb;
  color:#0b4a7a;
  font-weight:800;
  font-size:13px;
  letter-spacing:.6px;
}

.profile-name{
  margin:14px 0 10px;
  color:#0b4a7a;
  font-size:20px;
}

.profile-line{
  border:none;
  height:1px;
  background:#d6e3f2;
  margin:10px 0 14px;
}

.profile-list{
  margin:0 0 18px;
  padding-left:18px;
  color:#5a6b7b;
}

.profile-list li{
  margin:8px 0;
  font-style:italic;
}

.profile-link{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.6px;
  color:#0b4a7a;
  padding:14px 10px;
  border-top:1px solid #d6e3f2;
}

.profile-link:hover{ text-decoration:underline; }

.arrow{ font-size:18px; }

/* Contact */
#contact{
  text-align:center;
  padding:5px 10%;
}

/* WhatsApp floating button */
.whatsapp-float{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:#fff;
  font-size:28px;
  width:60px;
  height:60px;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  text-decoration:none;
  box-shadow:0 5px 15px rgba(0,0,0,0.3);
  transition:.3s ease;
}

.whatsapp-float:hover{
  transform:scale(1.1);
  background:#1ebe5d;
}

/* Careers */
.careers-page, .apply-page{
  padding:40px 10%;
  text-align:left;
}

.careers-hero{
  background:#f3f7ff;
  border:1px solid #d6e3f2;
  padding:22px;
  border-radius:14px;
  margin-bottom:28px;
}

.jobs{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}

.job-card{
  background:#fff;
  border:1px solid #d6e3f2;
  border-radius:14px;
  padding:18px;
  box-shadow:0 8px 18px rgba(0,0,0,0.08);
}

.job-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.job-tag{
  background:#eaf2fb;
  color:#0b4a7a;
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:12px;
}

.job-meta{
  color:#5a6b7b;
  margin:6px 0 10px;
}

.job-btn{
  display:inline-block;
  margin-top:10px;
  background:#4CAF50;
  color:#fff;
  text-decoration:none;
  padding:10px 14px;
  border-radius:10px;
  font-weight:800;
}

.apply-card{
  max-width:720px;
  margin:0 auto;
  background:#fff;
  border:1px solid #d6e3f2;
  border-radius:14px;
  padding:22px;
  box-shadow:0 8px 18px rgba(0,0,0,0.08);
}

.apply-card form{ margin-top:18px; }

.apply-card label{
  display:block;
  margin-bottom:12px;
  color:#1b4f72;
  font-weight:700;
}

.apply-card input, .apply-card textarea{
  width:100%;
  margin-top:6px;
  padding:10px;
  border:1px solid #cfd8dc;
  border-radius:10px;
  font-size:16px;
}

.apply-card button{
  width:100%;
  padding:12px;
  border:none;
  border-radius:10px;
  background:#2c3e50;
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

.apply-card button:hover{ background:#34495e; }

/* Responsive */
@media (max-width: 900px){
  .jobs{ grid-template-columns:1fr; }
}

@media (max-width: 600px){
  .gallery > img{
    width:80%;
    height:auto;
  }
}
/* Mobile header fix */
@media (max-width: 600px) {
  header{
    padding: 14px 16px;
  }


/* logo position */
.logo{
  position:absolute;
  left:20px;
  top:50%;
  transform:translateY(-50%);
}

  /* Stack logo above title */
  .top-header{
    flex-direction: column;
    gap: 8px;
  }

  .top-header h1{
    margin: 0;
    font-size: 22px;
    text-align: center;
    line-height: 1.2;
  }

  nav{
    margin-top: 10px;
    text-align: center;
  }

  nav a{
    display: inline-block;
    margin: 6px 10px;
  }
}
/* Mobile fixes for About page */
@media (max-width: 768px) {

  /* Stack the 2 columns */
  .background-content{
    flex-direction: column;
    gap: 0px;
  }

  /* Remove the big left margin on mobile */
  .right-content p{
    margin-left: 0;
  }

  /* Stack timeline cards */
  .timeline{
    flex-direction: column;
    gap: 24px;
  }

  /* Reduce padding so content fits */
  .company-background{
    padding: 20px 6%;
  }

  /* Optional: slightly smaller headings */
  .section-title{ font-size: 30px; }
  .left-content h3{ font-size: 22px; margin: 0 0 8px;}
  .right-content p{ font-size: 16px; margin-left: 0;}
}

/* TEAM SECTIONS */
.team-section{
  max-width: 1150px;
  margin: 28px auto;
  padding: 16px;
  border-radius: 16px;
  background: #f3f7ff;
  border: 1px solid #d6e3f2;
}

/* Title that works on iPhone */
.team-title{
  margin: 0 0 14px;
  font-size: 22px;
  color: #1b4f72;
  text-align: left;     /* iPhone-friendly */
  padding-left: 12px;
  border-left: 5px solid #4CAF50;  /* separation style */
  position: relative;
}


/* line behind the title */
.team-title::before{
  content:none;
  position:absolute;
  left:-140px;
  right:-140px;
  top:50%;
  height: 5px;
  background:#d6e3f2;
  z-index:-1;
}

.team-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
  padding:24px;
}

.card{
  border:1px solid #ddd;
  border-radius:12px;
  padding:16px;
  background:#fff;
}

.card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
}

/* navigation */
.site-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
}

.nav-links-desktop{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  justify-content:center;
}

.nav-links-desktop a{
  text-decoration:none;
  font-weight:600;
}

/* ===== MOBILE TOGGLE BUTTON (burger) ===== */
.nav-toggle{
    display:none;
    position:absolute;
    top:20px;
    right:20px;
    width:40px;
    height:40px;
    border:0;
    background:transparent;
    cursor:pointer;
    z-index:1000;
}

.burger,
.burger::before,
.burger::after{
  margin-top: -2px;
  content:"";
  display:block;
  width:30px;
  height:2px;
  background:currentColor;   /* will now be white */
  position:absolute;
  left:50%;
  transform:translateX(-50%);
}

.burger{ top:45%; }
.burger::before{ top: -6px; position:relative; }
.burger::after{ top: 10px; position:relative; }

/* ===== MOBILE MENU WRAPPER ===== */
.mobile-menu{
  display:none;
}

/* ===== MOBILE MODE ===== */
@media (max-width: 768px) {
  header {
    padding: 14px 16px;
  }

  .top-header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-30%);
    z-index: 10;
  }

  .logo img {
    height: 44px;
    width: auto;
    display: block;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .nav-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: block;
    color: #fff;
  }
}

  .nav-links-desktop{
    display:none;
  }

  .nav-toggle{
    color:#fff;              /* this controls burger color */
    display:block;
  }

  .mobile-menu{
    display:block;
    position:fixed;
    inset:0;
    z-index:9999;
    pointer-events:none; /* disabled until open */
  }

  .mobile-menu-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.35);
    opacity:0;
    transition:opacity .2s ease;
  }

  .mobile-menu-panel{
    position:absolute;
    top:0;
    left:0;
    right:0;
    background:#fff;
    transform:translateY(-12px);
    opacity:0;
    transition:transform .2s ease, opacity .2s ease;
    border-bottom-left-radius:16px;
    border-bottom-right-radius:16px;
    overflow:hidden;
  }

  .mobile-menu-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 16px;
    border-bottom:1px solid #e7e7e7;
  }

  .mobile-menu-title{
    font-weight:700;
    font-size:16px;
  }

  .mobile-menu-close{
    border:0;
    background:transparent;
    font-size:22px;
    cursor:pointer;
    line-height:1;
  }

  .mobile-menu-list a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 16px;
    text-decoration:none;
    color:#0b2a4a;
    font-size:18px;
    border-bottom:1px solid #ededed;
  }

  .mobile-menu-list a:last-child{
    border-bottom:none;
  }

  .mobile-menu-list a:active{
    background:#f4f6f8;
  }

  .chev{
    font-size:22px;
    opacity:0.7;
  }

  /* OPEN STATE */
  body.menu-open .mobile-menu{
    pointer-events:auto;
  }
  body.menu-open .mobile-menu-overlay{
    opacity:1;
  }
  body.menu-open .mobile-menu-panel{
    transform:translateY(0);
    opacity:1;
  }
}



/* LOGO LEFT ON DESKTOP (and all sizes) */
header{ position:relative; }

.logo{
  position:absolute;
  left:20px;
  top:15px;
  margin:0;              /* prevents auto-centering */
  z-index:2000;
}

.logo img{
  height:55px;
  width:auto;
}


@media (max-width:600px){
  .logo{ left:12px; top:35px; }
  .logo img{ height:50px; }
}
/* Social icons */
.social-icons{
  display:flex;
  justify-content:center;
  gap:40px;
  margin-top:20px;
}

.social-icons a{
  font-size:32px;
  color:white;
  text-decoration:none;
}

.social-icons a:hover{
  transform:scale(1.2);
  text-decoration:none;
}

.fa-facebook{ color:#1877f2; }
.fa-whatsapp{ color:#25D366; }
.fa-envelope{ color:#e74c3c; }

.social-section{
  align-items: center;
}
.social-icons{
  text-decoration:none;   /* remove underline */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 25px;
}
/* Contact footer */
.contact-footer{
  background:#2c3e50;
  color:#fff;
  text-align:center;
  padding:30px 10px;
  margin-top:40px;
}

/* Contact footer */
.contact-footer{
  background:#2c3e50;
  color:#fff;
  text-align:center;
  padding:30px 10px;
  margin-top:40px;
}

.contact-footer h3{
  margin-bottom:15px;
}

.social-icons{
  display:flex;
  justify-content:center;
  gap:30px;
}

.social-icons a{
  font-size:32px;
  color:white;
  text-decoration:none;
  transition:0.3s;
}

.social-icons a:hover{
  transform:scale(1.2);
  text-decoration:none;

}



html, body{
  height:100%;
  margin:0;
}

body{
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

/* This is the key: main grows, footer gets pushed down */
.page-content{
  flex:1;
}

/* Make sure footer is NOT fixed/absolute */
.contact-footer{
  position:static !important;
  margin-top:auto;
}
#site-footer {
  background: #1a1a1a;
  background: #2c3e50;
  padding: 25px 15px !important;
  margin-top: 40px !important;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}

#site-footer .footer-wrap {
  max-width: 700px;
  margin: 0 auto;
}

#site-footer .footer-brand h3 {
  margin: 0;
  font-size: 18px;
  color: #ffffff;
}

#site-footer .footer-brand p {
  margin: 6px 0 14px 0;
  font-size: 13px;
  color: #aaaaaa;
}

#site-footer .footer-links h4,
#site-footer .footer-social h4 {
  margin: 10px 0 8px;
  color: #ffffff;
  font-size: 14px;
}

#site-footer .footer-links ul,
#site-footer .footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#site-footer .footer-links li,
#site-footer .footer-social li {
  display: inline-block;
  margin: 0 10px;
}

#site-footer .footer-links a,
#site-footer .footer-social a {
  color: #cccccc;
  text-decoration: none;
  font-size: 13px;
}

#site-footer .footer-links a:hover,
#site-footer .footer-social a:hover {
  color: #ffffff;
}

#site-footer .footer-copy {
  margin-top: 12px;
  font-size: 12px;
  color: #888888;
}

/* Leader section */
.leaders-grid{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:30px;
  margin:40px 0;
}

/* CEO card bigger */
.leader-main{
  width:320px;
}

/* Second leader slightly smaller */
.leader-secondary{
  width:260px;
}

/* Team card */
.team-item{
  text-align:center;
}

.team-item img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:12px;
}

.team-item h4{
  margin:10px 0 4px;
  color:#1b4f72;
}

.team-item p{
  margin:0;
  font-size:14px;
  color:#555;
}