
@media (max-width: 1024px) {

    /* Container */

    .container {

        padding-left: 24px;

        padding-right: 24px;
    }

    /* Search Grid */

    .search-grid {

        grid-template-columns: 1fr;
    }

    /* Result Details */

    .train-details {

        grid-template-columns:
            repeat(2, 1fr);
    }

    /* Footer */

    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 30px;
    }

    /* Table */

    .table-container {

        height: 550px;
    }

}


@media (min-width: 481px) and (max-width: 768px) {


    .search-card h2 {
        font-size: 30px;
    }

    .about-card h3 {
        font-size: 26px;
    }

    .faq-question {
        font-size: 20px;
    }

     p {
        font-size: 20px;
    }

    .about-card p,
    .faq-answer p {
        font-size: 20px;
    }

    .input-wrapper input,
    .input-wrapper select {
        font-size: 22px;
    }

    label {
        font-size: 18px;
    }
}

@media (max-width: 768px) {

    /* Typography */

    h1 {

        font-size: 36px;
    }

    h2 {

        font-size: 26px;
    }

    h3 {

        font-size: 22px;
    }

    p {

        font-size: 18px;
    }

    /* Header */

    .site-header {

        height: 72px;
    }

    .logo {

        height: 40px;
    }

    .brand-text {

        font-size: 26px;
    }

   

    /* Search Card */

    .search-card {

        padding: 24px;
    }

    .search-card h2 {

        font-size: 22px;

        margin-bottom: 25px;
    }

    /* Inputs */

    .input-wrapper input,
    .input-wrapper select {

        font-size: 16px;

        height: 52px;
    }

    /* Search Button */

    #searchBtn {

        width: 100%;

        justify-content: center;
    }

    /* Disclaimer */

    .search-disclaimer {

        font-size: 14px;
    }

    /* About Card */

    .about-card {

        padding: 24px;
    }

    /* FAQ */

    .faq-question {

        padding: 20px;

        font-size: 18px;
    }

    .faq-answer {

        padding: 0 20px 20px;
    }

    .faq-answer p {

        font-size: 18px;
    }

    /* Result Card */

    .result-card {

        padding: 24px;
    }

    .train-title {

        font-size: 24px;

        line-height: 1.4;
    }

    .train-details {

        grid-template-columns: 1fr;

        gap: 18px;
    }

    /* Table */

    .vacancy-table-card {

        padding: 20px;
    }

    .table-container {

        height: 450px;

        overflow-x: auto;

        overflow-y: auto;
    }

    #vacancyTable {

        min-width: 800px;
    }

    #vacancyTable th {

        font-size: 15px;

        padding: 16px;
    }

    #vacancyTable td {

        font-size: 16px;

        padding: 14px 16px;
    }

    /* New Search Button */

    .new-search-btn {

        width: 100%;

        justify-content: center;
    }

    /* Footer */

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-column h4 {

        margin-bottom: 12px;
    }

    .footer-bottom {

        padding: 20px 0;
    }

    .footer-bottom p {

        font-size: 16px;
    }

}


@media (max-width: 480px) {

    .container {

        padding-left: 16px;

        padding-right: 16px;
    }

    .brand-text {

        font-size: 22px;
    }

    .search-card {

        padding: 20px;
    }

    .about-card {

        padding: 20px;
    }

    .result-card {

        padding: 20px;
    }

    .vacancy-table-card {

        padding: 16px;
    }

    #vacancyTable {

        min-width: 750px;
    }

    h1 {
    font-size: 28px;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
}

h2 {
    font-size: 20px;
    line-height: 1.3;
}

p {
    font-size: 16px;
}


    .section-heading h2 {
        font-size: 24px;
          gap: 8px;
        line-height: 1.3;
    }
    .section-heading h2 i {
    font-size: 22px;
}

    .hero-section {
    padding: 40px 0 30px;
}

.hero-content {
    margin-bottom: 25px;
}

.about-card h3 {
    font-size: 20px;
    line-height: 1.4;
}

.faq-question {
    font-size: 16px;
    line-height: 1.4;
}

.section-heading h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Search Form Mobile */

.search-card label {
    font-size: 14px;
}

.input-wrapper input,
.input-wrapper select {
    font-size: 12px;
}

.input-wrapper input::placeholder {
    font-size: 12px;
}

#searchBtn {
    font-size: 17px;
}

 .search-disclaimer {

        font-size: 12px;

        line-height: 1.5;

        max-width: 100%;

        gap: 4px;

        text-align: left;

        justify-content: flex-start;
    }


/* Result Section Mobile */

.train-title {
    font-size: 20px;
    gap: 8px;
}

.train-title i {
    font-size: 20px;
}

.detail-label {
    font-size: 13px;
}

.detail-item span:last-child {
    font-size: 16px;
}

.detail-item i {
    font-size: 22px;
}

.vacancy-table-card h2 {
    font-size: 20px;
    gap: 8px;
}

.vacancy-table-card h2 i {
    font-size: 20px;
}

.new-search-btn {
    font-size: 16px;
    padding: 12px 24px;
}

/* Vacancy Table Mobile */

#vacancyTable th {
    font-size: 14px;
    padding: 14px 16px;
}

#vacancyTable td {
    font-size: 14px;
    padding: 14px 16px;
}

}

@media (max-width: 768px) {

    .seo-content h2 {

        font-size: 24px;

        line-height: 1.3;

    }

    .seo-content p {

        font-size: 18px;

        line-height: 1.8;

    }

    .seo-content li {

        font-size: 18px;

        line-height: 1.8;

    }

}