/* ================================
   ABOUT PAGE SPECIFIC STYLES
   (cleaned + polished — duplicate rule blocks and unused
   legacy component CSS removed: .story-badge, .about-banner,
   .team-*, old .testimonial-slider/.testimonial-nav have been
   dropped since about.php no longer uses them — testimonials
   now render via includes/testimonials.php, styled in modern.css)
   ================================ */

/* ===== PAGE HERO ===== */
.page-hero {
    height: 380px;
    background: linear-gradient(rgba(44, 44, 44, 0.5), rgba(44, 44, 44, 0.5)),
                url('https://images.pexels.com/photos/4202388/pexels-photo-4202388.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.page-title {
    font-size: clamp(40px, 6vw, 64px);
    margin-bottom: 18px;
    letter-spacing: 1.5px;
}

.breadcrumb {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb span {
    margin: 0 10px;
    color: var(--secondary-color);
}

/* ═══════════════════════════════════════
   OUR STORY SECTION
═══════════════════════════════════════ */
.our-story-section {
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* ── Left visual ── */
.story-images {
    position: relative;
    height: 560px;
}

.deco-line {
    position: absolute;
    top: 50%;
    left: -10px;
    width: 75%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4A574 40%, #D4A574 60%, transparent);
    transform: rotate(-10deg);
    z-index: 0;
}

.story-img-1 {
    position: absolute;
    top: 0; left: 0;
    width: 58%;
    height: 92%;
    object-fit: cover;
    object-position: center top;
    z-index: 1;
    border: 6px solid #fff;
    outline: 1px solid #D4A574;
    box-shadow: 0 20px 50px rgba(0,0,0,.14);
    animation: floatUp 5s ease-in-out infinite;
}

.story-img-2 {
    position: absolute;
    bottom: 0; right: 0;
    width: 54%;
    height: 60%;
    object-fit: cover;
    z-index: 2;
    border: 6px solid #fff;
    outline: 1px solid #D4A574;
    box-shadow: 0 20px 50px rgba(0,0,0,.16);
    animation: floatDown 5s ease-in-out infinite;
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}
@keyframes floatDown {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(14px); }
}

/* Ring sits at the overlap point of both images */
.rotating-ring {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    z-index: 3;
}
.rotating-ring svg {
    width: 100%;
    height: 100%;
    animation: spinRing 14s linear infinite;
}
@keyframes spinRing {
    to { transform: rotate(360deg); }
}
.ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 54px;
    height: 54px;
    margin: auto;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.ring-center i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ── Right content ── */
.story-content {
    padding: 0 20px;
}

.story-label {
    display: block;
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.story-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 18px;
}

.divider-line {
    width: 70px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 26px;
}

.story-text {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 16px;
    font-weight: 300;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 50px;
    padding: 30px 0;
    margin: 28px 0;
    border-top: 1px solid rgba(139,115,85,.15);
    border-bottom: 1px solid rgba(139,115,85,.15);
}

.stat-item { transition: transform .3s ease; }
.stat-item:hover { transform: translateY(-3px); }

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-story {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 34px;
    background: var(--primary-color);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    transition: background .3s, transform .25s, box-shadow .25s;
    box-shadow: 0 4px 16px rgba(139,115,85,.25);
}
.btn-story:hover {
    background: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.btn-story i { font-size: 15px; }

/* ═══════════════════════════════════════
   VALUES SECTION
═══════════════════════════════════════ */
.values-section {
    padding: 90px 0;
    background-color: var(--bg-cream);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background-color: var(--white);
    padding: 46px 30px;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    background:
        radial-gradient(circle at 32% 28%, rgba(255,255,255,.35) 0%, transparent 55%),
        var(--primary-color);
    transition: transform .35s ease;
}
.value-card:hover .value-icon {
    transform: scale(1.08) rotate(-4deg);
}

.value-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: .5px;
    font-family: var(--font-heading);
    font-weight: 400;
}

.value-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
}

/* ===== ACTIVE NAVIGATION ===== */
.nav-menu a.active {
    color: var(--primary-color);
}
.nav-menu a.active::after {
    width: 100%;
}

/* ===== NEWSLETTER (ABOUT PAGE VARIANT) ===== */
.newsletter-section-about {
    padding: 90px 0;
    background-color: var(--accent-color);
    text-align: center;
}
.newsletter-brand { margin-bottom: 30px; }
.newsletter-logo {
    font-size: 30px;
    letter-spacing: 4px;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.newsletter-tagline {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-transform: uppercase;
}
.newsletter-title {
    font-size: clamp(26px, 4vw, 38px);
    margin-bottom: 15px;
    color: var(--text-dark);
}
.newsletter-subtitle {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 36px;
}
.newsletter-form-about {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: var(--white);
}
.newsletter-input-about {
    flex: 1;
    padding: 16px 22px;
    border: none;
    font-size: 14px;
    outline: none;
    font-family: var(--font-primary);
}
.btn-newsletter {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 16px 22px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-newsletter:hover { background-color: var(--text-dark); }
.btn-newsletter svg { display: block; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 968px) {
    .story-grid   { grid-template-columns: 1fr; gap: 60px; }
    .story-images { height: 440px; }
}

@media (max-width: 768px) {
    .page-hero        { height: 280px; }
    .page-title       { font-size: 38px; }
    .our-story-section{ padding: 70px 0; }
    .values-section   { padding: 70px 0; }
    .value-card       { padding: 36px 24px; }
    .newsletter-form-about { flex-direction: column; }
    .newsletter-input-about { border-bottom: 1px solid rgba(0,0,0,.1); }
}

@media (max-width: 540px) {
    .story-images  { height: 320px; }
    .rotating-ring { width: 96px; height: 96px; }
    .ring-center   { width: 42px; height: 42px; }
    .ring-center i { font-size: 1.15rem; }
    .stat-number   { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .page-title      { font-size: 30px; }
    .breadcrumb      { font-size: 12px; }
    .value-icon      { width: 54px; height: 54px; font-size: 22px; }
    .newsletter-logo { font-size: 22px; }
    .newsletter-title{ font-size: 24px; }
}