/* ------------------------------
  Base + Navbar + Carousel + Sections
------------------------------ */

/* ------------------------------
General Reset
------------------------------ */
html, body {
  overflow-x: hidden;
  height: 100%;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

p {
  font-size: 0.8rem !important;
  color: #808080 !important;
}

.f-abt {
  color: #808080 !important;
}

* { box-sizing: border-box; }

/* Fix content going under the fixed header */
main, section {
  scroll-margin-top: 80px;
  padding-top: 80px;
}

/* Do not hide overflow for sections that use layered visuals */
header, footer {
  overflow-x: hidden;
}

/* About section and client logos need visible overflow */
.about-us-section,
.logo-carousel {
  overflow: visible !important;
}

/* Carousel remains contained */
.carousel,
.carousel-inner,
.carousel-item {
  overflow: hidden;
}

/* Logo carousel animation */
.logo-carousel {
  white-space: nowrap;
  display: flex;
  align-items: center;
  animation: scroll-left 30s linear infinite;
}

.logo-carousel .logo-item {
  flex: 0 0 auto;
  margin-right: 3rem;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ------------------------------
Navbar - FIXED SMOOTH SHRINK
------------------------------ */
nav.navbar {
  backdrop-filter: blur(6px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  overflow-x: clip;
  transition: transform 0.28s cubic-bezier(.2,.9,.2,1), box-shadow 0.28s ease;
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #2a3c73;
}

.navbar-nav .nav-item {
  margin: 0 24px;
}

nav.navbar.shrink {
  transform: scaleY(0.85);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.navbar .nav-link {
  color: #000 !important;
  transition: color .22s;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 0 !important;
}

.navbar .nav-link:hover { color: #47669a !important; }

.navbar-brand img {
  height: 95px;
  width: auto;
  transition: transform 0.36s ease;
}

.navbar.shrink .navbar-brand img {
  transform: scale(0.85);
}

.navbar ul li a,
.footer ul li a {
  position: relative;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.navbar ul li a:hover,
.footer ul li a:hover {
  color: #2a3c73;
}

.navbar ul li a.active,
.footer ul li a.active {
  color: #000;
  font-weight: 700;
}

.navbar ul li a::after,
.footer ul li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: #000;
  transition: width 0.3s ease;
}

.navbar ul li a:hover::after,
.footer ul li a.active::after,
.footer ul li a:hover::after,
.navbar ul li a.active::after {
  width: 100%;
}

/* Mobile toggle button */
.navbar-toggler {
  border: none;
  background: transparent;
  font-size: 1.5rem;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 30px;
  height: 3px;
  background-color: #2a3c73;
  position: relative;
  transition: all 0.3s;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  width: 30px;
  height: 3px;
  background-color: #2a3c73;
  position: absolute;
  left: 0;
  transition: all 0.3s;
}
.navbar-toggler-icon::before { top: -10px; }
.navbar-toggler-icon::after { top: 10px; }

#mobileMenu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

#mobileMenu.show {
  max-height: 500px;
  opacity: 1;
}

#mobileMenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mobileMenu li {
  margin: 0.75rem 0;
}

#mobileMenu a {
  color: #2a3c73;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

#mobileMenu a:hover {
  color: #47669a;
}

@media (min-width: 992px) {
  #mobileMenu {
    display: none !important;
  }
}

/* Responsive fixes */
@media (max-width: 992px) {
  .navbar-brand img {
    height: 45px !important;
    width: auto !important;
  }
}

/* ======================
    MINI BAR + MINI HEADER
====================== */

/* Mini-bar (small logo + hamburger) */
.mini-bar {
  position: fixed;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s ease;
  cursor: pointer;
  background: #fff;
  border: 2px solid #2a3c73;
  padding: 5px 10px;
  border-radius: 8px;
}

.mini-bar.show {
  opacity: 1;
  transform: translateY(0);
}

.mini-bar .mini-logo {
  height: 40px;
  width: auto;
}

.mini-bar .menu-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mini-bar .menu-label {
  font-size: 10px;
  color: #2a3c73;
  margin-bottom: 2px;
  font-weight: 700;
}

.mini-bar .menu-icon {
  font-size: 28px;
  color: #fff;
  background: #2a3c73;
  padding: 4px 6px;
  border-radius: 4px;
  transition: transform 0.3s, color 0.3s;
}

.mini-bar .menu-icon:hover {
  transform: rotate(90deg);
  color: #fff;
}

/* ======================
    MINI HEADER FINAL
====================== */
/* ======================
    MINI HEADER FINAL FIXED
====================== */
.mini-header {
  position: fixed;
  top: 10px; /* align with mini-bar */
  left: 0;   /* we will offset via JS dynamically */
  height: 50px;
  background: #fff;
  border-bottom: 2px solid #2a3c73;
  display: flex;
  align-items: center;
  justify-content: center; /* center nav inside */
  padding: 0 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.4s ease;
  z-index: 1900;
  overflow: hidden;
  width: calc(100vw - 0px); /* will be updated via JS */
}

.mini-header.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Centered nav inside mini-header */
.mini-header nav {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.mini-header nav a {
  text-decoration: none;
  color: #2a3c73;
  font-weight: 600;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 5px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.mini-header nav a:hover,
.mini-header nav a.active {
  border-bottom: 2px solid #2a3c73;
  color: #47669a;
}

/* Main header hide */
.main-header.hide {
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
}

/* Responsive tweaks */
/* === Hide mini-bar and mini-header on small screens === */
@media (max-width: 991px) {
  .mini-bar,
  .mini-header {
    display: none !important;
  }

  .main-header {
    transform: none !important;
    opacity: 1 !important;
  }
}










/* Hero Section */
.hero-section {
  background: url('images/qatar-hero.jpg') center center / cover no-repeat;
  height: 100vh; /* full screen height */
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px; /* adjusts to height of navbar */
  overflow: hidden;
}

/* Optional overlay to enhance text visibility */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* dark overlay */
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 0 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: #dbe2ff;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-section {
    margin-top: 70px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
}





/* Ensure banner images fill full screen on all devices */
.carousel-item img {
  width: 100%;
  height: 100vh; /* full visible area */
  object-fit: cover; /* maintain aspect ratio while filling */
}

/* For smaller devices, reduce banner height slightly */
@media (max-width: 992px) {
  .carousel-item img {
    height: 70vh; /* adjust for tablets */
  }
}
@media (max-width: 768px) {
  .carousel-item img {
    height: 60vh; /* adjust for mobile */
  }
}

/* Keep carousel caption below middle if needed */
/* ===== Strong, conflict-proof carousel caption styling ===== */

/* make mask easier to control */
.mask-dark {
  position: relative;                 /* IMPORTANT: parent for absolute children */
  background-color: rgba(0,0,0,0.45); /* dark overlay */
  height: 100%;
}

/* wrapper used to center vertical stack */
.carousel-caption-wrapper {
  position: absolute;                 /* sits over the slide */
  inset: 0;                           /* fill mask */
  display: flex;
  flex-direction: column;
  justify-content: center;            /* center main title vertically */
  align-items: center;
  text-align: center;
  z-index: 5;
  pointer-events: none;               /* so controls still clickable */
  padding: 2rem;
}

/* main title + description block (kept slightly above center if desired) */
.carousel-content {
  pointer-events: auto;
  transform: translateY(-6%);        /* small upward offset so bottom text sits above dots */
  margin-bottom: 0.75rem;
}

/* Title styling */
.carousel-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin: 0 0 .5rem 0;
  color: #fff !important;
  line-height: 1.05;
}

/* Description (smaller) */
.carousel-desc {
  font-size: 1.05rem;
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255,255,255,0.95);
}

