/* ===================================
   About Page Styles - HFMG Accounting
   =================================== */

/* CSS Custom Properties */
:root {
    --about-primary: #FF6B35;
    --about-secondary: #E93C05;
    --about-light-bg: #FFF4F0;
    --about-dark: #1a1a1a;
    --about-white: #ffffff;
    --about-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
}


/* ==================
   KEYFRAME ANIMATIONS (7 Required)
   ================== */

/* 1. Float Animation - Vertical floating motion */
@keyframes about-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* 2. FloatSlow Animation - Diagonal floating with horizontal drift */
@keyframes about-float-slow {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(10px, -15px);
    }
    50% {
        transform: translate(-5px, -25px);
    }
    75% {
        transform: translate(8px, -10px);
    }
}

/* 3. Pulse Animation - Opacity + scale pulsing effect */
@keyframes about-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* 4. Shimmer Animation - Horizontal shine animation */
@keyframes about-shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* 5. FadeInUp Animation - Fade in from below */
@keyframes about-fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 6. ScaleIn Animation - Scale from 0.9 to 1.0 with fade */
@keyframes about-scale-in {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 7. Bounce Animation - Vertical bounce for icons */
@keyframes about-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(-4px);
    }
    75% {
        transform: translateY(-6px);
    }
}


/* ==================
   HERO SECTION
   ================== */

.about-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 180px 0 100px;
    background: linear-gradient(135deg,
        rgba(255, 107, 53, 0.05) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 107, 53, 0.03) 100%);
}

.about-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(255, 107, 53, 0.08) 0%,
        rgba(255, 255, 255, 0.95) 40%,
        rgba(255, 255, 255, 1) 100%);
    z-index: 0;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}


/* ==================
   CSS ART: BUILDING ICONS
   ================== */

.about-building-art {
    position: absolute;
    width: 80px;
    height: 120px;
    background: linear-gradient(180deg,
        rgba(255, 107, 53, 0.15),
        rgba(255, 107, 53, 0.08));
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 4px 4px 0 0;
    pointer-events: none;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 10px 8px;
}

.about-building-floor {
    width: 100%;
    height: 2px;
    background: rgba(255, 107, 53, 0.4);
    position: relative;
}

.about-building-floor::before,
.about-building-floor::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 107, 53, 0.3);
    border-radius: 1px;
    top: -2px;
}

.about-building-floor::before {
    left: 15%;
}

.about-building-floor::after {
    right: 15%;
}

.about-building-1 {
    top: 15%;
    left: 8%;
    animation: about-float 8s ease-in-out infinite;
}

.about-building-2 {
    bottom: 20%;
    right: 10%;
    animation: about-float-slow 9s ease-in-out infinite;
    animation-delay: 1s;
}


/* ==================
   CSS ART: DOCUMENTS
   ================== */

.about-document-art {
    position: absolute;
    width: 60px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 107, 53, 0.4);
    border-radius: 4px;
    pointer-events: none;
    z-index: 0;
}

.about-document-art::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: rgba(255, 107, 53, 0.4);
}

.about-document-art::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: rgba(255, 107, 53, 0.3);
}

.about-doc-1 {
    top: 25%;
    right: 15%;
    transform: rotate(-8deg);
    animation: about-pulse 6s ease-in-out infinite;
}

.about-doc-2 {
    bottom: 30%;
    left: 12%;
    transform: rotate(10deg);
    animation: about-pulse 7s ease-in-out infinite;
    animation-delay: 2s;
}


/* ==================
   CSS ART: CONNECTION LINES
   ================== */

.about-connection-line {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg,
        transparent,
        rgba(255, 107, 53, 0.3),
        transparent);
    pointer-events: none;
    z-index: 0;
}

.about-connection-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    background: var(--about-primary);
    border-radius: 50%;
    animation: about-bounce 3s ease-in-out infinite;
}

.about-line-1 {
    top: 20%;
    right: 25%;
    transform: rotate(45deg);
}

.about-line-2 {
    bottom: 25%;
    left: 20%;
    transform: rotate(-45deg);
    animation-delay: 1.5s;
}


/* ==================
   FLOATING CIRCLES
   ================== */

.about-floating-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.about-circle-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle,
        rgba(255, 107, 53, 0.15),
        transparent 70%);
    top: 10%;
    right: 5%;
    animation: about-float 6s ease-in-out infinite;
}

.about-circle-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle,
        rgba(255, 107, 53, 0.1),
        transparent 70%);
    bottom: 15%;
    left: 5%;
    animation: about-float-slow 8s ease-in-out infinite;
    animation-delay: 2s;
}


/* ==================
   HERO ELEMENTS
   ================== */

