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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header and Navigation */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255,255,255,0.2);
    color: #fff;
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background-color: #fff;
    color: #667eea;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: white;
}

.features h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Content Sections */
.content {
    padding: 3rem 0;
    background-color: white;
}

.about-content h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.about-content p {
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.8;
}

.about-content ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.about-content li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Services Grid */
.services-grid {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.services-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-item ul {
    list-style: none;
}

.service-item li {
    color: #555;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.service-item li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact-section {
    padding: 3rem 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3,
.contact-form h3 {
    color: #667eea;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

footer p {
    margin: 0;
    opacity: 0.8;
}

/* EPA 608 Specific Sections */
.certification-types,
.study-resources,
.exam-simulation,
.exam-structure,
.sample-question,
.success-metrics,
.technical-knowledge,
.career-benefits,
.equipment-classification,
.study-strategy,
.cta-section {
    padding: 3rem 0;
    background-color: white;
}

.certification-types:nth-child(even),
.study-resources:nth-child(even),
.exam-simulation:nth-child(even),
.exam-structure:nth-child(even),
.sample-question:nth-child(even),
.success-metrics:nth-child(even),
.technical-knowledge:nth-child(even),
.career-benefits:nth-child(even),
.equipment-classification:nth-child(even),
.study-strategy:nth-child(even) {
    background-color: #f8f9fa;
}

.certification-types h3,
.study-resources h3,
.exam-simulation h3,
.exam-structure h3,
.sample-question h3,
.success-metrics h3,
.technical-knowledge h3,
.career-benefits h3,
.equipment-classification h3,
.study-strategy h3,
.cta-section h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #333;
}

/* Certification Cards */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cert-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
}

.cert-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Features List */
.features-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.features-list li {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    border-left: 4px solid #667eea;
    border-radius: 5px;
}

/* Exam Table */
.exam-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.exam-table th,
.exam-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.exam-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.exam-table tr:hover {
    background-color: #f8f9fa;
}

/* Sample Question */
.question-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.answer-choices {
    margin-top: 1.5rem;
}

.answer-choices label {
    display: block;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.answer-choices label:hover {
    background-color: #e9ecef;
}

.answer-choices input[type="radio"] {
    margin-right: 0.8rem;
}

/* Success Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.metric-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: #666;
    font-weight: 500;
}

/* Knowledge Grid */
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.knowledge-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #667eea;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.benefits-list li {
    background: white;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #28a745;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.equipment-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-5px);
}

.equipment-card h4 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.equipment-card p {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.6;
}

/* Study Strategy Steps */
.strategy-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-section h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    margin-bottom: 2rem;
}

.cta-button.primary {
    background-color: white;
    color: #667eea;
    text-decoration: none;
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.guarantees {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.guarantees span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Link Styling */
.cta-button {
    text-decoration: none;
    display: inline-block;
}

/* Contact Page Specific Styles */
.contact-methods,
.specialized-support,
.support-services,
.contact-form-section {
    padding: 3rem 0;
    background-color: white;
}

.contact-methods:nth-child(even),
.specialized-support:nth-child(even),
.support-services:nth-child(even),
.contact-form-section:nth-child(even) {
    background-color: #f8f9fa;
}

.contact-methods h3,
.specialized-support h3,
.support-services h3,
.contact-form-section h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-methods h4,
.specialized-support h4,
.support-services h4 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Contact Table */
.contact-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.contact-table th,
.contact-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.contact-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.contact-table tr:hover {
    background-color: #f8f9fa;
}

.contact-table a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-table a:hover {
    text-decoration: underline;
}

/* Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid #667eea;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-card h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.support-card p {
    color: #666;
    line-height: 1.6;
}

/* Service Categories */
.services-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-category {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.service-category h4 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
}

.service-category ul {
    list-style: none;
    padding: 0;
}

.service-category li {
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #667eea;
}

.service-category li strong {
    color: #333;
}

/* Contact Form Section */
.contact-form-section {
    background: #f8f9fa;
}

.contact-form-section .contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: white;
}

/* Related Articles Section */
.related-articles {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 3rem;
    border-left: 4px solid #667eea;
}

.related-articles h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.related-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.related-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* About Page Specific Styles */
.about-content .intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2.5rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

/* Expertise Highlights */
.expertise-highlights {
    margin: 3rem 0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.highlight-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Coverage Areas */
.coverage-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.coverage-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #667eea;
}

.coverage-item:hover {
    transform: translateY(-5px);
}

.coverage-item h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.coverage-item p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    /* EPA 608 Mobile Responsive */
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .knowledge-grid,
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .strategy-steps {
        grid-template-columns: 1fr;
    }
    
    .exam-table {
        font-size: 0.9rem;
    }
    
    .exam-table th,
    .exam-table td {
        padding: 0.5rem;
    }
    
    .guarantees {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Contact Page Mobile Responsive */
    .contact-table {
        font-size: 0.8rem;
    }
    
    .contact-table th,
    .contact-table td {
        padding: 0.5rem;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .services-categories {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section .contact-form {
        margin: 0 1rem;
    }
    
    /* About Page Mobile Responsive */
    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .coverage-areas {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .page-header h2 {
        font-size: 2rem;
    }
    
    /* EPA 608 Small Mobile */
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .certification-types h3,
    .study-resources h3,
    .exam-simulation h3,
    .exam-structure h3,
    .sample-question h3,
    .success-metrics h3,
    .technical-knowledge h3,
    .career-benefits h3,
    .equipment-classification h3,
    .study-strategy h3,
    .cta-section h3 {
        font-size: 1.8rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    /* Contact Page Small Mobile */
    .contact-methods h3,
    .specialized-support h3,
    .support-services h3,
    .contact-form-section h3 {
        font-size: 1.8rem;
    }
    
    .contact-table {
        font-size: 0.7rem;
    }
    
    .contact-table th,
    .contact-table td {
        padding: 0.3rem;
    }
    
    /* About Page Small Mobile */
    .highlight-grid {
        grid-template-columns: 1fr;
    }
}