/* Index Page Specific Styles */
.atvan-body {
    padding-top: 70px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0BAA66 0%, #0a8a5a 50%, #065a3d 100%),
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(11, 170, 102, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(212, 167, 87, 0.1) 0%, transparent 50%);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatParticle 6s ease-in-out infinite;
}

.particle-1 {
    width: 20px;
    height: 20px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 15px;
    height: 15px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle-3 {
    width: 25px;
    height: 25px;
    top: 40%;
    left: 60%;
    animation-delay: 4s;
}

.particle-4 {
    width: 10px;
    height: 10px;
    top: 80%;
    left: 30%;
    animation-delay: 1s;
}

.particle-5 {
    width: 18px;
    height: 18px;
    top: 30%;
    left: 90%;
    animation-delay: 3s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 4;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: var(--color-gold);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-line.highlight {
    color: var(--color-gold);
    position: relative;
    display: inline-block;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(212, 167, 87, 0.3);
    z-index: -1;
}

.typing-effect {
    border-right: 3px solid var(--color-gold);
    animation: typing 2s steps(16) 0.8s both, blink 1s infinite 2.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: var(--color-gold); }
    51%, 100% { border-color: transparent; }
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 1.2s both;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 1.4s both;
}

.hero-btn {
    padding: 15px 30px;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.6s both;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge i {
    color: var(--color-gold);
}

.hero-visual {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 1.8s both;
}

.scooter-showcase {
    position: relative;
}

.scooter-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.scooter-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.scooter-image:hover img {
    transform: scale(1.05);
}

.scooter-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(11, 170, 102, 0.3), rgba(212, 167, 87, 0.3));
    border-radius: var(--radius-xl);
    filter: blur(20px);
    animation: pulse 3s ease-in-out infinite;
    z-index: -1;
}

.scooter-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-tag i {
    color: var(--color-gold);
}

.floating-elements {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    z-index: 5;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatCard 4s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
}

.card-3 {
    top: 40%;
    right: -10%;
    animation-delay: 3s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
        opacity: 1;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-text {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    margin: 0 auto;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Enhanced Animation Classes */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease-out forwards;
}

.animate-bounce {
    animation: bounceIn 1s ease-out forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Additional Hero Enhancements */
.scooter-reflection {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(11, 170, 102, 0.3), transparent);
    border-radius: 50%;
    filter: blur(10px);
    animation: reflectionPulse 4s ease-in-out infinite;
}

@keyframes reflectionPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.6;
        transform: scaleX(1.1);
    }
}

.hero-tech-icons {
    position: absolute;
    top: 20%;
    right: 5%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pulse-animation {
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(11, 170, 102, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(11, 170, 102, 0);
    }
}

/* Enhanced Particle Effects */
.particle-6 {
    width: 12px;
    height: 12px;
    top: 15%;
    left: 15%;
    animation-delay: 5s;
}

.particle-7 {
    width: 18px;
    height: 18px;
    top: 70%;
    left: 85%;
    animation-delay: 7s;
}

.particle-8 {
    width: 14px;
    height: 14px;
    top: 45%;
    left: 75%;
    animation-delay: 9s;
}

/* Stat Icon Enhancement */
.stat-item {
    position: relative;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 10px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(11, 170, 102, 0.3);
}

.hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.hero-curve svg {
    width: calc(100% + 1.3px);
    height: 120px;
    display: block;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-text);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.highlight-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--color-white);
    font-size: 1.5rem;
}

.highlight-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--color-black);
}

.highlight-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Why EV Section */
.ev-section {
    padding: 100px 0;
    background-color: var(--color-light-grey);
}

.ev-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.ev-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.ev-point {
    display: flex;
    gap: 15px;
    padding: 20px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ev-point:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.ev-point i {
    font-size: 1.5rem;
    color: var(--color-emerald);
    margin-top: 5px;
}

.ev-point h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-black);
}

