/* Font Import */
@font-face {
    font-family: 'NVN Yellost';
    src: url('../font/NVN Yellost-Regular VH.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    font-size: 16px;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafd;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body.page-loaded {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive text */
h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}



/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Specific animations for different elements */
.features.animate-on-scroll {
    animation: fadeInUp 1s ease-out forwards;
}

.achievements.animate-on-scroll {
    animation: fadeInUp 1s ease-out forwards;
}

.feedback.animate-on-scroll {
    animation: fadeInUp 1s ease-out forwards;
}

.pricing.animate-on-scroll {
    animation: fadeInUp 1s ease-out forwards;
}

/* Card animations */
.card-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Hero animation - DISABLED */
.hero-content {
    opacity: 1;
    transform: translateY(0);
    /* transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
}

.hero-content.hero-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Achievements stats animation */
.achievements-stats .stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.achievements-stats .stat-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Header scroll effect */
.header {
    transition: all 0.6s ease-out;
    /* Header Animation for page load */
    opacity: 0;
    transform: translateY(-20px);
}

/* Header will be shown via JavaScript in script.js */

/* Enhanced hover effects */
.feature-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feedback-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feedback-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.pricing-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 50px rgba(214, 40, 41, 0.3);
}

/* Smooth button animations */
.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Text reveal animation */
.text-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.text-reveal.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll to top button animations */
.scroll-to-top:hover {
    background: #b21e1f !important;
    transform: translateY(0) scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(214, 40, 41, 0.4) !important;
}

.scroll-to-top:active {
    transform: translateY(0) scale(0.95) !important;
}

/* Enhanced loading animations */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(214, 40, 41, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(214, 40, 41, 0);
    }
}

.pricing-card.featured {
    animation: pulseGlow 3s infinite;
}

/* Staggered animations for statistics */
.stat-item:nth-child(1) { transition-delay: 0.1s; }
.stat-item:nth-child(2) { transition-delay: 0.2s; }
.stat-item:nth-child(3) { transition-delay: 0.3s; }
.stat-item:nth-child(4) { transition-delay: 0.4s; }

/* Enhanced feature cards */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }

/* Enhanced feedback cards */
.feedback-card:nth-child(1) { transition-delay: 0.1s; }
.feedback-card:nth-child(2) { transition-delay: 0.2s; }
.feedback-card:nth-child(3) { transition-delay: 0.3s; }
.feedback-card:nth-child(4) { transition-delay: 0.4s; }

/* Enhanced pricing cards */
.pricing-card:nth-child(1) { transition-delay: 0.1s; }
.pricing-card:nth-child(2) { transition-delay: 0.2s; }
.pricing-card:nth-child(3) { transition-delay: 0.3s; }
.pricing-card:nth-child(4) { transition-delay: 0.4s; }

/* Floating animation for elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* .hero-content.hero-revealed animation disabled */

/* Smooth image loading */
img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img.loaded {
    opacity: 1;
}

/* Enhanced focus states */
.btn:focus,
.nav-link:focus,
.mobile-menu-toggle:focus {
    outline: 2px solid #d62829;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(214, 40, 41, 0.2);
}

/* Scroll indicators */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d62829, #ff6b6b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 9999;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .card-item,
    .hero-content,
    .feature-card,
    .feedback-card,
    .pricing-card,
    .btn,
    .text-reveal {
        animation: none !important;
        transition: none !important;
    }
    
    .hero-content {
        opacity: 1;
        transform: none;
    }
    
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
    
    .text-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-height: 48px;
    min-width: 120px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background-color: #671716;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #333;
}

