/* ============================================
   RESPONSIVE STYLES FOR ABOUT US PAGE
   ============================================ */

/* ============================================
   ABOUT HERO SECTION RESPONSIVE
   ============================================ */

/* Mobile Styles (max-width: 767px) */
@media (max-width: 767px) {
    .about-section-hero {
        padding: 60px 0 0 0;
        min-height: auto;
    }


    .about-section-hero-content {
        padding: 0 16px;
        text-align: center;
        gap: 20px;
    }

    .about-section-hero-content h1 {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 16px;
    }

    .about-section-hero .about-section-hero-content p {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 24px;
        width: 100%;
    }

    .about-section-hero .about-hero-image,
    .eclipse-inner-image {
        max-width: 100%;
        height: auto;
        left: unset;
    }

    .about-section-hero-you-us::before,
    .about-section-hero-vision-mission::before {
        left: unset;
        transform: translateX(calc(-50% + 6.5px));
        width: 2px;
    }

    .about-sections-wrapper::after {
        width: 16px;
        height: 16px;
        background-size: 16px 16px;
        left: unset;
        transform: translateX(calc(-50% + 22.5px));
    }

    /* YOU + US Section */
    .about-sections-wrapper {
        padding-left: 0;
    }

    .about-section-hero-you-us {
        padding: 32px 16px;
    }

    .about-section-hero-you-us-heading,
    .about-section-hero-you-us-content,
    .about-section-hero-vision-mission-content {
        padding-left: 30px;
    }

    .about-section-hero-you-us-heading h2 {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 20px;
    }

    .about-section-hero-you-us-heading h2 span {
        display: block;
        margin-top: 8px;
    }

    .about-section-hero-you-us-content {
        margin-top: 24px;
    }

    .about-section-hero-you-us-content p {
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
    }

    /* Vision & Mission Section */
    .about-section-hero-vision-mission {
        padding: 0 16px;
        gap: 32px;
    }

    .about-section-hero-vision-mission-content {
        margin-bottom: 32px;
    }

    .about-section-hero-vision-mission-content h3 {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 12px;
        color: #69DFCA;
    }

    .about-section-hero-vision-mission-content.mission-content h3 {
        color: #409BDC;
    }

    .about-section-hero-vision-mission-content p {
        font-size: 14px;
        line-height: 20px;
        color: #E5E7EB;
    }

    .about-section-hero-divider {
        margin: 12px 0;
        width: 100%;
        max-width: 311px;
    }

    .about-section-hero-divider-line {
        height: 1px;
        width: 100%;
    }

    .vision-divider .about-section-hero-divider-line {
        background: linear-gradient(90deg, #1181D0 0%, #26A95F 100%);
    }

    .mission-divider .about-section-hero-divider-line {
        background: linear-gradient(90deg, #22A06B 0%, #1181D0 100%);
    }

    /* Eclipse Section */
    .about-section-hero-eclipse-section {
        padding: 0 16px;
        max-height: 340px;
    }

    .about-section-hero-eclipse-section .eclipse-image {
        max-width: 100%;
        height: auto;
    }

    .about-section-hero-eclipse-section .eclipse-image.pc {
        display: none;
    }

    .about-section-hero-eclipse-section .eclipse-image.mobile {
        display: block;
        top: 4px;
        transform: translateX(calc(-50% + 7px)) scale(1.2);
    }

    .about-section-hero-eclipse-section .eclipse-inner-image {
        max-width: 80%;
        height: auto;
        transform: translateX(calc(-50% + 15px));
    }

    /* Background */
    .about-section-hero-background {
        opacity: 0.3;
    }

    .about-section-hero-background img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}

/* Tablet Styles (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .about-section-hero-you-us-heading {
        align-items: flex-start;
    }

    .about-section-hero {
        padding: 80px 0 60px 0;
    }

    .about-section-hero-content {
        padding: 0 24px;
    }

    .about-section-hero-content h1 {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 15px;
    }

    .about-section-hero .about-section-hero-content p {
        font-size: 16px;
        line-height: 24px;
        width: 100%;
    }

    .about-section-hero-you-us {
        padding: 40px 24px;
    }

    .about-section-hero-you-us-heading h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .about-section-hero-you-us-content p {
        font-size: 15px;
        line-height: 22px;
    }

    .about-section-hero-vision-mission {
        padding: 0 24px;
        gap: 40px;
    }

    .about-section-hero-vision-mission-content h3 {
        font-size: 32px;
        line-height: 40px;
    }

    .about-section-hero-vision-mission-content p {
        font-size: 15px;
        line-height: 22px;
    }

    .about-section-hero-you-us-content {
        padding-left: 30px;
    }

    .about-section-hero-vision-mission-content {
        padding-right: 30px;
    }

    .mission-content {
        padding-left: 30px;
        padding-right: 0;
    }

    .about-section-hero-eclipse-section {
        max-height: 300px;
    }
}

/* Desktop Styles (992px - 1200px) */
@media (min-width: 992px) and (max-width: 1200px) {
    .about-section-hero-you-us-heading {
        align-items: flex-start;
    }

    .about-section-hero-content h1 {
        font-size: 48px;
        line-height: 56px;
        margin-bottom: 20px;
    }

    .about-section-hero-you-us-heading h2 {
        font-size: 40px;
        line-height: 48px;
    }

    .about-section-hero-vision-mission-content h3 {
        font-size: 36px;
        line-height: 44px;
    }

    .about-section-hero-you-us-content {
        padding-left: 30px;
    }

    .about-section-hero-vision-mission-content {
        padding-right: 30px;
    }

    .mission-content {
        padding-left: 30px;
        padding-right: 0;
    }

    .about-section-hero-eclipse-section {
        max-height: 400px;
    }
}

/* ============================================
   ABOUT STATES SECTION RESPONSIVE
   ============================================ */

@media (max-width: 767px) {
    .about-states-wrapper {
        padding: 40px 0;
        overflow: hidden;
    }

    .about-states-content-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px;
    }

    .about-states-content {
        display: flex;
        gap: 24px;
        padding: 20px 0;
    }

    .about-states-content-item {
        min-width: 200px;
        flex-shrink: 0;
        padding: 24px 16px;
    }

    .about-states-content-item .stat-number {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 8px;
    }

    .about-states-content-item .stat-label {
        font-size: 13px;
        line-height: 18px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .about-states-wrapper {
        padding: 60px 0;
    }

    .about-states-content {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .about-states-content-item {
        flex: 1 1 calc(50% - 10px);
        min-width: 200px;
        max-width: 300px;
        padding: 32px 20px;
    }

    .about-states-content-item .stat-number {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 10px;
    }

    .about-states-content-item .stat-label {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .about-states-wrapper {
        padding: 80px 0;
    }

    .about-states-content {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .about-states-content-item .stat-label {
        font-size: 16px;
        line-height: 20px;
    }

    .about-states-content-item {
        /* flex: 1 1 calc(33.333% - 16px); */
        width: 250px;
        min-width: unset;
        max-width: unset;
        height: auto;
        padding: 16px 0 16px 16px;
    }
}

/* ============================================
   ABOUT TIMELINE SECTION RESPONSIVE
   ============================================ */

@media (max-width: 767px) {
    .about-timeline-section {
        padding: 40px 0;
    }

    .about-timeline-header {
        padding: 0 16px;
        margin-bottom: 20px;
    }

    .about-timeline-title {
        font-size: 28px;
        line-height: 36px;
        text-align: center;
    }

    .about-timeline-scrolling-slider {
        padding: 20px 0;
    }

    .about-timeline-scrolling-slider-items {
        flex-direction: column;
        gap: 32px;
    }

    .about-timeline-scrolling-slider-item {
        max-width: 100%;
        min-width: 100%;
        width: 100%;
        padding: 0;
    }

    .timeline-card {
        padding: 0 16px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .timeline-dot {
        width: 20px !important;
        height: 20px !important;
        display: none;
    }

    .timeline-divider {
        margin: 12px 0;
        width: 100%;
        max-width: 100%;
    }

    .timeline-divider .about-section-hero-divider-line {
        width: 100%;
    }

    .timeline-year {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 12px;
    }

    .timeline-title {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .timeline-description {
        font-size: 13px;
        line-height: 18px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .about-timeline-section::before {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .about-timeline-section {
        padding: 60px 0;
    }

    .about-timeline-header {
        padding: 0 24px;
        margin-bottom: 40px;
    }

    .about-timeline-title {
        font-size: 32px;
        line-height: 40px;
    }

    .about-timeline-scrolling-slider {
        padding: 40px 0;
    }

    .about-timeline-scrolling-slider-items {
        flex-direction: column;
        gap: 40px;
    }

    .about-timeline-scrolling-slider-item {
        max-width: 100%;
        min-width: 100%;
        width: 100%;
        padding: 0 24px;
    }

    .timeline-card {
        padding: 32px 20px;
        width: 100%;
        max-width: 100%;
    }

    .timeline-year {
        font-size: 32px;
        line-height: 40px;
    }

    .timeline-title {
        font-size: 20px;
        line-height: 28px;
    }

    .timeline-description {
        font-size: 14px;
        line-height: 20px;
    }

    .about-timeline-section::before {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .about-timeline-section {
        padding: 80px 0;
    }

    .about-timeline-title {
        font-size: 36px;
        line-height: 44px;
    }

    .about-timeline-scrolling-slider-item {
        max-width: 360px;
        min-width: 360px;
        width: 360px;
    }

    .about-timeline-section::before {
        top: 190px;
    }

}

/* ============================================
   ABOUT FOUNDERS SECTION RESPONSIVE
   ============================================ */

@media (max-width: 767px) {
    .about-founders-heding .about-founders-heding-title h2 {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 12px;
    }

    .about-founders-wrapper {
        padding: 40px 0;
    }

    /* Disable sticky positioning on mobile */
    .about-founders-description {
        position: static !important;
        top: auto !important;
        padding-top: 0;
        padding-bottom: 40px;
    }

    .about-founders-heding {
        padding: 0 16px;
        margin-bottom: 32px;
    }

    .about-founders-heding-title h2 {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 20px;
    }

    .about-founders-heding-content p {
        font-size: 14px;
        line-height: 20px;
        margin-top: 20px;
    }

    .about-founders-description {
        padding: 0;
        margin-bottom: 40px;
    }

    .about-founders-description .row {
        flex-direction: column-reverse;
    }

    .about-founders-description-image {
        margin-bottom: 24px;
        text-align: center;
    }

    .about-founders-description-image img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .about-founders-description-content {
        padding: 0;
    }

    .about-founders-quote {
        width: 32px;
        height: auto;
        margin-bottom: 16px;
    }

    .about-founders-description-content h3 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 16px;
    }

    .about-founders-description-content .founder-item-description {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 16px;
    }

    .about-founders-description-content h4 {
        font-size: 18px;
        line-height: 24px;
        margin-top: 24px;
        margin-bottom: 12px;
    }

    .about-founders-description-content h4 span {
        font-size: 14px;
        display: block;
        margin-top: 4px;
    }

    .about-founders-description-social-links {
        margin-top: 16px;
    }

    .about-founders-description-social-links a img {
        width: 32px;
        height: 32px;
    }

    .about-founders-heding .about-founders-heding-content p {
        font-size: 16px;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    .about-founders-wrapper {
        padding: 60px 0;
    }

    /* Disable sticky positioning on tablet */
    .about-founders-description {
        position: static !important;
        top: auto !important;
        padding-top: 0;
        padding-bottom: 48px;
    }

    .about-founders-heding {
        padding: 0 24px;
        margin-bottom: 40px;
    }

    .about-founders-heding .about-founders-heding-title h2 {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 12px;
    }

    .about-founders-heding .about-founders-heding-content p {
        font-size: 15px;
        line-height: 22px;
    }

    .about-founders-description {
        padding: 0 24px;
        margin-bottom: 48px;
    }

    .about-founders-description .row {
        flex-direction: column-reverse;
    }

    .about-founders-description-image {
        margin-bottom: 32px;
    }

    .about-founders-description-content h3 {
        font-size: 24px;
        line-height: 32px;
    }

    .about-founders-description-content .founder-item-description {
        font-size: 15px;
        line-height: 22px;
    }

    .about-founders-description-content h4 {
        font-size: 20px;
        line-height: 28px;
    }

    .about-founders-description-content {
        padding-right: 0;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .about-founders-wrapper {
        padding: 80px 0;
    }


    .about-founders-heding .about-founders-heding-title h2 {
        font-size: 36px;
        line-height: 44px;
    }

    .about-founders-description-content h3 {
        font-size: 28px;
        line-height: 36px;
    }
}

/* ============================================
   ABOUT OUR ALLIANCES SECTION RESPONSIVE
   ============================================ */

@media (max-width: 767px) {
    .about-our-alliances {
        padding: 40px 0;
    }

    .about-our-alliances-content-list-inner {
        gap: 20px;
    }

    .about-our-alliances-content {
        padding: 0 16px;
        text-align: center;
    }

    .about-our-alliances-content h2 {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 16px;
    }

    .about-our-alliances-content h2 span {
        display: inline;
    }

    .about-our-alliances-content p {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 32px;
    }

    .about-our-alliances-content-list {
        margin-top: 32px;
        margin-bottom: 0;
    }

    .about-our-alliances-content-item img {
        max-width: 100px;
        height: auto;
        opacity: 0.7;
        transition: all 0.3s ease;
    }

    .about-our-alliances-content-item:hover img {
        filter: grayscale(0%);
        opacity: 1;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .about-our-alliances {
        padding: 60px 0;
    }

    .about-our-alliances-content {
        padding: 0 24px;
    }

    .about-our-alliances-content h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .about-our-alliances-content p {
        font-size: 15px;
        line-height: 22px;
    }

    .about-our-alliances-content-list {
        margin-bottom: 0;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .about-our-alliances {
        padding: 80px 0;
    }

    .about-our-alliances-content h2 {
        font-size: 36px;
        line-height: 44px;
    }


}

/* ============================================
   GENERAL RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 767px) {

    /* Hide desktop-only elements - scoped to about page sections */
    .about-section-hero-eclipse-section .pc {
        display: none !important;
    }

    .about-section-hero-eclipse-section .tab {
        display: none !important;
    }

    .about-section-hero-eclipse-section .mobile {
        display: block !important;
    }

    /* Adjust container padding */
    .about-page-body .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Adjust row gutters */
    .about-page-body .row {
        margin-left: -8px;
        margin-right: -8px;
    }

    .about-page-body .row>[class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }

    /* Typography adjustments */

    .about-page-body h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .about-page-body h1,
    .about-timeline-title {
        font-size: 28px;
        line-height: 36px;
    }

    .about-page-body h3 {
        font-size: 20px;
        line-height: 28px;
        width: 100%;
    }

    .about-page-body h4 {
        font-size: 18px;
        line-height: 24px;
    }

    .about-page-body p {
        font-size: 14px;
        line-height: 20px;
        width: 100%;
    }

    /* Button adjustments */
    .about-page-body .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    /* Scoped to about page sections */
    .about-section-hero-eclipse-section .pc {
        display: none !important;
    }

    .about-section-hero-eclipse-section .tab {
        display: block !important;
    }

    .about-section-hero-eclipse-section .mobile {
        display: none !important;
    }

    .about-page-body .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .about-page-body h1 {
        font-size: 36px;
        line-height: 44px;
    }

    .about-page-body h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .about-page-body h3 {
        font-size: 24px;
        line-height: 32px;
    }
}

@media (min-width: 992px) {
    /* Scoped to about page sections */
    .about-section-hero-eclipse-section .pc {
        display: block !important;
    }

    .about-section-hero-eclipse-section .tab {
        display: none !important;
    }

    .about-section-hero-eclipse-section .mobile {
        display: none !important;
    }
}

/* ============================================
   SMOOTH SCROLLING AND ANIMATIONS
   ============================================ */

@media (max-width: 991px) {

    /* Smooth scroll for horizontal scrolling sections */
    /*   .about-states-content-wrapper,
    .about-our-alliances-content-list-inner {
        scroll-behavior: smooth;
        scrollbar-width: thin;
        scrollbar-color: rgba(105, 223, 202, 0.3) transparent;
    } */

    .about-states-content-wrapper::-webkit-scrollbar,
    .about-our-alliances-content-list-inner::-webkit-scrollbar {
        height: 4px;
    }

    .about-states-content-wrapper::-webkit-scrollbar-track,
    .about-our-alliances-content-list-inner::-webkit-scrollbar-track {
        background: transparent;
    }

    .about-states-content-wrapper::-webkit-scrollbar-thumb,
    .about-our-alliances-content-list-inner::-webkit-scrollbar-thumb {
        background: rgba(105, 223, 202, 0.3);
        border-radius: 2px;
    }

    /* Reduce animations on mobile for better performance */
    .word-scroll-animation {
        animation: none !important;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION
   ============================================ */

@media (max-width: 991px) and (orientation: landscape) {
    .about-section-hero {
        padding: 40px 0 30px 0;
    }

    .about-section-hero-content h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .about-section-hero-you-us {
        padding: 24px 16px;
    }

    .about-section-hero-vision-mission {
        gap: 24px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {

    .about-section-hero-background,
    .about-section-hero-eclipse-section {
        display: none;
    }

    .about-page-body {
        background: white;
        color: black;
    }

    .about-section-hero,
    .about-states-wrapper,
    .about-timeline-section,
    .about-founders-wrapper,
    .about-our-alliances {
        page-break-inside: avoid;
    }
}