/* the bottom line that should be just above pagination */
.banner-subtext {
  position: absolute;
  bottom: calc(1.5rem + 28px); /* 28px approx for indicators; adjust if your indicators differ */
  left: 50%;
  transform: translateX(-50%);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  text-shadow: 0 6px 18px rgba(0,0,0,0.5);
  pointer-events: auto;
}

/* ensure captions are visible even if MDB/Bootstrap sets .text-center rules */
#introCarousel .carousel-item .carousel-content,
#introCarousel .carousel-item .banner-subtext {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* image filling */
.carousel-img { width:100%; height:100vh; object-fit:cover; }

/* responsive */
@media (max-width: 992px) {
  .carousel-title { font-size: 1.9rem; }
  .carousel-desc { font-size: 1rem; max-width: 90%; }
  .banner-subtext { font-size: 1.05rem; bottom: 60px; }
  .carousel-img { height: 70vh; }
}

.carousel-item .translate-middle {
  transform: translate(-50%, 40%) !important; /* push middle text lower */
}

.carousel-item .bottom-0 {
  margin-bottom: .1rem !important; /* small gap from pagination */
}


/* ------------------------------
Carousel full-screen
------------------------------ */
/* ================================
   CAROUSEL STYLING
================================ */
/* ================================
   CAROUSEL STYLING
================================ */
/* Carousel full height */
#introCarousel,
.carousel-inner,
.carousel-item {
  height: 100vh; /* Full viewport height */
  min-height: 400px; /* Ensure it never collapses on small screens */
}