.about-hero-pill {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg,
        rgba(255, 107, 53, 0.15),
        rgba(233, 60, 5, 0.1));
    border: 2px solid var(--about-primary);
    border-radius: 50px;
    color: var(--about-primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: about-scale-in 0.6s ease-out;
}

.about-hero-pill:hover {
    transform: scale(1.05);
    background: var(--about-primary);
    color: var(--about-white);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.about-hero-title {
    font-weight: 700;
    color: var(--about-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: about-fade-in-up 0.8s ease-out 0.2s both;
}

.about-hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    animation: about-fade-in-up 0.8s ease-out 0.4s both;
}

.about-hero-image {
    position: relative;
    overflow: hidden;
    padding: 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 3px dashed rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: about-scale-in 0.8s ease-out 0.6s both;
}

.about-hero-image::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--about-primary), var(--about-secondary));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.about-hero-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
    border-color: var(--about-primary);
}

.about-hero-image:hover::before {
    opacity: 0.1;
}

.about-hero-image-inner {
    text-align: center;
    color: var(--about-primary);
    max-width: 100%;
    height: auto;
}

.about-hero-image-inner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-hero-image:hover .about-hero-image-inner img {
    transform: scale(1.08);
}

.about-hero-image-inner i {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-hero-image:hover .about-hero-image-inner i {
    animation: about-bounce 1s ease-in-out infinite;
    transform: scale(1.1);
}


/* ==================
   BUTTONS
   ================== */

.about-btn-ripple {
    position: relative;
    overflow: hidden;
}

.about-btn-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.about-btn-ripple:hover::before {
    width: 300px;
    height: 300px;
}


/* ==================
   SECTION PILLS
   ================== */

.about-section-pill {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg,
        rgba(255, 107, 53, 0.1),
        rgba(233, 60, 5, 0.08));
    border: 1px solid var(--about-primary);
    border-radius: 50px;
    color: var(--about-primary);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.about-section-pill:hover {
    background: var(--about-primary);
    color: var(--about-white);
    transform: scale(1.05);
}


/* ==================
   IMAGE PLACEHOLDERS
   ================== */

.about-image-placeholder {
    position: relative;
    padding: 50px 30px;
    background: linear-gradient(135deg,
        rgba(255, 107, 53, 0.05),
        rgba(255, 255, 255, 0.9));
    border: 3px dashed rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.about-image-placeholder img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.about-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 107, 53, 0.15),
        transparent);
    transition: left 0.8s ease;
}

.about-image-placeholder:hover::before {
    left: 100%;
}

.about-image-placeholder:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--about-primary);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
}

.about-image-content {
    color: var(--about-primary);
    transition: all 0.4s ease;
}
.about-image-content img {
    max-width: 100%;
    height: 350px; ;
    display: block;
    margin: 0 auto;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-image-content i {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-image-placeholder:hover .about-image-content i {
    animation: about-bounce 1s ease-in-out infinite;
    transform: scale(1.1);
}


/* ==================
   CHECKLIST
   ================== */

.about-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-checklist li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-checklist li:hover {
    transform: translateX(8px);
}

.about-checklist li i {
    font-size: 20px;
    color: var(--about-primary);
    margin-right: 15px;
    transition: all 0.3s ease;
}

.about-checklist li:hover i {
    transform: scale(1.2);
    color: var(--about-secondary);
}

.about-checklist li span {
    color: #555;
    font-size: 15px;
}


/* ==================
   VALUE CARDS
   ================== */

.about-value-card {
    position: relative;
    background: var(--about-white);
    padding: 35px 25px;
    border-radius: 15px;
    border: 2px solid rgba(255, 107, 53, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    overflow: hidden;
}

.about-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--about-primary), var(--about-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-value-card:hover::before {
    transform: scaleX(1);
}

.about-value-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 60px rgba(255, 107, 53, 0.2);
    border-color: var(--about-primary);
}

.about-value-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    color: var(--about-primary);
    font-weight: 700;
    font-size: 18px;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-value-card:hover .about-value-number {
    background: var(--about-primary);
    color: var(--about-white);
    transform: scale(1.15) rotate(5deg);
}

.about-value-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(255, 107, 53, 0.1),
        rgba(233, 60, 5, 0.05));
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-value-icon i {
    font-size: 32px;
    color: var(--about-primary);
    transition: all 0.4s ease;
}

.about-value-card:hover .about-value-icon {
    background: var(--about-primary);
    transform: rotate(360deg) scale(1.1);
}

.about-value-card:hover .about-value-icon i {
    color: var(--about-white);
    transform: scale(1.15);
}


/* ==================
   MISSION & VISION CARDS
   ================== */

.about-mission-card,
.about-vision-card {
    background: var(--about-white);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 53, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
}

.about-mission-card:hover,
.about-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(255, 107, 53, 0.15);
    border-color: var(--about-primary);
}

