/* Import Google Fonts: Fredoka for playful headings, Nunito for clean friendly body text */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
    --primary: #FF8A00;       /* Playful orange */
    --primary-light: #FFF4E5; /* Soft pastel orange */
    --secondary: #3B82F6;     /* School bus blue */
    --secondary-light: #EFF6FF; /* Soft pastel blue */
    --accent-yellow: #FBBF24; /* Sun yellow */
    --accent-green: #10B981;  /* Safe green */
    --accent-green-light: #ECFDF5;
    --text-main: #1E293B;     /* Charcoal slate */
    --text-muted: #64748B;    /* Soft slate */
    --bg-main: #F8FAFC;       /* Soft light background */
    --white: #FFFFFF;
    
    /* Playful rounded borders */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    
    /* Soft shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 15px -3px rgba(255, 138, 0, 0.08), 0 4px 6px -4px rgba(255, 138, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(59, 130, 246, 0.1), 0 8px 10px -6px rgba(59, 130, 246, 0.1);
    --transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Base Layout & Wrapper */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Floating Nav */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 3px solid var(--primary-light);
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Brand Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-dot {
    background-color: var(--accent-yellow);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    animation: bounce 1.5s infinite;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-link {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-muted);
    position: relative;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.cta-btn {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: inline-block;
}

.cta-btn:hover {
    background: #e07a00;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 20px -5px rgba(255, 138, 0, 0.35);
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #E0F2FE 0%, #FFF4E5 100%);
    padding: 80px 0 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-main);
    clip-path: ellipse(60% 60px at 50% 60px);
}

.hero-grid {
    display: grid;
    grid-template-cols: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: #0F172A;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-secondary {
    background: var(--white);
    color: var(--secondary);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50px;
    border: 3px solid var(--secondary-light);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
}

/* Illustration Graphic wrapper */
.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.blob-bg {
    position: absolute;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, var(--accent-yellow) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
    border-radius: 50%;
    animation: rotateBlob 20s linear infinite;
}

.shuttle-art {
    position: relative;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

/* Features Section */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-badge {
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Grid layout for features */
.features-grid {
    display: grid;
    grid-template-cols: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 3px solid transparent;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card.orange:hover { border-color: var(--primary-light); }
.feature-card.blue:hover { border-color: var(--secondary-light); }
.feature-card.yellow:hover { border-color: #FEF3C7; }
.feature-card.green:hover { border-color: var(--accent-green-light); }

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-size: 2rem;
}

.orange .feature-icon-wrapper { background: var(--primary-light); color: var(--primary); }
.blue .feature-icon-wrapper { background: var(--secondary-light); color: var(--secondary); }
.yellow .feature-icon-wrapper { background: #FEF3C7; color: var(--accent-yellow); }
.green .feature-icon-wrapper { background: var(--accent-green-light); color: var(--accent-green); }

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* How It Works (Steps) */
.steps-layout {
    display: grid;
    grid-template-cols: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    position: relative;
}

.step-card {
    position: relative;
    text-align: center;
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.step-card h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Service Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-cols: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 4px solid transparent;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
}

.pricing-card.featured::before {
    content: 'Paling Populer';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pricing-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.pricing-features li::before {
    content: '⭐';
}

/* Calculator Widget */
.calc-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 3px dashed var(--secondary-light);
    max-width: 700px;
    margin: 40px auto 0 auto;
}

.calc-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.calc-grid {
    display: grid;
    grid-template-cols: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 2px solid #E2E8F0;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.calc-result {
    background: var(--primary-light);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
}

.calc-result h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.calc-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
}

/* Driver / Crew profiles */
.team-grid {
    display: grid;
    grid-template-cols: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    border: 5px solid var(--primary-light);
    background-color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-badge {
    background: var(--secondary-light);
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
}

/* Booking Registration Form Page */
.contact-layout {
    display: grid;
    grid-template-cols: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 15px;
    align-items: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.info-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.booking-form-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-light);
}

.booking-form-box h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.error-list {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    color: #B91C1C;
    font-size: 0.9rem;
    list-style-position: inside;
}

/* Success Celebration View */
.success-box {
    max-width: 600px;
    margin: 80px auto;
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 4px solid var(--accent-green);
    position: relative;
    overflow: hidden;
}

.success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--accent-green-light);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 24px auto;
    animation: pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-box h1 {
    font-size: 2.2rem;
    color: var(--accent-green);
    margin-bottom: 15px;
}

.success-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.success-summary {
    background: var(--bg-main);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: left;
    margin-bottom: 30px;
}

.success-summary h3 {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 10px;
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 6px;
}

.success-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    padding: 6px 0;
}

.success-summary-item span:first-child {
    color: var(--text-muted);
}

.success-summary-item span:last-child {
    font-weight: 700;
    color: var(--text-main);
}

/* Admin / Dashboard view */
.admin-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.table-wrapper {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    background: var(--secondary-light);
    color: var(--secondary);
    padding: 16px 20px;
    font-weight: 800;
    font-size: 0.95rem;
}

.admin-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.95rem;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
}

.status-badge.pending {
    background: #FEF3C7;
    color: #D97706;
}

.status-badge.approved {
    background: var(--accent-green-light);
    color: var(--accent-green);
}

/* Footer styling */
footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 60px 0 30px 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-cols: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1E293B;
    font-size: 0.85rem;
}

/* Animation utilities */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes rotateBlob {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-cols: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-layout {
        grid-template-cols: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 2px solid var(--primary-light);
        gap: 15px;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .nav-menu li, .nav-menu .cta-btn {
        width: 100%;
        text-align: center;
    }
    
    .calc-grid {
        grid-template-cols: 1fr;
    }
    
    .footer-grid {
        grid-template-cols: 1fr;
    }
}
