:root {
    --primary-color: #1f4d49;
    --primary-dark: #0d3431;
    --primary-light: #e6f0ef;
    --accent-teal: #2a9d8f;
    --secondary-color: #2a9d8f;
    --secondary-dark: #1e7e73;
    --secondary-light: #e0f5f2;
    
    --text-main: #1a202c;
    --text-body: #4a5568;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-light: #f5f7f7;
    --bg-off-white: #f8faf9;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e0;

    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(31, 77, 73, 0.04);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 3.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1.5rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f1f1e;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-text {
    white-space: nowrap;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

.navbar > nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-body);
    font-size: 0.98rem;
    position: relative;
    padding: 8px 0;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.currency-select {
    padding: 9px 18px;
    border-radius: 50px;
    border: 1px solid var(--border-light);
    background: white;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    gap: 8px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-nav {
    padding: 10px 22px;
    font-size: 0.95rem;
    min-width: 88px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(31, 77, 73, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(31, 77, 73, 0.3);
}

.btn-secondary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: white;
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.btn-outline-dark {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-dark:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.btn-link {
    background: none;
    color: var(--primary-color);
    padding: 0;
    font-weight: 600;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Hero Section - Ferry Style with Background Image */
.hero {
    min-height: 680px;
    padding: 120px 0 140px;
    background:
        linear-gradient(135deg, rgba(31, 77, 73, 0.85) 0%, rgba(13, 52, 49, 0.9) 100%),
        url('https://coresg-normal.trae.ai/api/ide/v1/text_to_image?prompt=Modern%20transportation%20hub%20with%20trucks%20and%20busy%20highway%20aerial%20view%20professional%20photography&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg-light));
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    color: white;
}

.hero-icon {
    width: 88px;
    height: 88px;
    background: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    color: white;
    font-size: 40px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    color: white;
    margin-bottom: 24px;
    font-weight: 800;
    font-size: 4rem;
}

.hero p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
}

.hero-buttons .btn {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.hero-buttons .btn-primary {
    background: var(--primary-color);
    color: white;
}

.hero-buttons .btn-primary:hover {
    background: #163b38;
}

/* Stats Section */
.section {
    padding: 100px 0;
    position: relative;
}

.section-bg {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.75rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.section-title p {
    font-size: 1.15rem;
    color: var(--text-light);
}

/* Features 3-Column Ferry Style */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon-wrapper {
    width: 72px;
    height: 72px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-color);
    font-size: 30px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--primary-color);
    color: white;
    transform: translateY(-4px);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Cards Grid (detailed) */
.features-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card-detailed {
    background: white;
    padding: 36px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card-detailed:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.feature-card-detailed p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Stats */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: var(--primary-color);
    border-radius: var(--radius-xl);
    padding: 60px;
    color: white;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 8px;
    font-weight: 800;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 0;
}

/* Steps */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    position: relative;
    padding: 36px 30px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 20px;
    position: absolute;
    top: 16px;
    right: 20px;
    opacity: 0.6;
}

.step-card h3 {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.step-card p {
    position: relative;
    z-index: 1;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: white;
    padding: 50px 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: relative;
    transition: all 0.3s ease;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(to bottom, #fff, #f4f9f8);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 20px 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price span {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 500;
    margin-left: 8px;
}

.pricing-features {
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
}

.pricing-features i {
    color: var(--primary-color);
    margin-top: 4px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 40px;
    color: white;
    text-align: center;
    border-radius: var(--radius-xl);
    margin: 0 24px 80px;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

.cta-section .btn {
    padding: 14px 36px;
}

/* Footer */
footer {
    background: #0f1f1e;
    color: #cbd5e1;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #94a3b8;
    margin-bottom: 24px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-logo {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
}

.footer-logo img {
    height: 44px;
    width: auto;
}

.footer-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 340px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #cbd5e1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #cbd5e1;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.contact-info-box {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
}

.contact-info-box ul li {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-info-box i {
    color: var(--primary-color);
    margin-top: 4px;
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Page Header Inner */
.page-header {
    min-height: 420px;
    padding: 120px 0 110px;
    background:
        linear-gradient(135deg, rgba(31, 77, 73, 0.88) 0%, rgba(13, 52, 49, 0.92) 100%),
        url('https://coresg-normal.trae.ai/api/ide/v1/text_to_image?prompt=Professional%20transportation%20training%20classroom%20with%20students%20and%20truck%20driving%20simulator%20warm%20lighting&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--bg-light));
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: white;
    font-size: 3.25rem;
    margin-bottom: 18px;
    font-weight: 800;
}

.page-header p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    .hero h1 { font-size: 3rem; }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar { height: auto; padding: 20px 0; flex-direction: column; gap: 20px; }
    .nav-links { display: none; }
    .hero { min-height: 560px; padding: 80px 0 100px; }
    .hero h1 { font-size: 2.25rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
    .hero-buttons .btn { width: 100%; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .cta-section { margin: 0; border-radius: 0; padding: 60px 24px; }
    .stats-container { grid-template-columns: 1fr 1fr; padding: 40px 24px; }
    .section-title h2 { font-size: 2rem; }
    .page-header h1 { font-size: 2.2rem; }
    .currency-select { display: none; }
}
