:root {
    --primary-color: #3a86ff;
    --secondary-color: #034abd;
    --accent-color: #ffbe0b;
    --dark-color: #1e293b;
    --light-color: #f8f9fa;
    --grey-color: #6c757d;
    --success-color: #38b000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/car-bg.png') center center/cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.85) 0%, rgb(0 0 0 / 85%) 100%);
    z-index: 2;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: float 8s ease-in-out infinite;
}

.floating-elements::before {
    width: 150px;
    height: 150px;
    top: 15%;
    right: 15%;
    animation-delay: 0s;
}

.floating-elements::after {
    width: 100px;
    height: 100px;
    bottom: 25%;
    left: 12%;
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: 80px 0;
}

/* Hero Text */
.hero-text {
    color: white;
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.95;
    font-weight: 400;
}

.highlight-text {
    color: var(--accent-color) !important;
    font-weight: 700 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Input zipcode */
#zip-input {
    width: 300px;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

/* CTA Section */
.cta-section {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    border-radius: 15px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: fadeInRight 1s ease-out;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color) 0%, #ffd60a 100%);
    border-radius: 30px 30px 0 0;
}

.cta-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffd60a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 15px 30px rgba(255, 190, 11, 0.4);
    position: relative;
}

.cta-icon::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffd60a 100%);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.cta-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 2;
    position: relative;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(135deg, var(--success-color) 0%, var(--accent-color) 100%);
    border: none;
    color: white;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 60px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(56, 176, 0, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(56, 176, 0, 0.6);
    color: white;
}

.cta-button i {
    font-size: 1.4rem;
}

.cta-features {
    margin-top: 2rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.cta-feature i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.phone-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.phone-number {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #ffd60a;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-content {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .cta-section {
        margin-top: 3rem;
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 18px 40px;
        font-size: 1.2rem;
    }

    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
        margin-top: 20px !important;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
    z-index: 5;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%) scale(1.1);
}

.scroll-indicator i {
    font-size: 2rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Person Section */
.person-section {
    background: var(--light-color);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.person-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(58, 134, 255, 0.05) 0%, rgba(255, 0, 110, 0.05) 100%);
    z-index: 1;
}

.person-content {
    position: relative;
    z-index: 2;
}

.person-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: slideInRight 1s ease-out;
}

.person-image img {
    width: 100%;
    height: auto;
    display: block;
}

.person-text {
    animation: slideInLeft 1s ease-out;
}