/* Background image fit */
.carousel-item img.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers container without stretching */
}

/* Carousel caption at bottom */
.carousel-inner .text-center {
  position: absolute;
  bottom: 8%; /* distance from bottom */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

/* Fade-up animation for active slide */
.carousel-item.active .text-center {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 768px) {
  .carousel-inner .text-center {
    bottom: 5%;
    width: 95%;
  }
  .carousel-item h1 { font-size: 1.8rem; }
  .carousel-item h2 { font-size: 1.4rem; }
  .carousel-item h5 { font-size: 1rem; }
}

/* ------------------------------
About Section (shared)
------------------------------ */
/*.about-us-section {
  background-color: #0d1b3d;
  color: #fff;
  padding-top: 5rem;
  padding-bottom: 5rem;
}*/
.about-us-section {
  position: relative;
  /*background: url('images/pattern.jpg') center repeat !important;
  background-size: 650px auto !important;
  color: #2a3c73;*/
  padding-top: 5rem;
  padding-bottom: 5rem;
}


.about-us-section .section-subtitle { 
  color: #2a3c73; 
  font-weight:500; 
  letter-spacing:1px; 
  /*text-transform:uppercase; */
}
.about-us-section .section-title { 
  font-size:2.5rem; 
  font-weight:700; 
  margin: .5rem 0 3rem; 
  position: relative;
  color: rgb(128, 150, 161) !important;
}
.section-title::after {
  content: "";
  background: #2a3c73;
  width: 66px;
  height: 3px;
  position: absolute;
  bottom: -10px !important; /* Adjust spacing below the title */
  left: 8% !important; /* Center the underline */
  transform: translateX(-50%); /* Align perfectly center */
  border-radius: 5px;
}
.about-us-section .section-lead { 
  font-size:1.1rem; color:#000; line-height:1.5;
  width: 80%;
}

/* Staggered emoji */
/*.emoji-staggered{ display:flex; flex-direction:column; align-items:center; gap:2rem; position:relative; }
.emoji-staggered .emoji-icon{
  font-size:3.5rem; height:120px; width:120px; display:flex; align-items:center; justify-content:center;
  border-radius:1rem; background: rgba(42, 60, 115, 0.85); /* your #2a3c73 color with transparency */
  /*box-shadow: 0 0 15px rgba(42, 60, 115, 0.5);
  color:#fff; text-shadow:0 0 5px #fff,0 0 10px #fff,0 0 15px #fff,0 0 20px #a0c4ff,0 0 30px #a0c4ff;
  transition:transform .45s ease, box-shadow .45s ease; cursor:default; animation: floatEmoji 3s ease-in-out infinite alternate;
}
.emoji-staggered .emoji-row{ display:flex; gap:1.5rem; }
.emoji-staggered .emoji-icon:hover{ transform:scale(1.15); box-shadow:0 0 25px rgba(255,255,255,0.6),0 0 40px rgba(255,255,255,0.3); }

@keyframes floatEmoji { 0%{transform:translateY(0)} 50%{transform:translateY(-10px)} 100%{transform:translateY(0)} }*/

@media (max-width:768px){
  .about-us-section .section-title{ font-size:2rem }
  /*.emoji-staggered .emoji-icon{ font-size:2.5rem; height:100px; width:100px }
  .emoji-staggered .emoji-row{ gap:1rem }*/
}

/* Container ensures square image area */
/* === ICON BARS === */
.icon-bars-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
}

