﻿/* --- ABOUT PAGE STYLES --- */

/* 1. Hero Section */
.about-hero {
    /* Ảnh nền cho Hero (Thay link ảnh thật của bạn) */
    background: url('/Client/assets/images/driving-school-hero.jpg') no-repeat center center/cover;
    height: 450px; /* Chiều cao vừa phải */
    display: flex;
    align-items: center;
    color: #fff;
    margin-top: -80px; /* Nếu header của bạn transparent thì kéo lên */
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 70, 186, 0.9), rgba(0, 11, 40, 0.7));
}

.ls-2 {
    letter-spacing: 2px;
}


/* Shape Divider (Sóng ở đáy) */
.custom-shape-divider-bottom-1680000000 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .custom-shape-divider-bottom-1680000000 svg {
        position: relative;
        display: block;
        width: calc(133% + 1.3px);
        height: 60px;
    }

    .custom-shape-divider-bottom-1680000000 .shape-fill {
        fill: #FFFFFF;
    }

/* 2. Story Section */
.story-img-group {
    padding: 20px;
}

.small-img-wrapper {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 200px;
    z-index: 3;
}

.pattern-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(#0046ba 15%, transparent 16%);
    background-size: 10px 10px;
    opacity: 0.2;
    z-index: 1;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
}

.title-line {
    width: 60px;
    height: 4px;
    background: var(--primary-color, #0046ba);
    border-radius: 2px;
}

.content-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.icon-check {
    width: 25px;
    height: 25px;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* 3. Stats Section */
.bg-overlay-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item h2 {
    margin-bottom: 5px;
}

/* 4. Core Values */
.title-separator {
    width: 50px;
    height: 3px;
    background: var(--primary-color, #0046ba);
    margin-top: 15px;
}

.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-bottom: 3px solid transparent;
}

    .value-card:hover {
        transform: translateY(-10px);
        border-bottom-color: var(--primary-color, #0046ba);
    }

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.bg-blue-light {
    background: rgba(0, 70, 186, 0.1);
}

.bg-yellow-light {
    background: rgba(255, 193, 7, 0.1);
}

.bg-green-light {
    background: rgba(40, 167, 69, 0.1);
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}


/* --- PREMIUM VALUES SECTION --- */

/* 1. Background & Decor */
.section-values {
    background: #f8faff;
}

.shape-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 0;
}

.shape-blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 70, 186, 0.05);
}

.shape-blob-2 {
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(0, 200, 255, 0.05);
}

/* 2. Premium Card Structure */
.premium-card {
    background: #fff;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

    /* Hiệu ứng Hover Card */
    .premium-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 70, 186, 0.12);
    }

/* 3. Watermark Number (Số in chìm 01, 02) */
.watermark-number {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03); /* Rất mờ */
    font-family: var(--bs-font-sans-serif);
    transition: all 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.premium-card:hover .watermark-number {
    color: rgba(0, 70, 186, 0.08); /* Đậm hơn chút khi hover */
    transform: scale(1.1) rotate(-5deg);
}

/* 4. Icon Styling (Glow Effect) */
.icon-wrapper-premium {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 70, 186, 0.1);
    border-radius: 18px;
    transform: rotate(0deg);
    transition: all 0.4s ease;
}

/* Khi hover, hình nền icon xoay và đổi màu */
.premium-card:hover .icon-bg {
    transform: rotate(45deg);
    background: var(--primary-color, #0046ba);
    box-shadow: 0 10px 20px rgba(0, 70, 186, 0.3);
}

.icon-wrapper-premium img {
    width: 36px;
    transition: all 0.4s;
}

.premium-card:hover .icon-wrapper-premium img {
    filter: brightness(0) invert(1); /* Icon chuyển trắng */
    transform: scale(1.1);
}

/* 5. Bottom Gradient Line */
.bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%; /* Mặc định ẩn */
    height: 4px;
    background: linear-gradient(90deg, #0046ba, #00c6ff); /* Gradient xanh */
    transition: width 0.4s ease;
}

.premium-card:hover .bottom-line {
    width: 100%; /* Chạy full chiều rộng khi hover */
}

/* 6. Title Gradient Decor */
.title-line-gradient {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0046ba, #00c6ff);
    border-radius: 2px;
}
/* 5. CTA Box */
.cta-box {
    background: linear-gradient(135deg, #0046ba 0%, #002a70 100%);
}

.cta-circle-decor {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.story-content {
    overflow: hidden;
    width: 100%;
}

/* --- CTA PRO STYLE --- */

/* 1. Wrapper & Background */
.section-cta-pro {
    /* Tạo khoảng cách thoáng */
}

.cta-wrapper {
    background: #0b1120; /* Màu nền tối sang trọng */
    position: relative;
    /* Hiệu ứng viền phát sáng nhẹ */
    box-shadow: 0 20px 50px rgba(0, 70, 186, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-bg-speed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient chéo phức tạp */
    background: radial-gradient(circle at 10% 20%, rgb(0, 70, 186) 0%, rgb(0, 30, 80) 90%);
    z-index: 0;
}

/* 2. Road Lines Animation (Hiệu ứng vạch kẻ đường chạy) */
.road-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 100%;
    transform: skewX(-20deg); /* Nghiêng để tạo cảm giác tốc độ */
    z-index: 0;
}

/* 3. Typography Highlights */
.fw-black {
    font-weight: 900;
    letter-spacing: -1px;
}

.text-white-opacity {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Chữ Gradient Vàng (Gold) */
.text-gradient-gold {
    background: linear-gradient(to right, #ffd700, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    position: relative;
    z-index: 10;
}

/* 4. Floating Icons (Icon bay lơ lửng) */
.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.05); /* Rất mờ */
    font-size: 8rem;
    z-index: 1;
    animation: floatIcon 6s ease-in-out infinite;
}

.icon-1 {
    top: -20px;
    left: 5%;
    animation-delay: 0s;
    transform: rotate(-15deg);
}

.icon-2 {
    bottom: -30px;
    right: 5%;
    animation-delay: 2s;
    font-size: 10rem;
}

.icon-3 {
    top: 40%;
    left: 80%;
    animation-delay: 4s;
    font-size: 5rem;
    opacity: 0.1;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0) rotate(-15deg);
    }

    50% {
        transform: translateY(-20px) rotate(-10deg);
    }

    100% {
        transform: translateY(0) rotate(-15deg);
    }
}

/* 5. Pulse Button (Nút nhịp tim) */
.btn-cta-pulse {
    background: #fff;
    color: #0046ba;
    border: none;
    transition: all 0.3s;
    position: relative;
    z-index: 10;
}

    /* Hiệu ứng nhịp tim tỏa ra */
    .btn-cta-pulse::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        background: inherit;
        border-radius: 50px;
        z-index: -1;
        animation: pulse-border 2s infinite;
    }

    .btn-cta-pulse:hover {
        transform: scale(1.05); /* Phóng to nhẹ */
        color: #fff; /* Chữ đậm hơn */
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5) !important;
    }

@keyframes pulse-border {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .floating-icon {
        display: none;
    }
    /* Ẩn icon trên mobile cho đỡ rối */
    .btn-cta-pulse {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .about-hero {
        height: auto;
        padding: 120px 0 80px;
        text-align: center;
    }

    .story-img-group {
        margin-bottom: 30px;
        text-align: center;
    }

    .small-img-wrapper {
        display: none;
    }
}
