/* =====================================================================
   ABOUT PAGE (new UI) — classes prefixed "ab-"
   Scroll reveals come from data-reveal (js/scroll-reveal.js).
   ===================================================================== */

.ab-page {
    --ab-orange: #f39c12;
    --ab-yellow: #f1c40f;
    --ab-dark: #1e1e2a;
    color: #2d2d3f;
    font-family: "Poppins", sans-serif;
}

.ab-page h1,
.ab-page h2,
.ab-page h3 { margin: 0; }
.ab-page p { margin: 0; }
.ab-page ul { margin: 0; padding: 0; list-style: none; }

.ab-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@keyframes abBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes abShine {
    from { background-position: -200% 0; }
    to { background-position: 200% 0; }
}

/* ---------- Hero ---------- */
.ab-hero {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 20px;
    border-bottom: 4px solid var(--ab-orange);
    background-position: center;
    background-size: cover;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.ab-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: 3.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Golden text with a light gleam moving across it */
.ab-hero h1 span {
    display: inline-block;
    background: linear-gradient(90deg, var(--ab-yellow) 0%, var(--ab-yellow) 40%, #fff6c8 50%, var(--ab-yellow) 60%, var(--ab-yellow) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: abShine 4s linear infinite;
}

.ab-hero p {
    margin-top: 6px !important;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* ---------- About ---------- */
.ab-about {
    padding: 70px 0 50px;
    background: #fff;
}

.ab-about-wrap {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
}

.ab-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 4px 16px;
    border-radius: 30px;
    background: var(--ab-orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ab-badge i { animation: abBounce 2.2s ease-in-out infinite; }

.ab-about h2 {
    margin-bottom: 16px;
    font-family: "Playfair Display", serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ab-dark);
}

.ab-about h2 span { color: var(--ab-orange); }

.ab-about-text p {
    margin-bottom: 18px !important;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: #555;
}

.ab-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    margin-top: 10px !important;
}

.ab-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 500;
    color: #2d2d3f;
    transition: background 0.3s ease, transform 0.3s ease;
}

.ab-features li i {
    width: 28px;
    font-size: 1.25rem;
    text-align: center;
    color: var(--ab-orange);
    animation: abBounce 2.4s ease-in-out infinite;
}

.ab-features li:nth-child(2) i { animation-delay: 0.3s; }
.ab-features li:nth-child(3) i { animation-delay: 0.6s; }
.ab-features li:nth-child(4) i { animation-delay: 0.9s; }
.ab-features li .is-heart { color: #e74c3c; }

.ab-features li:hover {
    background: #fef6e7;
    transform: translateX(6px);
}

.ab-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.ab-image img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

/* Gold frame that draws in on hover */
.ab-image::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.4s ease, transform 0.5s ease;
    pointer-events: none;
}

.ab-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.ab-image:hover img { transform: scale(1.06); }
.ab-image:hover::after { opacity: 1; transform: scale(1); }

/* ---------- Why us ---------- */
.ab-why {
    padding: 70px 0 80px;
    background: #f9f7f4;
}

.ab-title {
    margin-bottom: 50px;
    text-align: center;
}

.ab-title h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--ab-dark);
}

.ab-title h2 span { color: var(--ab-orange); }

.ab-title h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--ab-orange), var(--ab-yellow));
    transition: width 0.5s ease;
}

.ab-title:hover h2::after { width: 140px; }

.ab-title p {
    max-width: 580px;
    margin: 10px auto 0 !important;
    font-size: 1.05rem;
    font-weight: 300;
    color: #666;
}

.ab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ab-card {
    position: relative;
    overflow: hidden;
    padding: 34px 24px 30px;
    border: 1px solid rgba(243, 156, 18, 0.08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Top bar sweeps in */
.ab-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ab-orange), var(--ab-yellow));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

/* Soft glow rising from the bottom */
.ab-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -120px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.14), transparent 70%);
    transform: translateX(-50%) scale(0.6);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.6s ease;
    pointer-events: none;
}

.ab-card:hover {
    border-color: var(--ab-orange);
    box-shadow: 0 24px 60px rgba(243, 156, 18, 0.18);
    transform: translateY(-14px) scale(1.01);
}

.ab-card:hover::before { transform: scaleX(1); }
.ab-card:hover::after { opacity: 1; transform: translateX(-50%) scale(1); }

.ab-icon {
    width: 78px;
    height: 78px;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #fef6e7, #fce9d0);
    color: var(--ab-orange);
    font-size: 2.2rem;
    transition: background 0.4s ease, color 0.4s ease, transform 0.6s ease, box-shadow 0.4s ease;
}

.ab-icon i { animation: abBounce 2.6s ease-in-out infinite; }

.ab-card:hover .ab-icon {
    background: var(--ab-orange);
    box-shadow: 0 12px 30px rgba(243, 156, 18, 0.35);
    color: #fff;
    transform: rotateY(360deg) scale(1.08);
}

.ab-card:hover .ab-icon i { animation-play-state: paused; }

.ab-card h3 {
    position: relative;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ab-dark);
    transition: color 0.3s ease;
}

.ab-card:hover h3 { color: var(--ab-orange); }

.ab-card p {
    position: relative;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    color: #666;
    transition: color 0.3s ease;
}

.ab-card:hover p { color: #444; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .ab-hero { height: 200px; }
    .ab-hero h1 { font-size: 2.6rem; }
    .ab-hero p { font-size: 1rem; letter-spacing: 2px; }
    .ab-about-wrap { grid-template-columns: 1fr; gap: 30px; }
    .ab-image img { height: 280px; }
    .ab-about h2 { font-size: 2.2rem; }
    .ab-title h2 { font-size: 2.2rem; }
    .ab-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .ab-card { padding: 26px 16px 24px; }
    .ab-icon { width: 64px; height: 64px; font-size: 1.8rem; }
    .ab-card h3 { font-size: 1.1rem; }
}

@media (max-width: 576px) {
    .ab-hero { height: 170px; }
    .ab-hero h1 { font-size: 2rem; }
    .ab-hero p { font-size: 0.8rem; letter-spacing: 1px; }
    .ab-container { padding: 0 16px; }
    .ab-about { padding: 40px 0 30px; }
    .ab-about h2 { font-size: 1.8rem; }
    .ab-about-text p { font-size: 0.95rem; }
    .ab-features { grid-template-columns: 1fr; gap: 6px; }
    .ab-image img { height: 220px; }
    .ab-why { padding: 40px 0 50px; }
    .ab-title { margin-bottom: 30px; }
    .ab-title h2 { font-size: 1.8rem; }
    .ab-title p { font-size: 0.95rem; }
    .ab-grid { grid-template-columns: 1fr; gap: 18px; }
    .ab-icon { width: 58px; height: 58px; font-size: 1.6rem; }
}

/* Touch screens: no hover lift (avoids stuck hover states) */
@media (hover: none) {
    .ab-card:hover,
    .ab-image:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ab-hero h1 span,
    .ab-badge i,
    .ab-features li i,
    .ab-icon i { animation: none; }
}
