/* Grobold Font - Local */
.bg-subtle-gray{
    background-color: #F4F3F1;
}

.bg-transparent-dark {
    position: relative;
    background-color: #1b3d5086 !important;
    border: 1px solid #295067 !important;
    transition: transform 0.25s ease;
    overflow: hidden;
}

/* Gradient overlay */
.bg-transparent-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #406780bf,
        #44728f8c,
        #2a526a8c
    );
    opacity: 0;
    transition: opacity 0.35s ease-in-out;
    z-index: 0;
}

/* Keep content above overlay */
.bg-transparent-dark > * {
    position: relative;
    z-index: 1;
}

/* Grobold Font */
.grobold-font {
    font-family: 'Grobold', sans-serif !important;
}

/* Responsive width utility */
.responsive-width {
    width: 75%;
    max-width: 100%;
}

.fs-3rem {
    font-size: 3rem;
}

/* Section padding utility */
.section-py {
    padding: 5rem 0;
}

@media (max-width: 991px) {
    .responsive-width {
        width: 90%;
    }
    
    .fs-3rem {
        font-size: 2.5rem;
    }

    .section-py {
        padding: 3.5rem 0;
    }
}

@media (max-width: 768px) {
    .responsive-width {
        width: 95%;
    }
    
    .fs-3rem {
        font-size: 2rem;
    }

    .section-py {
        padding: 2.5rem 0;
    }
}

@media (max-width: 576px) {
    .responsive-width {
        width: 100%;
    }
    
    .fs-3rem {
        font-size: 1.75rem;
    }

    .section-py {
        padding: 2rem 0;
    }
}

/* ===================================
   REUSABLE FEATURE SECTION COMPONENTS
   =================================== */

/* Dashboard/Image Mockup Wrapper - Centered Image Style */
.dashboard-mockup-wrapper {
    position: relative;
    min-height: 600px;
}

.dashboard-mockup-wrapper img {
    max-width: 90%;
    height: auto;
}

/* Image Mockup Wrapper - Full Cover Style */
.image-mockup-wrapper {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

.image-mockup-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Features List */
.features-list {
    padding: 1rem 0;
    height: 100%;
}

.feature-item {
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-icon {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    background-color: #09293ba9 !important;
}

.feature-text h5,
.feature-text div {
    font-size: 1.125rem;
    line-height: 1.4;
}

/* Content Wrapper for Text Sections */
.content-wrapper {
    padding: 1rem 0;
}

.content-wrapper .feature-list li {
    font-size: 1.125rem;
    transition: transform 0.2s ease;
}

.content-wrapper .feature-list li:hover {
    transform: translateX(5px);
}

.content-wrapper .display-5 {
    font-size: 2.5rem;
}

/* ===================================
   FIX AOS SLIDE ANIMATIONS ON MOBILE
   =================================== */

/* Prevent horizontal overflow from AOS animations */
body {
    overflow-x: hidden !important;
}

/* Prevent horizontal overflow on containers but allow normal vertical flow */
.container,
.container-fluid {
    overflow-x: none;
}

/* Override slide-right and slide-left animations on mobile to prevent layout issues */
@media (max-width: 991px) {
    /* Replace slide animations with fade animations on tablet and mobile */
    [data-aos="slide-right"],
    [data-aos="slide-left"] {
        transform: none !important;
    }
    
    [data-aos="slide-right"][data-aos][data-aos-easing="ease"],
    [data-aos="slide-left"][data-aos][data-aos-easing="ease"] {
        transition-property: opacity !important;
    }
}

/* ===================================
   RESPONSIVE STYLES FOR FEATURE PAGES
   =================================== */

/* Tablet and Below (≤991px) */
@media (max-width: 991px) {
    /* Hero Section */
    #hero-section {
        min-height: auto !important;
        padding: 4rem 0 !important;
    }

    #hero-section .display-2 {
        font-size: 2.5rem !important;
    }

    #hero-section .lead {
        font-size: 1.1rem !important;
    }

    /* All Display Headings */
    .display-4 {
        font-size: 2rem !important;
    }

    .display-5 {
        font-size: 1.75rem !important;
    }

    /* Section Spacing */
    section.py-5 {
        padding: 3rem 0 !important;
    }

    section.py-5 .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Compatible Check Card */
    .card-fit-check {
        width: 70% !important;
    }

    /* Pricing Section Card */
    #section-5 .card[style*="width"] {
        width: 100% !important;
        max-width: 35rem !important;
    }

    /* Use Case Cards */
    #use-case-section .card {
        margin-bottom: 1rem;
    }

    /* Feature Sections - Responsive Layout */
    .dashboard-mockup-wrapper,
    .image-mockup-wrapper {
        min-height: 400px;
    }

    .dashboard-mockup-wrapper img,
    .image-mockup-wrapper img {
        max-width: 100%;
    }

    .feature-text h5,
    .feature-text div {
        font-size: 1rem;
    }

    .content-wrapper .feature-list li {
        font-size: 1rem;
    }

    .content-wrapper .display-5 {
        font-size: 2rem !important;
    }

    /* Reverse column order for mobile */
    .row-reverse-mobile {
        flex-direction: column-reverse;
    }

    .row-reverse-mobile .col-lg-6:first-child {
        margin-top: 2rem;
    }

    /* Button Groups */
    .d-flex.gap-3 {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .d-flex.gap-3 .btn {
        width: 100% !important;
    }

    /* Accordion Section */
    #accordion-section .accordion {
        margin-bottom: 2rem;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    /* Hero Section */
    #hero-section {
        padding: 6rem 0 3rem 0 !important;
    }

    #hero-section .display-2 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    #hero-section .lead {
        font-size: 1rem !important;
    }

    /* Display Headings */
    .display-4 {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }

    .display-5 {
        font-size: 1.5rem !important;
    }

    /* Lead Paragraphs */
    .lead {
        font-size: 1rem !important;
    }

    /* Section Padding */
    section.py-5 {
        padding: 2.5rem 0 !important;
    }

    section.py-5 .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Text Alignment */
    .text-center,
    .text-lg-start {
        text-align: center !important;
    }

    /* Compatible Check Card */
    .card-fit-check {
        width: 90% !important;
    }

    /* Pricing Section */
    #section-5 .card[style*="width"] {
        width: 100% !important;
        max-width: 100% !important;
    }

    #section-5 .card .row .col-md-6 {
        margin-bottom: 1rem;
    }

    /* Use Case Section */
    #use-case-section .col-lg-4 {
        margin-bottom: 1rem;
    }

    /* Feature List */
    .feature-list li {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    /* Buttons */
    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }

    /* Feature Sections */
    .dashboard-mockup-wrapper,
    .image-mockup-wrapper {
        margin-bottom: 2rem;
        min-height: 350px;
    }

    .feature-item {
        margin-bottom: 1.25rem !important;
    }

    .feature-text h5,
    .feature-text div {
        font-size: 1rem;
    }

    .feature-icon {
        min-width: 44px !important;
        width: 44px !important;
        height: 44px !important;
    }

    .feature-icon i {
        font-size: 1.25rem !important;
    }

    /* Content Wrapper Sections */
    .content-wrapper .display-5 {
        font-size: 1.875rem !important;
        text-align: center;
    }

    .content-wrapper .lead {
        text-align: center;
    }

    .content-wrapper .feature-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .content-wrapper .feature-list li {
        font-size: 1rem;
        text-align: left;
        width: 100%;
        max-width: 400px;
    }

    .content-wrapper .btn-lg {
        justify-content: center;
    }

    /* Accordion */
    #accordion-section .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }

    #accordion-section .accordion-body {
        font-size: 0.95rem;
    }
}

