/* @import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap'); */

body {
    font-family: 'Segoe UI', sans-serif;
}

/* Global H1 styling - More specific to override Bootstrap */
h1, h1.fw-bold, .container h1, section h1, .col-lg-5 h1, .col-lg-6 h1 {
    font-family: 'Times New Roman', serif !important;
    font-weight: 600 !important;
}

/* Even more specific selectors to override Bootstrap */
body h1, 
.container h1, 
.row h1, 
.col-lg-5 h1, 
.col-lg-6 h1, 
.text-center h1, 
.text-lg-start h1 {
    font-family: 'Times New Roman', serif !important;
    font-weight: 600 !important;
}

/* Navbar */
/* .navbar {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.navbar-toggler {
    border: none;
    background-color: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav {
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: #2c3e50;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #09bfde;
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 20px);
    height: 3px;
    background-color: #09bfde;
    border-radius: 1px;
}

.nav-link.active {
    color: #09bfde !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 20px);
    height: 3px;
    background-color: #09bfde;
    border-radius: 1px;
}

.work-btn {
    background-color: #09bfde;
    color: white;
    font-weight: 600;
    white-space: nowrap;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.work-btn:hover {
    background-color: #0c3a47;
    color: white;
    transform: translateY(-1px);
}

/* Logo styling */
/* .navbar-brand {
    font-weight: 700;
    color: #2c3e50;
    font-size: 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand:hover {
    color: #2c3e50;
    text-decoration: none;
} */ */

.logo-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #09bfde 0%, #09bfde 100%);
    color: white;
    border-radius: 6px;
    text-align: center;
    line-height: 32px;
    font-weight: 700;
    font-size: 18px;
}

.logo-text {
    color: #2c3e50;
    font-weight: 700;
    font-size: 24px;
}

.logo-text sup {
    font-size: 12px;
    color: #666;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        gap: 1.5rem;
        margin-top: 1rem;
    }
    
    .navbar {
        padding: 1rem 1.5rem;
    }
}

.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-icon {
    width: 60px;
    height: 60px;
}


/* Fix specific SVG icon display issues - only for investment section icons */
img[src*="icon_saas.svg"],
img[src*="subscription.svg"],
img[src*="icon_content.svg"] {
    width: auto !important;
    height: auto !important;
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: 80px !important;
    max-height: 80px !important;
}

/* Home page image styling */
img[src*="home.png"] {
    max-width: 100%;
    height: auto;
    border-radius: 8px !important;
}

/* Hero section gradient background */
.hero-section {
    background: radial-gradient(ellipse at center, 
        /* rgba(5, 27, 81, 0.6) 0%,  */
        rgba(3, 13, 39, 0.8) 50%, 
        rgba(3, 13, 39, 0.95) 100%);
    padding: 0px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(3, 13, 39, 0.6) 0%, 
        rgba(3, 13, 39, 0.8) 50%, 
        rgba(3, 13, 39, 0.95) 100%);
    z-index: -1;
}

.hero-description {
    color: white !important;
}


/* Acquisitions Listing Styles */
.acquisitions-listing {
    max-width: 100%;
}

.acquisition-item {
    margin-bottom: 40px;
}

.acquisition-logo-section {
    text-align: left;
}

.acquisition-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.acquisition-logo-placeholder {
    width: 120px;
    height: 120px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px 0;
    color: #6c757d;
    font-size: 2rem;
}

.acquisition-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    font-family: 'Segoe UI', sans-serif;
}

.acquisition-link {
    color: #09bfde;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    border-bottom: 1px solid #09bfde;
    padding-bottom: 2px;
    transition: color 0.3s ease;
    width: fit-content;
}

.acquisition-link:hover {
    color: #09bfde;
    text-decoration: none;
}

.acquisition-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.acquisition-separator {
    width: 1px;
    height: 150px;
    background: #e9ecef;
    margin: 0 auto;
}

.acquisition-content {
    padding-left: 20px;
}

.acquisition-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .acquisition-item {
        padding: 30px 0;
        margin-bottom: 30px;
    }
    
    .acquisition-logo {
        width: 100px;
        height: 100px;
    }
    
    .acquisition-logo-placeholder {
        width: 100px;
        height: 100px;
        font-size: 1.5rem;
    }
    
    .acquisition-name {
        font-size: 1.3rem;
    }
    
    .acquisition-separator {
        height: 1px;
        width: 100%;
        margin: 20px 0;
    }
    
    .acquisition-content {
        padding-left: 0;
        padding-top: 20px;
    }
}

