@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&display=swap');

:root {
          --header-h: 20vh;
  --header-h-scrolled: 12vh;   /* smaller height on scroll */
    --third-color: #1E1E1E;
    --text-color: #272626;
    --black-color: #000;
    --white-color: #fff;
    --primary-font: 'Arial', 'sans-serif';
    --secondary-font: 'Quicksand', 'sans-serif';
    --brand: #0093CB;
  --dark: #092032;
    --body: #FEFEFE;
    --border: rgba(0,0,0,0.08);
    --shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
    
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}


body {
    font-family: "Barlow", sans-serif;
    color: var(--body);
    line-height: 1.7;
     display: flex;
    flex-direction: column;
}

h1,h2,h3,h4,h5,h6,
.display-1,.display-2,.display-3,.display-4 {
    font-weight: 700;
    color: var(--dark);
}

.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

img {
    width: 100%;
}

a {
    color: var(--dark);
    transition: all 0.4s ease;
    font-weight: 500;
}

a:hover {
    color: var(--brand);
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.text-brand {
    color: var(--brand) !important;
    
}
p{
 color: var(--text-color)!important;
}
.floating-email-btn {
  position: fixed;
  bottom: 160px; /* Place above call button */
  right: 20px;
  width: 50px;
  height: 50px;
  padding: 15px;
  background-color: var(--brand); /* Red */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, background-color 0.3s;
  z-index: 1000;
  color: var(--white-color);
  font-size: 30px; /* Size of the Boxicon */
  text-decoration: none;
}

.floating-email-btn:hover {
  transform: scale(1.1);
  background-color: var(--white-color); /* Darker red */
  color: var(--brand);
}

.phone-call-button {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background-color: var(--brand);
  color: white;
  font-size: 24px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transition: background-color 0.3s, transform 0.3s;
  text-decoration: none;
  line-height: 1; /* Removes the bar under the icon */
  padding: 0; /* No extra padding */
}

.phone-call-button i {
  display: block;
  line-height: 1; /* Ensures icon itself has no extra spacing */
}

.phone-call-button:hover {
  background-color: var(--white-color);
  color: var(--brand);
  transform: scale(1.1);
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 100%;
  padding: 15px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #128C7E; /* Darker green on hover */
  transform: scale(1.1);     /* Slight zoom effect */
  box-shadow: 3px 3px 10px rgba(0,0,0,0.4);
}

/* =========================================================
   NAVBAR (Same HTML)
   - Nav links white
   - Fix mobile overlap
   ========================================================= */
/* Main Nav */
#site-header{
  position: fixed; top:0; left:0; right:0; z-index:999;
  height: var(--header-h);
  background: transparent;
  margin-top: 45px;
  transition: height .28s ease, background .25s ease, box-shadow .25s ease;
}

/* smaller + colored when scrolled or menu open */

#site-header.scrolled, 
#site-header.menu-open{
  height: var(--header-h-scrolled);
  background: var(--brand);
  margin-top: 0px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}




/* main container row */
.container-nav{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  width: 230px;
  height: auto;
   margin-top: 5vh;


 transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease;
}

/* Shrink logo when header is scrolled */
#site-header.scrolled .logo img {
  width: 140px;
  height: 150px;
  margin-top: -45px;
}

/* Navbar inherits flex row automatically */
#navbar {
  flex-grow: 1; /* allows nav to fill space */
}

#navbar .nav-links {
  display: flex;
  align-items: center;
  margin-top: 1%;
  justify-content: flex-end;
}
#navbar {
  width: 100%;
  background: transparent !important;
  transition: all 0.4s ease;
  height: 100px;
  position: fixed;
  top: 35px; /* VERY IMPORTANT: after top-nav height */
  left: 0;
  z-index: 999;
}





/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links li {
  margin: 0 10px;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--white-color);
  font-family: 'Arial', 'sans-serif' ;
  padding: 8px 15px;
  transition: all 0.3s;
  border-radius: 5px;
}

.nav-links a:hover {
  background: var(--brand);
  color: white;
  border-radius: 20px;
  border-bottom: rgba(255, 250, 250, 0.872);
  border-style: double;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  background: rgba(74, 140, 165, 0.7);
  top: 100%;
  left: 0;
  width: 250px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

.dropdown-menu li {
  padding: 10px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Search Icon */



/* Menu Icon */
.menu-icon {
  display: none;
  font-size: 30px;
  color: white;
}

/* Navbar when scrolled */

#navbar.scrolled .nav-links a {
  color: var(--brand);
}

#navbar.scrolled .search-icon i,
#navbar.scrolled .menu-icon i {
  color: var(--brand);
}



#navbar.scrolled .nav-links a:hover {
  background: var(--brand); /* Background on hover */
  color: white; /* Text becomes white on hover */
  border-radius: 20px;
  border-bottom: var(--white-color);
  border-style: double;
}
.services-item { position: relative; }

