/* About Page Styles - Trang Giới Thiệu */

:root {
    --primary-color: #0d6efd;
    --primary-rgb: 13, 110, 253;
    --secondary-color: #6c757d;
    --secondary-rgb: 108, 117, 125;
    --success-color: #28a745;
    --success-rgb: 40, 167, 69;
    --info-color: #17a2b8;
    --info-rgb: 23, 162, 184;
    --warning-color: #ffc107;
    --warning-rgb: 255, 193, 7;
    --danger-color: #dc3545;
    --danger-rgb: 220, 53, 69;
    --purple-color: #6f42c1;
    --purple-rgb: 111, 66, 193;
    --pink-color: #e83e8c;
    --pink-rgb: 232, 62, 140;
    --orange-color: #fd7e14;
    --orange-rgb: 253, 126, 20;
    --teal-color: #20c997;
    --teal-rgb: 32, 201, 151;
}

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #0d6efd, #6f42c1, #e83e8c);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30% 30% / 15%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(25deg);
    pointer-events: none;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.about-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-weight: 700;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--purple-color));
    border-radius: 2px;
}

/* Features */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05), rgba(111, 66, 193, 0.05));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.feature-text {
    color: #6c757d;
    margin-bottom: 0;
}

/* Team Section */
.team-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/pattern.svg');
    opacity: 0.05;
    pointer-events: none;
}

.team-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.03), transparent);
    pointer-events: none;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(var(--primary-rgb), 0.1);
}

.team-img-container {
    position: relative;
    overflow: hidden;
    height: 320px;
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: all 0.5s ease;
    filter: brightness(0.95);
}

.team-card:hover .team-img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.team-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1) 60%, transparent);
    opacity: 0;
    transition: all 0.4s ease;
}

.team-card:hover .team-img-overlay {
    opacity: 1;
}

.team-content {
    padding: 1.8rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    background: white;
    margin-top: -20px;
}

.team-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: white;
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.team-name::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.team-card:hover .team-name {
    color: var(--primary-color);
}

.team-card:hover .team-name::after {
    width: 50%;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 30px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.team-card:hover .team-role {
    background: rgba(var(--primary-rgb), 0.2);
    transform: translateY(-3px);
}

.team-desc {
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: auto;
    position: relative;
    padding-top: 1rem;
}

.team-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #6c757d;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    transform: translateY(-100%);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.team-social a:hover::before {
    transform: translateY(0);
}

.team-social a.facebook:hover {
    background: #3b5998;
}

.team-social a.twitter:hover {
    background: #1da1f2;
}

.team-social a.linkedin:hover {
    background: #0077b5;
}

.team-social a.github:hover {
    background: #333;
}

.team-social a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.team-social a i {
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.team-social a:hover i {
    transform: scale(1.2);
    animation: pulse 1s infinite;
}

.team-card::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10%;
    width: 80%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card:hover::after {
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Timeline Section */
.timeline-section {
    padding: 5rem 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-color), var(--purple-color));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    animation: fadeInUp 1s ease-out;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background: white;
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -12px;
}

.timeline-content {
    padding: 20px 30px;
    background: white;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.timeline-content::after {
    content: '';
    position: absolute;
    border-width: 10px;
    border-style: solid;
    top: 15px;
}

.timeline-item.left .timeline-content::after {
    border-color: transparent transparent transparent white;
    right: -20px;
}

.timeline-item.right .timeline-content::after {
    border-color: transparent white transparent transparent;
    left: -20px;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

.timeline-text {
    color: #6c757d;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(25deg);
    pointer-events: none;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.05), rgba(111, 66, 193, 0.02));
    z-index: 0;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 62, 140, 0.05), rgba(253, 126, 20, 0.02));
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.03), rgba(111, 66, 193, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    position: relative;
    z-index: 1;
}

.contact-text {
    color: #6c757d;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Thêm màu sắc mới cho các icon */
.contact-icon.primary {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
}

.contact-icon.success {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.contact-icon.info {
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
}

/* Form liên hệ */
.card-title {
    color: #333;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #4e54c8, #8f94fb);
    border-radius: 3px;
}

.form-control {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
    border-color: #4e54c8;
}

.btn-primary {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    border: none;
    box-shadow: 0 4px 15px rgba(78, 84, 200, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3a3f9d, #7a7fef);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 84, 200, 0.4);
}

/* Map container */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.map-container:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item.left::after, 
    .timeline-item.right::after {
        left: 18px;
    }
    
    .timeline-item.left .timeline-content::after,
    .timeline-item.right .timeline-content::after {
        left: -20px;
        border-color: transparent white transparent transparent;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 4rem 0;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Color Variations for Feature Icons */
.feature-icon.primary {
    background: linear-gradient(135deg, #0d6efd, #0043a8);
}

.feature-icon.success {
    background: linear-gradient(135deg, #28a745, #145523);
}

.feature-icon.info {
    background: linear-gradient(135deg, #17a2b8, #0c525d);
}

.feature-icon.warning {
    background: linear-gradient(135deg, #ffc107, #a67c00);
}

.feature-icon.danger {
    background: linear-gradient(135deg, #dc3545, #7c151f);
}

.feature-icon.purple {
    background: linear-gradient(135deg, #6f42c1, #3a1f65);
}

.feature-icon.pink {
    background: linear-gradient(135deg, #e83e8c, #9d1a57);
}

.feature-icon.orange {
    background: linear-gradient(135deg, #fd7e14, #a44e02);
}

.feature-icon.teal {
    background: linear-gradient(135deg, #20c997, #0e6252);
} 