:root {
    --primary-color: #0070C0;
    --secondary-color: #5bc0de;
    --dark-color: #121212;
    --light-color: #f8f9fa;
    --success-color: #5cb85c;
    --warning-color: #f0ad4e;
    --danger-color: #d9534f;
    --p-color: #525252;
}

.btn-primary {
    background-color: var(--primary-color);

}

p {
    color: var(--p-color);
}

html {
    font-size: 1rem;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}



/* Header Styles */
.navbar {
    box-shadow: 0px 3px 23.2px 0px #00000040;

}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 6rem 0;
    background: url(img/hero-bg.png);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-section h1 {
    font-weight: 600;
    font-size: 35px;
    line-height: 54px;
    letter-spacing: 0px;
    color: var(--dark-color);

}

.hero-section span {
    color: #0275d8;

}

.hero-section p {
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0%;
}

.hero-btn {
    border: 1px solid #0070C0;
    color: var(--primary-color);

}

.hero-btn-f {
    /* font-family: Roboto; */
    font-weight: 500;
    font-size: 18px;
    /* line-height: 100%; */
    letter-spacing: 0.03rem;
    text-align: center;
    border-radius: 6px;
    /* padding-left:17px;
    padding-right:17px; */
}

.hero-image-container {
    position: relative;
    /* height: 300px; */
}

/* .hero-image {
    position: absolute;
    top: -50px;
    right: 0;
    width: 90%;
    height: auto;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
} */

.hero-text {
    max-width: 600px;
}

/* section-two */
.section-two p {
    font-weight: 400;
    font-size: 17px;
    line-height: 30px;
    /* letter-spacing: 0; */
    /* text-align: center; */

}

/* Assessment Section */
.assessment-section {
    padding: 5rem 0;
    background-color: #fff;
}

.assessment-image {
    max-width: 100%;
    /* height: auto;
    border-radius: 8px; */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.assessment-dashboard-image {
    width: 120%;
    max-width: 120%;
    height: auto;
    object-fit: contain;
}

/* Responsive assessment dashboard image */
@media (max-width: 992px) {
    .assessment-dashboard-image {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .assessment-dashboard-image {
        width: 100%;
        max-width: 100%;
    }
}

/* Why Take Section */
/* Why Take Assessment Section Styles */
.why-take-section {
    padding: 5rem 0;
    background-color: #fff;
    /* background-image: linear-gradient(135deg, rgba(240, 245, 255, 0.5) 0%, rgba(255, 255, 255, 1) 100%); */
    background-image: url(img/section-four-bg.png);
    background-size: cover;
    background-position: center;
}

/* Tab styles */
.tabs-container {
    margin-top: 40px;
}

.nav-tabs {
    background-color: #FAFAFA;
    border-bottom: none;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

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

.nav-tabs .nav-link {
    color: #333;
    background: none;
    border: none;
    padding: 10px 0;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-tabs .nav-link.active {
    color: #0070C0;
    background: none;
    border: none;
    border-bottom: 2px solid #0070C0;
}

.nav-tabs .nav-link:hover {
    color: #0070C0;
}

/* Disable Bootstrap fade transitions - instant tab switching, no refresh effect */
.tab-content {
    position: relative;
}

.tab-pane {
    display: none !important;
    opacity: 1 !important;
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
}

.tab-pane.active,
.tab-pane.show {
    display: block !important;
    opacity: 1 !important;
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
}

.tab-pane.fade {
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    opacity: 1 !important;
}

.tab-pane.fade:not(.show) {
    display: none !important;
    opacity: 1 !important;
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    visibility: hidden !important;
}

.tab-pane.fade.show {
    display: block !important;
    opacity: 1 !important;
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
}

/* Slide content styles */
.tab-content-inner {
    padding: 20px 0;
    position: relative;
    height: 510px;
}

/* Reduce gap between image and text columns */
.tab-content-inner .row {
    margin-left: 0;
    margin-right: 0;
}

.tab-content-inner .row .col-lg-6 {
    padding-right: 30px;
    margin-right: 0;
    margin-left: 0;
    overflow: visible;
}

.tab-content-inner .row .col-lg-5 {
    padding-left: 30px;
    margin-left: 0;
    overflow: visible;
}

.slide-content {
    padding-left: 0;
}

.slide-counter {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
    /* text-align: center; */
}

.slide-title {
    font-family: Roboto;
    font-weight: 700;
    font-style: normal;
    font-size: 32px;
    line-height: 44px;
    letter-spacing: 0%;
    margin-bottom: -5px;
    color: #333;
    width: 585px;
    height: 99px;
}

.slide-title span {
    color: #1678F2;
    font-weight: 600;
    font-style: normal;
}

.slide-title-def {
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;
    margin-bottom: 30px;
    /* letter-spacing: 0%; */

}

.slide-title-def span {
    color: #1678F2;
}

.dashboard-container {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-right: 0;
    margin-right: 0;
}

/* First tab container - accommodate absolute positioning */
#default .dashboard-container,
.first-tab-image-container {
    width: 766px;
    height: 740px;
    position: absolute;
    overflow: visible;
}

/* Second tab container - accommodate left offset */
#leadership .dashboard-container {
    width: 846.9986572265625px;
    height: 375px;
    overflow: visible;
}

/* Third, Fourth, Fifth, Sixth tab containers - accommodate left offset */
#decision .dashboard-container,
#growth .dashboard-container,
#career .dashboard-container,
#team .dashboard-container {
    width: 842px;
    height: 367px;
    overflow: visible;
}

.dashboard-image {
    object-fit: contain;
    border-radius: 8px;
    margin-top: 35px;
    margin-left: 0;
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
}

/* First tab (default) - Lifestyle */
#default .dashboard-image,
.first-tab-image {
    width: 766px;
    height: 740px;
    top: -30%;
}

/* Second tab (leadership) */
#leadership .dashboard-image {
    width: 546.9986572265625px;
    height: 375px;
    position: relative;
    left: 300px;
}

/* Third tab (decision) */
#decision .dashboard-image {
    width: 542px;
    height: 367px;
    position: relative;
    left: 300px;
}

