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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1a1a1a;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #ffffff;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #e5e5e5;
    line-height: 1.7;
}

a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: #111827;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo h1 {
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.logo span {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 400;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #d1d5db;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #60a5fa;
    background-color: #1e3a8a;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    padding: 5rem 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #dbeafe;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.25rem;
    color: #dbeafe;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    line-height: 1;
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: #2563eb;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #1e40af;
    text-decoration: none;
    border-color: #ffffff;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: #1f2937;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 700;
}

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

.feature-card {
    background: #374151;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.2);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #4b5563;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    background: #4b5563;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
}

.feature-card p {
    color: #d1d5db;
    line-height: 1.7;
}

.feature-card a {
    color: #60a5fa;
    font-weight: 600;
}

.feature-card a:hover {
    color: #93c5fd;
}

/* About Preview */
.about-preview {
    padding: 5rem 0;
    background: #111827;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 700;
}

.about-text p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Services Preview */
.services-preview {
    padding: 5rem 0;
    background: #1f2937;
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 700;
}

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

.service-card {
    background: #374151;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 1px solid #4b5563;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    background: #4b5563;
}

.service-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #60a5fa;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #93c5fd;
    text-decoration: none;
    transform: translateX(5px);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.cta-content p {
    color: #dbeafe;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.cta-section p {
    color: #dbeafe;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #bfdbfe;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
    background: #111827;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-content {
    background: #111827;
}

.main-content article {
    line-height: 1.8;
}

.main-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 700;
}

.main-content h3 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem 0;
    color: #ffffff;
    font-weight: 600;
}

.main-content h4 {
    font-size: 1.375rem;
    margin: 2rem 0 1rem 0;
    color: #ffffff;
    font-weight: 600;
}

.main-content p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.cta-box {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border: 2px solid #60a5fa;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
}

.cta-box h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-box p {
    color: #dbeafe;
    margin-bottom: 1.5rem;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: #374151;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #4b5563;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.sidebar-widget h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.quick-selector p,
.quick-tips p,
.stats p,
.warning-signs p,
.certifications p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #d1d5db;
    line-height: 1.5;
}

.quick-selector p strong,
.stats p {
    color: #ffffff;
    font-weight: 600;
}

.related-links {
    list-style: none;
}

.related-links li {
    margin-bottom: 0.75rem;
}

.related-links a {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.related-links a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.contact-widget p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #d1d5db;
}

.partners-info p,
.partners-list p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #d1d5db;
}

.partners-info p strong,
.partners-list p strong {
    color: #ffffff;
    font-weight: 600;
}

.team-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #d1d5db;
}

.team-info p strong {
    color: #ffffff;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: #111827;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    font-weight: 700;
}

.contact-info > p {
    color: #d1d5db;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: #374151;
    border-radius: 12px;
    border: 1px solid #4b5563;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
}

.contact-details p {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #d1d5db;
}

.contact-details p strong {
    color: #ffffff;
    font-weight: 600;
}

/* Contact Form */
.contact-form-container {
    background: #374151;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #4b5563;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.contact-form-container h2 {
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid #4b5563;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #1f2937;
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #d1d5db;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: auto;
    flex-shrink: 0;
}

/* Services Overview */
.services-overview {
    padding: 4rem 0;
    background: #1f2937;
}

.services-overview h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
    color: #ffffff;
    font-weight: 700;
}

.service-item {
    background: #374151;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border: 1px solid #4b5563;
}

.service-item h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 600;
}

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

.service-item ul {
    list-style: none;
    margin-top: 1rem;
}

.service-item li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    color: #d1d5db;
    line-height: 1.6;
}

.service-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: #111827;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
    color: #ffffff;
    font-weight: 700;
}

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

.faq-item {
    background: #374151;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #4b5563;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.faq-item h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.faq-item p {
    color: #d1d5db;
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: #1f2937;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
    color: #ffffff;
    font-weight: 700;
}

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

.testimonial {
    background: #374151;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
    border: 1px solid #4b5563;
    transition: transform 0.3s ease;
}

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

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.7;
}