/* show button on desktop, hide on mobile */
.services-btn{
  display: none;
  background: transparent;
  border: 0;
  color: var(--white-color);
 font-family:'Arial', 'sans-serif';
font-weight: 800;

  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  align-items: center;
  gap: 6px;
}
.services-btn .chev{ width:14px;height:14px; transition:transform .18s ease; }
.services-btn[aria-expanded="true"] .chev{ transform: rotate(180deg); }

/* fallback link for mobile */
.services-link-mobile{ display: inline-block; }

/* Mega menu shell */
.mega-menu{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 14px);
  width: min(1100px, calc(100vw - 40px));
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(2,8,23,.15);
  padding: 24px;
  display: none;
  z-index: 1000;
}
.service:hover{
  background: var(--brand) !important;
  transform: translateY(-1px);
}

.service:hover .icon{
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
}

.service:hover .svc-title,
.service:hover .svc-desc{
  color: #fff !important;
}

/* Optional: make icons feel crisper on dark hover */
.service .icon svg{ transition: color .18s ease, fill .18s ease, stroke .18s ease; }
.service:hover .icon svg{ stroke: #ffffff !important; fill: none; }

.mega-menu.open{ display: block; animation: svcFade .12s ease; }
@keyframes svcFade { from{opacity:0; transform:translate(-50%, -4px);} to{opacity:1; transform:translate(-50%, 0);} }

.mega-inner{ width:100%; }
.mega-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px 48px;
}

.service{
  display:flex; gap:14px; padding:12px; border-radius:12px;
  transition: background .15s ease, transform .15s ease;
  color: #0f172a;
}
.service:hover{ background:#f8fafc; transform: translateY(-1px); }
.service:focus{ outline: none; }
.service:focus-visible{ outline: 3px solid rgba(97,54,240,.25); outline-offset: 2px; }

.icon{
  width:42px;height:42px;border-radius:12px;
  background: rgba(97,54,240,.08); color: var(--brand);
  display:grid;place-items:center;flex:0 0 42px;
}

.svc-title{  font-family: Arial, sans-serif;
  font-weight: normal;   /* was 800 */
  font-size: 16px;
  color: #0f172a;         }
.svc-desc{ font-family: Arial, sans-serif;
  font-weight: normal;
  font-size: 14px;
  color: #444;  margin-top: 2px; }

.mega-footer{
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid #eef2f7; font-size:14px; color:#64748b;
}
.mega-footer a{ color: var(--brand); font-family: Arial, sans-serif;
  font-weight: normal; }
.mega-footer a :hover{ background-color: var(--brand); font-family: Arial, sans-serif;
  font-weight: normal; }
/* Navbar scrolled variant: keep button/link readable */
#navbar.scrolled .services-btn{ color: var(--brand);}
#navbar.scrolled .services-btn:hover{ color: var(--white); }

/* Hover style to match your links */
.services-btn:hover{
  background: var(--brand);
  
  color: white;
  border-radius: 20px;
  border-bottom: rgba(255, 250, 250, 0.872);
  border-style: double;
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 992px) {
  .menu-icon {
    display: none;
  }
  #navbar .nav-links {
    position: static;
    transform: none;
    height: auto;
    width: auto;
    flex-direction: row;
    gap: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }
  .services-btn {
    display: inline-flex;
  }
  .services-link-mobile {
    display: none;
  }
}

/* ---------- MOBILE & TABLET (up to 991px) ---------- */
@media (max-width: 991.98px) {
  .top-nav {
    display: none !important;
  }
  .mega-menu {
    display: none !important;
  }
  .services-btn {
    display: none !important;
  }
  .services-link-mobile {
    display: inline-block;
  }

  /* Header Row */
  .container-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* logo left, burger right */
    padding: 8px 15px;
    margin: 0;
    background-color: transparent;
  }
.menu-icon {
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--brand);
    border: 2px solid var(--brand);
    border-radius: 6px;
    background: #fff;
    padding: 5px;
  
   margin-left:80% !important;
  }
  #site-header.scrolled .menu-icon,
  #site-header.menu-open .menu-icon {
    color: #fff;
    border-color: #fff;
    background: var(--brand);
  }
  /* Logo */
  .logo {
    order: 1;
   
    align-items: center;
  }
  .logo img {
    width: 140px;
    height: auto;
     margin-top: -10vh; /* remove extra margin */
    transition: width 0.3s ease, height 0.3s ease;
  }
  #site-header.scrolled .logo img {
    width: 120px; /* shrink when scrolled */
  }

  /* Menu Icon */
  

  /* Side Menu (Off-canvas) */
  #navbar .nav-links {
    position: fixed;
    top: 10vh !important;              /* full screen cover */
    right: 0;
    height: 80vh !important;       /* full viewport height */
    width: 85vw;
    max-width: 460px;
    background: var(--brand);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    box-shadow: -8px 0 24px rgba(0, 0, 0, .18);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 1000;
  }
  #navbar .nav-links.active {
    transform: translateX(0); /* slide in */
  }

  #navbar .nav-links a {
    color: #fff;
    display: block;
    margin-top: 20px !important;
    margin-bottom: 20% !important;
    padding: 12px 10px;
    border-radius: 10px;
  }
  #navbar .nav-links a:hover {
    background: rgba(255, 255, 255, .12);
    text-decoration: none;
    border: 0;
  }
}