/* Fourth tab (growth) */
#growth .dashboard-image {
    width: 542px;
    height: 367px;
    position: relative;
    left: 300px;
}

/* Fifth tab (career) */
#career .dashboard-image {
    width: 542px;
    height: 367px;
    position: relative;
    left: 300px;
}

/* Sixth tab (team) */
#team .dashboard-image {
    width: 542px;
    height: 367px;
    position: relative;
    left: 300px;
}

/* First tab image - now same size as other images - accommodate absolute positioning */
.first-tab-image-container {
    position: relative;
    width: 766px;
    height: 740px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: visible;
}

.first-tab-image {
    width: 766px;
    height: 740px;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    top: 0;
    left: 0;
    opacity: 1;
    margin-top: 0;
}

/* Responsive fixes for all images */
@media (max-width: 992px) {
    /* Reset all container sizes to responsive */
    .dashboard-container,
    .first-tab-image-container {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-bottom: 30px;
        position: relative !important;
    }
    
    /* Reset all image sizes and positioning */
    .dashboard-image,
    .first-tab-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: auto;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        object-fit: contain;
    }
    
    /* Reset specific tab container sizes */
    #default .dashboard-container,
    .first-tab-image-container {
        width: 100% !important;
        height: auto !important;
    }
    
    #leadership .dashboard-container {
        width: 100% !important;
        height: auto !important;
    }
    
    #decision .dashboard-container,
    #growth .dashboard-container,
    #career .dashboard-container,
    #team .dashboard-container {
        width: 100% !important;
        height: auto !important;
    }
    
    /* Reset specific tab image sizes and positioning */
    #default .dashboard-image,
    .first-tab-image {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    #leadership .dashboard-image {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        left: 0 !important;
    }
    
    #decision .dashboard-image,
    #growth .dashboard-image,
    #career .dashboard-image,
    #team .dashboard-image {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        left: 0 !important;
    }
}

.alex-image {
    position: absolute;
 
    left: 0;
   
    z-index: 2;
}