.ev-point p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.ev-fact {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fact-card {
    background: linear-gradient(135deg, var(--color-emerald), var(--color-emerald-dark));
    color: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.fact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.fact-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin: 15px 0;
}

.fact-number sup {
    font-size: 2rem;
    font-weight: 600;
}

.fact-card p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.target-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.target-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-gold);
}

/* Models Preview */
.models-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.models-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.model-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-emerald), var(--color-gold));
}

.model-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--color-gold);
}

.model-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--color-black);
}

.model-tag {
    color: var(--color-emerald);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.model-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.spec {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--color-text);
}

.spec i {
    color: var(--color-emerald);
    font-size: 1rem;
}

/* Why Choose Section */
.choose-section {
    padding: 100px 0;
    background-color: var(--color-light-grey);
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.choose-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.choose-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.choose-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-emerald-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-white);
    font-size: 1.8rem;
}

.choose-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-black);
}

.choose-card p {
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Responsive Design for Index Page */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ev-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .models-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .ev-points {
        grid-template-columns: 1fr;
    }
    
    .models-preview {
        grid-template-columns: 1fr;
    }
    
    .choose-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-title {
        font-size: 2rem;
    }
    
    .mission-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Scooter Gallery Section */
.gallery-section {
    padding: 100px 0;
    background-color: var(--color-light-grey);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    text-align: center;
}

.gallery-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Video Showcase Section */
.video-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--color-white);
}

.video-curve {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.video-curve.top {
    top: 0;
}

.video-curve.bottom {
    bottom: 0;
}

.video-curve svg {
    width: calc(100% + 1.3px);
    height: 120px;
    display: block;
}

.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.video-text {
    z-index: 2;
}

.video-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 30px;
}

.video-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(11, 170, 102, 0.1);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-emerald);
}

.feature i {
    font-size: 1rem;
}

.video-player {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16/9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive for Gallery and Video */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .video-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .video-wrapper {
        max-width: 100%;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--color-white);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--color-text-light);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

.close:hover,
.close:focus {
    color: var(--color-black);
    transform: scale(1.1);
}

#modalImage {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background-color: var(--color-light-grey);
}

#modalDetails {
    padding: 30px;
    color: var(--color-text);
}

#modalDetails .model-header {
    text-align: center;
    margin-bottom: 30px;
}

#modalDetails .model-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-gold));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

#modalDetails h2 {
    font-size: 2rem;
    color: var(--color-black);
    margin-bottom: 10px;
}

#modalDetails .model-tagline {
    font-size: 1.1rem;
    color: var(--color-emerald);
    font-weight: 500;
}

#modalDetails .specs-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

#modalDetails .spec-item {
    text-align: center;
    padding: 20px;
    background: var(--color-light-grey);
    border-radius: var(--radius-lg);
}

#modalDetails .spec-item i {
    font-size: 1.5rem;
    color: var(--color-emerald);
    margin-bottom: 10px;
    display: block;
}

#modalDetails .spec-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
    display: block;
    margin-bottom: 5px;
}

#modalDetails .spec-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

#modalDetails .model-features h3 {
    font-size: 1.3rem;
    color: var(--color-black);
    margin-bottom: 20px;
}

#modalDetails .features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

#modalDetails .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#modalDetails .feature i {
    color: var(--color-emerald);
    font-size: 1rem;
}

#modalDetails .feature span {
    font-size: 0.9rem;
    color: var(--color-text);
}

#modalDetails .model-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-top: 20px;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }

    #modalDetails {
        padding: 20px;
    }

    #modalDetails .specs-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    #modalDetails .features-list {
        grid-template-columns: 1fr;
    }

    #modalDetails h2 {
        font-size: 1.5rem;
    }
}

.mission-section {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    overflow: hidden;
}

.mission-header {
    text-align: center;
    margin-bottom: 80px;
}

.mission-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-subtitle {
    font-size: 1.3rem;
    color: var(--color-text);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

.mission-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.mission-text-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mission-text-block {
    padding: 30px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--color-emerald);
    transition: var(--transition);
}

