/* Financial Data Analysis Custom Styles */

/* Mobile Navigation Base Styles */
@media (max-width: 991px) {
    .navbar-area .mobile-nav {
        display: block !important;
        position: relative;
        background: #ffffff;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        min-height: 70px;
        z-index: 99999;
    }
    
    .navbar-area .main-nav {
        display: none !important;
    }
    
    /* Force hamburger menu visibility - fallback if meanmenu doesn't initialize */
    .mobile-nav::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        width: 25px;
        height: 3px;
        background: #0071dc;
        box-shadow: 0 8px 0 #0071dc, 0 -8px 0 #0071dc;
        cursor: pointer;
        z-index: 999999;
        border-radius: 2px;
    }
    
    /* Hide fallback when meanmenu is active */
    .mobile-nav.mean-container::after {
        display: none;
    }
    
    /* Ensure meanmenu initializes properly */
    .mean-menu {
        display: block;
    }
    
    /* Force mobile navigation to be visible */
    @media (max-width: 991px) {
        .mobile-nav.mean-container {
            display: block !important;
        }
    }
}

/* Hero Section */
.financial-hero-section {
  background-color: #f8f8f8;
}

.financial-hero-section .banner-content {
  min-height: 400px;
}
.iceberg-logo {
height: 4.1rem;
   width: 413px;
}
.financial-hero-section .iceberg-logo {
 
  margin-left: auto;
  margin-right: 81px;
}

.financial-hero-section .main-heading {
  font-weight: 600;
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 18px;
  margin-right: 80px;
  text-align: right;
  font-family: "Livvic", sans-serif;
}

.financial-hero-section .main-description {
  font-weight: 400;
  font-size: 1.35rem;
  color: #222;
  line-height: 2.2rem;
  text-align: right;
  max-width: 520px;
  margin-left: auto;
  margin-right: 80px;
  font-family: "Livvic", sans-serif;
}

.financial-hero-section .banner-img {
  max-width: 570px;
  width: 100%;
}

/* FlowSight Section */
.flowsight-section {
    padding: 80px 0;
    background: #ffffff;
}

.flowsight-header {
    position: relative;
    width: 501px;
    height: 65px;
    background: #FE9465;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 60px auto;
}

.flowsight-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    color: black;
    font-family: "Livvic", sans-serif;
    text-align: center;
}



/* Features Grid */
.features-grid {
    margin-bottom: 50px;
}

.feature-card {
    background: #FFFFFF;
    box-shadow: 0px 0px 15px rgba(10, 71, 226, 0.35);
    border-radius: 15px;
    padding: 30px 25px;
    margin-bottom: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

/* .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 25px rgba(10, 71, 226, 0.45);
} */

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #252525;
    margin-bottom: 20px;
    font-family: "Livvic", sans-serif;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item span {
    font-size: 1.1rem;
    color: #444444;
    line-height: 1.5;
    font-family: "Livvic", sans-serif;
    font-weight: 400;
}

.feature-subtitle {
    font-size: 1.1rem ;
    color: #666666;
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 0;
    font-family: "Livvic", sans-serif;
    font-weight: 400;
}

/* Action Buttons Section */
.action-buttons-section {
    margin-top: 40px;
}

.action-btn {
    position: relative;
    width: 347px;
    height: 89px;
    background: #040B5C;
    box-shadow: 0px 0px 15px rgba(10, 71, 226, 0.35);
    border-radius: 15px;
    border: none;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    font-family: "Livvic", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.interactive-btn,
.integration-btn,
.insights-btn {
    background: #040B5C;
    box-shadow: 0px 0px 15px rgba(10, 71, 226, 0.35);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 5px 25px rgba(10, 71, 226, 0.45);
    background: #061074;
}

/* Decision-Ready Insights Section */
.decision-insights-section {
    padding: 80px 0;
    background: #f8f9ff;
}

.iceberg-logo-large {
    text-align: center;
    margin-bottom: 20px;
}

.iceberg-logo-img {
    width:413px;
    height: 4.1rem;
    margin-bottom: 10px;
}

.decision-insights-section .section-title h2 {
    font-size: 36px;
    font-weight: 600;
    color: #252525;
    margin-bottom: 50px;
    font-family: "Livvic", sans-serif;
}

.insights-top-row {
    margin-bottom: 30px;
}

.insights-bottom-row {
    justify-content: center;
}

.insight-card {
    position: relative;
    width: 332px;
    height: 319px;
    background: #FFFFFF;
    box-shadow: 0px 0px 15px rgba(10, 71, 226, 0.35);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 25px rgba(10, 71, 226, 0.45);
}

.insight-card-wide {
    position: relative;
    width: 529px;
    height: 192px;
    background: #FFFFFF;
    box-shadow: 0px 0px 15px rgba(10, 71, 226, 0.35);
    border-radius: 15px;
    text-align: left;
    padding: 25px 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.insight-icon {
    margin-bottom: 20px;
}

.insight-card-wide .insight-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.insight-card-wide .insight-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.insight-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.insight-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #252525;
    margin-bottom: 10px;
    font-family: "Livvic", sans-serif;
}

.insight-card p {
    font-size: 1.3rem;
    color: #333333;
    line-height: 1.5;
    margin-bottom: 15px;
    font-family: "Livvic", sans-serif;
    font-weight: 400;
}

.insight-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.check-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.insight-feature span {
    font-size: 1rem ;
    color: #333333;
    font-family: "Livvic", sans-serif;
    font-weight: 500;
}

/* Benefits and Integration Combined Section */
.benefits-integration-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.benefits-integration-section::before {
    content: '';
    position: absolute;
    width: 307.03px;
    height: 0px;
    left: 50%;
    top: 50%;
    border: 1px solid #000000;
    transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    z-index: 1;
    margin-left: -55px;
}

.benefits-content,
.integration-content {
    position: relative;
    z-index: 2;
}

.benefits-content h2,
.integration-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #252525;
    margin-bottom: 30px;
    font-family: "Livvic", sans-serif;
}

.integration-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #252525;
    margin-bottom: 15px;
    font-family: "Livvic", sans-serif;
}

