/* Base Styles & Variables */
:root {
    --primary-color: #FFD700; /* Yellow */
    --secondary-color: #FF0000; /* Red */
    --dark-color: #333333;
    --light-color: #FFFFFF;
    --gray-color: #F5F5F5;
    --text-color: #333333;
    --text-light: #666666;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    gap: 0.5rem;
}

.btn i {
    font-size: 1.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-playstore, .btn-android {
    display: flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-align: left;
    transition: var(--transition);
    margin: 0.5rem;
    min-width: 180px;
}

.btn-playstore {
    background-color: #000;
    color: white;
}

.btn-android {
    background-color: #FFD700;  /* Changed to yellow */
    color: #000;  /* Keep text black for better contrast */
    font-weight: 600;  /* Make text bolder */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);  /* Add subtle shadow */
}

.btn-playstore.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-playstore.disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-playstore i, .btn-android i {
    font-size: 2rem;
    margin-right: 0.8rem;
}

.btn-playstore div, .btn-android div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-playstore span, .btn-android span {
    font-size: 0.7rem;
    display: block;
}

.btn-playstore .store-name, .btn-android .store-name {
    font-size: 1rem;
    font-weight: 600;
}

.coming-soon {
    font-size: 0.6rem !important;
    font-style: italic;
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo-text {
    color: var(--dark-color);
}

.logo-text span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0 20px;
    transition: all 0.3s ease;
}

.nav-links a {
    margin-left: 2rem;
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.btn-download {
    background-color: #1a73e8;  /* Changed to blue background */
    color: #ffffff !important;  /* Changed to white text color */
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-left: 2rem;
    font-weight: 700;  /* Make text bolder */
    text-decoration: none !important;  /* Ensure no underline */
    display: inline-block;  /* Ensure proper button behavior */
    text-transform: uppercase;  /* Make text uppercase */
    letter-spacing: 0.5px;  /* Add some letter spacing */
    text-shadow: none !important;  /* Remove any text shadow */
}

.nav-links a.btn-download:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.nav-links a.btn-download::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    background: none;
    border: none;
    padding: 10px;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, #FFF9C4 0%, #FFFDE7 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('../images/hero-bg.png') no-repeat center right/contain;
    opacity: 0.1;
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark-color);
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    border-radius: 20px;
    border: 8px solid white;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* App Preview Specific Styles */
.app-preview {
    max-height: 500px !important;
    width: auto;
    margin: 0 auto;
    display: block;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Services Section */
.services {
    background-color: var(--gray-color);
    padding: 5rem 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

/* Founder Section */
.founder {
    background-color: var(--gray-color);
    padding: 5rem 0;
}

.founder-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.founder-image {
    flex: 1;
    max-width: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.founder-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.founder-image:hover img {
    transform: scale(1.05);
}

.founder-details {
    flex: 2;
}

.founder h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.founder h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.founder-title {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.founded-year {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.founder-bio {
    margin-top: 1.5rem;
}

.founder-bio ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.founder-bio li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.founder-bio li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.founder-vision {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-width: 1000px;
    margin: 0 auto;
}

.founder-vision h3 {
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

blockquote {
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Safety Note */
.safety-note {
    background-color: #E8F5E9;
    padding: 2rem 0;
    margin: 3rem 0;
}

.safety-content {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.safety-content i {
    font-size: 3rem;
    color: #4CAF50;
    margin-right: 2rem;
    flex-shrink: 0;
}

.safety-content h3 {
    color: #2E7D32;
    margin-bottom: 0.5rem;
}

.safety-content p {
    margin-bottom: 0;
    color: #2E7D32;
}

/* Vehicle Selector Section */
.vehicle-selector-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.vehicle-selector-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.vehicle-selector-section .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.vehicle-selector-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

/* Download Section */
.download {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(135deg, #FFF9C4 0%, #FFFDE7 100%);
}

.download h2 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.download p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem 0 0;
    margin: 0;
    margin-top: auto;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo .logo-text {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo .logo-text span {
    color: var(--primary-color);
}

.footer-logo p {
    color: #AAAAAA;
    margin-bottom: 0;
}

.footer-links h4, .footer-social h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links a {
    display: block;
    color: #CCCCCC;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: #AAAAAA;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.legal-links a {
    color: #CCCCCC;
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .founder-content {
        flex-direction: column;
    }
    
    .founder-image {
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        padding: 0;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--text-color);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 5px 10px;
    }
    
    .nav-links a {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    h3 { 
        font-size: 1.5rem; 
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .safety-content {
        flex-direction: column;
        text-align: center;
    }
    
    .safety-content i {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-playstore, .btn-android {
        width: 100%;
        max-width: 280px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after, .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .legal-links span {
        display: none;
    }
}
