.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
    background: #B71C1C; /* Background */
}

.page-about__hero-section {
    padding-top: 10px; /* Small top padding */
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #C91F17, #E53935);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
}

.page-about__hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.page-about__hero-slide {
    display: none;
    position: relative;
    width: 100%;
    height: auto;
}

.page-about__hero-slide.is-active {
    display: block;
}

.page-about__hero-slide .page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-about__hero-slide .page-about__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: center;
    color: #FFF5E1;
    z-index: 2;
}

.page-about__hero-slider-prev,
.page-about__hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #FFF5E1;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 3;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.page-about__hero-slider-prev:hover,
.page-about__hero-slider-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.page-about__hero-slider-prev {
    left: 10px;
}

.page-about__hero-slider-next {
    right: 10px;
}

.page-about__hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.page-about__hero-slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__hero-slider-dot.is-active {
    background-color: #F4D34D; /* Gold */
    transform: scale(1.2);
}

.page-about__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp as requested */
    color: #FFF5E1; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
    font-size: 1.15rem;
    color: #FFF5E1; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button doesn't exceed container */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button color */
    color: #7A0E0E; /* Deep Red for text on gold button */
    border: 2px solid #F4D34D; /* Gold border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary {
    background: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F2B544; /* Border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary:hover {
    background: #C91F17; /* Primary Color */
    color: #FFF5E1;
    border-color: #FFCC66; /* Glow */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

.page-about__intro-section,
.page-about__cta-section,
.page-about__blog-section {
    padding: 60px 0;
    text-align: center;
}

.page-about__intro-section {
    background: #B71C1C; /* Background */
    color: #FFF5E1; /* Text Main */
}

