/* Reset và Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 25%, #f1f5f9 50%, #f8fafc 75%, #ffffff 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 85%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 40%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="floral" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="none" stroke="rgba(59,130,246,0.1)" stroke-width="0.5"/><path d="M15,5 Q20,10 15,15 Q10,10 15,5" fill="none" stroke="rgba(16,185,129,0.08)" stroke-width="0.3"/><path d="M5,15 Q10,20 15,15 Q10,10 5,15" fill="none" stroke="rgba(245,158,11,0.06)" stroke-width="0.3"/></pattern></defs><rect width="60" height="60" fill="url(%23floral)"/></svg>');
    background-size: 100% 100%, 100% 100%, 100% 100%, 30px 30px;
    background-position: 0 0, 0 0, 0 0, 0 0;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(30, 64, 175, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    min-height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    min-width: 0;
}

.logo-image {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    object-fit: contain;
}

.logo i {
    font-size: 28px;
    margin-right: 10px;
    color: #60a5fa;
}

.nav {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    flex-shrink: 1;
    min-width: 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 10px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 13px;
    flex-shrink: 0;
}

.nav-link:hover {
    color: #60a5fa;
    background-color: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hex" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><polygon points="10,2 18,6 18,14 10,18 2,14 2,6" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23hex)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-bubble {
    background: white;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-bubble::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid white;
}

.hero-bubble h1 {
    font-size: 32px;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 15px;
    text-align: center;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 15px;
    text-align: center;
}

.hero-bubble ul {
    list-style: none;
    color: #1e40af;
    font-size: 18px;
}

.hero-bubble li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.hero-bubble li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

.hero-images {
    display: flex;
    gap: 20px;
}

.hero-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.disclaimer {
    text-align: center;
    margin-top: 40px;
    color: white;
    font-size: 14px;
    opacity: 0.9;
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #1e40af;
    margin-bottom: 50px;
    font-weight: bold;
}

.calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #e5e7eb;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group label {
    font-weight: bold;
    color: #374151;
    font-size: 16px;
}

.slider-container {
    position: relative;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e5e7eb;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
    color: #6b7280;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.result-item label {
    font-weight: 500;
    color: #374151;
}

.result-item span {
    font-weight: bold;
    color: #1e40af;
    font-size: 18px;
}

.btn-detail {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
    margin-top: 10px;
}

.btn-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Why Choose Us Section */
.why-choose {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 35%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><defs><pattern id="geometric" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><polygon points="10,2 18,6 18,14 10,18 2,14 2,6" fill="none" stroke="rgba(59,130,246,0.08)" stroke-width="0.4"/><circle cx="10" cy="10" r="3" fill="none" stroke="rgba(16,185,129,0.06)" stroke-width="0.3"/></pattern></defs><rect width="40" height="40" fill="url(%23geometric)"/></svg>');
    background-size: 100% 100%, 100% 100%, 20px 20px;
    background-position: 0 0, 0 0, 0 0;
    pointer-events: none;
    z-index: -1;
}

.section-subtitle {
    text-align: center;
    font-size: 24px;
    color: #374151;
    margin-bottom: 50px;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid #e5e7eb;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #3b82f6;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.feature-card h4 {
    font-size: 20px;
    color: #1e40af;
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Info Section */
.contact-info {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 35%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><defs><pattern id="geometric" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><polygon points="10,2 18,6 18,14 10,18 2,14 2,6" fill="none" stroke="rgba(59,130,246,0.08)" stroke-width="0.4"/><circle cx="10" cy="10" r="3" fill="none" stroke="rgba(16,185,129,0.06)" stroke-width="0.3"/></pattern></defs><rect width="40" height="40" fill="url(%23geometric)"/></svg>');
    background-size: 100% 100%, 100% 100%, 20px 20px;
    background-position: 0 0, 0 0, 0 0;
    pointer-events: none;
    z-index: -1;
}

.info-text {
    text-align: center;
    margin-bottom: 50px;
}

.info-text p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1e40af);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.contact-card.zalo-card {
    text-decoration: none;
    color: inherit;
}

