/* style/about.css */

/* Base styles for the page content */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: #F4F7FB; /* Match body background */
}

.page-about__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
}

.page-about__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
}

.page-about__hero-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 15px;
    max-width: 100%;
}

.page-about__hero-description {
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons Group */
.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #FFFFFF;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-about__btn-secondary {
    background: #FFFFFF;
    color: #2F6BFF; /* Main color */
    border: 2px solid #2F6BFF; /* Border color */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-about__btn-secondary:hover {
    background: #F4F7FB; /* Background color */
    color: #2F6BFF;
    border-color: #4A8BFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* General Section Styles */
.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-about__container--center {
    text-align: center;
}

.page-about__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    color: #000000; /* Custom Color_1776249996415 */
    text-align: center;
    margin-bottom: 40px;
}

.page-about__section-title--white {
    color: #FFFFFF;
}

.page-about__sub-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* About Us Section */
.page-about__about-us-section {
    padding: 60px 0;
}

.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__content-grid--reverse .page-about__image-block {
    order: 2; /* Image on right for reverse */
}

.page-about__content-grid--reverse .page-about__text-block {
    order: 1; /* Text on left for reverse */
}

.page-about__text-block p {
    margin-bottom: 15px;
    color: #1F2D3D; /* Text Main */
}

.page-about__text-block--white p {
    color: #FFFFFF;
}

.page-about__image-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* History Section */
.page-about__history-section {
    padding: 60px 0;
    background-color: #2F6BFF; /* Main color */
}

.page-about__history-section .page-about__sub-title {
    color: #FFFFFF;
}

/* Products and Services Section */
.page-about__products-services-section {
    padding: 60px 0;
}

.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-about__feature-card.page-about__card {
    background: #FFFFFF; /* Card BG */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #1F2D3D; /* Text Main */
}

.page-about__feature-card.page-about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-about__card-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #2F6BFF; /* Main color */
    margin-bottom: 15px;
}

.page-about__feature-card p {
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-about__text-link {
    color: #2F6BFF; /* Main color */
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
}

.page-about__text-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #2F6BFF;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.page-about__text-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Security and Support Section */
.page-about__security-support-section {
    padding: 60px 0;
    background-color: #2F6BFF; /* Main color */
}

.page-about__security-support-section .page-about__sub-title {
    color: #FFFFFF;
}

/* Join Us Section */
.page-about__join-us-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-about__join-us-section .page-about__description {
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__content-grid {
        grid-template-columns: 1fr;
    }
    
    .page-about__content-grid--reverse .page-about__image-block {
        order: initial; /* Reset order for smaller screens */
    }

    .page-about__content-grid--reverse .page-about__text-block {
        order: initial; /* Reset order for smaller screens */
    }
    
    .page-about__image-block {
        margin-bottom: 30px;
    }
    
    .page-about__hero-title {
        font-size: clamp(2em, 5vw, 2.5em);
    }

    .page-about__section-title {
        font-size: clamp(1.6em, 4vw, 2.2em);
    }

    .page-about__sub-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    /* Mobile image responsiveness */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile video responsiveness (if any, though none on this page) */
    .page-about video,
    .page-about__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile container responsiveness */
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-section,
    .page-about__about-us-section,
    .page-about__history-section,
    .page-about__products-services-section,
    .page-about__security-support-section,
    .page-about__join-us-section,
    .page-about__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container,
    .page-about__video-section,
    .page-about__video-container,
    .page-about__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    /* Specific section padding adjustments */
    .page-about__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
        padding-bottom: 30px !important;
    }

    .page-about__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically on mobile */
        gap: 15px !important;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important; /* Full width buttons */
        padding: 12px 20px !important;
    }
}