* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden; /* Added to cut off overflow */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Increased height to show more of the image */
    object-fit: cover;
    object-position: top; /* Ensures the top of the image is visible */
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: left;
    color: var(--white);
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    margin-top: 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #00ACC1;
}

.phone-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

.service-card {
    background: rgba(0, 0, 0, 0.8);
    padding: 1.25rem;
    border-radius: 0.5rem;
    text-align: center;
    color: var(--white);
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.75rem;
    filter: invert(1);
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.375rem;
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.813rem;
    opacity: 0.8;
}

.service-number {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background-color: var(--second-bg);
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.mission-text {
    flex: 1;
}

.mission-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.mission-text p {
    font-size: 1.125rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.mission-text p:last-child {
    margin-bottom: 0;
}

.mission-image {
    flex: 1;
}

.mission-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem;
}

.service-card {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
    text-align: center;
    color: var(--white);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.5rem;
    filter: invert(1);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 6rem 0;
    background: var(--second-bg);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(42, 157, 143, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.why-choose-us .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 3rem;
    opacity: 0.9;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem;
    position: relative;
}

.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.5rem;
    padding: 0.75rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.feature-card p {
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
    position: relative;
}



@media (max-width: 1024px) {
    .services-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }
    
    .service-card {
        margin: 0 1rem;
    }

    .mission-content {
        flex-direction: column;
        gap: 2rem;
    }

    .mission-text h2 {
        font-size: 2rem;
    }

    .mission-text p {
        font-size: 1rem;
    }
    
    .services-cards {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        margin: 0 1rem;
    }
    
    .why-choose-us h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Maintain background colors in mobile view */
    .mission {
        background-color: var(--second-bg);
    }
    
    .services-section {
        background-color: var(--background);
    }
    
    .why-choose-us {
        background: var(--second-bg);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        margin: 0 1rem;
    }
    
    .why-choose-us h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.text-center {
    text-align: center;
}

.mt-8 {
    margin-top: 2rem;
}

/* Areas Serviced Section */
.areas-serviced {
    padding: 5rem 0;
    background-color: var(--background);
}

.areas-serviced h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.areas-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--gray-600);
    line-height: 1.7;
}

.service-map {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.map-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.states-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.state-card {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.state-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    text-align: center;
}

.state-card ul {
    list-style: none;
    padding: 0;
}

.state-card li {
    padding: 0.5rem 0;
    color: var(--text-color);
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.state-card li:last-child {
    border-bottom: none;
}

@media (max-width: 1024px) {
    .states-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .states-grid {
        grid-template-columns: 1fr;
    }
    
    .state-card {
        margin: 0 1rem;
    }

    .service-map {
        margin: 0 1rem 3rem;
    }
    
    /* Maintain background color */
    .areas-serviced {
        background-color: var(--background);
    }
}

/* About NEMT Section */
.about-nemt {
    padding: 5rem 0;
    background-color: var(--second-bg);
    color: var(--white);
}

.about-nemt h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.about-nemt .intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
}

.nemt-content {
    max-width: 1000px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.content-block p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content-block ul,
.content-block ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-block li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.beneficiaries-list {
    list-style-type: none;
    padding-left: 0;
}

.beneficiaries-list li {
    padding-left: 1.5rem;
    position: relative;
}

.beneficiaries-list li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.process-list {
    counter-reset: step-counter;
    list-style-type: none;
    padding-left: 0;
}

.process-list li {
    padding-left: 2.5rem;
    position: relative;
    counter-increment: step-counter;
}

.process-list li:before {
    content: counter(step-counter);
    color: var(--white);
    background-color: var(--primary-color);
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
}

.cta-block {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(45deg, rgba(0, 188, 212, 0.1), rgba(0, 188, 212, 0.05));
    border-radius: 1rem;
    margin-top: 3rem;
}

.cta-block p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .about-nemt h2 {
        font-size: 2rem;
    }
    
    .about-nemt .intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .content-block h3 {
        font-size: 1.5rem;
    }
    
    .nemt-content {
        padding: 0 1rem;
    }
    
    .cta-block {
        margin: 2rem 1rem;
    }
    
    /* Maintain background color */
    .about-nemt {
        background-color: var(--second-bg);
    }
}

/* faq section */
.faq-section {
    padding: 5rem 2rem;
    background: var(--background);
    position: relative;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: bold;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    margin-bottom: 0;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--second-bg);
    height: fit-content;
    transition: all 0.3s ease;
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    background: var(--card-bg);
    font-weight: 600;
    color: white;
    position: relative;
    list-style: none;
    transition: background-color 0.3s ease;
}

.faq-item summary:hover {
    background: var(--primary-color);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '▼';
    position: absolute;
    right: 1.5rem;
    transform: translateY(-50%);
    top: 50%;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
    padding: 1.5rem;
    margin: 0;
    background: var(--card-bg);
    color: white;
    line-height: 1.6;
    border-top: 1px solid var(--card-border);
}


/* Responsive Design for FAQ Grid */
@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
    
    .faq-section h2 {
        font-size: 2rem;
    }
    
    .faq-item summary {
        padding: 1.2rem;
    }
    
    .faq-item p {
        padding: 1.2rem;
    }
    
    /* Maintain background color */
    .faq-section {
        background: var(--background);
    }
}

/* Footer */
.footer {
    background-color: #222222;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #ffffff;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Maintain background color */
    .footer {
        background-color: #222222;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