.icon-bar {
  flex: 1;
  text-align: center;
  color: #fff;
  border-radius: 18px;
  padding: 55px 20px;   /* 🔥 More vertical space */
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* ✅ BIG PREMIUM ICON */
.icon-bar .icon {
  font-size: 5rem;        /* 🔥 BIG ICON */
  line-height: 1;
  margin-bottom: 10px;
  transition: transform 0.4s ease, text-shadow 0.3s ease;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25)); /* 🔥 Depth */
}

/* Optional label text */
.icon-bar p {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* === Color Themes === */
.icon-bar.cold {
  background: linear-gradient(160deg, #1b2d59, #2d4c88);
}
.icon-bar.water {
  background: linear-gradient(160deg, #2d4c88, #4a7bbd);
}
.icon-bar.light {
  background: linear-gradient(160deg, #4a7bbd, #75b5d8);
}

/* === Hover Effects === */
.icon-bar:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

.icon-bar:hover .icon {
  transform: scale(1.25) rotate(3deg);  /* 🔥 POP EFFECT */
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.85);
}

/* === Responsive === */
@media (max-width: 992px) {
  .icon-bars-container {
    gap: 12px;
  }
  .icon-bar {
    padding: 40px 10px;
  }
  .icon-bar .icon {
    font-size: 4rem;   /* Tablet */
  }
}

@media (max-width: 768px) {
  .icon-bars-container {
    flex-direction: column;
  }
  .icon-bar {
    margin-bottom: 16px;
  }
  .icon-bar .icon {
    font-size: 3.6rem; /* Mobile */
  }
}

/* Cold icon rotates in a smooth circle */
.icon-bar.cold .icon {
  animation: coldRotate 6s linear infinite;
}

@keyframes coldRotate {
  0% {
    transform: rotate(0deg) translateX(4px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(4px) rotate(-360deg);
  }
}
/* Water icon floating up & down */
.icon-bar.water .icon {
  animation: waterFloat 2.8s ease-in-out infinite;
}

@keyframes waterFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(0);
  }
}
/* Lightning flicker glow */
.icon-bar.light .icon {
  animation: lightFlash 1.8s infinite;
}

@keyframes lightFlash {
  0% {
    opacity: 1;
    text-shadow: 0 0 6px rgba(255,255,255,0.3);
  }
  30% {
    opacity: 0.4;
  }
  40% {
    opacity: 1;
    text-shadow: 0 0 30px rgba(255,255,255,0.9);
  }
  60% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
  }
}




/* ------------------------------
Client Logos
------------------------------ */
.client-logos {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 3rem 0;
  /*background: url('images/pattern.jpg') center repeat;
  background-size: 650px auto !important;*/
}

/* Dark blue overlay */
.client-logos::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background: rgba(71, 102, 154, 0.85);*/ /* dark blue overlay */
  z-index: -1;
}

/* Ensure content stays above overlay */
.client-logos > * {
  position: relative;
  z-index: 2;
}

.client-logos h3{ font-weight:700; /*text-transform:uppercase;*/ color:rgb(128, 150, 161); margin-bottom:1rem; }
.logo-carousel { display:flex; gap:2rem; margin-top: 4rem; animation: scroll-logos 25s linear infinite; align-items:center; }
.logo-carousel:hover { animation-play-state: paused; }
.logo-item { flex:0 0 auto; background:rgb(128, 150, 161); border-radius:50%; padding:6px; display:flex; align-items:center; justify-content:center; transition: transform .4s ease, box-shadow .4s ease; }
.logo-item img { max-height:125px; filter:none; opacity: 1; transition: scale(1.06); border-radius:50%; }
.logo-item:hover { transform:scale(1.3) rotate(-5deg); box-shadow:0 10px 25px rgba(255,255,255,0.3); }
.logo-item:hover img { filter:grayscale(0); opacity:1; }
@keyframes scroll-logos { 0%{ transform:translateX(0);} 100%{ transform:translateX(-50%);} }

