/* ECS Test Booking Croydon - CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-area {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin: 30px 0;
}

/* Breadcrumb */
.breadcrumb {
    background: #f1f1f1;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    font-size: 0.9em;
}

.breadcrumb a {
    color: #2c5282;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #1a365d;
    text-decoration: underline;
}

.breadcrumb span {
    color: #718096;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #2c5282 0%, #4299e1 100%);
    border-radius: 10px;
    color: white;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.keyword {
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

/* Buttons */
.button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.primary-btn, .secondary-btn {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 200px;
}

.primary-btn {
    background: #e53e3e;
    color: white;
}

.primary-btn:hover {
    background: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.service-description {
    font-style: italic;
    font-size: 0.95em;
    opacity: 0.8;
}

/* Info Section */
.info-section {
    margin-bottom: 50px;
}

.info-section h2 {
    color: #2c5282;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e53e3e;
    font-size: 2em;
}

.info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.info-box {
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #4299e1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-box h3 {
    color: #2c5282;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.info-box p {
    margin-bottom: 15px;
    color: #4a5568;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.step {
    text-align: center;
    padding: 25px 15px;
    background: #f8fafc;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #e53e3e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

.step h4 {
    color: #2c5282;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.step p {
    color: #718096;
    font-size: 0.95em;
}

.highlight {
    color: #e53e3e;
    font-weight: 600;
}

/* Test Centres */
.test-centres {
    margin: 50px 0;
}

.test-centres h2 {
    color: #2c5282;
    margin-bottom: 30px;
    font-size: 2em;
}

.centres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.centre-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.centre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-color: #4299e1;
}

.centre-card h4 {
    color: #2c5282;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.centre-address {
    color: #e53e3e;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.centre-feature {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #4a5568;
}

.centre-feature:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.centre-card p {
    margin-top: 15px;
    color: #718096;
    font-style: italic;
}

/* Map Container */
.map-container {
    margin: 50px 0;
}

.map-title {
    color: #2c5282;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.map-frame {
    width: 100%;
    height: 400px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
}

/* FAQ Section */
.faq-section {
    margin: 50px 0;
}

.faq-section h2 {
    color: #2c5282;
    margin-bottom: 30px;
    font-size: 2em;
}

.faq-container {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: #f8fafc;
    cursor: pointer;
    font-weight: 600;
    color: #2c5282;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #edf2f7;
}

.faq-question.active {
    background: #4299e1;
    color: white;
}

.toggle-icon {
    font-size: 1.5em;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-question.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #4a5568;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    background: #f8fafc;
    padding: 40px;
    border-radius: 8px;
    margin: 50px 0;
    text-align: center;
    border-top: 5px solid #4299e1;
}

.contact-section h3 {
    color: #2c5282;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.contact-section p {
    color: #4a5568;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.email-link {
    display: inline-block;
    background: #e53e3e;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin: 20px 0;
    transition: background 0.3s;
}

.email-link:hover {
    background: #c53030;
}

.contact-address {
    color: #718096;
    font-style: italic;
    margin-top: 20px;
    font-size: 0.9em;
}

/* Disclaimer */
.disclaimer {
    background: #fffaf0;
    padding: 25px;
    border-radius: 5px;
    border-left: 4px solid #ed8936;
    margin-top: 50px;
    color: #744210;
}

.disclaimer strong {
    color: #dd6b20;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .content-area {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .hero-title {
        font-size: 1.8em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .info-section h2,
    .test-centres h2,
    .faq-section h2,
    .map-title {
        font-size: 1.6em;
    }
    
    .contact-section {
        padding: 30px 20px;
    }
    
    .centres-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .map-frame {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5em;
    }
    
    .hero-section {
        padding: 30px 15px;
    }
    
    .info-content {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 0.95em;
    }
    
    .faq-answer.active {
        padding: 15px;
    }
    
    .contact-section h3 {
        font-size: 1.5em;
    }
}

/* Animation for FAQ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer.active {
    animation: fadeIn 0.3s ease;
}

/* Print Styles */
@media print {
    .primary-btn, .secondary-btn, .breadcrumb {
        display: none;
    }
    
    .content-area {
        box-shadow: none;
        padding: 0;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        padding: 20px 0;
    }
    
    .keyword {
        background: transparent !important;
        text-decoration: underline;
    }
}