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

:root {
    --blue: #0066cc;
    --green: #2e7d32;
    --orange: #ff6f00;
    --dark: #1a1a1a;
    --light: #f5f7fa;
    --white: #ffffff;
    --gray: #666666;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fa;
    --bg-tertiary: #1a1a1a;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-inverse: #ffffff;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #252525;
    --bg-tertiary: #0d0d0d;
    --text-primary: #e8e8e8;
    --text-secondary: #b0b0b0;
    --shadow: 0 4px 20px rgba(0,0,0,0.4);
}

[data-theme="dark"] {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-tertiary: #2d2d2d;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --shadow: 0 4px 20px rgba(0,0,0,0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.site-header {
    background: var(--bg-primary);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.logo img {
    height: 60px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-text .line1 {
    font-size: 1.4rem;
    font-weight: 700;
}

.brand-text .line2 {
    font-size: 0.85rem;
    font-weight: 500;
}

.blue { color: var(--blue); }
.green { color: var(--green); }
.orange { color: var(--orange); }

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

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 4px;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--blue);
}

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

.main-nav .cta {
    background: var(--orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-nav .cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.main-nav .cta:hover::before {
    left: 100%;
}

.main-nav .cta::after {
    display: none;
}

.main-nav .cta:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #dde4ed 100%);
    padding: 60px 0;
    transition: background 0.3s ease;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    object-fit: cover;
    aspect-ratio: 4/5;
}

.hero-copy h1 {
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.hero-copy > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.trust-bar {
    background: var(--bg-primary);
    border-left: 4px solid var(--blue);
    padding: 20px 24px;
    margin-bottom: 32px;
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.trust-bar strong {
    color: var(--blue);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

.trust-bar p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-orange:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.35);
}

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

.btn-blue:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.35);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-secondary);
    transition: background 0.3s ease;
}

.section-title {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.stat-card {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,102,204,0.15);
    border-color: rgba(0,102,204,0.3);
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
}

.stat-card .label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.service-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border-color: rgba(0,102,204,0.3);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.service-icon {
    height: 80px;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    padding: 20px 24px 8px;
}

.service-card p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Trust Section */
.trust-section {
    background: var(--blue);
    color: var(--white);
    text-align: center;
}

.trust-section .section-title {
    color: var(--white);
}

.trust-badge {
    background: rgba(255,255,255,0.15);
    padding: 40px;
    border-radius: 12px;
    margin-top: 32px;
    backdrop-filter: blur(10px);
}

.trust-badge h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.trust-badge p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Training Section */
.training-hero {
    background: linear-gradient(135deg, var(--green) 0%, #1b5e20 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.training-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.training-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.training-content {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .training-hero {
        padding: 40px 20px;
    }
    
    .training-hero h1 {
        font-size: 1.8rem;
    }
    
    .training-content {
        padding: 40px 20px;
    }
    
    .training-focus {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .training-images {
        grid-template-columns: 1fr;
    }
}

.training-focus {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.training-focus h2 {
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 20px;
}

.training-focus p {
    color: var(--gray);
    margin-bottom: 16px;
}

.training-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.training-images img {
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.training-images img:hover {
    transform: scale(1.03);
}

/* Contact Section */
.contact-section {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item .icon {
    width: 48px;
    height: 48px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item .text strong {
    display: block;
    color: var(--dark);
    margin-bottom: 2px;
}

.contact-item .text span {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-form {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.contact-form:hover {
    border-color: rgba(0,102,204,0.3);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 24px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    background: var(--bg-tertiary);
    color: var(--text-inverse);
    padding: 40px 0;
    text-align: center;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .trust-bar {
        text-align: left;
    }

    .training-focus {
        grid-template-columns: 1fr;
    }

    .training-images {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 20px 0;
        gap: 16px;
    }

    .main-nav.active {
        display: flex;
    }

    .site-header .container {
        justify-content: space-between;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    section {
        padding: 50px 0;
    }

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

    .training-images {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 50px;
    }

    .brand-text .line1 {
        font-size: 1.1rem;
    }

    .brand-text .line2 {
        font-size: 0.7rem;
    }

    .hero-copy h1 {
        font-size: 1.7rem;
    }

    .btn {
        padding: 12px 24px;
    }

    section {
        padding: 50px 0;
    }

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

    .training-images {
        grid-template-columns: 1fr;
    }

    section > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* Dark Mode Toggle */
.dark-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

[data-theme="dark"] .hero-services {
    background: #000000;
}
