/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* WPML Language Selector */
.wpml-ls .wpml-ls-link {
  font-family: 'halcom';
  font-weight: 400;
  font-size: 18px;
  color: #010101;
}

/* Mobile */
@media (max-width: 550px) {
  .wpml-ls .wpml-ls-link {
    font-size: 14px;
  }
}




.sec-bg .section-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(5, 11, 25, 0.94) 0%,
        rgba(5, 18, 30, 0.80) 14%,
        rgba(3, 64, 60, 0) 63%,
        rgba(3, 64, 60, 0.60) 97%
    );
    z-index: 1;
}

.header-main .nav > li > a {
	
	font-size: 18px;
}

.nav>li>a {
	
	color: #010101 !important;
}

.nav>li>a:hover {
	
	color: #010101 !important;
}

/* Spacing between menu items */
.header-nav-main li {
    margin: 0 35px;
}

/* Floating Header Container - Responsive */
.header-wrapper {
    max-width: 1650px;
    width: calc(100% - 6%);
    margin: 20px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Ensure the header background is white/solid */
.header-main {
    background-color: #fff;
}

/* Remove default full-width background */
.header-bg-container {
    display: none;
}

/* IMPORTANT: Remove max-width constraint on large screens */
.header-inner.container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 40px;
    padding-right: 40px;
}

/* Fix inner layout - three column distribution */
.header-inner.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo - fixed width on left */
#logo {
    flex: 0 0 auto;
}

/* Center navigation - true center */
.header-inner > .flex-col.flex-left.flex-grow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: 0 0 auto;
}

.header-nav-main.nav-left {
    justify-content: center;
}

/* Right side - language switcher */
.header-inner > .flex-col.flex-right {
    flex: 0 0 auto;
}

/* Sticky header adjustment */
.header.stuck .header-wrapper {
    margin-top: 10px;
}

/* Mobile adjustments */
@media (max-width: 849px) {
    .header-wrapper {
        width: auto !important;
        margin: 20px 5% 0 5% !important;
    }
    
    .header-inner.container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .header-inner > .flex-col.flex-left.flex-grow {
        position: static;
        transform: none;
    }
    
    /* Reduce logo container size on mobile */
    #logo {
        max-width: 230px !important;
    }
}

