/* ===== About Page Hero ===== */

.page-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 0;
    background:
        linear-gradient(135deg, rgba(15, 21, 50, 0.95) 0%, rgba(26, 34, 74, 0.85) 60%, rgba(211, 84, 0, 0.4) 100%),
        url('images/other 1.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

/* Decorative radial glows */
.page-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 75, 35, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 60px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 60px;
}

/* Breadcrumb */
.hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 25px;
}

.hero-breadcrumb a {
    color: rgba(255,255,255,0.65);
    transition: color 0.3s;
}

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

.hero-breadcrumb i {
    font-size: 0.65rem;
    color: var(--accent);
}

.hero-breadcrumb span {
    color: var(--accent);
}

/* Heading */
.page-hero h1 {
    font-size: clamp(2rem, 8vw, 3.4rem);
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.page-hero h1 em {
    font-style: normal;
    color: #f5a47d;
}

.page-hero > .container > p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

/* Stats bar at the bottom of the hero */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 35px;
    margin-top: 10px;
}

.hero-stat {
    flex: 1;
    min-width: 150px;
    max-width: 220px;
    padding: 20px 30px;
    border-right: 1px solid rgba(255,255,255,0.12);
    text-align: center;
}

.hero-stat:last-child { border-right: none; }

.hero-stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-number span {
    color: #f5a47d;
}

.hero-stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

.content-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.content-section h2 {
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    font-size: 2rem;
}

.content-section h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-light);
    font-size: 1.5rem;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px 60px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.content-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: var(--shadow-sm);
}

.img-float-right {
    float: right;
    width: 45%;
    margin: 10px 0 20px 30px;
}

.img-float-left {
    float: left;
    width: 45%;
    margin: 10px 30px 20px 0;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.ruby-gem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.ruby-gem-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.ruby-gem-grid img:hover {
    transform: scale(1.03);
}

/* ===== Responsive ===== */

@media (max-width: 992px) {
    .page-hero h1 { font-size: 2.6rem; }

    .hero-stats {
        flex-wrap: wrap;
    }

    .hero-stat {
        min-width: 45%;
        max-width: 50%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        padding: 18px 20px;
    }

    .hero-stat:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.12);
    }

    .hero-stat:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    /* Hero */
    .page-hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 10px;
    }

    .page-hero .container {
        padding-bottom: 30px;
    }

    .page-hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
        margin-bottom: 12px;
    }

    .page-hero > .container > p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-breadcrumb {
        font-size: 0.75rem;
        letter-spacing: 1px;
        margin-bottom: 16px;
    }

    /* Stats: 2 per row */
    .hero-stats {
        padding-top: 20px;
        margin-top: 5px;
    }

    .hero-stat {
        min-width: 45%;
        max-width: 50%;
        padding: 14px 10px;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        border-right: none;
    }

    .hero-stat:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.12);
    }

    .hero-stat:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .hero-stat-number { font-size: 1.8rem; }
    .hero-stat-label { font-size: 0.72rem; letter-spacing: 1px; }

    /* Content section */
    .content-wrapper {
        padding: 25px 16px;
        border-radius: 10px;
    }

    .content-section h2 {
        font-size: 1.5rem;
        margin-top: 35px;
        margin-bottom: 15px;
    }

    .content-section h3 {
        font-size: 1.2rem;
        margin-top: 22px;
    }

    .content-section p {
        font-size: 1rem;
    }

    /* Images - unfloat completely */
    .img-float-right,
    .img-float-left {
        float: none;
        width: 100%;
        margin: 16px 0;
        max-height: 260px;
    }

    .content-img {
        max-height: 260px;
        margin: 16px 0;
    }

    /* Ruby gem grid: single column */
    .ruby-gem-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .page-hero h1 { font-size: 1.6rem; }

    /* Stats: stack fully on very small screens */
    .hero-stat {
        min-width: 100%;
        max-width: 100%;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        padding: 12px 10px;
    }

    .hero-stat:last-child { border-bottom: none; }

    .hero-stat-number { font-size: 1.6rem; }

    .content-wrapper { padding: 20px 12px; }

    .content-section h2 { font-size: 1.3rem; }
    .content-section h3 { font-size: 1.1rem; }
}

