/* ========================================== */
/* About Us Page - Clean Responsive Design    */
/* ========================================== */

/* Base Settings Force */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

* {
    box-sizing: border-box;
    max-width: 100%; /* Prevent any element from exceeding its parent */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Cairo', sans-serif;
    background: #fff;
    color: #1a1a1a;
}

.container {
    width: 100% !important;
    max-width: 1240px;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box;
}

/* ========================================== */
/* Hero Section - Fix Breakout */
/* ========================================== */
.hero-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
    height: 45vh;
    min-height: 280px;
    overflow: hidden;
    position: relative;
    background: #fcfcfc;
}

.hero-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    display: block;
}

/* ========================================== */
/* Section Headers */
/* ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 35px;
    padding: 0 10px;
    width: 100%;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: #ffe0e6;
    color: #b42f4c;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    font-size: 26px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.section-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto;
}

/* ========================================== */
/* Journey Section (Story) */
/* ========================================== */
.story-section {
    padding: 50px 0;
    background: #fff;
    width: 100%;
    overflow: hidden;
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.story-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.story-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #b42f4c 0%, #8d2439 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(180, 47, 76, 0.2);
}

.story-icon i {
    font-size: 22px;
    color: #fff;
}

.story-details {
    flex: 1;
    min-width: 0; /* Important for word-wrap */
}

.story-details h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #111;
    overflow-wrap: anywhere;
}

.story-details p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.story-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.visual-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 260px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ========================================== */
/* Vision & Mission */
/* ========================================== */
.vision-mission-section {
    padding: 50px 0;
    background: #f8f9fa;
    width: 100%;
    overflow: hidden;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    width: 100%;
}

.vm-card {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    width: 100%;
    box-sizing: border-box;
}

.vm-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.vm-header-icon {
    width: 50px;
    height: 50px;
    background: #b42f4c;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vm-header-icon i { color: #fff; font-size: 22px; }

.vm-card h3 { font-size: 22px; font-weight: 800; margin: 0; color: #1a1a1a; overflow-wrap: anywhere; }
.vm-card p { font-size: 15px; color: #666; line-height: 1.8; margin-top: 15px; }

/* ========================================== */
/* Values, Team, Achievements */
/* ========================================== */
.values-section, .team-section, .achievements-section {
    padding: 50px 0;
    width: 100%;
    overflow: hidden;
}

.values-grid, .team-grid, .achievements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.value-card, .team-member, .achievement-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #f0f0f0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.team-member {
    display: flex;
    flex-direction: column;
}

.member-image {
    width: 100%;
    height: 320px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    background: #fdfdfd;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.team-grid {
    max-width: 1400px;
    margin: 0 auto !important;
}

.member-image {
    width: 100% !important;
    height: 380px !important;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    background: #fdfdfd;
}

.member-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.5s ease;
}

.member-info {
    text-align: center;
    padding: 10px 0;
}


.member-info h3 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #111;
}

.member-role {
    font-size: 14px;
    color: #b42f4c;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.member-bio {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}



/* ========================================== */
/* Why Us + CTA Section Redesign */
/* ========================================== */
.why-us-cta-section {
    padding: 60px 0;
    width: 100%;
}

.why-cta-grid {
    background: linear-gradient(135deg, #111 0%, #222 100%);
    border-radius: 40px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    color: #fff;
    overflow: hidden;
    position: relative;
    max-width: 1400px;
    margin: 0 auto !important;
}

.why-us-side {
    position: relative;
    z-index: 1;
    text-align: center; /* Center for Mobile */
}

.main-feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(180, 47, 76, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px; /* Center for Mobile */
    border: 2px solid rgba(180, 47, 76, 0.3);
}

.main-feature-icon i { font-size: 32px; color: #b42f4c; }

.why-us-side h2 {
    font-size: 28px;
    font-weight: 900;
    margin: 15px 0;
    color: #fff;
    line-height: 1.4;
}

.intro-text {
    font-size: 16px;
    color: #eee;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    text-align: right; /* Keep Right-to-Left for features list */
}

.features-row {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-feature i {
    width: 50px;
    height: 50px;
    background: #b42f4c;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.why-feature h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff;
}

.why-feature p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.cta-side {
    display: flex;
}

.cta-box {
    width: 100%;
    background: linear-gradient(135deg, #b42f4c 0%, #8d2439 100%);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta-feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
}

.cta-feature-icon i { font-size: 36px; color: #fff; }

.cta-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.cta-box h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.3;
}

.cta-box p {
    font-size: 15px;
    color: #fff;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.7;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff !important;
    color: #b42f4c !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none !important;
    font-size: 15px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ========================================== */
/* Responsive - Improved Breakpoints */
/* ========================================== */
@media (min-width: 768px) {
    .story-content { flex-direction: row; align-items: center; gap: 50px; }
    .story-text, .story-visual { flex: 1; }
    .story-visual { grid-template-columns: repeat(2, 1fr); }
    .card-2 { grid-row: span 2; height: 100%; }
    
    .vm-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .achievements-grid { grid-template-columns: repeat(2, 1fr); }
    
    .why-cta-grid { padding: 40px; }
    .why-us-side { text-align: right; } /* Reset to Right for Tablet/Desktop */
    .main-feature-icon { margin-left: auto; margin-right: 0; }
    .why-us-side h2 { font-size: 34px; }
    
    .features-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 992px) {
    .hero-section { height: 60vh; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .achievements-grid { grid-template-columns: repeat(4, 1fr); }
    
    .why-cta-grid {
        flex-direction: row;
        align-items: stretch;
        padding: 50px 60px;
        gap: 60px;
    }
    .why-us-side { flex: 1.6; text-align: right; }
    .cta-side { flex: 1; }
    .cta-box { padding: 50px 40px; }
}


/* ========================================== */
/* Massive Screens (2K / 4K / 2560px+) */
/* ========================================== */
@media (min-width: 1440px) {
    .container { max-width: 1400px !important; }
    .why-cta-grid { max-width: 1400px; }
    .team-grid { max-width: 1400px; }
}

@media (min-width: 1920px) {
    .container { max-width: 1800px !important; }
    .why-cta-grid { max-width: 1800px; padding: 70px 80px; gap: 100px; }
    .team-grid { max-width: 1800px; gap: 40px; }
    
    .why-us-side h2 { font-size: 42px; }
    .intro-text { font-size: 19px; }
    .why-feature h4 { font-size: 22px; }
    .why-feature p { font-size: 16px; }
    
    .cta-box h2 { font-size: 40px; }
    .cta-box p { font-size: 18px; }
}