/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
.site-header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo h1 {
    font-size: 24px;
    color: #00CBA9;
    font-weight: 600;
}

.header-subtitle {
    flex: 1;
    text-align: center;
}

.header-subtitle p {
    color: #666;
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #52C41A;
    color: white;
}

.btn-primary:hover {
    background: #45a816;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(82, 196, 26, 0.3);
}

.btn-secondary {
    background: #1890FF;
    color: white;
}

.btn-secondary:hover {
    background: #0973d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(24, 144, 255, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?w=1600&h=900&fit=crop');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Services Section */
.services {
    padding: 80px 20px;
    background: #f8f9fa;
}

.section-title {
    font-size: 36px;
    color: #00CBA9;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: white;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.contact p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

/* Chat Widget Placeholder */
#chat-widget-placeholder {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #E91E63;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-size: 14px;
    z-index: 1000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-subtitle {
        order: -1;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

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

    .section-title {
        font-size: 28px;
    }
}

/* Vertical-specific Brand Colors */
body[data-brand="auto"] .logo h1,
body[data-brand="auto"] .section-title {
    color: #E74C3C;
}

body[data-brand="edu"] .logo h1,
body[data-brand="edu"] .section-title {
    color: #3498DB;
}
