/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Perodua Brand Colors */
:root {
    --perodua-red: #DC143C;
    --perodua-white: #FFFFFF;
    --perodua-black: #000000;
    --perodua-grey: #808080;
    --perodua-light-grey: #F5F5F5;
    --perodua-dark-grey: #333333;
}

/* Header / Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--perodua-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--perodua-dark-grey);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--perodua-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--perodua-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-call {
    background: #25D366;
    color: var(--perodua-white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-call:hover {
    background: #1ebc59;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--perodua-dark-grey);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 700px;
    min-height: 500px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(220, 20, 60, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(220, 20, 60, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    z-index: 1;
    overflow: hidden;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(220, 20, 60, 0.6);
    border-radius: 50%;
    animation: particleMove 15s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 18s;
    background: rgba(255, 255, 255, 0.4);
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 1s;
    animation-duration: 16s;
    background: rgba(255, 255, 255, 0.3);
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 3s;
    animation-duration: 13s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
    animation-duration: 17s;
    background: rgba(255, 255, 255, 0.5);
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 2.5s;
    animation-duration: 15s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 1.5s;
    animation-duration: 19s;
    background: rgba(255, 255, 255, 0.3);
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 4.5s;
    animation-duration: 11s;
}

.particle:nth-child(10) {
    left: 95%;
    animation-delay: 6s;
    animation-duration: 20s;
    background: rgba(255, 255, 255, 0.4);
}

@keyframes particleMove {
    0% {
        top: 100%;
        opacity: 0;
        transform: scale(0);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        top: -10%;
        opacity: 0;
        transform: scale(0);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-size: 2.3125rem;
    font-weight: 800;
    color: var(--perodua-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--perodua-white);
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #25D366;
    color: var(--perodua-white);
    border-color: #25D366;
}

.btn-primary:hover {
    background: #1ebc59;
    border-color: #1ebc59;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--perodua-white);
    border-color: #25D366;
}

.btn-secondary:hover {
    background: #25D366;
    color: var(--perodua-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}


/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--perodua-dark-grey);
}

.section-subtitle {
    text-align: center;
    color: var(--perodua-grey);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery {
    padding: 1rem 0;
    background: var(--perodua-white);
    overflow: hidden;
}

.gallery-container {
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.gallery-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 1rem;
}

.gallery-item {
    flex-shrink: 0;
    width: 250px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.gallery-track:hover {
    animation-play-state: paused;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--perodua-light-grey);
}

.benefits-showroom {
    text-align: center;
    margin-bottom: 3rem;
}

.showroom-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.benefit-card {
    background: var(--perodua-white);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--perodua-red);
    margin-bottom: 0.5rem;
}

.benefit-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--perodua-dark-grey);
}

.benefit-card p {
    color: var(--perodua-grey);
    line-height: 1.4;
    font-size: 0.85rem;
}

/* Models Section */
.models {
    padding: 5rem 0;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.model-card {
    background: var(--perodua-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.model-card:hover {
    transform: translateY(-10px);
}

.model-image {
    height: 200px;
    overflow: hidden;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.model-card:hover .model-image img {
    transform: scale(1.1);
}

.model-content {
    padding: 1.5rem;
    text-align: center;
}

.model-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--perodua-dark-grey);
}

.model-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--perodua-red);
    margin-bottom: 1rem;
}

