@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,900;1,700&display=swap");

/* CSS Variables */
:root {
  --glass: rgba(61, 12, 61, 0.4);
  --gold: #d4af37; /
  --text: #ffffff;
  --bg-deep: #0F0026;
  --bg-accent: #3D0C3D;
  --text-main: #ffffff;
  --text-dim: #b3a1c7;
  --primary-accent: #ff00ff; 
  --hover-color: #00d4ff;   
  --card-bg: rgba(61, 12, 61, 0.3);
  --normal-font: 400;
  --bold-font: 600;
  --bolder-font: 900;
  --primary-color: #0652dd;
  --secondary-color: #ea2027;
  --line-height: 1.7rem;
  --transition: 0.4s ease-in;
  --badge-size: 36px;
  --badge-radius: calc(var(--badge-size) / 2);
  --badge-offset: 10px;
  --border-radius: 8px;
  --background-horizontal: linear-gradient(to right, #6a0dad, #d4af37);
  --background-vertical: linear-gradient(to bottom, #6a0dad, #d4af37);
  --background-diagonal: linear-gradient(45deg, #6a0dad, #d4af37);
  --background-diagonal-purple: linear-gradient(45deg, #6a0dad,#aa7ae9f2);
  --background-radial: radial-gradient(circle, #6a0dad, #d4af37);
  --background-radial-center: radial-gradient(
    circle at top left,
    #d4af37,
    #6a0dad,
    #2e004f
  );
  --background-transition: linear-gradient(to bottom,rgba(106, 13, 173, 0.95),rgba(170, 122, 233, 0.95));
  --background-from-white: linear-gradient(to bottom,rgba(255, 255, 255, 0.95),rgba(155, 99, 228, 0.95),rgba(106, 13, 173, 0.95));
  --background-to-white: linear-gradient(to bottom,rgba(106, 13, 173, 0.95),rgba(155, 99, 228, 0.95),rgba(255, 255, 255, 0.95));
  --section-black: #2b2b2b;
  --section-grey: #DDD;
  --section-darkblue: #010042;
  --background-gold-shimmer: linear-gradient(
    45deg,
    #d4af37, /* rich gold */
    #b8860b, /* deep gold */
    #f5c518, /* bright highlight */
    #b8860b, 
    #d4af37
  );
  --background-purple-shimmer: linear-gradient(45deg,
    #2e003e,      /* dark purple */
    #7a00ff,      /* bright purple highlight */
    #2e003e,
    #7a00ff,
    #2e003e);
  --background-multiple-color: linear-gradient(
    to right,
    #6a0dad,   
    #d4af37,   
    #000000    
  );
  --text-shimmer: linear-gradient(
    90deg,
    #b8860b,
    #ffd700,
    #ffd700,
    #b8860b
  );
  --background-gold-horizontal: linear-gradient(to right, #f7e7b7, #d4af37, #6a0dad);
  --background-gold-vertical: linear-gradient(to bottom, #f7e7b7, #d4af37, #6a0dad);
  --background-gold-diagonal: linear-gradient(45deg, #f7e7b7, #d4af37, #6a0dad);
  --background-gold-radial: radial-gradient(circle, #f7e7b7, #d4af37, #6a0dad);
  --background-gold-diagonal90: linear-gradient(90deg, #d4af37, #6a0dad, #d4af37);
  --background-purple-color: linear-gradient(
    120deg,
    #2b003f 0%,    /* deep dark purple */
    #5c00b3 30%,   /* vibrant purple */
    #9f4dff 60%,   /* bright fancy purple highlight */
    #7b00d0 85%,   /* rich purple */
    #2b003f 100%   
  );
}

.gold-shimmer {
  background: var(--background-gold-shimmer);
  background-size: 300% 300%;
  animation: goldShimmer 8s ease-in-out infinite;
}
@keyframes goldShimmer {
  0% { background-position: 0% 50%; filter: brightness(1); }
  50% { background-position: 100% 50%; filter: brightness(1.2); }
  100% { background-position: 0% 50%; filter: brightness(1); }
}

.purple-shimmer {
  background: var(--background-purple-shimmer);
  background-size: 300% 300%;
  animation: goldShimmer 8s ease-in-out infinite;
}

@keyframes purpleShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.multiple-color-gradient {
  background: var(--background-multiple-color);
}

.gradient-text {
  background: var(--background-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-text-shimmer {
  background: var(--text-shimmer);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  animation: shimmerText 8s linear infinite;
}
@keyframes shimmerText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.icon-6 {
  font-size: 80px;
  color: #fff;
}

.icon-6:hover {
    color: #ffd700;            
}

.royal-glow {
  background: var(--background-radial-center);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #0F0026, #3D0C3D);
  overflow-x: hidden;
  color: var(--text-main);
}

/* Sticky header */
#main-header {
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 2000;       
  background: linear-gradient(135deg, #0F0026, #3D0C3D);
  padding: 20px 0;
  transition: all 0.4s ease;
}

#main-header.sticky {
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
}

/* Scroll-Up Button */
#scroll-up {
  position: fixed;
  bottom: 25px;
  right: 25px;
  border-radius: 50%;
  border: 1px solid #620a99;
  font-size: 22px;
  padding: 12px 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  background-color: #ffffff;
  color: #620a99;
  display: flex;
  height: 45px;
  width: 45px;
  justify-content: center;
}

#scroll-up img {
  height: auto;
  width: auto;
}

/* visible state */
#scroll-up.show {
  opacity: 1;
  pointer-events: auto;
}

/* Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: var(--transition);
}

.nav-menu ul li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  color: var(--secondary-color);
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-custom {
  margin-bottom: 40px; 
}

/* Dark theme starts*/
body.dark {
  background-color: #1e272e;
}

body.dark .bar {
  background-color: #fff;
}

body.dark p {
  color: #fff;
}

body.dark h3 {
  color: #fff;
}

body.dark nav {
  background-color: #1e272e;
  box-shadow: 2px 3px 2px #111010;
}

body.dark ul {
  background-color: #1e272e;
}

body.dark .name {
  color: var(--primary-color);
}

body.dark .role {
  color: var(--secondary-color);
}

body.dark footer {
  color: #fff;
  border-top: 1px solid #111010;
  box-shadow: 0px -2px 3px #111010;
}

.bg-t-black {
  background-color: var(--section-black);
}

.bg-t-purple {
  /* background-color: (--section-purple); */
  background: var(--background-transition);
  transition: background 0.3s ease-in-out;
}
/* Dark theme ends */

/* Navbar starts */
.navbar {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 0.5rem; 
}

.navbar ul {
  display: flex;
  gap: 1rem; 
  padding-right: 2rem; 
  margin: 0;
}

nav {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  font-size: 2rem;
  font-weight: 500;
}

.desktop-logo {
  max-width: 150px;  
  height: auto;     
  display: block;   
}

.mobile-logo {
  max-width: 100px;  
  height: auto;     
  display: block;   
}

.nav-item {
  color: #E0B3FF;
  text-shadow: 0 0 10px #B84DFF, 0 0 20px #7F00FF;
  margin-left: 2rem;
}

.hamburger {
  display: none;
}

.bar {
  background-color: #a7a2a2;
  display: block;
  width: 30px;
  height: 4px;
  margin: 6px auto;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--background-gold-shimmer);
  transition: width 0.3s ease;
}

.nav-link:hover::after, 
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  /* color: #BE8B12; */
  font-weight: 600;
  border-bottom: 2px solid #BE8B12; 
  background: var(--text-shimmer);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  animation: shimmerText 8s linear infinite;
}
@keyframes shimmerText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* --- Mobile Menu Styles --- */
@media (max-width: 991px) {

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0; 
    width: 100%; 
    height: 100vh; 
    /* background: #0F0026;  */
    background: linear-gradient(135deg, #0F0026 0%, #3D0C3D 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; 
    visibility: hidden;
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-menu ul {
    position: fixed;
    top: 5rem;
    left: 100%;
    width: 100%;
    flex-direction: column;
    text-align: center;
    transition: left 0.3s ease;
    z-index: 1000;
  }
  
  .nav-menu ul.active {
    left: 0;
  }

  #hamburger {
    z-index: 10000; 
    position: relative;
    display: block;
    cursor: pointer;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

}

.header-title {
  text-align: center;
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 50px;
}



/* Services Section */ 
/* OLD FUNCTION */
.trust-title {
  text-align: center;
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 50px;
}

.trust-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 45px 0;
}

.trust-infinite-slider {
  overflow-x: hidden;  /* hide scroll */
  position: relative;
  z-index: 1;
}

.trust-track {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 35px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  font-size: 36px;
  background: rgba(255,255,255,.9);
  border: none;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 999;       
  pointer-events: auto;
}

.left { left: 5px; }
.right { right: 5px; }

.hexagon {
  width: 160px;
  height: 90px;
  background: #5a028a;
  position: relative;
  margin: 50px auto 60px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform .3s ease;
}

.hexagon:hover {
  transform: scale(1.12);     
}

.hexagon::before,
.hexagon::after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
}

.hexagon::before {
  bottom: 100%;
  border-bottom: 45px solid #5a028a;
}

.hexagon::after {
  top: 100%;
  border-top: 45px solid #5a028a;
}

.hexagon img {
  width: 60px;
  filter: brightness(0) invert(1);
}

.trust-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.trust-info {
  text-align: center; 
}

.trust-info ul {
  display: inline-block; 
  text-align: left; 
  padding-left: 0; 
  color: #ffffff;
}

.trust-info li {
  list-style-position: inside; 
}





/* Leadership */
.leadership-section {
  /* background: #5a37db; */
  /* background: var(--background-diagonal); */
  background: #f5e9ff;
  padding: 100px 7%;
  color: #5a028a;
  margin-bottom: 50px;
}

.leadership-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.leadership-text {
  flex: 1;
  order: 1;
  text-align: justify;
}

.leadership-profile {
  flex: 1 !important;
  order: 2;
  text-align: center;
  border-color: #5a028a;
}

.leadership-subtitle {
  letter-spacing: 4px;
  color: #f1cc28;
  font-size: 20px;
}

.leadership-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.leadership-description {
  font-size: 20px;
  line-height: 1.7;
  max-width: 650px;
}

.leadership-btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  border: 2px solid #fff;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  margin-top: 10px;
}

.leadership-btn:hover {
  color: #ffffff;
  background-color: #f3d449;
}

.profile-image-wrapper {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: #ffffff;
  overflow: hidden;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image-wrapper img {
  width: 100%;
  height: auto;
}

.leadership-name {
  margin-top: 25px;
  font-weight: 700;
}

.leadership-position {
  opacity: 0.9;
}
/* Leadership */

/* Company About */
/* About section start*/

/* About section ends */



/* Contact Us */
.contact-us-page {
  position: relative;
  background: url("../images/contact-us.png") no-repeat center center/cover;
  /* background: var( --background-gold-diagonal); */
  background-size: 100% 150%;
  animation: metallicPulse 8s ease-in-out infinite;
  height: 400px;
  margin: 2rem 0;
  font-size: 60px !important;
  background-position: center; 
  transition: background-position 0.1s ease-out;
}
@keyframes metallicPulse {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.25); }
    100% { filter: brightness(1); }
}

.contact-us-page-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
  /* background-color: #ffffffBF; */
  font-size: 60px;
}



.info-section {
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  /* background: var(--background-gold-shimmer); */
}

.card {
  background: #fff;
  color: #0e2146;
  flex: 1;
  padding: 20px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.card i {
  display: block;
  font-size: 2.5rem;      /* icon size */
  color: #5a028a;         /* icon color */
  margin: 0 auto 12px;
  display: inline-block;
}

.card .icon {
  display: block;         
  margin: 0 auto 12px;    
  stroke: #007bff;
  stroke-width: 1.5;
  width: 36px;
  height: 36px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 600;
}

.card a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.map-container {
  margin: 40px auto;     /* space outside */
  padding: 20px;         /* space inside the box */
  height: 500px;
  box-sizing: border-box; /* keeps padding inside height */
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 2px solid #f3d449;
  border-radius: 25px;
}

/* Subscription form starts */
.header-style {
  font-weight:600;
  font-size: 34px;  
}

.signup-text {
  color: #ffffff;
}

.btn.submit-text {
  background-color: #cdaaff;
  color: #ffffff;
}

.btn-purple-gold {
  background: var(--background-radial-center);
  border: none;
  color: #fff;
  transition: 0.3s ease;
}

.btn-purple-gold:hover {
  background: linear-gradient(90deg, #4e087f, #b08a2f);
  color: white;
}

.btn.rounded-pill {
  border-width: 2px; 
}

.btn-contact-us {
  border: 2px solid #fff;
  color: #fff;
  padding: 0.75rem 1.5rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-contact-us:hover {
  color: #4e087f;
  border-color: #4e087f;
}

/* .btn.submit-btn:hover {
  background-color: #f3d449;
} */

.sub {
  margin-top: 2rem;
  height: 10vh;
}

.sub h3 {
  text-align: center;
}

form {
  text-align: center;
  margin: 0.4rem 2rem;
}

.email-sub {
  padding: 0.2rem;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
}

.email-sub:focus {
  border: 1px solid var(--secondary-color);
  outline: none;
}
/* Subscription form ends */

/* Footer */
footer {
  border-top: 1px solid #f1f1f1;
  box-shadow: 0px -2px 3px #f1f1f1;
  text-align: center;
  padding: 2rem;
}

form label {
  text-align: left !important;
  display: block;
}

/* Scroll to top button starts */
.scroll-up {
  position: fixed;
  right: 0.5%;
  bottom: 3%;
  cursor: pointer;
}

.up-arrow {
  width: 3rem;
  height: 3rem;
}
/* Scroll to top button ends */

/* corporate profile */
.profile {
  width: 100%;
  height: 750px;
  align-items: center;
  justify-content: center;
}

.profile-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* min-height: 500px; */
  gap: 2rem; /* optional spacing between items */
  flex-wrap: wrap; /* allows items to wrap to next line */
}

@media (max-width: 768px) {
  .profile-container {
    flex-direction: column; /* stack vertically */
    align-items: center;    /* center items horizontally */
  }
}

.profile-div {
  flex: 1;
  padding: 50px;
  color: #5a028a;    
}

.profile-content {
  font-size: 25px;
  line-height: 1.5;
  margin-bottom: 2.0rem;
  text-align: justify;
}

.profile-image {
  flex: 1;
  height: 80%;
}

.profile-image img {
  width: 90%;
  height: 100%;
  object-fit: cover;
}

/* Vision & Mision */


/* Mobile responsiveness */
@media(max-width:768px){
  
}





/* Subsidiaries */
.page-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #fff;
}

.tab-button-container {
  display: flex;
  justify-content: center; 
  gap: 10px; 
  padding: 20px;
}

.tabs {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.tab-list {
  display: flex;
  justify-content: center;  
  border-bottom: 2px solid #3817c9;
  margin-bottom: 24px;
  overflow-x: auto;
}

.tab-list::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: none;
  padding: 12px 24px;
  cursor: pointer;
  color: #3817c9;
  font-weight: 600;
  border: none;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease;
  white-space: nowrap;
  user-select: none;
}

.tab:hover {
  background-color: #f0f5fb;
}

.tab.active {
  border-bottom-color: #3817c9;
  font-weight: 700;
}

.tab-content {
  max-width: 900px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel .content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.tab-panel img.logo {
  width: 180px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.tab-panel .text-content {
  flex: 1;
}

.tab-panel h2 {
  color: #3817c9;
  margin-top: 0;
}

.tab-panel p {
  line-height: 1.6;
  margin: 1em 0;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  font-weight: 600;
}
/* Subsidiaries */

/* our teams */
.our-teams {
  position: relative;
  background: url("../images/about_us.jpg") no-repeat center center/cover;
  /* background: var(--background-gold-diagonal); */
  overflow: hidden;
  height: 400px;
  margin: 2rem 0;
  font-size: 60px !important;
  background-position: center; 
  transition: background-position 0.1s ease-out;
}

.our-teams::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    /* background: linear-gradient(
        120deg,
        transparent,
        rgba(179, 209, 233, 0.507),
        transparent
    ); */
    /* animation: glossySwipe 3s ease-in-out infinite; */
}
@keyframes glossySwipe {
    0% { left: -150%; }
    50% { left: 100%; }
    100% { left: 150%; }
}

.our-teams-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
  /* background-color: #ffffffBF; */
  font-size: 60px;
}

.team-section {
  text-align: center;
  padding: 60px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.team-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
}

.member {
  text-align: center;
  cursor: pointer;
  width: 100%;
  max-width: 260px;
  padding: 20px 15px;
  background: #fff; /* card background */
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.member:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px auto;
  border: 10px groove #5a028a;
  background: #e5eefc;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member h3 {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 10px 0 5px 0;
  color: #003a70;
}

.member .role {
  font-size: 14px;
  line-height: 1.4;
  color: #444;
  margin-bottom: 5px;
}

.oldmodal {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;          
  justify-content: center;
  align-items: center;    
  padding: 20px;          
  box-sizing: border-box;
}

.oldmodal-content {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  transform: translateY(0);   
  opacity: 0;
  animation: oldmodalFade 1.5s ease forwards;
}

@keyframes oldmodalFade {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.close {
  position: absolute; 
  top: 20px;         
  right: 25px;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  margin-top: -10px;
  margin-right: -5px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.close:hover {
  transform: scale(1.2);
  color: #ff0000;
}

.oldmodal-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px groove #f1cc28;   /* Match your card border color */
  background: #e5eefc;
  margin: 10px auto 15px auto;
}

.bio {
  max-height: 200px;
  overflow-y: auto;
  padding: 12px;
  text-align: left;
  line-height: 1.6;
  font-size: 15px;
  color: #444;
  border-top: 1px solid #eee;
}
/* our teams */

@media screen and (max-width: 768px) {
  

  .header-title {
    font-size: 36px;
  }

  .btn {
    padding: 0.5rem;
    font-size: 1.0rem;
  }

  

  .header-style {
    font-weight:600;
    font-size: 28px;  
  }

  

  

  .trust-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 40px;
  }

  .leadership-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .leadership-text {
    order: 2; 
  }

  .leadership-profile {
    order: 1; 
  }

  .leadership-description {
    order: 3; 
  }

  .leadership-btn {
    order: 4; 
  }

  

  

  .profile-container {
    flex-direction: column;
  }

  .profile-div {
    max-width: 100%;         
  }

  .profile-content {
    font-size: 14px;
  }

  .profile-image {
    width: 80%;
    order: -1;              
  }

  .mission-wrapper {
    flex-direction: column;
    gap: 2.5rem;
  }

  .mission-column {
    width: 100%;
    gap: 24px;
  }

  .mission-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: unset;
    padding: 0.5rem 0;
  }

  .mission-item i {
    padding-top: 0;             /* remove desktop offset */
    margin-bottom: 10px;
    font-size: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  } 

  .info-section {
    flex-direction: column;
    padding: 20px 15px;
  }

  .card {
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
    padding: 15px 20px;
  }

  .card:last-child {
    margin-bottom: 0;
  }

  .map-container {
    height: 300px;
    margin-bottom: 20px;
  }

  .tab-list {
    flex-wrap: wrap;
    border-bottom: 1px solid #3817c9;
  }

  .tab {
    flex: 1 1 100%;
    text-align: center;
    border-bottom: 1px solid #ccc;
    border-left: none;
    border-right: none;
    border-top: none;
    font-size: 1rem;
  }

  .tab.active {
    border-bottom-color: #3817c9;
    background-color: #f0f5fb;
  }

  .tab-panel .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .tab-panel img.logo {
    width: 120px;
    margin: 0 auto;
  }

  .contact-info {
    flex-direction: column;
    gap: 12px;
    font-weight: 600;
  }

  .team-section {
    padding: 40px 20px;
  }

  .photo {
    width: 160px;
    height: 160px;
  }

  .member h3 {
    font-size: 15px;
  }

  .member .role {
    font-size: 13px;
  }

  .contact-us-page-title, .our-teams-title {
    font-size: 40px;
  }
}

@media screen and (max-width: 420px) {
  .header-style {
    font-weight:600;
    font-size: 24px;  
  }

  .team-section h2 {
    font-size: 26px;
    margin-bottom: 35px;
  }

  .oldmodal-content {
    max-width: 95%;
    padding: 22px;
  }

  .oldmodal-img {
    width: 120px;
    height: 120px;
  }

  .bio {
    max-height: 160px;
  }

  .photo {
    width: 140px;
    height: 140px;
  }

  .member h3 {
    font-size: 15px;
  }

  .member .role {
    font-size: 13px;
  }

  .contact-us-page-title, .our-teams-title, .header-title {
    font-size: 28px;
  }

  

  .group-title {
    font-size: 20px !important;
    padding: 6px 12px !important;
  }

  .group-desc {
    font-size: 13px !important;
  }
}



@media (max-width: 991px) {
  .header-style {
    font-weight:600;
    font-size: 28px;  
  }
}
