/* ============================================
   IMPORT BASE STYLES FROM INDEX
   ============================================ */
@import url('../index-style.css');

/* ============================================
   GLOBAL OVERFLOW FIX
   ============================================ */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

* {
    box-sizing: border-box;
}

/* Ensure container doesn't overflow */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        width: 100%;
    }
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(91, 14, 20, 0.95), rgba(91, 14, 20, 0.85)), 
                url('../images/about-header.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(91, 14, 20, 0.9), rgba(122, 18, 25, 0.8));
}

.header-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.header-content h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
}

.header-content p {
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 16px;
}

.breadcrumb a {
    color: var(--white);
    transition: var(--transition-smooth);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb span {
    opacity: 0.7;
}

/* ============================================
   STORY SECTION
   ============================================ */
.story-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.story-image {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.story-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(91, 14, 20, 0.2);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: var(--burgundy);
    color: var(--white);
    padding: 25px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(91, 14, 20, 0.4);
    max-width: calc(100% - 60px);
}

.experience-badge .number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--gold);
    line-height: 1;
}

.experience-badge .text {
    display: block;
    font-size: 14px;
    margin-top: 5px;
}

.section-tag {
    display: inline-block;
    color: var(--burgundy);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.story-content h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--burgundy);
    margin-bottom: 25px;
    line-height: 1.2;
}

.story-content .lead {
    font-size: 20px;
    color: var(--dark-gray);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.7;
}

.story-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.stat-item:hover {
    background-color: var(--gold);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 500;
}

/* ============================================
   MISSION, VISION, VALUES SECTION
   ============================================ */
.mvv-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
}

.mvv-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    border-top: 4px solid var(--burgundy);
    width: 100%;
    max-width: 100%;
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(91, 14, 20, 0.2);
}

.mvv-icon {
    width: 70px;
    height: 70px;
    background-color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
    color: var(--burgundy);
}

.mvv-card h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.mvv-card p {
    color: var(--gray);
    line-height: 1.8;
}

.mvv-card ul {
    list-style: none;
}

.mvv-card li {
    color: var(--gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mvv-card li i {
    color: var(--gold);
    font-size: 18px;
}

/* ============================================
   OFFERINGS SECTION
   ============================================ */
.offerings-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
}

.offering-card {
    background-color: var(--white);
    padding: 35px 30px;
    border-radius: 10px;
    border: 2px solid var(--light-gray);
    transition: var(--transition-smooth);
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.offering-card:hover {
    border-color: var(--burgundy);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(91, 14, 20, 0.15);
}

.offering-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--burgundy), #7a1219);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 35px;
    color: var(--white);
}

.offering-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--burgundy);
    margin-bottom: 15px;
}

.offering-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
    width: 100%;
}

.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
}

.why-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    min-width: 50px;
    flex-shrink: 0;
}

.why-text {
    flex: 1;
    min-width: 0;
}

.why-text h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--burgundy);
    margin-bottom: 10px;
    word-wrap: break-word;
}

.why-text p {
    color: var(--gray);
    line-height: 1.7;
    word-wrap: break-word;
}

.why-image {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.why-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(91, 14, 20, 0.2);
}

.image-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background-color: var(--burgundy);
    color: var(--white);
    padding: 20px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(91, 14, 20, 0.4);
    max-width: calc(100% - 60px);
}

.image-badge i {
    font-size: 32px;
    color: var(--gold);
    flex-shrink: 0;
}

.image-badge span {
    font-weight: 600;
    font-size: 16px;
    word-wrap: break-word;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: var(--section-padding);
    background-color: var(--white);
    overflow-x: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
}

.testimonial-card {
    background-color: var(--light-gray);
    padding: 35px 30px;
    border-radius: 10px;
    position: relative;
    transition: var(--transition-smooth);
    width: 100%;
    max-width: 100%;
}

.testimonial-card:hover {
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(91, 14, 20, 0.15);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-text {
    color: var(--dark-gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--burgundy);
    margin-bottom: 3px;
}

.author-info span {
    font-size: 14px;
    color: var(--gray);
}

.rating {
    display: flex;
    gap: 5px;
}

.rating i {
    color: var(--gold);
    font-size: 16px;
}

/* ============================================
   CTA SECTION (Override from index)
   ============================================ */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--burgundy), #7a1219);
    color: var(--white);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .page-header h1 {
        font-size: 42px;
    }
    
    .story-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-grid {
        direction: ltr;
    }
    
    .why-image {
        order: -1;
    }
    
    .story-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden !important;
    }
    
    .container {
        padding: 0 15px !important;
        max-width: 100% !important;
    }
    
    .page-header {
        height: 300px;
        width: 100%;
        overflow: hidden;
    }
    
    .page-header h1 {
        font-size: 36px;
        padding: 0 15px;
    }
    
    .page-header p {
        font-size: 18px;
        padding: 0 15px;
    }
    
    .story-content h2,
    .why-content h2 {
        font-size: 32px;
    }
    
    .story-content .lead {
        font-size: 18px;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    /* Fix grids on mobile */
    .mvv-grid,
    .offerings-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mvv-card,
    .offering-card,
    .testimonial-card {
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
    }
    
    /* Fix badges */
    .experience-badge {
        bottom: 15px;
        right: 15px;
        padding: 15px 20px;
        max-width: calc(100% - 30px);
    }
    
    .experience-badge .number {
        font-size: 28px;
    }
    
    .experience-badge .text {
        font-size: 12px;
    }
    
    .image-badge {
        position: static;
        margin-bottom: 20px;
        justify-content: center;
        max-width: 100%;
    }
    
    /* Fix why items */
    .why-item {
        gap: 15px;
    }
    
    .why-number {
        font-size: 32px;
        min-width: 45px;
    }
    
    .why-text h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px !important;
    }
    
    .page-header {
        height: 250px;
    }
    
    .page-header h1 {
        font-size: 28px;
        padding: 0 10px;
    }
    
    .page-header p {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .breadcrumb {
        font-size: 14px;
        flex-wrap: wrap;
        padding: 0 10px;
    }
    
    .story-content h2 {
        font-size: 26px;
    }
    
    .story-content .lead {
        font-size: 16px;
    }
    
    .why-number {
        font-size: 28px;
        min-width: 40px;
    }
    
    .why-text h3 {
        font-size: 18px;
    }
    
    .why-item {
        gap: 12px;
    }
    
    /* Extra small padding for cards */
    .mvv-card,
    .offering-card,
    .testimonial-card {
        padding: 25px 15px;
    }
    
    .mvv-icon,
    .offering-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .experience-badge {
        bottom: 10px;
        right: 10px;
        padding: 12px 15px;
    }
    
    .experience-badge .number {
        font-size: 24px;
    }
}