.model-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-brochure {
    background: var(--perodua-red);
    color: var(--perodua-white);
    border: 2px solid var(--perodua-red);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-brochure:hover {
    background: transparent;
    color: var(--perodua-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.btn-brochure i {
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    color: #25D366;
    border: 2px solid #25D366;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: #25D366;
    color: var(--perodua-white);
    transform: translateY(-2px);
}

/* Promo Section */
.promo {
    padding: 3rem 0;
    background: var(--perodua-red);
    color: var(--perodua-white);
}

.promo-banners {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    justify-content: center;
}

.promo-banner {
    width: 300px;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 280px;
}

.promo-image {
    height: 150px;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-content {
    padding: 2rem 2rem 1.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
    line-height: 1.3;
}

.promo-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
    flex: 1;
    display: flex;
    align-items: center;
}

.promo-badge {
    background: var(--perodua-white);
    color: var(--perodua-red);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Free Gifts Section */
.freegifts {
    padding: 5rem 0;
    background: var(--perodua-light-grey);
}

.gift-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.gift-package {
    background: var(--perodua-white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    border: 2px solid transparent;
}

.package-a {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #dee2e6;
}

.package-b {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-color: var(--perodua-red);
}

.package-image {
    height: 180px;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.package-a .package-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.package-b .package-image {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.package-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.package-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
}

.package-label {
    background: rgba(255, 255, 255, 0.9);
    color: var(--perodua-dark-grey);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-header {
    text-align: center;
    padding: 2rem 2rem 1rem 2rem;
    position: relative;
}

.package-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--perodua-dark-grey);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.value-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--perodua-red);
    text-shadow: 0 2px 4px rgba(220, 20, 60, 0.2);
}

.value-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--perodua-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(135deg, var(--perodua-red) 0%, #ff6b6b 100%);
    color: var(--perodua-white);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.gift-list {
    list-style: none;
    padding: 0 2rem 1.5rem 2rem;
    margin: 0;
}

.gift-list li {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--perodua-dark-grey);
    transition: all 0.3s ease;
    text-align: center;
}

.gift-list li:hover {
    color: var(--perodua-red);
    transform: scale(1.02);
}

.gift-list li:last-child {
    border-bottom: none;
}

.gift-list i {
    color: var(--perodua-red);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.gift-list li:hover i {
    transform: scale(1.2);
}

.package-footer {
    padding: 0 2rem 2rem 2rem;
    text-align: center;
}

.btn-package {
    background: linear-gradient(135deg, #25D366 0%, #1ebc59 100%);
    color: var(--perodua-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-premium {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.btn-package:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: var(--perodua-white);
}

.btn-premium:hover {
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

.gift-package:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gift-package.featured {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(220, 20, 60, 0.2);
}

.gift-package.featured:hover {
    transform: scale(1.05) translateY(-15px);
    box-shadow: 0 25px 50px rgba(220, 20, 60, 0.3);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--perodua-red), transparent);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-subtitle {
    font-size: 1.1rem;
    color: var(--perodua-grey);
    margin-top: 1rem;
    font-weight: 400;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--perodua-white);
    padding: 3.5rem 3rem;
    border-radius: 20px;
    text-align: center;
    display: none;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(220, 20, 60, 0.1);
    transition: all 0.4s ease;
}

.testimonial-card.active {
    display: block;
    animation: testimonialFadeIn 0.6s ease-in-out;
}

@keyframes testimonialFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-quote {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--perodua-red);
    color: var(--perodua-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.stars {
    color: #FFD700;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.3rem;
}

.stars i {
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
    animation: starTwinkle 2s ease-in-out infinite;
}

.stars i:nth-child(2) { animation-delay: 0.2s; }
.stars i:nth-child(3) { animation-delay: 0.4s; }
.stars i:nth-child(4) { animation-delay: 0.6s; }
.stars i:nth-child(5) { animation-delay: 0.8s; }

@keyframes starTwinkle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.testimonial-content p {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 2.5rem;
    color: var(--perodua-dark-grey);
    line-height: 1.7;
    position: relative;
    font-weight: 400;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: var(--perodua-red);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-content p::after {
    content: '"';
    font-size: 4rem;
    color: var(--perodua-red);
    position: absolute;
    bottom: -40px;
    right: -10px;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--perodua-red), #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--perodua-white);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    font-size: 1.2rem;
    color: var(--perodua-dark-grey);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.author-info span {
    color: var(--perodua-grey);
    font-size: 1rem;
    font-weight: 500;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Trade-in Section */
.tradein {
    padding: 5rem 0;
    background: var(--perodua-light-grey);
}

.tradein-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tradein-text {
    max-width: 800px;
    text-align: center;
    width: 100%;
}

.tradein h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--perodua-dark-grey);
    text-align: center;
}

.tradein-steps {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0;
    text-align: center;
    max-width: 600px;
}

.step-number {
    background: var(--perodua-red);
    color: var(--perodua-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--perodua-dark-grey);
    text-align: center;
}

.step-content p {
    color: var(--perodua-grey);
    text-align: center;
}


/* Contact CTA Section */
.contact-cta {
    padding: 5rem 0;
    background: var(--perodua-dark-grey);
    color: var(--perodua-white);
    text-align: center;
}

.contact-image {
    margin-bottom: 2rem;
}

.contact-photo {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.phone-number i {
    color: var(--perodua-red);
    font-size: 1.8rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link.whatsapp {
    background: #25D366;
    color: var(--perodua-white);
}

.social-link.facebook {
    background: #1877F2;
    color: var(--perodua-white);
}

.social-link.instagram {
    background: #E4405F;
    color: var(--perodua-white);
}

.social-link.telegram {
    background: #0088CC;
    color: var(--perodua-white);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-cta {
    background: #25D366;
    color: var(--perodua-white);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background: #1ebc59;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

/* Footer */
.footer {
    background: var(--perodua-black);
    color: var(--perodua-white);
    padding: 2rem 0;
    text-align: center;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366; /* WhatsApp green */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    z-index: 1100;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp i {
    font-size: 26px;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        height: 650px;
        padding: 3rem 0 2rem 0;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--perodua-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
        margin-top: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-item {
        width: 200px;
        height: 120px;
    }
    
    .gallery-track {
        gap: 0.75rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .benefit-card {
        padding: 1rem;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .benefit-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .benefit-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }

    .gift-packages {
        grid-template-columns: 1fr;
    }

    .gift-package.featured {
        transform: none;
    }

    .gift-package.featured:hover {
        transform: translateY(-10px);
    }

    .tradein-content {
        text-align: center;
    }

    .tradein h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .tradein-steps {
        margin-bottom: 2rem;
        text-align: center;
        gap: 1.5rem;
    }

    .step {
        margin-bottom: 0;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 1rem;
    }

    .step-content {
        text-align: center;
    }

    .step-content h3 {
        text-align: center;
    }

    .step-content p {
        text-align: center;
    }

    .btn-primary {
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        justify-content: center;
    }

    .contact-cta h2 {
        font-size: 2rem;
    }

    .phone-number {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .promo-banners {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .promo-banner {
        min-width: auto;
        width: 100%;
        max-width: 350px;
    }

    .promo-content {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .promo-content h3 {
        font-size: 1.3rem;
        margin-top: 0.3rem;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 550px;
        padding: 2.5rem 0 1.5rem 0;
    }
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.1;
        margin-bottom: 0.6rem;
        margin-top: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .gallery-item {
        width: 150px;
        height: 100px;
    }
    
    .gallery-track {
        gap: 0.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .benefit-card {
        padding: 1.2rem;
    }
    
    .benefit-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .benefit-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .benefit-icon {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .model-card,
    .gift-package {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .btn-cta {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .tradein h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        align-items: center;
    }

    .step-number {
        align-self: center;
    }

    .step-content {
        text-align: center;
    }

    .step-content h3 {
        text-align: center;
    }

    .step-content p {
        text-align: center;
    }

    .btn-primary {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn-primary:hover,
.btn-cta:hover {
    animation: pulse 0.6s ease-in-out;
}