/* Slide content wrapper for stable layout */
.slide-content-wrapper {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.slide-content {
    padding: 0 20px;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.slide-content p {
    font-family: Roboto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 0%;
    color: #525252;
    width: 617px;
    height: 88px;
    margin-bottom: 40px;
}

/* Navigation controls - positioned absolutely at fixed bottom of tab-content-inner */
/* Left arrow stays on bottom-left, right arrow stays on bottom-right */
/* Positioned relative to tab-content-inner (fixed height 510px) to stay completely sticky */
/* Only show navigation controls from the active/visible tab */
.tab-pane:not(.show) .nav-arrows,
.tab-pane:not(.active) .nav-arrows {
    display: none !important;
    visibility: hidden !important;
}

/* New nav-arrows wrapper - aligned with text container edges and sticky */
.nav-arrows {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 617px;
    margin: 40px 0 0 0;
    padding: 0;
    box-sizing: border-box;
    z-index: 10;
    position: sticky;
    bottom: 20px;
    background-color: transparent;
}

/* Adjust first tab arrows to align with other tabs - compensate for extra paragraph */
/* Other tabs: slide-counter (10px mb) + paragraph (40px mb) + nav-arrows (40px mt) */
/* First tab: paragraph1 (40px mb) + paragraph2 (40px mb) + nav-arrows (40px mt) */
/* To align: reduce last paragraph margin and nav-arrows margin-top */
#default .slide-content p:last-of-type {
    margin-bottom: 0; /* Remove margin to move arrows up */
}

#default .nav-arrows {
    margin-top: -10px; /* Negative margin to move arrows up further */
}

.nav-arrows button {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #D0DCE8;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

.nav-arrows button:hover {
    background-color: #0070C0;
    border-color: #0070C0;
}

.nav-arrows button:hover svg path {
    stroke: white;
}

.nav-arrows button svg {
    width: 24px;
    height: 24px;
}

/* Switch to responsive mobile/mini tablet view at 1100px and below */
/* This ensures clean mobile behavior from 1100px downward, matching below 992px */
@media (max-width: 1100px) {
    /* Make all containers responsive - same as below 992px */
    #default .dashboard-container,
    .first-tab-image-container {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-top: 0 !important;
        margin-bottom: 40px !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    #leadership .dashboard-container {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-bottom: 40px !important;
    }
    
    #decision .dashboard-container,
    #growth .dashboard-container,
    #career .dashboard-container,
    #team .dashboard-container {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-bottom: 40px !important;
    }
    
    /* Make all images responsive - same as below 992px */
    #default .dashboard-image,
    .first-tab-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        display: block !important;
    }
    
    #leadership .dashboard-image,
    #decision .dashboard-image,
    #growth .dashboard-image,
    #career .dashboard-image,
    #team .dashboard-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        position: relative !important;
        left: 0 !important;
        display: block !important;
    }
    
    /* Stack columns vertically - same as below 992px */
    .tab-content-inner .row {
        flex-direction: column !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .tab-content-inner .row .col-lg-6 {
        overflow: hidden !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
        margin-bottom: 40px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .tab-content-inner .row .col-lg-5 {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-bottom: 40px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Add spacing to tab content inner to prevent overlap */
    .tab-content-inner {
        height: auto !important;
        min-height: auto !important;
        padding: 20px 0 !important;
        padding-bottom: 60px !important;
        margin-bottom: 0 !important;
        overflow: visible !important;
    }
    
    /* Ensure the why-take-section has proper spacing */
    .why-take-section {
        overflow: visible !important;
        position: relative !important;
        padding-bottom: 4rem !important;
        margin-bottom: 0 !important;
    }
    
    /* Ensure leadership-traits-section has proper spacing */
    .leadership-traits-section {
        margin-top: 0 !important;
        position: relative !important;
        z-index: 1 !important;
        padding-top: 3rem !important;
        clear: both !important;
    }
    
    /* Ensure tab-content has proper bottom spacing */
    .tab-content {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        overflow: visible !important;
    }
    
    /* Fix slide content spacing - ensure relative positioning for sticky nav */
    .slide-content {
        padding: 0 15px !important;
        padding-bottom: 80px !important;
        margin-bottom: 0 !important;
        position: relative !important;
        min-height: 400px !important;
    }
    
    /* Navigation arrows - aligned with text container edges and sticky */
    .nav-arrows {
        position: sticky !important;
        bottom: 20px !important;
        margin-top: 32px !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        background-color: transparent !important;
    }
    
}

/* Fix overlap at intermediate screen sizes (1101px - 1533px) - Keep fixed dimensions */
@media (min-width: 1101px) and (max-width: 1533px) {
    /* Keep fixed dimensions, just adjust positioning if needed */
    #leadership .dashboard-image,
    #decision .dashboard-image,
    #growth .dashboard-image,
    #career .dashboard-image,
    #team .dashboard-image {
        left: 0px;
        position: relative;
    }
    
    .first-tab-image {
        position: absolute;
        top: -30%;
        left: 0;
    }
    
    /* Keep container at fixed size */
    #default .dashboard-container,
    .first-tab-image-container {
        width: 766px;
        height: 740px;
    }
    
    #leadership .dashboard-container {
        width: 546.9986572265625px;
        height: 375px;
    }
    
    #decision .dashboard-container,
    #growth .dashboard-container,
    #career .dashboard-container,
    #team .dashboard-container {
        width: 542px;
        height: 367px;
    }
    
    /* Keep images at fixed size */
    #default .dashboard-image,
    .first-tab-image {
        width: 766px;
        height: 740px;
    }
    
    #leadership .dashboard-image {
        width: 546.9986572265625px;
        height: 375px;
    }
    
    #decision .dashboard-image,
    #growth .dashboard-image,
    #career .dashboard-image,
    #team .dashboard-image {
        width: 542px;
        height: 367px;
    }
    
    /* Ensure columns contain content properly */
    .tab-content-inner .row .col-lg-6 {
        overflow: hidden;
        padding-right: 20px;
    }
    
    .tab-content-inner .row .col-lg-5 {
        padding-left: 20px;
    }
}