/* Team Listing Styles */
.teams-listing {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

/* Card */
.team-item {
    background: #FBFAFA;
    border-radius: 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    padding: 40px 28px;
    width: calc(50% - 16px); /* default: two per row */
}

/* 2–3 repeating layout: items 1-2 are 1/2 width; 3-5 are 1/3 width; repeat */
.teams-listing .team-item:nth-child(5n+3),
.teams-listing .team-item:nth-child(5n+4),
.teams-listing .team-item:nth-child(5n+5) {
    width: calc(33.333% - 21.34px);
}

/* Center inner content */
.team-item .row { margin: 0; }
.team-item .col-md-3,
.team-item .col-md-1,
.team-item .col-md-8 { width: 100%; max-width: 100%; padding: 0; }
.team-separator { display: none; }
.team-image-section { text-align: center; }
.team-content { padding-left: 0; text-align: center; }

.team-image { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; margin: 0 auto 20px auto; }
.team-image-placeholder { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 20px auto; background: #f0f2f5; color: #6c757d; display:flex; align-items:center; justify-content:center; font-size: 2rem; }

.team-name { font-size: 2rem; font-weight: 800; color: #1f2937; margin-bottom: 8px; font-family: 'Times New Roman', serif; }
.team-role { font-size: 0.95rem; letter-spacing: 2px; text-transform: uppercase; color: #09bfde; font-weight: 700; margin-bottom: 0; }
.team-bio { margin-top: 14px; color: #4b5563; font-size: 0.98rem; line-height: 1.7; }

/* Responsive Design for Team */
@media (max-width: 1199.98px) {
    .team-item { width: calc(50% - 16px); }
    .teams-listing .team-item:nth-child(5n+3),
    .teams-listing .team-item:nth-child(5n+4),
    .teams-listing .team-item:nth-child(5n+5) { width: calc(50% - 16px); }
}

@media (max-width: 767.98px) {
    .teams-listing { gap: 24px; }
    .team-item { width: 100%; padding: 28px 22px; }
    .team-image, .team-image-placeholder { width: 110px; height: 110px; }
    .team-name { font-size: 1.5rem; }
}

/* Footer Styles */
hr.custom-hr {
    border: 1px solid #ccc;  
    margin-left: 2px;        
    margin-right: 2px;    
}

.center-img {
    width: 100px;         
    height: 100px;
    object-fit: contain;
}

.footer-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #09bfde;
}

/* Investment page */
.custom-link {
    color: #09bfde;  
    text-decoration: none;
    border-bottom: 2px solid #09bfde;
    padding-bottom: 2px;
    font-weight: 500;
}

.custom-link:hover {
    color: #09bfde;
    border-bottom-color: #09bfde;
}

.custom-link i {
    color: inherit;
    font-size: 0.9rem;
}

/* Team */
.card {
    background-color: #fcfcfc;
}

.card img {
    object-fit: cover;
}

.apply-link {
    color: #09bfde;
    text-decoration: underline;
}

.apply-link:hover {
    color: #09bfde;
}

    .text-golden {
        color: #09bfde;
    }

    /* Index page */
    .founder_clr {
      color: #09bfde;
      text-decoration: none;
    }

    .btn-outline-founder_clr {
      color: #09bfde;
      border: 1px solid #09bfde;
      background-color: transparent;
      transition: all 0.3s ease-in-out;
    }

    .btn-outline-founder_clr:hover {
      color: #ffffff;
      background-color: #09bfde;
      border-color: #09bfde;
    }

    .home-stats {
        background-color: #2c3e50;
        border-radius: 20px;
        color: #ffffff;
      }
      
      .stat-item {
        text-align: center;
      }
      
      @media (min-width: 768px) {
        .stat-item {
          text-align: left;
        }
      }
      
      .stat-icon {
        font-size: 2.5rem;
        color: #09bfde;
        margin-bottom: 0.75rem;
      }
      
      .stat-title {
        font-size: 1rem;
        font-weight: 600;
        color: #09bfde;
        margin-bottom: 0.25rem;
      }
      
      .stat-sub {
        font-size: 0.95rem;
        font-weight: 400;
        color: #ffffff;
        margin: 0;
      }
      
      .highlight {
        color: #09bfde;
        font-weight: 600;
    }

/* CRITICAL: Force H1 font override - Must be at the end */
html body h1, 
html body h1.fw-bold, 
html body .container h1, 
html body section h1, 
html body .col-lg-5 h1, 
html body .col-lg-6 h1 {
    font-family: 'Times New Roman', Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

      

    /* Images */
    .img-wrapper {
      width: 100%;
      height: 220px;
      overflow: hidden;
      border-radius: 8px;
    }

    .img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

/* Handshake icon color */
.fa-handshake.stat-icon {
    color: #198754 !important;
}

/* Sack-dollar icon color */
.fa-sack-dollar.stat-icon {
    color: #ffc107 !important;
}

/* Chart-line icon color */
.fa-chart-line.stat-icon {
    color: #8aaca5 !important;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;500;600;700&display=swap');

/* Work with us button optimization */
.btn-primary-outline {
    font-size: 0.9rem !important;
    padding: 8px 20px !important;
    white-space: nowrap;
}

/* Apply Playfair Display to all headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif !important;
}

/* Apply Source Sans Pro to all paragraphs */
p {
    font-family: 'Source Sans Pro', sans-serif !important;
}

/* Banner Image Styling */
.banner-img {
    /* max-width: 100%; */
    height: auto;
    max-height: 400px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .banner-img {
        max-height: 300px;
    }
}
/* home hero */
.home-hero {
    background:
        linear-gradient(
            to right,
            rgba(3, 13, 39, 0.90) 30%,   
            rgba(3, 13, 39, 0.6) 60%,    
            rgba(3, 13, 39, 0.3) 80%,  
            rgba(3, 13, 39, 0) 100%      
        ),
        url("../../images/dashboard_1.jpg");
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    color: #fff;
}
.home-hero .hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}
.home-hero .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .home-hero {
        height: auto;
        padding: 40px 20px 40px;
        background:
            linear-gradient(
                180deg,
                rgba(3, 13, 39, 0.92) 0%,
                rgba(3, 13, 39, 0.75) 55%,
                rgba(3, 13, 39, 0.45) 100%
            ),
            url("../../images/dashboard_1.jpg");
        background-size: cover;
        background-position: top center;
    }

    .home-hero h1.hero-description {
        font-size: 2rem;
        line-height: 1.3;
        text-align: center;
    }

    .home-hero p.hero-description {
        font-size: 1rem;
        line-height: 1.7;
        text-align: center;
        margin-top: 1rem;
    }

    .home-hero .btn-primary-outline {
        display: block;
        width: max-content;
        margin: 1.5rem auto 0;
    }

    .home-hero .container .row {
        justify-content: center;
    }
}

/* Acquisitions Hero Banner */
.acquisitions-hero {
    height: 400px;
    background: linear-gradient(rgba(3, 13, 39, 0.2), rgba(3, 13, 39, 0.8)), 
                url("../../images/acquisition.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    text-align: left;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Partners Hero Banner */
.partners-hero {
    height: 400px;
    background: linear-gradient(rgba(3, 13, 39, 0.6), rgba(3, 13, 39, 0.9)), 
                url("../../images/partners.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: left;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Team Hero Banner */
.team-hero {
    height: 400px;
    background: linear-gradient(rgba(3, 13, 39, 0.3), rgba(3, 13, 39, 0.6)), 
                url("../../images/team.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: left;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Contact Hero Banner */
.contact-hero {
    height: 400px;
    background: linear-gradient(rgba(3, 13, 39, 0.6), rgba(3, 13, 39, 0.9)), 
                url("../../images/contact.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: left;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.acquisitions-hero .hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.acquisitions-hero .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .acquisitions-hero {
        padding: 60px 0;
    }
    
    .acquisitions-hero .hero-title {
        font-size: 2rem;
    }
    
    .acquisitions-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .partners-hero {
        padding: 80px 0;
    }
    
    .partners-hero .hero-title {
        font-size: 2rem;
    }
    
    .partners-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .team-hero {
        padding: 80px 0;
    }
    
    .team-hero .hero-title {
        font-size: 2rem;
    }
    
    .team-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-hero {
        padding: 80px 0;
    }
    
    .contact-hero .hero-title {
        font-size: 2rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1rem;
    }
}

/* Acquisitions Listing Styles */
.acquisitions-listing {
    max-width: 100%;
}

.acquisition-item {
    margin-bottom: 40px;
}

.acquisition-logo-section {
    text-align: left;
}

.acquisition-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.acquisition-logo-placeholder {
    width: 120px;
    height: 120px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px 0;
    color: #6c757d;
    font-size: 2rem;
}

.acquisition-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    font-family: 'Segoe UI', sans-serif;
}

.acquisition-link {
    color: #09bfde;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    border-bottom: 1px solid #09bfde;
    padding-bottom: 2px;
    transition: color 0.3s ease;
    width: fit-content;
}

.acquisition-link:hover {
    color: #09bfde;
    text-decoration: none;
}

.acquisition-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.acquisition-separator {
    width: 1px;
    height: 150px;
    background: #e9ecef;
    margin: 0 auto;
}

.acquisition-content {
    padding-left: 20px;
}

.acquisition-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}

/* Responsive Design for Acquisitions */
@media (max-width: 768px) {
    .acquisition-item {
        padding: 30px 0;
        margin-bottom: 30px;
    }
    
    .acquisition-logo {
        width: 100px;
        height: 100px;
    }
    
    .acquisition-logo-placeholder {
        width: 100px;
        height: 100px;
        font-size: 1.5rem;
    }
    
    .acquisition-name {
        font-size: 1.3rem;
    }
    
    .acquisition-separator {
        height: 1px;
        width: 100%;
        margin: 20px 0;
    }
    
    .acquisition-content {
        padding-left: 0;
        padding-top: 20px;
    }
}

/* Even-numbered acquisition items styling */
.acquisition-item:nth-child(even) {
    background-color: #f1f3f4;
    border-radius: 12px;
    padding: 40px;
    margin-left: -1.5rem;
    margin-right: -0.5rem;
    width: calc(100% + 1rem);
    box-sizing: border-box;
}

/* Home Page Recent Acquisitions Cards */
.acquisition-card-new {
    transition: all 0.4s ease;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-height: 300px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.acquisition-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.acquisition-logo-container {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.acquisition-logo-img {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: brightness(1.05);
}

.acquisition-card-new:hover .acquisition-logo-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.acquisition-placeholder-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    z-index: 1;
}

.acquisition-text-overlay {
    background: transparent;
    transition: all 0.4s ease;
    z-index: 2;
}