.mission-text-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mission-text-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission-text-title i {
    color: var(--color-emerald);
    font-size: 1.2rem;
}

.mission-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
}

.mission-visual-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.mission-graphic {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.graphic-orbit {
    position: relative;
    width: 280px;
    height: 280px;
}

.graphic-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 0 50px rgba(11, 170, 102, 0.6);
    z-index: 5;
}

.center-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(11, 170, 102, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: centerGlow 3s ease-in-out infinite;
}

@keyframes centerGlow {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.orbit-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(11, 170, 102, 0.2);
    border-radius: 50%;
    animation: rotateOrbit 12s linear infinite;
}

.orbit-electron {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-emerald));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(212, 167, 87, 0.8);
    z-index: 4;
}

.electron-1 {
    animation: orbitElectron1 12s linear infinite;
}

.electron-2 {
    animation: orbitElectron2 12s linear infinite;
    animation-delay: 3s;
}

.electron-3 {
    animation: orbitElectron3 12s linear infinite;
    animation-delay: 6s;
}

.electron-4 {
    animation: orbitElectron4 12s linear infinite;
    animation-delay: 9s;
}

@keyframes orbitElectron1 {
    0% { transform: rotate(0deg) translateX(140px) rotate(0deg); }
    25% { transform: rotate(90deg) translateX(140px) rotate(-90deg); }
    50% { transform: rotate(180deg) translateX(140px) rotate(-180deg); }
    75% { transform: rotate(270deg) translateX(140px) rotate(-270deg); }
    100% { transform: rotate(360deg) translateX(140px) rotate(-360deg); }
}

@keyframes orbitElectron2 {
    0% { transform: rotate(90deg) translateX(140px) rotate(-90deg); }
    25% { transform: rotate(180deg) translateX(140px) rotate(-180deg); }
    50% { transform: rotate(270deg) translateX(140px) rotate(-270deg); }
    75% { transform: rotate(360deg) translateX(140px) rotate(-360deg); }
    100% { transform: rotate(90deg) translateX(140px) rotate(-90deg); }
}

@keyframes orbitElectron3 {
    0% { transform: rotate(180deg) translateX(140px) rotate(-180deg); }
    25% { transform: rotate(270deg) translateX(140px) rotate(-270deg); }
    50% { transform: rotate(360deg) translateX(140px) rotate(-360deg); }
    75% { transform: rotate(90deg) translateX(140px) rotate(-90deg); }
    100% { transform: rotate(180deg) translateX(140px) rotate(-180deg); }
}

@keyframes orbitElectron4 {
    0% { transform: rotate(270deg) translateX(140px) rotate(-270deg); }
    25% { transform: rotate(360deg) translateX(140px) rotate(-360deg); }
    50% { transform: rotate(90deg) translateX(140px) rotate(-90deg); }
    75% { transform: rotate(180deg) translateX(140px) rotate(-180deg); }
    100% { transform: rotate(270deg) translateX(140px) rotate(-270deg); }
}

.orbit-rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    border: 1px solid rgba(11, 170, 102, 0.1);
    border-radius: 50%;
    animation: ringPulse 4s ease-in-out infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.ring-2 {
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    animation-delay: 1s;
}

.ring-3 {
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    animation-delay: 2s;
}

@keyframes ringPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.mission-stats {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
}

.stat-circle {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-emerald);
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-emerald);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--color-text);
    text-align: center;
    margin-top: 2px;
}

.mission-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.mission-particles .particle {
    position: absolute;
    font-size: 2rem;
    animation: particleFloat 8s ease-in-out infinite;
    opacity: 0.6;
}

.mission-particles .particle-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.mission-particles .particle-2 {
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.mission-particles .particle-3 {
    bottom: 25%;
    left: 20%;
    animation-delay: 4s;
}

.mission-particles .particle-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 6s;
}

.mission-particles .particle-5 {
    top: 50%;
    left: 5%;
    animation-delay: 1s;
}

.mission-particles .particle-6 {
    top: 40%;
    right: 5%;
    animation-delay: 3s;
}