/* Small Mobile (≤576px) */
@media (max-width: 576px) {
    /* Hero Section */
    #hero-section {
        padding: 8rem 0 2rem 0 !important;
    }

    #hero-section .display-2 {
        font-size: 1.75rem !important;
        margin-bottom: 1.5rem !important;
    }

    #hero-section .lead {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Display Headings */
    .display-4 {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .display-5 {
        font-size: 1.25rem !important;
    }

    /* Lead Paragraphs */
    .lead {
        font-size: 0.95rem !important;
        padding: 0 0.5rem !important;
    }

    /* Section Padding */
    section.py-5 {
        padding: 2rem 0 !important;
    }

    section.py-5 .container.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    /* Container Padding */
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* Compatible Check Card */
    .card-fit-check {
        width: 100% !important;
    }

    /* Pricing Section */
    #section-5 .card {
        padding: 1rem !important;
    }

    #section-5 .card .col-md-6 {
        margin-bottom: 1.5rem;
    }

    #section-5 .bg-label-primary {
        width: 48px !important;
        height: 48px !important;
    }

    #section-5 h4 {
        font-size: 1.25rem !important;
    }

    #section-5 small {
        font-size: 0.8rem !important;
    }

    /* Use Case Section Cards */
    #use-case-section .card {
        margin-bottom: 1rem;
    }

    #use-case-section .card-body {
        padding: 1rem !important;
    }

    #use-case-section .card-title {
        font-size: 1rem !important;
    }

    #use-case-section .card-text {
        font-size: 0.875rem !important;
    }

    /* Feature List Icons */
    .feature-list .bi {
        font-size: 1.25rem !important;
    }

    .feature-list span {
        font-size: 0.9rem !important;
    }

    /* Buttons */
    .btn-lg {
        padding: 0.65rem 1.25rem !important;
        font-size: 0.95rem !important;
    }

    .d-flex.gap-3 .btn {
        width: 100% !important;
        text-align: center !important;
    }

    /* Feature Sections */
    .dashboard-mockup-wrapper,
    .image-mockup-wrapper {
        margin-bottom: 1.5rem;
        min-height: 300px;
        padding: 1.5rem !important;
    }

    .feature-item {
        margin-bottom: 1rem !important;
        gap: 0.75rem !important;
    }

    .feature-text h5,
    .feature-text div {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .feature-icon {
        min-width: 40px !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0.5rem !important;
    }

    .feature-icon i {
        font-size: 1.125rem !important;
    }

    .features-list .btn-lg,
    .content-wrapper .btn-lg {
        width: 100%;
        justify-content: center;
    }

    /* Content Wrapper */
    .content-wrapper .display-5 {
        font-size: 1.5rem !important;
    }

    .content-wrapper .lead {
        font-size: 0.95rem !important;
    }

    .content-wrapper .feature-list li {
        font-size: 0.95rem;
    }

    /* Accordion */
    #accordion-section .accordion-button {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    #accordion-section .accordion-body {
        font-size: 0.875rem;
        padding: 1rem;
    }

    /* Testimonial Section */
    #testimonial-section h1 {
        font-size: 1.75rem !important;
    }

    /* General spacing */
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }

    .mb-4 {
        margin-bottom: 1rem !important;
    }

    .mt-4,
    .my-4 {
        margin-top: 1rem !important;
    }

    .gap-2,
    .gap-3 {
        gap: 0.5rem !important;
    }

    .row.g-4 {
        --bs-gutter-y: 1rem !important;
    }

    .row.g-5 {
        --bs-gutter-y: 1.5rem !important;
    }
}

