.container {
    max-width: 100%;
    margin: auto;
    text-align: center;
    background-color: white;

}

.carrer-header {
    height: 60vh;
    width: 100vw;
    background: url('../image/tech-support.jpg');
    background-size: 160% 200%;
    background-position: center;
    background-repeat: no-repeat;
    animation: gradient 25s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
    text-shadow: 0px 0px 5px rgb(255, 221, 221);
}

.choose-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
    text-shadow: 0px 0px 5px rgb(255, 221, 221);
}


.header-content {
    color: white;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}
.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.header-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.company-intro {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding: 50px;
    transition: transform 0.3s ease;
}

.company-intro:hover {
    transform: scale(1.02);
}

.intro-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.intro-text {
    width: 50%;
}

.intro-text p {
    font-size: 20px;
    line-height: 1.5;
}

.intro-text h2 {
    font-size: 30px;
    color: #000000;
}
.intro-image {
    width: 50%;
    margin-right: 30px;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.intro-image img:hover {
    transform: scale(1.05);
}

section.why-choose .container {
    margin-top: 30px;
    background: linear-gradient(135deg, #000428, #004e92);
    padding: 50px;
    /* height: 25rem; */
}

.choose-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px; /* Add gap between cards */
}

.choose-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    width: calc(25% - 20px); /* 4 cards per row by default */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    text-overflow: ellipsis;
    transition: transform 0.3s ease;
    height: fit-content;
}

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

.choose-card img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 100%;
    height: 350px;
}

.choose-card h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.choose-card p {
    color: #f0f0f0;
}

section.services-page {
    padding-top: 64px;
    padding-bottom: 50px;
}

section.services-page .container {
    max-width: 980px;
}

section.services-page .container h2 {
    font-size: 31px;
    color: #000000;
    text-transform: capitalize;
    line-height: 27px;
    margin-bottom: 42px;
    max-width: 980px;
}

section.services-page ul {
    list-style: none;
    padding: 0;
}

section.services-page ul li {
    margin-bottom: 20px;
}

section.services-page ul li h3 {
    margin: 0px;
    color: #000000;
    cursor: pointer;
    flex-grow: 1; /* Allow h3 to take up remaining space */
}

section.services-page ul li div.services-inner {
    border: 1px solid #a5a5a5;
    padding: 64px 48px;
    margin-bottom: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    transition: background-color 0.3s ease;
}

section.services-page ul li div.services-inner:hover {
    background-color: #f0f0f0;
}

.btn-primary {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
    background-color: #317ff4;
    border-radius: 10px;
    font-weight: bold;
    margin-top: 5px;
    margin-left: 20px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a5bb8;
}

.job-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
    width: 100%;
    padding: 10px;
}

.job-details.active {
    max-height: 600px;
    opacity: 1;
    padding: 20px;
}

.job-details form {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 600px;
    margin: auto;
}

.job-details input,
.job-details textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
}

.job-details button {
    width: 100%;
    background-color: #28a745;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.job-details button:hover {
    background-color: #218838;
}

@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
        align-items: center;
    }

    .intro-text, .intro-image {
        width: 100%;
        margin: 0;
    }

    .choose-card {
        width: 90%;
        margin: 10px 0;
    }

    section.services-page ul li {
        flex-direction: column;
    }

    section.services-page ul li div.services-inner {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary {
        width: 100%;
        margin-left: 0;
    }
    .intro-text {
        text-align: center;
    }
    .intro-image {
        margin-top: 20px;
    }

    .job-details form {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 980px) {
    .row {
        margin: 20px;
    }
}

@media (max-width: 1300px) {
    .choose-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 1022px) {
    .choose-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 830px) {
    .choose-card {
        width: 100%;
    }
    .btn-primary {
        width: auto;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 10px;
    }

    h2 {
        font-size: 2rem;
    }
    .about-header {
        margin-top: auto;
    }

    .header-content {
        padding: 1rem;
        text-align: center;
        margin-top: 50px;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

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

    .company-intro {
        padding: 1rem;
        text-align: center;
    }

    .intro-content {
        flex-direction: column;
        text-align: center;
    }

    .intro-text, .intro-image {
        width: 100%;
        margin: 0;
    }

    .intro-text h2 {
        font-size: 24px;
        width: 100%;
    }

    .intro-text p {
        font-size: 16px;
        width: 100%;
    }

    .intro-image {
        margin-top: 10px;
    }

    .choose-grid {
        flex-direction: column;
        gap: 15px;
    }

    .choose-card {
        width: 100%;
        padding: 20px;
    }

    .choose-card img {
        height: auto;
        max-height: 250px;
    }

    .choose-card h3 {
        font-size: 1.2rem;
    }

    .choose-card p {
        font-size: 0.9rem;
    }

    .services-page ul li div.services-inner {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .services-page ul li h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .btn-primary {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
        text-align: center;
        display: block;
        justify-content: center;
    }
}