.testimonial cite {
    font-weight: 600;
    color: #ffffff;
    font-style: normal;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 4rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section p {
    color: #d1d5db;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.contact-info p {
    color: #d1d5db;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #111827;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.3);
        padding: 2rem 0;
        gap: 0;
        border-top: 1px solid #374151;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 1rem;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .page-hero h1 {
        font-size: 2.25rem;
    }

    .cta h2,
    .cta-section h2 {
        font-size: 2rem;
    }

    .features,
    .about-preview,
    .services-preview,
    .cta,
    .content-section,
    .contact-section,
    .services-overview,
    .faq-section,
    .testimonials,
    .cta-section {
        padding: 3rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .logo span {
        font-size: 0.8rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
    }

    .page-hero {
        padding: 2.5rem 0;
    }

    .page-hero h1 {
        font-size: 1.875rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .features,
    .about-preview,
    .services-preview,
    .cta,
    .content-section,
    .contact-section,
    .services-overview,
    .faq-section,
    .testimonials,
    .cta-section {
        padding: 2rem 0;
    }

    .feature-card,
    .service-card,
    .contact-form-container,
    .service-item,
    .faq-item,
    .testimonial,
    .sidebar-widget {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-method {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem;
    }

    .contact-icon {
        font-size: 1.5rem;
    }

    .checkbox-label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .main-content h2 {
        font-size: 1.875rem;
    }

    .main-content h3 {
        font-size: 1.5rem;
    }

    .main-content h4 {
        font-size: 1.25rem;
    }

    .main-content p {
        font-size: 1rem;
    }

    .cta-box {
        padding: 2rem;
        margin: 2rem 0;
    }

    .features h2,
    .services-preview h2,
    .services-overview h2,
    .faq-section h2,
    .testimonials h2 {
        font-size: 1.875rem;
    }

    .about-text h2 {
        font-size: 1.875rem;
    }

    .contact-info h2 {
        font-size: 1.875rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    .feature-card,
    .service-card,
    .contact-form-container,
    .service-item,
    .faq-item,
    .testimonial,
    .sidebar-widget {
        padding: 1.25rem;
    }

    .contact-method {
        padding: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.85rem;
    }
}

/* Additional Utility Classes */
.text-center {
    text-align: center;
}

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

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Focus States for Accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.nav-menu a:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .sidebar,
    .cta,
    .cta-section,
    .hero-buttons,
    .cta-buttons {
        display: none;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: #000;
    }

    p, li {
        page-break-inside: avoid;
        color: #000;
    }

    .hero {
        background: none;
        padding: 1rem 0;
    }

    .hero h1 {
        color: #000;
    }

    .hero p {
        color: #333;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #000;
        color: #fff;
    }

    .btn-secondary,
    .btn-outline {
        border-width: 3px;
        color: #fff;
        border-color: #fff;
    }

    .feature-card,
    .service-card,
    .contact-form-container,
    .sidebar-widget,
    .service-item,
    .faq-item,
    .testimonial {
        border: 2px solid #fff;
    }

    h1, h2, h3, h4, h5, h6 {
        color: #fff;
    }

    p {
        color: #fff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .feature-card:hover,
    .service-card:hover,
    .testimonial:hover,
    .btn:hover {
        transform: none;
    }
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideIn 0.8s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* Hover Effects */
.feature-card,
.service-card,
.testimonial {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover,
.service-card:hover,
.testimonial:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #374151;
}

::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Selection Styles */
::selection {
    background: #60a5fa;
    color: #ffffff;
}

::-moz-selection {
    background: #60a5fa;
    color: #ffffff;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Form Validation Styles */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #ef4444;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #10b981;
}

/* Loading Spinner */
.spinner {
    border: 2px solid #4b5563;
    border-top: 2px solid #60a5fa;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #60a5fa;
    color: #ffffff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Warning signs styling */
.warning-signs p {
    color: #fca5a5;
    font-weight: 500;
}

/* Stats styling */
.stats p {
    color: #86efac;
    font-weight: 600;
}

/* Certifications styling */
.certifications p {
    color: #c4b5fd;
    font-weight: 500;
}

/* Enhanced link styling within content */
.main-content a,
.feature-card a,
.service-card a {
    color: #60a5fa;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.main-content a:hover,
.feature-card a:hover,
.service-card a:hover {
    color: #93c5fd;
    border-bottom-color: #93c5fd;
    text-decoration: none;
}

/* Improved spacing for better readability */
.main-content p + h3,
.main-content p + h4 {
    margin-top: 2.5rem;
}

.main-content h3 + p,
.main-content h4 + p {
    margin-top: 1rem;
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .page-hero {
        padding: 2rem 0;
    }
    
    .features,
    .about-preview,
    .services-preview,
    .cta,
    .content-section,
    .contact-section,
    .services-overview,
    .faq-section,
    .testimonials,
    .cta-section {
        padding: 2rem 0;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .checkbox-label {
        min-height: 44px;
        align-items: center;
    }
}