/* ECS Test Centre Styles - Humanized Version */
:root {
    --primary-color: #1a5fb4;
    --secondary-color: #0d47a1;
    --accent-color: #1976d2;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --text-color: #333;
    --text-light: #666;
    --success-color: #2e7d32;
    --warning-color: #ed6c02;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header Container */
#header-container {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.service-description {
    color: var(--text-light);
    max-width: 800px;
    margin: 1.5rem auto 0;
    font-size: 1.1rem;
}

/* Buttons */
.button-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.primary-btn, .secondary-btn {
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.secondary-btn {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Info Section */
.info-section {
    margin-bottom: var(--spacing-lg);
}

.info-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-box {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--accent-color);
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-box p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.step {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Test Centres */
.test-centres {
    margin-bottom: var(--spacing-lg);
}

.test-centres h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.centres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.centre-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--accent-color);
}

.centre-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.centre-address {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.centre-features {
    margin-bottom: 1rem;
}

.feature-item {
    color: var(--success-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.centre-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Map */
.map-container {
    margin-bottom: var(--spacing-lg);
}

.map-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.map-frame {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Test Details */
.test-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-lg);
}

.details-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.details-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.details-card ul {
    list-style: none;
}

.details-card li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.details-card li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
    margin-bottom: var(--spacing-lg);
}

.faq-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: var(--light-bg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e3f2fd;
}

.faq-question.active {
    background: #e3f2fd;
}

.toggle-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-color);
    line-height: 1.8;
}

/* Preparation Tips */
.preparation-tips {
    margin-bottom: var(--spacing-lg);
}

.preparation-tips h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tip h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.tip p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-method {
    text-align: center;
}

.contact-method strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-method a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Disclaimer */
.disclaimer {
    background: #fff3e0;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--warning-color);
}

.disclaimer p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.disclaimer strong {
    color: var(--warning-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        padding: 2rem 1rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .info-content, .centres-grid, .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .map-frame {
        height: 300px;
    }
}