.contact-card.zalo-card:hover {
    text-decoration: none;
    color: inherit;
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.contact-icon.phone {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.contact-icon.zalo {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.contact-icon.address {
    background: linear-gradient(135deg, #10b981, #059669);
}

.zalo-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.contact-content h3 {
    color: #1e40af;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-content p {
    color: #374151;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    transition: border-color 0.3s;
}

.contact-item:hover {
    border-color: #3b82f6;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    color: white;
}

.contact-icon.phone {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.contact-icon.zalo {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.contact-icon.address {
    background: linear-gradient(135deg, #10b981, #059669);
}

.contact-text strong {
    display: block;
    color: #1e40af;
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-text span {
    color: #6b7280;
    font-size: 14px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: transparent;
    color: #1e40af;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 35%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><defs><pattern id="geometric" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><polygon points="10,2 18,6 18,14 10,18 2,14 2,6" fill="none" stroke="rgba(59,130,246,0.08)" stroke-width="0.4"/><circle cx="10" cy="10" r="3" fill="none" stroke="rgba(16,185,129,0.06)" stroke-width="0.3"/></pattern></defs><rect width="40" height="40" fill="url(%23geometric)"/></svg>');
    background-size: 100% 100%, 100% 100%, 20px 20px;
    background-position: 0 0, 0 0, 0 0;
    pointer-events: none;
    z-index: -1;
}

.testimonials .section-title {
    color: #1e40af;
    margin-bottom: 50px;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
}

.testimonials-grid {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 300px;
    overflow: hidden;
}

.testimonials-album {
    display: flex;
    gap: 20px;
    max-width: 820px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.testimonials-navigation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.testimonials-nav-btn {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    margin: 0 15px;
}

.testimonials-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

.testimonials-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.testimonials-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.testimonials-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-dot.active {
    background: #1e40af;
    transform: scale(1.2);
}

.testimonials-dot:hover {
    background: rgba(30, 64, 175, 0.6);
}

.testimonial-image-card {
    position: relative;
    width: 800px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.5s ease-in-out;
    flex-shrink: 0;
    margin: 0 auto;
}

.testimonial-image-card:hover {
    transform: scale(1.05);
}

.testimonial-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.testimonial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    color: white;
}

.testimonial-info strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-info span {
    font-size: 14px;
    opacity: 0.9;
}

.testimonials-grid .testimonial-card {
    flex: 0 0 100%;
    display: block !important;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    color: #374151;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    width: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 16px;
    color: #2d3748;
    position: relative;
    padding-left: 20px;
}

.testimonial-card p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 60px;
    color: #e2e8f0;
    font-family: serif;
    line-height: 1;
}

.testimonial-card p::after {
    content: '"';
    position: absolute;
    right: 0;
    bottom: -20px;
    font-size: 60px;
    color: #e2e8f0;
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    overflow: hidden;
    border: 3px solid #f7fafc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-info strong {
    display: block;
    color: #2d3748;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.author-info span {
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
}

/* Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #1e40af;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
}

/* Registration Form Section */
.registration {
    padding: 60px 0;
    background: transparent;
    color: #1e40af;
    position: relative;
}

.registration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 35%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><defs><pattern id="geometric" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><polygon points="10,2 18,6 18,14 10,18 2,14 2,6" fill="none" stroke="rgba(59,130,246,0.08)" stroke-width="0.4"/><circle cx="10" cy="10" r="3" fill="none" stroke="rgba(16,185,129,0.06)" stroke-width="0.3"/></pattern></defs><rect width="40" height="40" fill="url(%23geometric)"/></svg>');
    background-size: 100% 100%, 100% 100%, 20px 20px;
    background-position: 0 0, 0 0, 0 0;
    pointer-events: none;
    z-index: -1;
}

.registration .section-title {
    color: #1e40af;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.form-error-container {
    margin-bottom: 20px;
}

.form-error-message {
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    background: rgba(220, 38, 38, 0.1);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    backdrop-filter: blur(5px);
}

.registration-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper,
.textarea-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #64748b;
    font-size: 16px;
    z-index: 2;
    opacity: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
    opacity: 1;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    padding-top: 15px;
}

.form-help {
    color: white;
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
    opacity: 0.9;
}

.form-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
    display: block;
    word-wrap: break-word;
    max-width: 100%;
    text-align: center;
    background: rgba(220, 38, 38, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    margin-bottom: 15px;
}

.field-error {
    color: #dc2626;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
    width: 100%;
    text-align: left;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc2626;
    background-color: #fef2f2;
    color: #374151;
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: #dc2626;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-text i {
    font-size: 18px;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-text {
    font-size: 14px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
    margin: 5px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.8); }
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.scroll-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.3);
    margin: 10px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.scroll-dot.active {
    background: #3b82f6;
}

/* Zalo Widget */
.zalo-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.zalo-widget a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
    transition: transform 0.3s;
}

.zalo-widget a:hover {
    transform: scale(1.1);
}

.zalo-widget-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    margin: 0;
    padding: 0;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideIn 0.3s;
}

.modal-header {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.schedule-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-item .label {
    font-weight: bold;
    color: #374151;
}

.info-item span:last-child {
    color: #1e40af;
    font-weight: 600;
}

.table-container {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.repayment-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 14px;
}

.repayment-table th {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 15px 10px;
    text-align: center;
    font-weight: bold;
    border: none;
}

.repayment-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.repayment-table tbody tr:hover {
    background-color: #f8fafc;
}

.repayment-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.repayment-table tbody tr:nth-child(even):hover {
    background-color: #f1f5f9;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Notification Modal Styles */
.notification-modal {
    max-width: 500px;
    margin: 10% auto;
}

.notification-modal .modal-header {
    text-align: center;
    padding: 30px 30px 20px;
}

.notification-modal .modal-body {
    text-align: center;
    padding: 20px 30px 30px;
}

.notification-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 0.6s ease-in-out;
}

.notification-icon.success {
    color: #10b981;
}

.notification-icon.error {
    color: #ef4444;
}

.notification-message {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 30px;
}

.notification-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-ok {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-ok:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .testimonials-grid {
        gap: 30px;
    }
    
    .testimonials-album {
        gap: 15px;
        flex-wrap: nowrap;
        overflow: hidden;
        padding: 15px 0;
    }
    
    .testimonial-image-card {
        width: 600px;
        height: 160px;
        margin: 0 auto;
    }
    
    .testimonials-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin: 0 10px;
    }
    
    .testimonials-dots {
        gap: 8px;
        margin: 0 15px;
    }
    
    .testimonials-dot {
        width: 10px;
        height: 10px;
    }
    
    .testimonial-card {
        max-width: 100%;
    }
    
    .contact-cards {
        gap: 25px;
    }
    
    .contact-card {
        min-width: 250px;
        max-width: 300px;
        padding: 25px 20px;
    }
    
    .contact-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
        margin-bottom: 18px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-bubble {
        margin-bottom: 30px;
    }
    
    .hero-images {
        justify-content: center;
    }
    
    .calculator {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        gap: 30px;
    }
    
    .testimonials-album {
        gap: 10px;
        flex-wrap: nowrap;
        overflow: hidden;
        padding: 10px 0;
    }
    
    .testimonial-image-card {
        width: 400px;
        height: 140px;
        margin: 0 auto;
    }
    
    .testimonials-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin: 0 8px;
    }
    
    .testimonials-dots {
        gap: 6px;
        margin: 0 10px;
    }
    
    .testimonials-dot {
        width: 8px;
        height: 8px;
    }
    
    .testimonial-card {
        padding: 30px;
        max-width: 100%;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-card {
        min-width: 100%;
        max-width: 400px;
        padding: 25px 20px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .contact-content h3 {
        font-size: 16px;
    }
    
    .contact-content p {
        font-size: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero-bubble {
        padding: 20px;
    }
    
    .hero-bubble h1 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .calculator {
        padding: 20px;
    }
    
    .registration {
        padding: 40px 0;
    }
    
    .form-container {
        margin: 0 15px;
        padding: 25px 20px;
        border-radius: 15px;
        max-width: calc(100% - 30px);
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 12px 12px 40px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .input-icon {
        left: 12px;
        font-size: 14px;
        color: #64748b;
        opacity: 1;
    }
    
    .form-help {
        font-size: 11px;
    }
    
    .form-error {
        font-size: 11px;
        word-wrap: break-word;
        max-width: 100%;
    }
    
    .form-error-message {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .btn-submit {
        padding: 15px 25px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .btn-text i {
        font-size: 16px;
    }
    
    .zalo-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .zalo-widget a {
        width: 55px;
        height: 55px;
    }
    
    .zalo-widget-icon {
        width: 22px;
        height: 22px;
    }
    
    .scroll-to-top {
        bottom: 15px;
        left: 15px;
        width: 55px;
        height: 55px;
        font-size: 16px;
        margin: 0;
        padding: 0;
    }
}
