/* Reset và Base Styles */
:root {
    --primary-color: #2952A4; /* Blue from logo */
    --secondary-color: #D8252C; /* Red from banner */
    --bg-dark: #F9FAFB; /* Đổi sang trắng sáng */
    --bg-light: #FFFFFF; /* Card BG sáng hơn */
    --text-primary: #222222; /* Text chính màu tối */
    --text-secondary: #666666; /* Text phụ màu xám */
    --font-sans: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    font-size: 16px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(255,255,255,0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid #e5e7eb;
}

.header.scrolled {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
}

.logo h2 span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 65vh;
    background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)),
                url('images/anhbia.png');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-bottom: 4rem;
}

.hero-content h1, .hero-content p {
    display: none; /* Hide default text to let the banner image speak */
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(41,82,164,0.10);
    transition: all 0.3s cubic-bezier(.4,2,.3,1);
}

.btn-primary:hover {
    background-color: #3d6acb;
    box-shadow: 0 6px 24px rgba(41,82,164,0.18);
    transform: translateY(-3px) scale(1.04);
}

.btn-secondary {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(41,82,164,0.06);
    transition: all 0.3s cubic-bezier(.4,2,.3,1);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px) scale(1.04);
}

/* Section General */
section {
    padding: 7rem 0 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.4rem;
}

.section-header h2:after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    margin: 0.5rem auto 0 auto;
}

