/* ============================================
   Header Base Styles
   ============================================ */
.main-header {
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 24px 0 15px 0;
    position: relative;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0px 4px 50px 0px #0000000D;
}

.main-header .container-fluid {
    margin: 0 auto;
    padding: 0 150px;
}

/* ============================================
   Logo Styles
   ============================================ */
.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Desktop Navigation Styles
   ============================================ */
.main-nav {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 36px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu-item {
    margin: 0;
}

.nav-link-custom {
    color: #2A2A2A;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-family: inter, sans-serif;
    padding: 8px 0;
}

.nav-link-custom:hover {
    color: #1f2937;
    text-decoration: none;
}

.nav-link-custom i {
    font-size: 0.5625rem;
    color: #6b7280;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.nav-link-custom:hover i {
    color: #374151;
}

/* ============================================
   Search Icon Styles
   ============================================ */
.search-icon {
    color: #374151;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    flex-shrink: 0;
}

.search-icon:hover {
    color: #1f2937;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.05);
}

/* ============================================
   Contact Button Styles
   ============================================ */
.btn-contact {
    background-color: #1E48C7;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    white-space: nowrap;
    display: inline-block;
}

.btn-contact:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(51, 102, 255, 0.3);
}

.btn-contact:active {
    transform: translateY(0);
}

/* ============================================
   Mobile Menu Toggle (Hamburger)
   ============================================ */
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #2A2A2A;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   Mobile Navigation Menu
   ============================================ */
.mobile-nav-collapse {
    margin-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 16px;
}

.mobile-nav {
    width: 100%;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-item {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-link {
    color: #2A2A2A;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: #1E48C7;
    text-decoration: none;
}

.mobile-nav-link i {
    font-size: 0.625rem;
    color: #6b7280;
}

.mobile-nav-button {
    margin-top: 16px;
    padding: 16px 0;
    border-bottom: none !important;
}

.btn-contact-mobile {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
}

/* ============================================
   Utility Classes
   ============================================ */
.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }
    
    .d-md-flex {
        display: flex !important;
    }
}

/* Smooth transitions for mobile menu */
.collapse:not(.show) {
    display: none;
}

.collapse.show {
    display: block;
}

.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

/* ============================================
   Products Dropdown Section
   ============================================ */
.products-dropdown {
    position: fixed;
    top: 80px; /* Initial position - will be updated by JS */
    left: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 1s ease-in-out;
    pointer-events: none;
    will-change: transform;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    visibility: hidden; /* Completely hide initially */
}

.products-dropdown.active {
    transform: translateY(0);
    pointer-events: all;
    visibility: visible; /* Show when active */
}

.products-dropdown .container-fluid {
    --bs-gutter-x: 0 !important;
    padding-left: 0;
    padding-right: 0;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.products-dropdown .row {
    --bs-gutter-x: 0 !important;
    margin-left: 0;
    margin-right: 0;
}

.products-dropdown-content {
    padding: 3rem 150px;
    min-height: 400px;
    margin-left: 0;
    margin-right: 0;
}

.products-categories {
    padding: 2rem 0;
}

.products-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.products-column:first-child {
    padding-right: 2rem;
}

.products-column:first-child::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #E5E5E5;
    transform: translateX(50%);
}

.products-column:last-child {
    padding-left: 2rem;
}