.page-about__section-title {
    font-size: 2.5rem;
    color: #FFD86A; /* Gold-ish for titles */
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-about__section-paragraph {
    font-size: 1.1rem;
    color: #FFF5E1; /* Text Main */
    max-width: 900px;
    margin: 0 auto 20px auto;
}

/* Guide Box Section (Five vertical cards) */
.page-about__guide-box {
    padding: 60px 0;
    background: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    text-align: center;
}

.page-about__guide-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-about__guide-card {
    flex: 0 0 calc(20% - 16px); /* 5 cards per row, accounting for gap */
    max-width: calc(20% - 16px);
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #B71C1C; /* Background */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-about__guide-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 250 / 350; /* Fixed aspect ratio for vertical images */
    object-fit: cover;
    display: block;
}

/* Home Content Box (main text content) */
.page-about__home-content-box {
    max-width: 91%;
    margin: 60px auto;
    padding: 30px;
    border: 5px solid #F2B544; /* Border */
    border-radius: 15px;
    box-shadow: 0 0 20px #FFCC66; /* Glow */
    background: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    height: 700px; /* Fixed height for desktop */
    box-sizing: border-box;
}

.page-about__home-content-inner {
    height: 100%;
    overflow-y: auto; /* Scrollable content */
    padding-right: 15px; /* For scrollbar */
    box-sizing: border-box;
}

/* Custom scrollbar for webkit browsers */
.page-about__home-content-inner::-webkit-scrollbar {
    width: 8px;
}

.page-about__home-content-inner::-webkit-scrollbar-track {
    background: #7A0E0E; /* Deep Red */
    border-radius: 10px;
}

.page-about__home-content-inner::-webkit-scrollbar-thumb {
    background: #F4D34D; /* Gold */
    border-radius: 10px;
}

.page-about__content-subtitle {
    font-size: 1.8rem;
    color: #FFD86A; /* Gold-ish for subtitles */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* CTA Section */
.page-about__cta-section {
    background: linear-gradient(180deg, #C91F17, #7A0E0E); /* Primary to Deep Red */
    color: #FFF5E1; /* Text Main */
    padding: 80px 0;
}

/* Blog Section */
.page-about__blog-section {
    background: #B71C1C; /* Background */
    color: #FFF5E1; /* Text Main */
    padding: 60px 0;
}

.page-about__blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-about__blog-card {
    background: #D32F2F; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    color: #FFF5E1; /* Text Main */
}

.page-about__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__blog-card-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-about__blog-card-content {
    padding: 20px;
}

.page-about__blog-card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-about__blog-card-title a {
    color: #FFD86A; /* Gold */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__blog-card-title a:hover {
    color: #FFCC66; /* Glow */
}

.page-about__blog-card-meta {
    font-size: 0.9rem;
    color: #F4D34D; /* Gold */
    margin-bottom: 15px;
}

.page-about__blog-card-excerpt {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #FFF5E1; /* Text Main */
}

.page-about__blog-card-link {
    display: inline-block;
    color: #FFD86A; /* Gold */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about__blog-card-link:hover {
    color: #FFCC66; /* Glow */
    text-decoration: underline;
}

.page-about__view-all {
    margin-top: 50px;
}

/* General image and button responsive rules */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Desktop to Tablet */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-about__section-title {
        font-size: 2.2rem;
    }
    .page-about__guide-card {
        flex: 0 0 calc(33.333% - 14px); /* 3 cards per row */
        max-width: calc(33.333% - 14px);
    }
    .page-about__blog-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    /* General content padding */
    .page-about__container {
        padding: 15px;
    }

    /* Hero Section */
    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }
    .page-about__hero-slide .page-about__hero-content {
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 0 10px;
    }
    .page-about__hero-slider-prev,
    .page-about__hero-slider-next {
        padding: 10px;
        font-size: 20px;
        width: 40px;
        height: 40px;
    }
    .page-about__hero-slider-dots {
        bottom: 10px;
    }
    .page-about__hero-slider-dot {
        width: 10px;
        height: 10px;
    }
    .page-about__hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        margin-bottom: 10px;
    }
    .page-about__hero-description {
        font-size: 1rem !important;
        margin-bottom: 20px;
    }
    .page-about__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Limit button group width */
        margin: 0 auto;
    }

    /* Buttons responsive */
    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
    }
    .page-about__hero-cta-buttons,
    .page-about__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
    }

    /* Section titles and paragraphs */
    .page-about__section-title {
        font-size: 1.8rem !important;
        margin-bottom: 20px;
    }
    .page-about__section-paragraph {
        font-size: 1rem !important;
    }
    .page-about__content-subtitle {
        font-size: 1.5rem !important;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    /* Guide Box Section (Five vertical cards) */
    .page-about__guide-box {
        padding: 40px 0;
    }
    .page-about__guide-grid {
        display: grid; /* Use grid for more control */
        grid-template-columns: repeat(6, 1fr); /* 6 columns to manage 2+3 layout */
        gap: 15px;
        margin-top: 30px;
    }
    .page-about__guide-card {
        padding-top: 0 !important; /* Reset padding-top */
        flex: auto; /* Allow flex to adjust */
        max-width: 100%; /* Ensure it takes full width of its grid cell */
    }
    /* 2+3 layout for 5 cards on mobile */
    .page-about__guide-card:nth-child(1),
    .page-about__guide-card:nth-child(2) {
        grid-column: span 3; /* First two take 3 columns each (half width) */
    }
    .page-about__guide-card:nth-child(3),
    .page-about__guide-card:nth-child(4),
    .page-about__guide-card:nth-child(5) {
        grid-column: span 2; /* Last three take 2 columns each (third width) */
    }
    .page-about__guide-card img {
        aspect-ratio: 250 / 350;
        object-fit: cover;
    }

    /* Home Content Box */
    .page-about__home-content-box {
        max-width: 100% !important;
        margin: 40px 0 !important;
        padding: 20px !important;
        height: auto !important; /* Auto height on mobile */
        border-width: 3px !important;
        box-shadow: 0 0 10px #FFCC66 !important;
    }
    .page-about__home-content-inner {
        height: auto !important;
        overflow: visible !important; /* No scrollbar on mobile */
        padding-right: 0 !important;
    }

    /* Blog Section */
    .page-about__blog-section {
        padding: 40px 0;
    }
}