.btn-outline:hover {
    background-color: #333;
    color: white;
    transform: translateY(-2px);
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .pricing-card:hover {
        transform: none;
    }
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
.mobile-menu-toggle:focus {
    outline: 2px solid #d62829;
    outline-offset: 2px;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #d62829;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.nav-link.active {
    background-color: rgba(252, 194, 74, 0.4);
    color: #333;
}

.nav-link:hover {
    background-color: rgba(252, 194, 74, 0.4);
    color: #333;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

/* Hide mobile auth buttons on desktop */
.mobile-auth-buttons {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border: none;
    background: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    max-width: 1520px;
    height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #cc1e1e 0%, #d62829 100%);
    overflow: hidden;
    transition: none !important;
    animation: none !important;
    transform: none !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/index/BACK2.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.hero-left {
    flex: 1;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-right: -100px;

}

.hero-text {
    text-align: left;
    color: white;
}

.hero-greeting {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 400;
    color: #FAE4B6;
    font-family: 'Be Vietnam Pro', sans-serif;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero-title {
    font-family: 'NVN Yellost', cursive;
    text-transform: uppercase;
    font-size: 100px;
    font-weight: normal;
    margin-bottom: 30px;
    line-height: 1;
    color: #FAE4B6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 400;
    color: #FAE4B6;
    font-family: 'Be Vietnam Pro', sans-serif;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 200;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.hero-btn {
    background: #FAE4B6;
    color: #333;
    border: none;
    padding: 15px 30px;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.4s forwards;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 194, 74, 0.4);
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Features Section */
.features {
    padding: 100px 30px;
    background-color: rgba(252, 194, 74, 0.4);
    overflow-x: hidden;
}

.features .container {
    min-width: 95%;
    padding:  0px 0px;
    margin: 0px;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
    max-width: none;
    margin-left: 50px;
}

.features-title-small {
    display: block;
    font-size: 30px;
    font-weight: 500;
    color: #8F0002;
    margin-bottom: 10px;
}

.features-title-large {
    text-transform: uppercase;
    display: block;
    font-family: 'NVN Yellost', cursive;
    font-size: 80px;
    font-weight: normal;
    color: #8F0002;
    margin-bottom: 30px;
}

.features-description {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 15px;
    color: #8F0002;
    line-height: 1.3;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 100%;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.feature-content {
    flex: 1;
}

.feature-icon-circle {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: #8F0002;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(214, 40, 41, 0.3);
}

.feature-icon-circle img {
    width: 50px;
    height: 50px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

.feature-title {
    font-family: 'NVN Yellost', cursive;
    font-size: 30px;
    font-weight: 400;
    color: #8F0002;
    margin-bottom: 10px;
    margin-top: 10px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.feature-description {
    text-align: justify;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 15px;
    color: #000000;
    margin: 0;
    line-height: 1.6;

}

.feature-description::-webkit-scrollbar {
    width: 6px;
}

.feature-description::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.feature-description::-webkit-scrollbar-thumb {
    background: #d62829;
    border-radius: 3px;
}

.feature-description::-webkit-scrollbar-thumb:hover {
    background: #b21e1f;
}

/* Achievements Section */
.achievements {
    padding: 100px 0;
    background-color: white;
}

.achievements .container {
    min-width: 90%;
    max-width: 1300px;
}

.achievements-content {
    text-align: center;
    width: 100%;
    margin: 0 auto;
}


.achievements-title {
    text-transform: uppercase;
    font-size: 70px;
    font-weight: 400;
    color: #8F0002;
    margin-bottom: 30px;
    font-family: 'NVN Yellost', cursive;
}

.achievements-description {
    font-size: 24px;
    color: #8F0002;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
}

.achievements-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 60px;
    font-weight: 700;
    color: #8F0002;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
}

/* Feedback Section */
.feedback {
    padding: 80px;
    background-color: #8F0002;
}

.feedback-container {
    max-width: 1400px;
    margin: 0 auto;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    min-height: 120px;
}

.feedback-text-content {
    flex: 1;
}

.feedback-main-title {
    font-family: 'NVN Yellost', cursive;
    font-size: 60px;
    font-weight: normal;
    color: white;
    margin-bottom: 20px;
}

.feedback-subtitle {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 21px;
    color: white;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 300;
}

.feedback-btn {
    background-color: white;
    color: #333;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: 530;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 40px;
    flex-shrink: 0;
    align-self: flex-end;
    font-size: 17px;
    color: #8F0001;
}

.feedback-btn:hover {
    transform: translateY(-2px);
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feedback-card {
    background: white;
    border-radius: 7px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-height: 200px;
}

.feedback-card:hover {
    transform: translateY(-5px);
}

.feedback-content {
    flex: 1;
    margin: 20px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 40px);
}

.feedback-rating {
    margin-bottom: 15px;
}

.feedback-rating span {
    color: #8F0002;
    font-size: 21px;
}

.feedback-text {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 15px;
    color: #4C4C4D;
    line-height: 1.6;
    margin-bottom: auto;
    flex: 1;
}

.feedback-author {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: #4C4C4D;
    margin-top: 0;
    align-self: flex-start;
}

.author-name {
    color: #8F0002;
    font-weight: 700;
    font-size: 18px;
}

.author-job {
    color: #333;
    font-weight: 200;
    font-size: 15px;
}

.feedback-image {
    width: 180px;
    height: 100%;
    border-bottom-right-radius: 7px;
    border-top-right-radius: 7px;
    overflow: hidden;
    flex-shrink: 0;
}

.feedback-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: #F8F9FA;
}

.pricing-title {
    text-align: center;
    font-family: 'NVN Yellost', cursive;
    font-size: 48px;
    font-weight: normal;
    color: #8F0002;
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.pricing-icon {
    width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px 0;
    color: #8F0002;
}

.pricing-icon img {
    width: 100%;
}

.pricing-plan-type {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

.pricing-amount {
    margin-bottom: 30px;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.price-number {
    font-size: 42px;
    font-weight: 600;
    color: #8F0002;
}

.price-currency {
    font-size: 40px;
    font-weight: 600;
    color: #8F0002;
}

.price-period {
    font-size: 14px;
    color: #666;
}

.price-note {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    line-height: 1.3;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.pricing-features .feature-icon {
    width: 20px;
    height: 20px;
    background: #8F0002;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: bold;
}

.pricing-features .feature-text {
    color: #505050;
    flex: 1;
}

.pricing-btn-custom {
    background: #8F0002;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.pricing-btn-custom:hover {
    background: #b21e1f;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: #FAE4B6;
    padding: 80px 0;
}

.cta-section .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
}

.cta-left {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-laptop {
    width: 100%;
}

.cta-laptop img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.cta-right {
    flex: 1;
    max-width: 40%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.cta-form-container {
    width: 100%;
    max-width: 550px;
}

.cta-title {
    font-size: 40px;
    text-align: left;
    font-weight: 700;
    color: #8F0002;
    margin-bottom: 40px;
    line-height: 1.3;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 17px 25px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 18px;
    font-family: 'Be Vietnam Pro', sans-serif;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #8F0002;
    box-shadow: 0 0 0 3px rgba(143, 0, 2, 0.1);
}

.form-input::placeholder {
    color: #9CA3AF;
}

.cta-btn {
    width: 200px;
    background: #8F0002;
    color: white;
    border: none;
    padding: 15px 15px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 300;
    font-family: 'Be Vietnam Pro', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.cta-btn:hover {
    background: #b21e1f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(143, 0, 2, 0.3);
}

/* Responsive CTA Section */
@media (max-width: 1024px) {
    .cta-content {
        gap: 40px;
    }
    
}

@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .cta-left,
    .cta-right {
        max-width: 100%;
    }
    
    .cta-title {
        font-size: 28px;
        text-align: center;
    }
    
    .cta-laptop {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content {
        gap: 30px;
    }
    
    .cta-title {
        font-size: 28px;
        margin-bottom: 30px;
        line-height: 1.2;
    }
    
    .cta-form {
        gap: 20px;
    }
    
    .form-input {
        padding: 15px 18px;
        font-size: 16px;
        border-radius: 10px;
    }
    
    .cta-btn {
        padding: 15px 30px;
        font-size: 16px;
        border-radius: 10px;
        width: 100%;
        margin-top: 10px;
    }
    
    .cta-laptop {
        max-width: 280px;
    }
}

/* Page content wrapper for transitions */
.page-content {
    max-width: 1520px;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    padding-top: 80px; /* Add padding to account for fixed header */
}

.page-content.show {
    opacity: 1;
    transform: translateY(0);
}

/* Direct page load - no transition */
.page-content.direct-load {
    opacity: 1;
    transform: translateY(0);
    transition: none;
    padding-top: 80px; /* Maintain padding for direct load */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button loading states */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading span {
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-content {
        padding: 0 60px;
    }
    
    .hero-title {
        font-size: 120px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .pricing-card:nth-child(3),
    .pricing-card:nth-child(4) {
        margin-top: 30px;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: white;
        flex-direction: column;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        padding: 20px 0;
        z-index: 1001;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.mobile-active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }
    
    /* Mobile Auth Buttons in Menu */
    .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid #eee;
        margin-top: 20px;
    }
    
    .mobile-auth-buttons .btn {
        width: 100%;
        padding: 12px 20px;
        text-align: center;
        text-decoration: none;
        border-radius: 5px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .mobile-auth-buttons .btn-outline {
        border: 2px solid #d62829;
        color: #d62829;
        background: transparent;
    }
    
    .mobile-auth-buttons .btn-outline:hover {
        background: #d62829;
        color: white;
    }
    
    .mobile-auth-buttons .btn-primary {
        background: #d62829;
        color: white;
        border: 2px solid #d62829;
    }
    
    .mobile-auth-buttons .btn-primary:hover {
        background: #b21e1f;
        border-color: #b21e1f;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero {
        height: 550px;
    }
    
    .hero-content {
        padding: 0 50px;
        gap: 40px;
    }
    
    .hero-left {
        max-width: 500px;
    }
    
    .hero-logo-img {
        max-width: 320px;
    }
    
    .hero-title {
        font-size: 88px;
    }
    
    .hero-greeting {
        font-size: 22px;
    }
    
    .hero-subtitle {
        font-size: 19px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .features {
        padding: 70px 40px;
    }
    
    .features-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        margin-left: 0;
    }
    
    .features-title-small {
        font-size: 26px;
    }
    
    .features-title-large {
        font-size: 65px;
    }
    
    .features-list {
        gap: 35px;
    }
    
    .feature-item {
        gap: 22px;
    }
    
    .feature-icon-circle {
        width: 75px;
        height: 75px;
        min-width: 75px;
    }
    
    .feature-icon-circle img {
        width: 40px;
        height: 40px;
    }
    
    .feature-title {
        font-size: 26px;
    }
    
    .feature-description {
        font-size: 14px;
    }
    
    .achievements {
        padding: 80px 0;
    }
    
    .achievements-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .achievements-title {
        font-size: 55px;
    }
    
    .achievements-description {
        font-size: 20px;
    }
    
    .stat-number {
        font-size: 52px;
    }
    
    .stat-label {
        font-size: 16px;
    }
    
    .feedback {
        padding: 70px 40px;
    }
    
    .feedback-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: auto;
    }
    
    .feedback-btn {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .feedback-main-title {
        font-size: 50px;
    }
    
    .feedback-subtitle {
        font-size: 19px;
    }
    
    .feedback-grid {
        gap: 25px;
    }
    
    .feedback-card {
        flex-direction: row;
        text-align: left;
        gap: 25px;
    }
    
    .feedback-image {
        width: 160px;
        height: 100%;
    }
    
    .pricing {
        padding: 70px 0;
    }
    
    .pricing-title {
        font-size: 42px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .pricing-card {
        padding: 35px 28px;
    }
    
    .pricing-plan-type {
        font-size: 24px;
    }
    
    .price-number {
        font-size: 38px;
    }
    
    .price-currency {
        font-size: 36px;
    }
    
    .pricing-features .feature-text {
        font-size: 14px;
    }
    
    .pricing-btn-custom {
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        height: 65vh;
        min-height: 550px;
    }
    
    .hero-title {
        font-size: 64px;
        margin-bottom: 25px;
    }
    
    .hero-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 35px;
        text-align: center;
    }
    
    .hero-left {
        max-width: 100%;
        order: 2;
    }
    
    .hero-right {
        order: 1;
        margin-right: 0;
    }
    
    .hero-logo-img {
        max-width: 280px;
    }
    
    .hero-greeting {
        font-size: 16px;
        margin-bottom: 18px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 18px;
    }
    
    .hero-description {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 28px;
    }
    
    .hero-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-left {
        gap: 20px;
    }
    
    .header .container {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: white;
        flex-direction: column;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        padding: 20px 0;
        z-index: 1001;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.mobile-active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }
    
    /* Mobile Auth Buttons in Menu */
    .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid #eee;
        margin-top: 20px;
    }
    
    .mobile-auth-buttons .btn {
        width: 100%;
        padding: 12px 20px;
        text-align: center;
        text-decoration: none;
        border-radius: 5px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .mobile-auth-buttons .btn-outline {
        border: 2px solid #d62829;
        color: #d62829;
        background: transparent;
    }
    
    .mobile-auth-buttons .btn-outline:hover {
        background: #d62829;
        color: white;
    }
    
    .mobile-auth-buttons .btn-primary {
        background: #d62829;
        color: white;
        border: 2px solid #d62829;
    }
    
    .mobile-auth-buttons .btn-primary:hover {
        background: #b21e1f;
        border-color: #b21e1f;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: 60vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 48px;
        margin-bottom: 20px;
    }
    
    .hero-content {
        padding: 0 15px;
        gap: 30px;
    }
    
    .hero-greeting {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    
    .hero-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .hero-logo-img {
        max-width: 200px;
    }
    
    .header .container {
        padding: 10px 15px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .auth-buttons .btn {
        width: 100%;
    }
    
    .features {
        padding: 50px 20px;
    }
    
    .features-content {
        margin-left: 0;
    }
    
    .features-title-small {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .features-title-large {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .features-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .features-list {
        gap: 30px;
    }
    
    .feature-item {
        gap: 18px;
    }
    
    .feature-icon-circle {
        width: 65px;
        height: 65px;
        min-width: 65px;
    }
    
    .feature-icon-circle img {
        width: 35px;
        height: 35px;
    }
    
    .feature-title {
        font-size: 18px;
        margin-bottom: 8px;
        margin-top: 5px;
    }
    
    .feature-description {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .feature-card {
        padding: 20px 15px;
        min-height: 250px;
        max-width: 100%;
        width: 100%;
    }
    
    .feature-number {
        font-size: 26px;
        margin-bottom: 8px;
    }
    
    .feature-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .feature-description {
        font-size: 13px;
        max-height: 160px;
        padding-right: 3px;
    }
    
    .feature-description::-webkit-scrollbar {
        width: 4px;
    }
    
    .achievements {
        padding: 50px 0;
    }
    
    .achievements-text {
        margin-bottom: 40px;
    }
    
    .achievements-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .achievements-description {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .achievements-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }
    
    .stat-number {
        font-size: 36px;
        margin-bottom: 8px;
    }
    
    .stat-label {
        font-size: 13px;
        line-height: 1.3;
        padding: 0 5px;
    }
    
    .feedback {
        padding: 50px 20px;
    }
    
    .feedback-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
        min-height: auto;
    }
    
    .feedback-btn {
        margin-left: 0;
        margin-top: 20px;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .feedback-main-title {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .feedback-subtitle {
        font-size: 16px;
        margin-bottom: 0;
        padding: 0 10px;
    }
    
    .feedback-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feedback-card {
        flex-direction: column;
        text-align: left;
        gap: 0;
        min-height: auto;
    }
    
    .feedback-content {
        order: 2;
        margin: 20px;
    }
    
    .feedback-image {
        order: 1;
        width: 100%;
        height: 160px;
        border-radius: 7px 7px 0 0;
        border-bottom-right-radius: 0;
    }
    
    .feedback-text {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    
    .feedback-rating span {
        font-size: 18px;
    }
    
    .pricing {
        padding: 50px 0;
    }
    
    .pricing-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .pricing-card {
        padding: 35px 25px;
        margin-bottom: 0;
    }
    
    .pricing-plan-type {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .price-number {
        font-size: 36px;
    }
    
    .price-currency {
        font-size: 34px;
    }
    
    .price-period {
        font-size: 13px;
    }
    
    .pricing-features .feature-text {
        font-size: 13px;
    }
    
    .pricing-btn-custom {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
    }
}

/* Landscape orientation for tablets */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 90px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-background {
        background-image: url('../images/index/BACK2.png');
        background-size: cover;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .features {
        padding: 40px 15px;
    }
    
    .features-title-small {
        font-size: 18px;
    }
    
    .features-title-large {
        font-size: 32px;
    }
    
    .features-description {
        font-size: 13px;
    }
    
    .features-list {
        gap: 25px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .feature-icon-circle {
        width: 55px;
        height: 55px;
        min-width: 55px;
        align-self: center;
    }
    
    .feature-icon-circle img {
        width: 30px;
        height: 30px;
    }
    
    .feature-title {
        font-size: 16px;
        margin-bottom: 8px;
        margin-top: 0;
    }
    
    .feature-description {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Logo Image in Header */
.logo .logo-image {
    height: 58px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo .logo-image:hover {
    transform: scale(1.05);
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo .logo-image {
        height: 35px;
    }
}

/* Footer */
.footer {
    background-color: #000000;
    color: white;
    padding: 60px 0 40px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    flex: 1;
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 170px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #cccccc;
    margin: 0;
}

.footer-right {
    flex: 1;
    display: flex;
    gap: 80px;
    justify-content: flex-end;
}

.footer-section {
    min-width: 200px;
}

.footer-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-contact p {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 8px;
    line-height: 1.4;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link img {
    width: 35px;
    height: 35px;
    filter: brightness(0) saturate(100%) invert(100%);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 14px;
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-right {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 30px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-left {
        max-width: 100%;
    }
    
    .footer-logo img {
        height: 80px;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 30px;
        justify-content: center;
        align-items: center;
    }
    
    .footer-section {
        text-align: center;
        min-width: auto;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 20px 0;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    .footer-description {
        font-size: 14px;
    }
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-contact p {
        font-size: 13px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
}