/* Responsive: On mobile, remove divider */
@media (max-width: 991px) {
    .products-column:first-child {
        padding-right: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .products-column:first-child::after {
        display: none;
        content: none;
    }
    
    .products-column:last-child {
        padding-left: 0;
        padding-top: 0;
    }
}

.product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.product-item:hover {
    background-color: #F5F5F5;
}

.product-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-icon img {
    width: 100%;
    height: auto;
}

.product-name {
    font-family: Inter, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #2A2A2A;
    line-height: 1.5;
}

.products-image-section {
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-image-wrapper {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.products-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.products-overlay-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
}

.overlay-card-content {
    text-align: center;
}

.overlay-percentage {
    font-family: Bagoss Standard TRIAL, sans-serif;
    font-size: 3rem;
    font-weight: 600;
    color: #1E48C7;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.overlay-text {
    font-family: Inter, sans-serif;
    font-size: 0.875rem;
    color: #2A2A2A;
    margin-bottom: 1rem;
}

.overlay-chart {
    width: 100%;
    display: flex;
    justify-content: center;
}

.overlay-chart img {
    max-width: 150px;
    height: auto;
}

.products-footer-bar {
    background-color: #1E48C7;
    padding: 1rem 0;
    margin-top: 2rem;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.products-footer-bar .container-fluid {
    padding: 0 50px;
    --bs-gutter-x: 0 !important;
}

.products-footer-bar .row {
    --bs-gutter-x: 0 !important;
    margin-left: 0;
    margin-right: 0;
}

.footer-link {
    color: #FFFFFF;
    text-decoration: none;
    font-family: Inter, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    color: #FFFFFF;
    opacity: 0.8;
    text-decoration: none;
}

.footer-divider {
    width: 1px !important;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    margin: 0 0.5rem;
}

/* ============================================
   Services Dropdown Section
   ============================================ */
.services-dropdown {
    position: fixed;
    top: 80px; /* Initial position - will be updated by JS */
    left: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 1s ease-in-out;
    pointer-events: none;
    will-change: transform;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    visibility: hidden; /* Completely hide initially */
}

.services-dropdown.active {
    transform: translateY(0);
    pointer-events: all;
    visibility: visible; /* Show when active */
}

.services-dropdown .container-fluid {
    --bs-gutter-x: 0 !important;
    padding-left: 0;
    padding-right: 0;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.services-dropdown .row {
    --bs-gutter-x: 0 !important;
    margin-left: 0;
    margin-right: 0;
}

.services-dropdown-content {
    padding: 0rem 150px;
    align-items: center;
    min-height: 400px;
    margin-left: 0;
    margin-right: 0;
}

.services-categories {
    padding: 2rem 0;
}

.services-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 1rem;
}

.services-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #E5E5E5;
}

/* Responsive: On mobile, remove Services divider */
@media (max-width: 991px) {
    .services-column:not(:last-child)::after {
        display: none;
        content: none;
    }
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    text-align: center;
}

.service-item:hover {
    background-color: #F5F5F5;
}

.service-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon img {
    width: 100%;
    height: auto;
}

.service-name {
    font-family: Inter, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #2A2A2A;
    line-height: 1.5;
}

.services-image-section {
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-image-wrapper {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.services-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.services-overlay-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
}

.services-overlay-card-blue {
    top: 20%;
    right: 10%;
    background: linear-gradient(135deg, rgba(30, 72, 199, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.services-overlay-card-orange {
    top: 35%;
    right: 5%;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.services-overlay-card .overlay-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.services-overlay-card .overlay-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.services-overlay-card .overlay-icon img {
    width: 100%;
    height: auto;
}

.services-overlay-card .overlay-text-content {
    display: flex;
    flex-direction: column;
}

.services-overlay-card .overlay-percentage {
    font-family: Bagoss Standard TRIAL, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1E48C7;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.services-overlay-card-orange .overlay-percentage {
    color: #FF9800;
}

.services-overlay-card .overlay-text {
    font-family: Inter, sans-serif;
    font-size: 0.75rem;
    color: #2A2A2A;
    line-height: 1.3;
}

.services-footer-bar {
    background-color: #1E48C7;
    padding: 1rem 0;
    margin-top: 2rem;
}

.services-footer-bar .container-fluid {
    padding: 0 50px;
    --bs-gutter-x: 0 !important;
}

.services-footer-bar .row {
    --bs-gutter-x: 0 !important;
    margin-left: 0;
    margin-right: 0;
}

/* ============================================
   Industries Dropdown Section
   ============================================ */
.industries-dropdown {
    position: fixed;
    top: 80px; /* Initial position - will be updated by JS */
    left: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 1s ease-in-out;
    pointer-events: none;
    will-change: transform;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    visibility: hidden; /* Completely hide initially */
}

.industries-dropdown.active {
    transform: translateY(0);
    pointer-events: all;
    visibility: visible; /* Show when active */
}

.industries-dropdown .container-fluid {
    --bs-gutter-x: 0 !important;
    padding-left: 0;
    padding-right: 0;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.industries-dropdown .row {
    --bs-gutter-x: 0 !important;
    margin-left: 0;
    margin-right: 0;
}

.industries-dropdown-content {
    padding: 5rem 150px 0rem 150px;
    min-height: 400px;
    margin-left: 0;
    margin-right: 0;
}
.industries-categories {
    padding: 2rem 0;
}
.industries-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}
.industries-column:first-child {
    padding-right: 2rem;
}
.industries-column:first-child::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #E5E5E5;
    transform: translateX(50%);
}

.industries-column:last-child {
    padding-left: 2rem;
}

/* Responsive: On mobile, remove Industries divider */
@media (max-width: 991px) {
    .industries-column:first-child {
        padding-right: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .industries-column:first-child::after {
        display: none;
        content: none;
    }
    
    .industries-column:last-child {
        padding-left: 0;
        padding-top: 0;
    }
}

.industry-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.industry-item:hover {
    background-color: #F5F5F5;
}

.industry-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.industry-icon img {
    width: 100%;
    height: auto;
}

.industry-name {
    font-family: Inter, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #2A2A2A;
    line-height: 1.5;
}

.industries-image-section {
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industries-image-wrapper {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.industries-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.industries-overlay-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
}

.industries-footer-bar {
    background-color: #1E48C7;
    padding: 1rem 0;
    margin-top: 2rem;
}

.industries-footer-bar .container-fluid {
    padding: 0 50px;
    --bs-gutter-x: 0 !important;
}

.industries-footer-bar .row {
    --bs-gutter-x: 0 !important;
    margin-left: 0;
    margin-right: 0;
}

/* Products link active state */
.nav-link-custom.active {
    color: #1E48C7;
}

.nav-link-custom.active i {
    transform: rotate(180deg);
    color: #1E48C7;
}

.mobile-nav-link.active {
    color: #1E48C7;
}

.mobile-nav-link.active i {
    transform: rotate(180deg);
    color: #1E48C7;
}