/* Fix overlap at larger intermediate screen sizes (1534px - 1900px) */
@media (min-width: 1534px) and (max-width: 1900px) {
    /* Reduce left offset to prevent overlap while maintaining layout */
    #leadership .dashboard-image,
    #decision .dashboard-image,
    #growth .dashboard-image,
    #career .dashboard-image,
    #team .dashboard-image {
        left: 200px;
    }
    
    .first-tab-image {
        width: 766px;
        height: 740px;
        position: absolute;
        top: -30%;
        left: 0;
    }
    
    /* Keep container at fixed size */
    #default .dashboard-container,
    .first-tab-image-container {
        width: 766px;
        height: 740px;
    }
    
    #leadership .dashboard-container {
        width: 747px;
        height: 375px;
    }
    
    #decision .dashboard-container,
    #growth .dashboard-container,
    #career .dashboard-container,
    #team .dashboard-container {
        width: 742px;
        height: 367px;
    }
    
    /* Ensure columns contain content properly */
    .tab-content-inner .row .col-lg-6 {
        overflow: hidden;
    }
}

/* Very large screens (1901px+) - Keep fixed dimensions like desktop */
@media (min-width: 1901px) {
    /* Keep containers at fixed size */
    #default .dashboard-container,
    .first-tab-image-container {
        width: 766px;
        height: 740px;
    }
    
    #leadership .dashboard-container {
        width: 747px;
        height: 375px;
    }
    
    #decision .dashboard-container,
    #growth .dashboard-container,
    #career .dashboard-container,
    #team .dashboard-container {
        width: 742px;
        height: 367px;
    }
    
    /* Keep images at fixed size */
    #default .dashboard-image,
    .first-tab-image {
        width: 766px;
        height: 740px;
        position: absolute;
        top: -30%;
        left: 0;
    }
    
    #leadership .dashboard-image {
        width: 546.9986572265625px;
        height: 375px;
        position: relative;
        left: 200px;
    }
    
    #decision .dashboard-image,
    #growth .dashboard-image,
    #career .dashboard-image,
    #team .dashboard-image {
        width: 542px;
        height: 367px;
        position: relative;
        left: 200px;
    }
}

/* On large screens, nav-arrows align with text container edges */
@media (min-width: 992px) {
    .tab-content-inner .row .col-lg-5 .nav-arrows {
        position: sticky;
        bottom: 20px;
        left: auto;
        top: auto;
        right: auto;
        width: 617px;
        margin: 40px 0 0 0;
        padding: 0;
        background-color: transparent;
    }
    
    /* Ensure consistent spacing between image and text on large screens */
    .tab-content-inner .row .col-lg-6 {
        padding-right: 30px;
    }
    
    .tab-content-inner .row .col-lg-5 {
        padding-left: 30px;
    }
}

/* Medium screens - align arrows with text container edges and sticky */
@media (min-width: 768px) and (max-width: 991px) {
    .nav-arrows {
        position: sticky !important;
        bottom: 20px !important;
        margin-top: 32px !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        background-color: transparent !important;
}

    .nav-arrows button {
        width: 44px;
        height: 44px;
}

    .nav-arrows button svg {
        width: 20px;
        height: 20px;
}
}

/* nav-arrow class is applied to buttons - styles are in .nav-arrows button above */