.section-header h2 span {
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 18px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #e5e7eb;
    color: var(--text-primary);
    box-shadow: 0 4px 24px rgba(41,82,164,0.06);
    margin-bottom: 2rem;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(41,82,164,0.13);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: linear-gradient(145deg, var(--primary-color), #3d6acb);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: #fff;
}

.service-icon i {
    font-size: 2rem;
    vertical-align: middle;
    color: #fff;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-text h2 span {
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Why Choose Us (Features) */
.why-choose {
    background-color: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: left;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background: linear-gradient(145deg, var(--secondary-color), #e55353);
    border-radius: 50%;
    color: var(--text-primary);
}

.feature-icon i {
    font-size: 1.8rem;
    vertical-align: middle;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing {
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.pricing-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.pricing-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pricing-card > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.pricing-card li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact {
    background-color: var(--bg-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.contact-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 1.5rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--text-primary);
    vertical-align: middle;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(41, 82, 164, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background-color: #f3f4f6;
    padding: 4rem 0 2rem;
    border-top: 1.5px solid #e5e7eb;
    box-shadow: 0 -2px 16px rgba(41,82,164,0.04);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section p,
.footer-section li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background-color: #e5e7eb;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(.4,2,.3,1);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px) scale(1.08);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.footer-bottom p {
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .service-card, .feature, .contact-item, .contact-form, .pricing-card, .stat {
        padding: 2rem 1.2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* Header height */
        flex-direction: column;
        background-color: rgba(255,255,255,0.98);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: left 0.3s ease-in-out;
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 45vh;
        padding-bottom: 2rem;
    }

    .service-card, .feature, .contact-item, .contact-form, .pricing-card, .stat {
        padding: 1.2rem 0.7rem;
        box-shadow: 0 2px 8px rgba(41,82,164,0.07);
    }
}

/* Animations & Effects */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation - No changes needed */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #333333;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.back-to-top {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(41, 82, 164, 0.13) !important;
    border-radius: 50% !important;
}

/* Màu chữ */
body, .service-card, .feature, .contact-item, .contact-form, .pricing-card, .stat {
    color: #222;
}
.section-header p, .service-card p, .feature p, .pricing-card > p, .stat p, .contact-item p, .footer-section p, .footer-section li, .footer-bottom p {
    color: #666;
}

/* Icon */
.service-icon, .feature-icon, .contact-icon {
    background: linear-gradient(145deg, var(--primary-color), #3d6acb);
    color: #fff;
}
.service-icon i, .feature-icon i, .contact-icon i {
    color: #fff;
}
.footer-section i {
    color: var(--primary-color);
}

/* Card hover */
.service-card:hover, .feature:hover, .pricing-card:hover, .stat:hover {
    box-shadow: 0 8px 32px rgba(41,82,164,0.13);
    border-color: var(--primary-color);
    transform: translateY(-6px) scale(1.03);
}

/* Footer, header */
.footer {
    background-color: #f3f4f6;
    border-top: 1.5px solid #e5e7eb;
    box-shadow: 0 -2px 16px rgba(41,82,164,0.04);
}
.header {
    border-bottom: 1.5px solid #e5e7eb;
    box-shadow: 0 2px 16px rgba(41,82,164,0.04);
}

/* Footer section title */
.footer-section h3 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Social links */
.social-links a {
    background-color: #e5e7eb;
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(.4,2,.3,1);
}
.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px) scale(1.08);
}

/* Back to top */
.back-to-top {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(41, 82, 164, 0.13) !important;
    border-radius: 50% !important;
}

/* Form input focus */
.form-group input, .form-group textarea {
    background-color: #fff;
    color: #222;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(41,82,164,0.04);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(41,82,164,0.10);
}

/* Section header underline */
.section-header h2:after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    margin: 0.5rem auto 0 auto;
}

/* Pricing Detail Section */
.pricing-detail {
    background: #fff;
    padding: 6rem 0 4rem 0;
}
.pricing-detail-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1rem 0;
    font-weight: 700;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 2.5rem;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 16px rgba(41,82,164,0.06);
    border-radius: 12px;
    overflow: hidden;
    font-size: 1rem;
    margin-bottom: 0;
}
.price-table th, .price-table td {
    border: 1px solid #e5e7eb;
    padding: 1rem 0.7rem;
    text-align: left;
    vertical-align: top;
}
.price-table th {
    background: #f3f4f6;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
}
.price-table tr:nth-child(even) td {
    background: #fafbfc;
}
.price-table td {
    color: #222;
    font-size: 0.98rem;
}
.pricing-detail-note {
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem 1.2rem;
    margin-top: 2.5rem;
    color: #444;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(41,82,164,0.04);
}
.pricing-detail-note h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
}
.pricing-detail-note ul {
    margin-left: 1.2rem;
    padding-left: 0;
}
.pricing-detail-note li {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.97rem;
}
@media (max-width: 768px) {
    .pricing-detail {
        padding: 3.5rem 0 2rem 0;
    }
    .price-table th, .price-table td {
        padding: 0.7rem 0.4rem;
        font-size: 0.95rem;
    }
    .pricing-detail-title {
        font-size: 1.1rem;
    }
}

.price-table-note {
    background: #f6fafd;
    border-left: 4px solid var(--primary-color);
    color: #2952A4;
    padding: 0.8rem 1.2rem;
    margin: 1.2rem 0 1.5rem 0;
    border-radius: 7px;
    font-size: 0.98rem;
    font-weight: 500;
    box-shadow: 0 1px 6px rgba(41,82,164,0.04);
}

.service-packages {
    background: #fff;
    padding: 6rem 0 4rem 0;
}
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}
.package-card {
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(41,82,164,0.06);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}
.package-card:hover {
    box-shadow: 0 8px 32px rgba(41,82,164,0.13);
    border-color: var(--primary-color);
    transform: translateY(-6px) scale(1.03);
}
.package-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}
.package-card ul {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}
.package-card li {
    color: #444;
    font-size: 1rem;
    margin-bottom: 0.6rem;
    list-style: disc;
}
.package-card .btn {
    margin-top: auto;
    font-size: 1rem;
    padding: 12px 28px;
}
@media (max-width: 768px) {
    .service-packages {
        padding: 3.5rem 0 2rem 0;
    }
    .package-card {
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    }
    .packages-grid {
        gap: 1.2rem;
    }
} 