.person-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.person-description {
    font-size: 1.2rem;
    color: var(--grey-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.highlight-text {
    color: var(--secondary-color);
    font-weight: 600;
}

.stats-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    flex: 1;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--grey-color);
    margin-top: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .quote-form {
        padding: 2rem;
        margin-top: 2rem;
    }

    .person-title {
        font-size: 2.2rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Additional styling for better visual appeal */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-elements::after {
    bottom: 20%;
    left: 10%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}


/* Why Switch Section */
.why-switch-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.why-switch-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(58, 134, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.section-content {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--grey-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.highlight-text {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Features Grid */
.features-grid {
    margin-bottom: 80px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(58, 134, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0.3;
    transform: scale(1.3);
    animation: pulse 2s infinite;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--grey-color);
    line-height: 1.6;
    font-size: 1rem;
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    padding: 60px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.stats-content {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    align-items: center;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Trust Indicators */
.trust-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-top: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.trust-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rating-stars {
    display: flex;
    gap: 0.2rem;
}

.rating-stars i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.rating-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.trust-description {
    font-size: 1.1rem;
    color: var(--grey-color);
    margin-bottom: 1.5rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--light-color);
    border-radius: 15px;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.trust-badge i {
    color: var(--success-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1.3);
    }

    50% {
        opacity: 0.1;
        transform: scale(1.5);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .stats-section {
        padding: 40px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}


/* How It Works Section */
.how-it-works-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

/* Horizontal Steps Layout */
.steps-container {
    margin-bottom: 80px;
}

.steps-row {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    position: relative;
}

.step-item {
    flex: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.step-item:nth-child(1) {
    animation-delay: 0.1s;
}

.step-item:nth-child(2) {
    animation-delay: 0.3s;
}

.step-item:nth-child(3) {
    animation-delay: 0.5s;
}

.step-content {
    background: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(58, 134, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px 15px 0 0;
}

.step-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 20px rgba(58, 134, 255, 0.3);
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 5;
}

.step-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffd60a 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 2.2rem;
    color: white;
}

.step-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1rem;
    color: var(--grey-color);
    line-height: 1.6;
}

/* Connecting Arrows */
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1rem;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid var(--primary-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    z-index: 3;
}

/* Requirements Section */
.requirements-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    padding: 80px 60px;
    margin-top: 100px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.requirements-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.requirements-content {
    position: relative;
    z-index: 2;
}

.requirements-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.requirement-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.requirement-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px);
}

.requirement-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.requirement-icon i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.requirement-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.requirement-description {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Mobile Timeline Style */
@media (max-width: 768px) {
    .steps-row {
        flex-direction: column;
        gap: 2rem;
    }

    .step-item:not(:last-child)::after {
        display: none;
    }

    .step-content {
        padding: 2.5rem 1.5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .requirements-section {
        padding: 60px 30px;
    }

    .requirements-title {
        font-size: 2.2rem;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Call to Action */
.cta-section {
    text-align: center;
    margin-top: 60px;
}

.cta-button {
    background: linear-gradient(135deg, var(--success-color) 0%, var(--accent-color) 100%);
    border: none;
    color: white;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(56, 176, 0, 0.3);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(56, 176, 0, 0.4);
    color: white;
}

.cta-text {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}


/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 30%, rgba(58, 134, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(255, 0, 110, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.section-content {
    position: relative;
    z-index: 2;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--grey-color);
    max-width: 600px;
    margin: 0 auto;
    margin-top: 2rem;
}

/* FAQ Container */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ Item */
.faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(58, 134, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.5s;
}

.faq-item:nth-child(6) {
    animation-delay: 0.6s;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(58, 134, 255, 0.15);
}

/* FAQ Question */
.faq-question {
    padding: 2rem 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.02) 0%, rgba(255, 0, 110, 0.02) 100%);
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-question::before {
    opacity: 1;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.05) 0%, rgba(255, 0, 110, 0.05) 100%);
}

.faq-question h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    padding-right: 1rem;
    line-height: 1.4;
}

.faq-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 2.5rem 2rem 2.5rem;
    color: var(--grey-color);
    font-size: 1.1rem;
    line-height: 1.7;
    border-top: 1px solid rgba(58, 134, 255, 0.1);
    margin-top: 1rem;
    padding-top: 1.5rem;
}

/* Contact Section */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.8rem;
    }

    .faq-question {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .faq-question h3 {
        font-size: 1.2rem;
        padding-right: 0;
    }

    .faq-answer-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .contact-section {
        padding: 40px 20px;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}


/* Footer Section */
.footer-section {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 40px 0;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.05) 0%, rgba(255, 0, 110, 0.05) 100%);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

/* Footer Top */
.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(236, 240, 241, 0.2);
    margin-bottom: 30px;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.footer-description {
    font-size: 1rem;
    color: #bdc3c7;
    line-height: 1.6;
    max-width: 400px;
}

.footer-contact {
    text-align: right;
}

.contact-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
    color: #bdc3c7;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--primary-color);
}

.contact-item i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-section {
        padding: 40px 0 30px 0;
    }

    .footer-top {
        text-align: center;
    }

    .footer-contact {
        text-align: center;
        margin-top: 2rem;
    }

    .contact-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-item {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .footer-logo::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Animation Effects */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.footer-brand:hover .footer-logo {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

/* Additional Styling */
.footer-section {
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}


/*Feedback section*/
/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--background-gradient);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(58, 134, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 110, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.section-content {
    position: relative;
    z-index: 2;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--grey-color);
    max-width: 600px;
    margin: 0 auto;
    margin-top: 2rem;
}

/* Testimonial Cards */
.testimonial-carousel {
    margin: 0 auto;
    max-width: 1200px;
    padding: 40px 0;
}

.slick-track {
    display: flex !important;
    align-items: stretch !important;
}

.slick-slide {
    height: inherit !important;
    display: flex !important;
    flex-direction: column;
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 2.5rem;
    margin: 0 15px;
    border: 1px solid rgba(58, 134, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 25px 25px 0 0;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.user-avatar {
    position: relative;
    margin-right: 1rem;
}

.user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.verified-badge i {
    color: white;
    font-size: 0.7rem;
}

.user-info h5 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.verified-status {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.us-flag {
    width: 20px;
    margin-top: 0.2rem;
}

/* Date and Location */
.review-date {
    color: var(--grey-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--grey-color);
    font-size: 0.9rem;
}

.location-info i {
    color: var(--primary-color);
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1.5rem;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
}

.star.half {
    position: relative;
    color: #e0e0e0;
}

.star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #ffd700;
    width: 50%;
    overflow: hidden;
}

.star.empty {
    color: #e0e0e0;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-color);
    font-style: italic;
    position: relative;
    flex-grow: 1;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -28px;
    left: -30px;
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* FIXED: Căn giữa và chống lệch nút */
.testimonial-carousel .slick-prev,
.testimonial-carousel .slick-next {
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    border-radius: 50% !important;
    z-index: 10 !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.testimonial-carousel .slick-prev {
    left: -25px !important;
}

.testimonial-carousel .slick-next {
    right: -25px !important;
}

.testimonial-carousel .slick-prev:before,
.testimonial-carousel .slick-next:before {
    font-size: 20px !important;
    color: white !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}

/* FIXED: Giữ style và căn giữa khi hover, focus, active */
.testimonial-carousel .slick-prev:hover,
.testimonial-carousel .slick-prev:focus,
.testimonial-carousel .slick-prev:active,
.testimonial-carousel .slick-next:hover,
.testimonial-carousel .slick-next:focus,
.testimonial-carousel .slick-next:active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(255, 0, 110, 0.4) !important;
    outline: none !important;
}

.testimonial-carousel .slick-prev:before {
    content: "\f053" !important;
}

.testimonial-carousel .slick-next:before {
    content: "\f054" !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .testimonial-carousel .slick-prev {
        left: -15px !important;
    }

    .testimonial-carousel .slick-next {
        right: -15px !important;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .testimonial-card {
        margin: 0 10px;
        padding: 2rem 1.5rem;
    }

    .testimonial-carousel .slick-prev,
    .testimonial-carousel .slick-next {
        display: none !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    transform: translate3d(0, 0, 0);
}