.mission-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 170, 102, 0.03) 0%, rgba(11, 170, 102, 0.01) 50%, transparent 70%);
    animation: waveExpand 6s ease-in-out infinite;
    z-index: 0;
}

.mission-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 167, 87, 0.02) 0%, transparent 70%);
    animation: glowPulse 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.9);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.mission-cta {
    text-align: center;
}

.cta-content h3 {
    font-size: 2rem;
    color: var(--color-black);
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mission Animation Classes */
.animate-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideLeft 1s ease-out forwards;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideRight 1s ease-out forwards;
}

.animate-orbit {
    animation: orbitFloat 4s ease-in-out infinite;
}

.animate-particle {
    animation: particleDance 6s ease-in-out infinite;
}

.animate-wave {
    animation: waveFlow 5s ease-in-out infinite;
}

.animate-glow {
    animation: glowBreath 7s ease-in-out infinite;
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes orbitFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes particleDance {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-15px) rotate(90deg) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-8px) rotate(180deg) scale(0.9);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-20px) rotate(270deg) scale(1.05);
        opacity: 0.9;
    }
}

@keyframes waveFlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.95) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05) rotate(180deg);
        opacity: 0.8;
    }
}

@keyframes glowBreath {
    0%, 100% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(0.9);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Responsive Mission Section */
@media (max-width: 992px) {
    .mission-content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .mission-title {
        font-size: 2.8rem;
    }

    .mission-graphic {
        width: 350px;
        height: 350px;
    }

    .graphic-orbit {
        width: 250px;
        height: 250px;
    }

    .orbit-electron {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }


}

@media (max-width: 768px) {
    .mission-section {
        padding: 80px 0;
    }

    .mission-title {
        font-size: 2.2rem;
    }

    .mission-subtitle {
        font-size: 1.1rem;
    }

    .mission-content-grid {
        gap: 40px;
    }

    .mission-text-content {
        gap: 30px;
    }

    .mission-text-block {
        padding: 25px;
    }

    .mission-graphic {
        width: 300px;
        height: 300px;
    }

    .graphic-orbit {
        width: 220px;
        height: 220px;
    }

    .graphic-center {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .mission-stats {
        gap: 20px;
    }

    .stat-circle {
        width: 70px;
        height: 70px;
    }

    .stat-number {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .mission-title {
        font-size: 1.8rem;
    }

    .mission-subtitle {
        font-size: 1rem;
    }

    .mission-graphic {
        width: 250px;
        height: 250px;
    }

    .graphic-orbit {
        width: 180px;
        height: 180px;
    }

    .graphic-center {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .orbit-electron {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }



    .mission-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .mission-text-block {
        padding: 20px;
    }

    .mission-text-title {
        font-size: 1.2rem;
    }
}

/* Our Partners Section */
.partners-section {
    padding: 100px 0;
    background-color: var(--color-white);
    overflow: hidden;
}

.partners-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    width: calc(200px * 12); /* 6 logos * 2 for duplication */
    animation: scrollPartners 30s linear infinite;
}

.partner-logo {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    margin: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-light-grey);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    opacity: 0.8;
}

.partner-logo:hover {
    transform: scale(1.05);
    opacity: 1;
    box-shadow: var(--shadow-md);
}

.partner-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.partners-container:hover .partners-track {
    animation-play-state: paused;
}

/* Responsive Partners */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }

    .partners-track {
        width: calc(120px * 12);
        animation-duration: 20s;
    }

    .partner-logo {
        width: 120px;
        height: 60px;
        margin: 0 15px;
    }

    .partner-logo img {
        max-width: 100px;
        max-height: 50px;
    }
}

@media (max-width: 576px) {
    .partners-track {
        width: calc(100px * 12);
        animation-duration: 15s;
    }

    .partner-logo {
        width: 100px;
        height: 50px;
        margin: 0 10px;
    }

    .partner-logo img {
        max-width: 80px;
        max-height: 40px;
    }
}