/* Old prev-arrow and next-arrow styles removed - now using nav-arrows wrapper */

/* Hover styles are now in .nav-arrows button:hover above */

/* Responsive adjustments for 992px and below */
@media (max-width: 992px) {
    .tab-content-inner {
        height: auto;
        min-height: auto;
        padding: 20px 0;
        padding-bottom: 60px !important;
    }
    
    .dashboard-container,
    .first-tab-image-container {
        margin-bottom: 40px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .dashboard-image,
    .first-tab-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        display: block !important;
    }

    .alex-image {
        max-height: 250px;
    }
    
    .slide-content {
        padding: 0 15px !important;
        padding-bottom: 80px !important;
        position: relative !important;
        min-height: 400px !important;
    }
    
    .nav-arrows {
        position: sticky !important;
        bottom: 20px !important;
        margin-top: 32px !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        background-color: transparent !important;
    }
    
    .nav-arrows button {
        width: 44px;
        height: 44px;
    }
    
    .nav-arrows button svg {
        width: 20px;
        height: 20px;
    }
    
    .tab-content-inner .row {
        flex-direction: column !important;
        margin-bottom: 0 !important;
    }
    
    .tab-content-inner .row .col-lg-6,
    .tab-content-inner .row .col-lg-5 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .tab-content-inner .row .col-lg-6 {
        padding-right: 15px !important;
        padding-left: 15px !important;
        margin-bottom: 40px !important;
    }
    
    .tab-content-inner .row .col-lg-5 {
        padding-right: 15px !important;
        padding-left: 15px !important;
        margin-bottom: 40px !important;
    }
    
    /* Ensure proper spacing for sections */
    .why-take-section {
        padding-bottom: 4rem !important;
        overflow: visible !important;
    }
    
    .leadership-traits-section {
        padding-top: 3rem !important;
        clear: both !important;
        position: relative !important;
        z-index: 1;
    }
    
    .tab-content-inner .row .col-lg-5 {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .dashboard-container,
    .first-tab-image-container {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .slide-content {
        padding-left: 0 !important;
    }
    
    .slide-title {
        width: auto !important;
        height: auto !important;
    }
    
    .slide-content p {
        width: auto !important;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .tab-content-inner {
        padding: 15px 0;
    }
    
    .nav-tabs {
        gap: 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .nav-tabs .nav-link {
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .dashboard-container,
    .first-tab-image-container {
        margin-bottom: 30px;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        position: relative !important;
    }
    
    .dashboard-image,
    .first-tab-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: auto;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
    }
    
    /* Reset all tab-specific styles */
    #default .dashboard-image,
    .first-tab-image {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    #leadership .dashboard-image,
    #decision .dashboard-image,
    #growth .dashboard-image,
    #career .dashboard-image,
    #team .dashboard-image {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        left: 0 !important;
    }

    .alex-image {
        max-height: 200px;
        left: 10px;
    }
    
    .slide-content {
        padding: 0 10px !important;
        padding-bottom: 80px !important;
        position: relative !important;
        min-height: 400px !important;
    }
    
    .slide-title {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 20px;
        width: auto !important;
        height: auto !important;
    }
    
    .slide-content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
        width: auto !important;
        height: auto !important;
    }
    
    .nav-arrows {
        position: sticky !important;
        bottom: 20px !important;
        margin-top: 24px !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        background-color: transparent !important;
    }
    
    .nav-arrows button {
        width: 42px;
        height: 42px;
    }
    
    .nav-arrows button svg {
        width: 20px;
        height: 20px;
    }
    
    .tab-content-inner .row .col-lg-6,
    .tab-content-inner .row .col-lg-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .tab-content-inner {
        padding: 10px 0;
    }
    
    .alex-image {
        max-height: 180px;
    }

    .slide-title {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 15px;
        width: auto !important;
        height: auto !important;
    }
    
    .slide-content p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
        width: auto !important;
        height: auto !important;
    }
    
    .nav-tabs {
        gap: 8px;
    }
    
    .nav-tabs .nav-link {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .dashboard-container,
    .first-tab-image-container {
        margin-bottom: 20px;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        position: relative !important;
    }
    
    .dashboard-image,
    .first-tab-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
    }
    
    /* Reset all tab-specific styles on small screens */
    #default .dashboard-image,
    .first-tab-image {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    #leadership .dashboard-image,
    #decision .dashboard-image,
    #growth .dashboard-image,
    #career .dashboard-image,
    #team .dashboard-image {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        left: 0 !important;
    }
    
    .slide-content {
        padding: 0 10px !important;
        padding-bottom: 80px !important;
        position: relative !important;
        min-height: 400px !important;
    }
    
    .nav-arrows {
        position: sticky !important;
        bottom: 20px !important;
        margin-top: 24px !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        background-color: transparent !important;
    }
    
    .nav-arrows button {
        width: 42px;
        height: 42px;
    }
    
    .nav-arrows button svg {
        width: 18px;
        height: 18px;
    }
    
    .tab-content-inner .row .col-lg-6,
    .tab-content-inner .row .col-lg-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}



/* .icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    font-size: 24px;
    color: var(--primary-color);
} */

/* Meet Alex Section */
.meet-alex-section {
    padding: 5rem 0;
    position: relative;
    background-color: #fff;
}

.alex-image-container {
    position: relative;
}

.alex-image-bg {
    position: absolute;
    width: 350px;
    height: 350px;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 40% 60% 65% 35% / 40% 45% 55% 60%;
    z-index: 0;
}

.alex-image {
    position: relative;
    z-index: 1;
    max-width: 300px;
}

.testimonial-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-controls {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.testimonial-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    cursor: pointer;
}

/* Leadership Traits Section */
.leadership-traits-section {
    padding: 5rem 0;
    background: url(img/section-bg-5.jpeg);
    /* background-color: var(--primary-color); */
    color: white;
    height: 500px;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.leadership-traits-section .container {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.leadership-traits-section p {
    color: #ffffff;
    font-weight: 400;
    font-size: 17px;
    line-height: 30px;
    letter-spacing: 0%;
    text-align: center;
    /* max-width: 1244px; */

}

.trait-link {
    color: var(--bs-heading-color) inherit;
    text-decoration: none;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    transition: color 0.3s ease;
}

.trait-card {
    text-align: center;
    padding: 2rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
    height: 100%;
}

.trait-card:hover {
    transform: translateY(-5px);
}

.trait-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trait-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

/* Leadership Personas */
.personas-section {
    background-image: url(img/section-four-bg.png);
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    background-color: #fff;
    text-align: center;
}

.personas-section h2 {
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    letter-spacing: 0%;
    text-align: center;
    color: #0070C0;

}

.personas-section p {
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    /* letter-spacing: 0%;
    text-align: center; */

}

/* Charts Section */
.charts-section {
    padding: 5rem 0;
    /* background-color: #f9f9f9; */
}

/* LEFT image box (your previous request) */
.fixed-chart {
    width: 444px;
    height: 264px;
    border-radius: 5px;
    overflow: hidden;
}
.fixed-chart .chart-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* RIGHT text box */
.persona-box {
    width: 446px;
    height: 109px;
    padding-top: 3px;
    padding-bottom: 3px;

    /* Optional: If you want the box to not stretch full width */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chart-container {
    
    margin-bottom: 3rem;
}

.chart-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    height: 400px;
    padding: 5rem 0;
    background: url(img/bg-9.png);
    background-size: cover;
    background-position: center;
    align-items: center;
    display: flex;
}

/* Footer */
footer {
    padding: 3rem 0;
    background-color: #EDEDED;
    color: var(--dark-color);
}

.footer-links h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #5E6282;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-section h1{
        font-size: 28px;
        line-height: 40px;
    }
    .hero-image {
        position: relative;
        top: 0;
        width: 100%;
        margin-top: 2rem;
    }

    .hero-section {
        padding: 4rem 0;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .alex-image-container {
        margin-bottom: 2rem;
        text-align: center;
    }

    .alex-image-bg {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Assessment section responsive */
    .assessment-section {
        padding: 3rem 0;
    }
    
    .assessment-dashboard-image {
        width: 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    /* Section two responsive */
    .section-two {
        padding: 2rem 0;
    }
    
    .section-two p {
        font-size: 16px;
        line-height: 28px;
        padding: 0 1rem;
    }
    
    /* Personas section responsive */
    .personas-section {
        padding: 3rem 0;
    }
    
    .personas-section h2 {
        font-size: 28px;
        line-height: 36px;
    }
    
    .personas-section p {
        font-size: 16px;
        line-height: 28px;
    }
    
    /* Charts section responsive */
    .charts-section {
        padding: 3rem 0;
    }
    
    .chart-container {
        margin-bottom: 2rem;
    }
    
    /* CTA section responsive */
    .cta-section {
        height: auto;
        min-height: 300px;
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .category-icons {
        flex-wrap: wrap;
    }

    .category-icon {
        width: 50%;
        margin-bottom: 1.5rem;
    }

    .trait-card {
        margin-bottom: 1.5rem;
    }
    
    /* Six section responsive */
    .six--section {
        padding: 2rem 0;
    }
    
    .six--section .container {
        padding: 1rem 0;
    }
    
    .six--section .row {
        padding: 1rem 0;
    }
    
    .six--section .col-md-3 {
        margin-bottom: 1.5rem;
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .six--section h4 {
        font-size: 16px;
        line-height: 24px;
    }
    
    .trait-icon {
        width: 56px;
        height: 56px;
    }
    
    .trait-icon img {
        width: 32px;
        height: 32px;
    }
    
    /* Hero section mobile */
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 24px;
        line-height: 34px;
        margin-bottom: 1.5rem;
    }
    
    .hero-section p {
        font-size: 15px;
        line-height: 24px;
        margin-bottom: 1.5rem;
    }
    
    .hero-btn-f {
        font-size: 16px;
        padding: 0.75rem 1.5rem;
    }
    
    /* Section two mobile */
    .section-two {
        padding: 1.5rem 0;
    }
    
    .section-two p {
        font-size: 15px;
        line-height: 26px;
        padding: 0 0.5rem;
    }
    
    /* Assessment section mobile */
    .assessment-section {
        padding: 2rem 0;
    }
    
    .assessment-section h2 {
        font-size: 24px;
        margin-bottom: 1.5rem;
    }
    
    .assessment-section p {
        font-size: 15px;
        line-height: 24px;
        margin-bottom: 1.5rem;
    }
    
    /* Leadership traits section mobile */
    .leadership-traits-section {
        height: auto;
        min-height: 400px;
        padding: 2rem 0;
    }
    
    .leadership-traits-section p {
        font-size: 15px;
        line-height: 26px;
        padding: 0 1rem;
    }
    
    .trait-link {
        font-size: 20px;
        line-height: 28px;
    }
    
    /* Personas section mobile */
    .personas-section {
        padding: 2rem 0;
    }
    
    .personas-section h2 {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 1.5rem;
    }
    
    .personas-section p {
        font-size: 15px;
        line-height: 26px;
    }
    
    /* Charts section mobile */
    .charts-section {
        padding: 2rem 0;
    }
    
    .fixed-chart {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-bottom: 1.5rem;
    }
    
    .persona-box {
        width: 100%;
        height: auto;
        padding: 1rem 0;
    }
    
    /* CTA section mobile */
    .cta-section {
        height: auto;
        min-height: 250px;
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    /* Hero section small mobile */
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 20px;
        line-height: 30px;
    }
    
    .hero-section p {
        font-size: 14px;
        line-height: 22px;
    }
    
    .hero-btn-f {
        font-size: 14px;
        padding: 0.625rem 1.25rem;
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    /* Section two small mobile */
    .section-two p {
        font-size: 14px;
        line-height: 24px;
    }
    
    /* Assessment section small mobile */
    .assessment-section h2 {
        font-size: 20px;
    }
    
    .assessment-section p {
        font-size: 14px;
        line-height: 22px;
    }
    
    /* Leadership traits small mobile */
    .leadership-traits-section {
        padding: 1.5rem 0;
        min-height: 350px;
    }
    
    .trait-link {
        font-size: 18px;
        line-height: 26px;
    }
    
    /* Personas section small mobile */
    .personas-section h2 {
        font-size: 20px;
        line-height: 28px;
    }
    
    .personas-section p {
        font-size: 14px;
        line-height: 24px;
    }
    
    /* CTA section small mobile */
    .cta-section {
        padding: 1.5rem 0;
        min-height: 200px;
    }
    
    /* Six section small mobile */
    .six--section {
        padding: 1.5rem 0;
    }
    
    .six--section .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .six--section h4 {
        font-size: 14px;
        line-height: 22px;
    }
    
    .trait-card {
        padding: 1.5rem 1rem;
    }
    
    .trait-icon {
        width: 48px;
        height: 48px;
    }
    
    .trait-icon img {
        width: 28px;
        height: 28px;
    }
}