.about-mission-icon,
.about-vision-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--about-primary), var(--about-secondary));
    border-radius: 20px;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-mission-icon i,
.about-vision-icon i {
    font-size: 36px;
    color: var(--about-white);
    transition: all 0.4s ease;
}

.about-mission-card:hover .about-mission-icon,
.about-vision-card:hover .about-vision-icon {
    transform: rotate(360deg) scale(1.1);
}

.about-mission-card:hover .about-mission-icon i,
.about-vision-card:hover .about-vision-icon i {
    animation: about-bounce 1s ease-in-out infinite;
}


/* ==================
   BENEFIT CARDS
   ================== */

.about-benefit-card {
    background: var(--about-white);
    padding: 30px 20px;
    border-radius: 12px;
    border: 2px solid rgba(255, 107, 53, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
}

.about-benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
    border-color: var(--about-primary);
}

.about-benefit-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 12px;
    margin: 0 auto 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-benefit-icon i {
    font-size: 28px;
    color: var(--about-primary);
    transition: all 0.4s ease;
}

.about-benefit-card:hover .about-benefit-icon {
    background: var(--about-primary);
    transform: rotate(360deg) scale(1.1);
}

.about-benefit-card:hover .about-benefit-icon i {
    color: var(--about-white);
    animation: about-bounce 1s ease-in-out infinite;
}


/* ==================
   HIGHLIGHT BOX
   ================== */

.about-highlight-box {
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg,
        rgba(255, 107, 53, 0.08),
        rgba(233, 60, 5, 0.05));
    border-left: 4px solid var(--about-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-highlight-box:hover {
    background: linear-gradient(135deg,
        rgba(255, 107, 53, 0.12),
        rgba(233, 60, 5, 0.08));
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
    transform: translateX(5px);
}

.about-highlight-box i {
    font-size: 24px;
    color: var(--about-primary);
    margin-bottom: 15px;
    opacity: 0.7;
}

.about-highlight-box p {
    font-size: 16px;
    font-style: italic;
    color: #555;
    line-height: 1.8;
}


/* ==================
   CTA SECTION
   ================== */

.about-cta-card {
    position: relative;
    background: linear-gradient(135deg, var(--about-primary), var(--about-secondary));
    border-radius: 20px;
    overflow: hidden;
}

.about-cta-blob {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.15),
        transparent 70%);
    pointer-events: none;
    animation: about-float-slow 8s ease-in-out infinite;
}

.about-cta-blob-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.about-cta-blob-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -80px;
    animation-delay: 2s;
}

.about-cta-card i {
    transition: all 0.4s ease;
}

.about-cta-card:hover i {
    animation: about-bounce 1s ease-in-out infinite;
    transform: scale(1.1);
}

.about-cta-card .btn:hover {
    transform: scale(1.08);
}


/* ==================
   RESPONSIVE DESIGN
   ================== */

/* Tablet (991px and below) */
@media (max-width: 991px) {
    .about-hero-section {
        padding: 150px 0 80px;
        min-height: auto;
    }

    .about-hero-title {
        font-size: 2.5rem;
    }

    .about-building-art,
    .about-document-art,
    .about-connection-line {
        display: none;
    }

    .about-floating-circle {
        width: 120px;
        height: 120px;
    }

    .about-value-card,
    .about-mission-card,
    .about-vision-card {
        margin-bottom: 20px;
    }
}

/* Mobile (767px and below) */
@media (max-width: 767px) {
    .about-hero-section {
        padding: 130px 0 60px;
    }

    .about-hero-title {
        font-size: 2rem;
    }

    .about-hero-subtitle {
        font-size: 1rem;
    }

    .about-hero-pill {
        font-size: 11px;
        padding: 6px 15px;
    }

    .about-section-pill {
        font-size: 11px;
        padding: 5px 15px;
    }

    .about-hero-image {
        padding: 30px;
        margin-top: 30px;
    }

    .about-floating-circle {
        display: none;
    }

    .about-value-card,
    .about-benefit-card {
        margin-bottom: 15px;
    }

    .about-mission-card,
    .about-vision-card {
        margin-bottom: 30px;
    }

    .about-cta-card {
        padding: 40px 20px !important;
    }

    .about-cta-card h2 {
        font-size: 1.8rem;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* Small mobile (575px and below) */
@media (max-width: 575px) {
    .about-hero-title {
        font-size: 1.75rem;
    }

    .about-value-icon,
    .about-mission-icon,
    .about-vision-icon {
        width: 60px;
        height: 60px;
    }

    .about-value-icon i,
    .about-mission-icon i,
    .about-vision-icon i {
        font-size: 24px;
    }

    .about-highlight-box {
        padding: 20px;
    }
}