/* Sticky header - full width */
.stuck .header-wrapper,
.header-wrapper.stuck {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Constrain inner content in sticky header */
.stuck .header-inner.container,
.header-wrapper.stuck .header-inner.container {
    max-width: 1650px !important;
    margin: 0 auto !important;
}

.hero-heading h1,
.hero-heading h2,
.hero-heading h3,
.hero-heading h4,
.hero-heading h5,
.hero-heading h6 {
    line-height: 1.1 !important;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 20px 45px;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 38px;
  letter-spacing: 0px;
  color: #203365;
  margin: 0 0 15px 0;
}

.stat-item p {
  font-family: 'halcom', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  color: #33393A;
  margin: 0;
}

@media (max-width: 768px) {
  .stats-row {
    flex-wrap: wrap;
  }
  
  .stat-item {
    flex: 1 1 45%;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .stat-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .stat-item {
    flex: 1 1 48%;
    padding: 20px 15px;
  }
  
  .stat-item:last-child {
    flex-grow: 0;
  }
  
  .stat-item h3 {
    font-size: 25px;
    line-height: 32px;
    margin: 0 0 12px 0;
  }
  
  .stat-item p {
    font-size: 14px;
    line-height: 20px;
  }
}

.img-rd-20 img {
	
	border-radius: 20px;
}

.col-wws > .col-inner {
  border: 1px solid #C6D8D7;
  border-radius: 20px;
  box-shadow: 0px 4px 4px 3px rgba(0, 0, 0, 0.02);
}

/* =============================================
   TEAM GRID
   ============================================= */
.otm-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.otm-team-member {
    display: flex;
    flex-direction: column;
}

.otm-team-card {
    cursor: pointer;
}

.otm-team-photo-wrapper {
    border-radius: 8px;
    border: 1px solid rgba(198, 216, 215, 0.6);
    box-shadow: 0 4px 4px 4px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-bottom: 20px;
}

.otm-team-photo {
    display: block;
    width: 100%;
    height: auto;
}

.otm-team-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.otm-team-name {
    margin: 0;
    color: #010101;
    transition: color 0.3s ease;
    font-family: 'halcom';
    font-size: 24px;
    font-weight: 600;
}

.otm-team-member.is-active .otm-team-name {
    color: #203365;
}

.otm-team-arrow {
    width: 15px;
    height: auto;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.otm-team-member.is-active .otm-team-arrow {
    transform: rotate(45deg);
}

.otm-team-position {
    margin: 15px 0 0 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #B3BACD;
    color: #33393A;
    transition: color 0.3s ease, border-color 0.3s ease;
    font-family: 'halcom';
    font-size: 16px;
    font-weight: 500;
}

.otm-team-member.is-active .otm-team-position {
    color: #203365;
    border-bottom-color: #203365;
}

/* Hidden bio content (source for JS) */
.otm-team-bio-content[hidden] {
    display: none;
}

/* =============================================
   FULL-WIDTH BIO ROW
   ============================================= */
.otm-team-bio-row {
    grid-column: 1 / -1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    order: 999; /* Default to end, JS will adjust */
}

.otm-team-bio-row.is-open {
    /* max-height set by JS */
}

.otm-team-bio-row-inner {
    padding: 10px 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .otm-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .otm-team-grid {
        grid-template-columns: 1fr;
    }
}

.cust-btn {
    display: inline-block;
    padding: 5px 45px;
    border: 1px solid #203365;
    border-radius: 10px;
    background: transparent;
    color: #1e3a5f;
    font-size: 16px;
    font-family: 'halcom';
	font-weight: 400;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.cust-btn:hover {
    background: #203365;
    color: #ffffff;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .cust-btn {
        padding: 5px 20px;
        font-size: 14px;
    }
}

/* Info Boxes Grid */
.info-boxes-grid-wrapper {
    padding: 0;
}

.info-boxes-title {
    font-size: 22px;
    font-family: 'halcom';
    font-weight: 400;
    color: #33393A;
    margin: 0 0 30px 0;
    text-align: center;
}

.info-boxes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Individual Cards */
.info-box-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    cursor: default;
    border: 1px solid rgba(198, 216, 215, 0.6);
    box-shadow: 0px 4px 4px 4px rgba(0, 0, 0, 0.02);
}

.info-box-card:hover {
    background: #203365;
}

/* Icon Container */
.info-box-icon {
    margin-bottom: 20px;
}

.info-box-icon img {
    width: 70px;
    height: auto;
    display: block;
}

.info-box-icon .icon-default {
    display: block;
}

.info-box-icon .icon-hover {
    display: none;
}

.info-box-card:hover .icon-default {
    display: none;
}

.info-box-card:hover .icon-hover {
    display: block;
}

/* Card Title */
.info-box-card-title {
    font-size: 20px;
    font-family: 'halcom';
    font-weight: 600;
    line-height: 1.35;
    color: #010101;
    margin: 0 0 15px 0;
    transition: color 0.3s ease;
}


.info-box-card:hover .info-box-card-title {
    color: #ffffff;
}

/* Card Description */
.info-box-card-desc {
    font-size: 16px;
    font-family: 'halcom';
    line-height: 1.6;
    color: #33393A;
    margin: 0;
    transition: color 0.3s ease;
}

.info-box-card:hover .info-box-card-desc {
    color: #ffffff;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .info-boxes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive - Mobile */
@media (max-width: 575px) {
    .info-boxes-title {
        font-size: 20px;
        text-align: center;
    }
    
    .info-boxes-grid {
        grid-template-columns: 1fr;
    }
}