/* ========== Banner ========== */

.banner {
  background: url('../img/about-us-banner.png') no-repeat center center/cover;
  height: 95vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  color: var(--brand);
 
  padding: 20px;
}

.banner-content h1 {
  font-size: 48px;
  color: var(--brand);
  font-family: var(--primary-font);

}

.banner-content p {
  font-size: 20px;
  color: var(--brand);
  font-family: var(--secondary-font);
  margin-top: 10px;
}


/* ========== About + What we do wrappers ========== */
.about-section,
.what-we-do-section{
  margin: 4%;
  padding: 80px 20px;
  background: #f9f9f9;
}

.about-section .container,
.what-we-do-section .container{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.about-section .text,
.what-we-do-section .text{ flex: 1 1 320px; }
.about-section .image,
.what-we-do-section .image{ flex: 1 1 320px; }

.about-section .image img,
.what-we-do-section .image img{
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  transition: transform .25s ease;
}
.about-section .image img:hover,
.what-we-do-section .image img:hover{ transform: scale(1.03); }

/* Vision/Mission */
.vision-mission-section{
  margin: 4%;
  padding: 80px 20px;
  background: #f6f6f6;
}
.vision-mission-section img.img-fluid{
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

/* Core Values */
.core-values{
  background: #b4e0efd7;
  margin: 4%;
  border-radius: 30px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.10);
  text-align:center;
  padding: 30px 20px;
}
.card-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
}
.card1{
  background:#fff;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card1:hover{
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.10);
}

/* ========== Contact section ========== */
.contact-section{
  display:flex;
  flex-wrap:wrap;
  gap: 24px;
  padding: 50px;
  background: #f9f9f9;
}

.contact-info,
.contact-form{ flex: 1 1 320px; }

#contactForm input,
#contactForm textarea{
  width:100%;
  padding: 15px;
  border-radius: 20px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  font-size:16px;
  font-family: Arial, sans-serif;
}
#contactForm textarea{
  min-height: 140px;
  resize: vertical;
}

#contactForm button{
  width:100%;
  padding: 15px 30px;
  border-radius: 30px;
  background-color: var(--brand);
  color: #fff;
  border: 2px dashed var(--brand);
  cursor:pointer;
  transition: all .2s ease;
}
#contactForm button:hover{
  background:#fff;
  color: var(--brand);
}

.map-container{
  margin: 20px 4% 4%;
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  background:#fff;
}
.map-container iframe{
  display:block;
  width:100%;
  height: 250px;
  border:0;
}
/* =========================
   FOOTER (FULL + BRAND BG + WHITE TEXT)
========================= */
footer{
  background: var(--brand);
  color: var(--white);
  font-family: 'Segoe UI', sans-serif;
  margin-top: 3%;
}

footer .footer-top{
  padding: 40px 0 20px 0;
}

/* Footer headings */
footer h4,
footer h5{
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--white);
}

/* Footer text and links */
footer p,
footer li a{
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 6px;
  color: var(--white)!important;
}

footer ul{
  padding: 0;
  list-style: none;
  margin: 0;
}

/* Fix: footer logo should NOT become full width */
footer .navbar-brand{
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-block;
}
footer .navbar-brand img{
  width: auto !important;
  max-width: 180px;
  height: auto;
  display: block;
}

/* Footer social icons */
footer .social-icons{
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

footer .social-icons a{
  width: 38px;
  height: 38px;
  font-size: 18px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

footer .social-icons a:hover{
  background-color: #00C8FF;
  color: #fff;
  transform: scale(1.05);
}

/* Footer bottom */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 12px 0;
  font-size: 13px;
  color: var(--white);
}

/* =========================
   RESPONSIVE (FULL)
========================= */
  /* Map container fit */
  .map-container{
    margin: 14px 3% 3% !important;
  }
  .map-container iframe{
    height: 260px !important;
  }
  /* Footer spacing */
  footer .footer-top{
    padding: 30px 0 10px !important;
  }
  .footer-bottom{
    padding: 10px 0 !important;
  }

/* ----------- Very small phones (<= 480px) ----------- */
@media (max-width: 480px){
  /* even smaller logo */
  .logo img{
    width: 135px !important;
  }
  /* banner height */
  .banner{
    height: 70vh !important;
  }
  /* nav drawer width */
  #navbar .nav-links{
    width: 88vw !important;
  }
  /* floating buttons slight smaller */
  .floating-email-btn{ width: 46px; height: 46px; font-size: 26px; }
  .phone-call-button{ width: 50px; height: 50px; font-size: 22px; }
  .whatsapp-button{ width: 50px; height: 50px; padding: 8px; }
}