/* Extra Small Mobile (≤375px) */
@media (max-width: 375px) {
    /* Hero Section */
    #hero-section .display-2 {
        font-size: 1.5rem !important;
    }

    /* Display Headings */
    .display-4 {
        font-size: 1.375rem !important;
    }

    .display-5 {
        font-size: 1.125rem !important;
    }

    /* Buttons */
    .btn-lg {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
    }

    /* Feature List */
    .feature-list span {
        font-size: 0.85rem !important;
    }

    /* Pricing Section */
    #section-5 .bg-label-primary {
        width: 40px !important;
        height: 40px !important;
    }

    #section-5 h4 {
        font-size: 1.125rem !important;
    }

    #section-5 small {
        font-size: 0.75rem !important;
    }

    /* Use Case Cards */
    #use-case-section .card-title {
        font-size: 0.95rem !important;
    }

    #use-case-section .card-text {
        font-size: 0.8rem !important;
    }

    /* Feature Sections */
    .dashboard-mockup-wrapper,
    .image-mockup-wrapper {
        min-height: 250px;
        padding: 1rem !important;
    }

    .feature-text h5,
    .feature-text div {
        font-size: 0.875rem;
        text-align: center;
    }

    .feature-icon {
        min-width: 36px !important;
        width: 36px !important;
        height: 36px !important;
    }

    .feature-icon i {
        font-size: 1rem !important;
    }

    /* Content Wrapper */
    .content-wrapper .display-5 {
        font-size: 1.375rem !important;
    }

    .content-wrapper .feature-list li {
        font-size: 0.875rem;
    }

    /* Accordion */
    #accordion-section .accordion-button {
        font-size: 0.85rem;
        padding: 0.65rem 0.85rem;
    }

    #accordion-section .accordion-body {
        font-size: 0.8rem;
        padding: 0.85rem;
    }

    /* Testimonial Section */
    #testimonial-section h1 {
        font-size: 1.5rem !important;
    }

    /* Compatible Check Card */
    .card-fit-check .display-5 {
        font-size: 1.25rem !important;
    }

    .card-fit-check .feature-list li span {
        font-size: 0.85rem !important;
    }
}

/* Testimonial Carousel */
.testimonial-carousel-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonial-card {
    background-color: #F4F3F1;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 320px;
    max-width: 700px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Carousel Transitions */
#testimonialCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Navigation Buttons */
.testimonial-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.testimonial-nav-btn:hover {
    background-color: #ff6900;
    border-color: #ff6900;
    transform: scale(1.1);
}

.testimonial-nav-btn:active {
    transform: scale(0.95);
}

/* Pagination Dots */
.testimonial-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-indicators button.active {
    background-color: #ff6900;
    width: 32px;
    border-radius: 6px;
}

.testimonial-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.testimonial-indicators button.active:hover {
    background-color: #ff6900;
}

.quote-icon {
    width: 64px;
    height: 64px;
    background-color: #ff6900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #2c3e50;
    margin: 0;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #5a5a5a;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
}

.author-title {
    font-size: 0.95rem;
    color: #7f8c9a;
    line-height: 1.2;
}

/* Tablet Responsive */
@media (max-width: 991px) {
    .testimonial-carousel-wrapper {
        max-width: 650px;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
        min-height: 300px;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .testimonial-carousel-wrapper {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .testimonial-card {
        padding: 1.75rem 1.5rem;
        min-height: auto;
    }

    .quote-icon {
        width: 56px;
        height: 56px;
    }

    .quote-icon svg {
        width: 28px;
        height: 28px;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .author-avatar {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }

    .author-name {
        font-size: 0.95rem;
    }

    .author-title {
        font-size: 0.875rem;
    }

    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .testimonial-indicators button {
        width: 10px;
        height: 10px;
    }

    .testimonial-indicators button.active {
        width: 24px;
    }
}