.integration-content p {
    font-size: 1.3rem;
    color: #444444;
    margin-bottom: 20px;
    font-family: "Livvic", sans-serif;
    font-weight: 400;
}

.benefit-item {
    margin-bottom: 25px;
}

.benefit-stat {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
}

.stat-number {
    font-size: 48px;
    font-weight: 600;
    color: #3B75E7;
    font-family: "Livvic", sans-serif;
    line-height: 1;
}

.stat-text {
    font-size: 1.1rem;
    color: #444444;
    font-family: "Livvic", sans-serif;
    font-weight: 400;
    margin:auto;
    margin-left:10px;
}

.integration-list {
    list-style: none;
    padding-left: 0;
}

.integration-list li {
    font-size: 1.1rem;
    color: #444444;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-family: "Livvic", sans-serif;
    font-weight: 400;
}

.integration-list li:before {
    content: "•";
    color: #3B75E7;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    /* Mobile Navigation Styles */
    .mobile-nav {
        display: block !important;
        position: relative;
        background: #ffffff;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        z-index: 99999;
    }
    
    .main-nav {
        display: none !important;
    }
    
    /* Ensure hamburger menu button is visible */
    .mobile-nav .mean-container .mean-bar {
        display: block !important;
        background-color: #ffffff;
        padding: 0;
        height: 70px;
        position: relative;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }
    
    .mobile-nav .mean-container a.meanmenu-reveal {
        display: block !important;
        width: 35px;
        height: 30px;
        padding: 20px 15px 0 0;
        position: absolute;
        right: 0;
        top: 3px;
        cursor: pointer;
        color: #0071dc;
        text-decoration: none;
        font-size: 16px;
        text-indent: -9999em;
        line-height: 22px;
        font-weight: 700;
        margin-top: 3px;
        z-index: 999999;
    }
    
    .mobile-nav .mean-container a.meanmenu-reveal span {
        display: block !important;
        background: #0071dc;
        position: relative;
        height: 4px;
        margin-top: -5px;
        top: 8px;
        border-radius: 3px;
        width: 25px;
    }
    
    /* Alternative hamburger menu structure for broader compatibility */

    
    .mobile-nav .meanmenu-reveal span,
    .mobile-nav a[class*="mean"] span {
        display: block;
        width: 25px;
        height: 3px;
        background: #0071dc;
        margin: 5px 0;
        border-radius: 2px;
        position: relative;
    }
    
    /* Ensure at least one hamburger method works */
    .mobile-nav:not(.mean-container) .logo::after {
        content: '☰';
        position: absolute;
        top: 50%;
        right: -200px;
        transform: translateY(-50%);
        font-size: 24px;
        color: #0071dc;
        cursor: pointer;
        z-index: 999999;
    }
    
    /* Add pseudo-elements for the other two hamburger lines */
    .mobile-nav .mean-container a.meanmenu-reveal span:before,
    .mobile-nav .mean-container a.meanmenu-reveal span:after {
        content: '';
        display: block;
        width: 25px;
        height: 4px;
        background: #0071dc;
        position: absolute;
        left: 0;
        border-radius: 3px;
    }
    
    .mobile-nav .mean-container a.meanmenu-reveal span:before {
        top: -8px;
    }
    
    .mobile-nav .mean-container a.meanmenu-reveal span:after {
        top: 8px;
    }
    
    /* Mobile navigation menu */
    .mobile-nav .mean-container .mean-nav {
        float: left;
        width: 100%;
        background: #ffffff;
        margin-top: 70px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Mobile logo */
    .mobile-nav .logo {
        text-decoration: none;
        position: absolute;
        top: 13px;
        z-index: 999;
        left: 15px;
        color: #fff;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 20px;
    }
    
    .mobile-nav .logo img {
        max-width: 140px;
        height: auto;
    }
    
    /* Content adjustments */
    .financial-title {
        font-size: 26px;
    }
    
    .financial-hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .flowsight-title {
        font-size: 24px;
    }
    
    .flowsight-header {
        width: 100%;
        max-width: 555px;
        height: auto;
        padding: 15px 20px;
    }

    .action-btn {
        width: 100%;
        max-width: 347px;
        height: auto;
        padding: 15px 20px;
        margin: 0 auto 20px auto;
    }

    .benefits-content,
    .integration-content {
        margin-bottom: 40px;
    }

    .benefits-integration-section::before {
        display: none;
    }
}

@media (max-width: 767.98px) {
    /* Ensure mobile navigation is visible on smaller screens */
    .mobile-nav {
        display: block !important;
    }
    
    .main-nav {
        display: none !important;
    }
    .financial-hero-section .main-heading {

    margin:auto;
    text-align:center;

    }
    .financial-hero-section .main-description {

    margin:auto;
    text-align:center;

    }

    
    /* Mobile-specific content adjustments */
    .financial-hero-section {
        padding: 60px 0;
        margin-top: 70px; /* Account for mobile nav */
    }
    
    .flowsight-section {
        padding: 60px 0;
    }
    
    .decision-insights-section {
        padding: 60px 0;
    }
    
    .benefits-integration-section {
        padding: 60px 0;
    }
    
    .financial-title {
        font-size: 22px;
    }
    
    .flowsight-title {
        font-size: 20px;
    }
    
    .decision-insights-section .section-title h2,
    .benefits-content h2,
    .integration-content h2 {
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }


 

    .insight-card-wide {
        width: 100%;
        max-width: 529px;
        height: auto;
        min-height: 150px;
        padding: 20px 25px;
        margin: 0 auto 30px auto;
        text-align: left;
        flex-direction: row;
        gap: 15px;
    }
}

@media (max-width: 575.98px) {
    .feature-card {
        padding: 20px 15px;
    }
        /* Add spacing to column containers */
    .features-grid .col-lg-4,
    .features-grid .col-md-6 {
        margin-bottom: 30px;
    }
    
    /* Remove bottom margin from last card */
    .features-grid .col-lg-4:last-child .feature-card,
    .features-grid .col-md-6:last-child .feature-card {
        margin-bottom: 0;
    }

    .insight-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 200px;
        padding: 20px 15px;
        margin: 0 0 20px 0;
    }

    .insight-card-wide {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 120px;
        padding: 15px 20px;
        margin: 0 0 20px 0;
        text-align: left;
        flex-direction: column;
        gap: 10px;
    }
    
    .insight-card-wide .insight-icon {
        margin-bottom: 10px;
        align-self: center;
    }
    
    .flowsight-header {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 12px 15px;
    }

    .action-btn {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 12px 15px;
        margin: 0 0 15px 0;
        font-size: 14px;
    }
    
    .insight-icon img {
        width: 70px;
        height: 70px;
    }

    .stat-number {
        font-size: 32px;
    }


  

    .financial-title {
        font-size: 18px;
    }

    .flowsight-title {
        font-size: 16px;
    }

    .insight-feature {
        justify-content: left;
    }
}