@media (max-width:768px){
  .logo-item img{ max-height:50px }
  .logo-carousel{ gap:1rem }
}

/* ------------------------------
Footer - FULL WIDTH FIXED
------------------------------ */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #2a3c73;
  /*background-size: contain;*/
}
footer { 
  /*background-color:#fff; */
  color:rgb(128, 150, 161); 
  font-size:0.95rem; 
  padding-top:3rem; 
  padding-bottom:3rem; 
  width: 100%;
  left:0; 
  right:0; 
  /*box-shadow: 0 -4px 10px rgba(42, 60, 115, 0.6);*/
}

footer .container { max-width:1200px; margin:auto; }
footer .contact-center i{ margin-right:6px; font-size:1rem; }
footer ul li a{ color:#808080 !important; text-decoration:none; transition: color .22s; }
footer ul li a:hover{ color:#47669a; }
footer .social-icon {
  display:inline-flex; align-items:center; justify-content:center; width:35px; height:35px; background:#fff; border-radius:50%;
  border:1px solid #808080 !important; color:#808080 !important; transition: all .28s ease;
}
.list-unstyled{
  color: #808080 !important;
}
footer .social-icon:hover { background:#808080; color:#fff !important; transform:scale(1.08); box-shadow:0 5px 15px rgba(42,60,115,0.25); }
footer .social-icon i { font-size:1rem; transition: transform .28s; }
footer .social-icon:hover i { transform: scale(1.15); }
hr{
  color: #808080 !important;
}
.f-com{
  color: #808080 !important;
}
.f-pg a{
  color: #808080 !important;
}
footer {
  /*background : url('images/pattern.jpg') center repeat !important;
  background-size: 650px auto !important;*/
}
/* Footer Image Style */
.footer-image-container {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-menu-img {
  width: 100%;
  max-width: 230px; /* Adjust for desired image size */
  height: auto;
  border-radius: 6px;
  /*box-shadow: 0 0 12px rgba(42, 60, 115, 0.25);*/
  transition: transform .3s ease, box-shadow .3s ease;
}

.footer-menu-img:hover {
  transform: scale(1.03);
  /*box-shadow: 0 0 20px rgba(42, 60, 115, 0.4);*/
}

@media (max-width: 768px) {
  .footer-image-container {
    justify-content: center;
    margin-bottom: 1rem;
  }

  .footer-menu-img {
    max-width: 160px;
  }
}



.text-muted{
    color: #2a3c73 !important;
}
.text-dark{
    color: #2a3c73 !important;
}
.bg-light{
    background: #fff !important;
}
/* ------------------------------
Motion / Reveal animations (global)
------------------------------ */
.fade-in { opacity:0; transform:translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.visible{ opacity:1; transform:translateY(0); }
.zoom-in { opacity:0; transform:scale(.92); transition: opacity .8s ease, transform .8s ease; }
.zoom-in.visible{ opacity:1; transform:scale(1); }
.slide-left { opacity:0; transform:translateX(-40px); transition: opacity .8s ease, transform .8s ease; }
.slide-left.visible{ opacity:1; transform:translateX(0); }
.slide-right { opacity:0; transform:translateX(40px); transition: opacity .8s ease, transform .8s ease; }
.slide-right.visible{ opacity:1; transform:translateX(0); }
.stagger-container { opacity:0; transform:translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.stagger-container.visible{ opacity:1; transform:translateY(0); }

/* ------------------------------
About page — scoped + alignment + uniform images
------------------------------ */
/* --- About Page Hero --- */
/* --- About Page Hero --- */
.about-page-hero {
  padding-top: 150px;
  padding-bottom: 4rem;
  background: #fff;
}

.about-page-hero .about-label {
  text-transform: uppercase;
  color: #47669a;
  font-size: 14px;
  font-weight: 600;
}

.about-page-hero .about-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #2a3c73;
  margin-top: 0.25rem;
}

.about-page-hero .about-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
}

/* --- Main About Content --- */
.about-main {
  background-attachment: fixed;
  color: #2a3c73;
}

/* --- Center Photo Section --- */
.about-center-photo {
  padding: 1.25rem 0;
  position: relative;
  overflow: hidden;
}

.center-photo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.center-photo {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  object-fit: cover;
  border: 6px solid #1e3a8a;
  border-radius: 0.75rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
  margin: 0 auto;
}

.center-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

/* Large screens */
@media (min-width: 1200px) { .center-photo { max-width: 850px; } }
/* Tablets */
@media (max-width: 991px) { .center-photo { max-width: 640px; } }
/* Mobile */
@media (max-width: 576px) {
  .center-photo { max-width: 95%; border-width: 4px; }
  .about-center-photo { padding-left: 0.75rem; padding-right: 0.75rem; }
}

/* --- About Section Layout --- */
.about-section,
.about-full,
.mission-vision-section,
.owner-message-section {
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}

.about-section .container {
  margin: 0 !important;
  padding: 0 !important;
}

.about-section .col-lg-6 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Image Containers */
.about-images-container {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 360px;
  margin: 0 auto 6rem auto;
}

.about-images-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
}

.about-images-container img.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  z-index: 2;
}

/* Text Styling */
.about-section h2.about-title {
  color: rgb(128, 150, 161) !important;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem; /* add space after underline */
}

/* Small underline for title */
.about-section h2.about-title::after {
  content: "";
  background: #2a3c73;
  height: 3px;
  width: 40px; /* subtle short underline */
  position: absolute;
  bottom: -10px;
  left: 0;
  border-radius: 5px;
}

/* Paragraph text */
.about-section p.about-text {
  width: 75%;
  color: #808080 !important;
  margin-top: 1rem; /* space between underline and paragraph */
  margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) { .about-section p.about-text { width: 75%; } }
@media (max-width: 992px) {
  .about-section { flex-direction: column; gap: 2.5rem; text-align: center; padding: 3rem 1rem; }
  .about-images-container { max-width: 380px; height: 280px; margin-bottom: 2rem !important; }
  .about-section h2.about-title { font-size: 1.9rem; text-align: center; }
  .about-section h2.about-title::after { left: 50%; transform: translateX(-50%); width: 40px; }
  .about-section h6.about-label { font-size: 13px; }
  .about-section p.about-text { font-size: 1rem; width: 90%; margin: 1rem auto 1.5rem auto; }
}

/* --- Image Start Section --- */
.about-section.image-start .container {
  max-width: 1300px;
  padding-left: 0 !important;
  padding-right: 3rem !important;
}

.about-section.image-start .row { align-items: center; margin: 0 !important; }

.about-section.image-start .about-images {
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

.about-section.image-start .about-images-container {
  display: flex;
  justify-content: flex-start;
  margin: 0;
  width: 100%;
}

.about-section.image-start .col-lg-6:last-child {
  padding-left: 5rem !important;
  padding-right: 1rem;
}

/* --- Image End Section --- */
.about-section.image-end .container {
  max-width: 1200px;
  padding-right: 0 !important;
}

.about-section.image-end .row { margin-right: 0 !important; }

.about-section.image-end .about-images {
  padding-right: 0 !important;
  margin-right: 0 !important;
  overflow: hidden;
}

.about-section.image-end .about-images-container {
  margin: 0 !important;
  width: 100%;
  justify-content: flex-end;
  display: flex;
}

.about-section.image-end .col-lg-6:first-child { padding-right: 2rem; }

/* --- Full Text Section --- */
.about-full-text {
  padding: 3rem 0;
  background:#f7f9fc;
  color:#333;
  font-size:1.05rem;
  line-height:1.85;
}

.page-content-offset { padding-top: 130px; }

/* --- Mission & Vision Section --- */
.mission-vision-section {
  position: relative;
  background-color: #000 !important;
  overflow: hidden;
  color: #fff;
}

.section-titles {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-titles::after {
  content: "";
  background: #fff;
  width: 66px;
  height: 3px;
  position: absolute;
  bottom: -10px;
  left: 0;
  border-radius: 5px;
}

.mission-text {
  max-width: 70%;
  line-height: 1.8;
  font-size: 1rem;
}

.mission-image-container {
  position: relative;
  display: inline-block;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.6s ease;
}

.mission-image-container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle at center,
              rgba(255, 255, 255, 0.45),
              rgba(255, 255, 255, 0.1) 60%,
              transparent 100%);
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.mission-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  transition: transform 0.5s ease;
}

.mission-image-container:hover {
  transform: translateY(-8px);
}

.mission-image-container:hover::before { opacity: 0.8; }
.mission-image-container:hover .mission-image { transform: scale(1.05); }

/* Fade-in Animation */
.fade-in { opacity: 0; transform: translateY(25px); animation: fadeInUp 0.8s ease forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* --- Owner Section --- */
.owner-section { padding: 80px 20px; }
.owner-container { max-width: 1200px; margin: 0 auto; padding: 0 8%; text-align: left; }
.owner-title { font-size: 2.2rem; font-weight: 700; color: rgb(128, 150, 161) !important; margin-bottom: 0.4rem; }
.title-underline { width: 70px; height: 4px; background-color: rgb(128, 150, 161); margin-bottom: 2rem; }
.owner-info { display: flex; align-items: center; gap: 25px; margin-bottom: 50px; }
.owner-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid rgb(128, 150, 161); }
.owner-details { display: flex; flex-direction: column; justify-content: center; }
.owner-name-en, .owner-name-ar { margin: 0; color: rgb(128, 150, 161) !important; font-size: 1.3rem; font-weight: 600; }
.owner-name-ar { direction: rtl; color: #000 !important; margin-top: 0.3rem; }
.owner-designation { color: #808080; font-size: 1rem; margin-top: 0.4rem; }
.owner-messages { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-top: 30px; }
.message-card { flex: 1 1 48%; max-width: 48%; }
.message-en { text-align: left; }
.message-ar { text-align: right; }
.quote-text { font-size: 1.1rem; line-height: 1.8; color: #808080; background: #f9f9f9; padding: 25px 30px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }

@media (max-width: 992px) { .owner-container { padding: 0 5%; } }
@media (max-width: 768px) {
  .owner-info { flex-direction: column; align-items: flex-start; }
  .owner-photo { width: 100px; height: 100px; }
  .owner-messages { flex-direction: column; gap: 20px; }
  .message-card { max-width: 100%; }
  .message-en, .message-ar { text-align: center; }
}




/**-----------
projects page
-------------*/
/* Layout */
.projects-wrapper {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

/* Header & Title spacing */
.projects-header {
  padding: 100px 5% 60px 5%;
  text-align: left;
}

.projects-header h2 {
  font-weight: 700;
  font-size: 2rem;
  position: relative;
  display: inline-block;
  color: rgb(128, 150, 161) !important;
}

/* Underline fix */
.projects-header .underline {
  display: block;
  height: 3px;
  width: 80px; /* fixed short underline */
  background: #2a3c73;
  margin-top: 10px;
  border-radius: 10px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Each Project Card */
.project {
  position: relative;
  overflow: hidden;
  height: 270px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease;
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

/* Appear effect */
.project.show {
  transform: translateY(0);
  opacity: 1;
}

/* Big / small projects (alternate rows) */
.project.large {
  grid-column: span 2;
}

.project.small {
  grid-column: span 1;
}

.project a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
}

/* Image fix */
.project img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover Zoom */
.project:hover img {
  transform: scale(1.05);
}

/* Overlay info */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  transition: all 0.3s ease;
  z-index: 2;
}

.overlay h6 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

/* Circle arrow */
.arrow-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 3;
}
.arrow-circle i {
  font-size: 1.2rem;
  color: #fff;
  transition: transform 0.3s ease;
}


.project:hover .arrow-circle {
  background: #2a3c73;
  border-color: #2a3c73;
}

.project:hover .arrow-circle i {
  transform: rotate(45deg);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 50px 0 80px 0;
}

.pagination .page {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: #f0f0f0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination .page.active {
  background: #2a3c73;
  color: #fff;
}

.pagination .page:hover {
  background: #2a3c73;
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project.large,
  .project.small {
    grid-column: span 2;
    height: 200px;
  }

  .projects-header {
    padding: 80px 5% 40px 5%;
  }
}

@media (max-width: 576px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project {
    height: 170px;
  }

  .overlay {
    padding: 12px;
  }

  .arrow-circle {
    width: 38px;
    height: 38px;
  }
}







