:root {
    --primary-color: #FFAE00;
    --secondary-color: #151515;
    --dark-color: #000;
    --light-color: #f9f9f9;
    --border-radius: 0.25rem;
    --transition: all 0.25s ease-in-out;
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --max-width: 1170px;
    --font-family: "League Spartan", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}


body {
    font-family: var(--font-family);
    background: url(../images/bg-pattern.png);
    background-attachment: fixed;
    background-size: cover;
}

.hidden {
    display: none;
}

.button {
    color: var(--primary-color);
    text-decoration: none;
    background: var(--secondary-color);
    border: 1px solid var(--primary-color);
    border-radius: 0.5rem;
    padding: 0.5rem 1.2rem;
    line-height: normal;
    font-size: 18px;
    transition: var(--transition);
}

.button:hover, .button.active {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.reverse-button {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.reverse-button:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

i {
    color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
    line-height: normal;
}

section:not(:first-of-type) {
    margin: 3rem 0 4rem;
}

h2 {
    font-weight: 700;
    letter-spacing: 0.05rem;
    margin-bottom: 1.4rem;
}

h2 span {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

p {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 1rem 0;
}

@media screen and (max-width: 768px) {
    .button {
        font-size: 16px;
    }

    p {
        font-size: 1rem;
    }
}

/* Header Section */

header {
    background: var(--secondary-color);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.nav-top i {
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    padding: 0.5rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    text-align: center;
    transition: var(--transition);
}

.nav-top i:hover, .nav-top i.active {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.nav-logo img {
    max-width: 150px;
}

header ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--light-color);
}

.nav-link:focus {
    color: var(--light-color);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: var(--secondary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    top: 100%;
    left: 0;
    z-index: 1000;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--light-color);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    display: block !important;
}

.dropdown:hover .nav-link {
    color: var(--primary-color);
}

.dropdown-item.active, .dropdown-item:active {
    background: var(--primary-color);
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .nav-items {
        display: none;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-items.active {
        display: flex;
    }

    .navbar-toggler {
        font-size: 1.8rem;
        display: block;
        text-align: right;
    }

    .nav-top i {
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.9rem;
    }

    .dropdown-menu {
        position: static;
        border: none;
        box-shadow: none;
    }

    .dropdown-menu a {
        padding: 0.5rem 1rem;
    }


}

@media (max-width: 576px) {
    .nav-top i {
        width: 20px;
        height: 20px;
        padding: 0.8rem;
    }

    .nav-logo {
        text-align: center;
    }

    .nav-logo img {
        max-width: 100px;
    }
}

@media screen and (max-width: 400px) {
    .nav-top {
        flex-direction: column;
        gap: 1rem;
    }

}

/* Hero and CTA Section */

#hero, #cta {
    background: url(../images/home-banner.png) top center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

#cta {
    background: url(../images/cta-banner.png) center;
    margin-bottom: 0;
}


.hero, .cta {
    display: flex;
    justify-content: end;
    align-items: center;
    height: 100vh;
    text-align: end;
    color: var(--light-color);
}

.cta {
    height: 70vh;
    text-align: start;
    justify-content: start;
}

.hero-text, .cta-text {
    width: 50%;
}

#hero h2, #cta h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    margin: 0;
}

#hero p {
    margin: 1rem 0;
    font-weight: 300;
}

#cta p {
    margin: 0.5rem 0 1rem;
    font-size: 1.5rem;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    .hero, .cta {
        height: 80vh;
    }

    .hero-text, .cta-text {
        width: 100%;
    }

    #hero h2, #cta h2 {
        font-size: 3rem;
    }

    #cta p {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 576px) {
    #hero h2, #cta h2 {
        font-size: 2.5rem;
    }

    #cta p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 400px) {
    #hero h2, #cta h2 {
        font-size: 2rem;
    }

    #cta p {
        font-size: 0.9rem;
    }
}

/* Welcome Section and About Section */
.welcome, .about {
    text-align: center;
}

.welcome p, .about p {
    font-size: 20px;
    font-weight: 500;
}

/* Services Section */
#services {
    text-align: center;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.service-card {
    position: relative;
}

.service-card img {
    position: relative;
    width: 100%;
    height: 250px;
    object-fit: cover;
    z-index: 5;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 0.5rem;
    position: relative;
}

.service-card h3::after {
    content: 'Read More';
    position: absolute;
    bottom: 2.5rem;
    right: 0;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.5rem;
    width: 100%;
    transition: var(--transition);
}

.service-card:hover h3::after {
    bottom: 0;
}

@media screen and (max-width: 768px) {
    .services-list {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
}

/* Footer Section */
footer {
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 3rem 0;
}

.footer {
    display: flex;
    justify-content: space-between;
}

footer h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin: 0.3rem 0;
}

footer ul a {
    color: var(--light-color);
}

footer ul a:hover {
    color: var(--primary-color);
}

.footer-logo {
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.socials {
    text-align: end;
}

.socials h3 {
    color: var(--light-color);
}

.socials ul {
    display: flex;
    gap: 1rem;
    justify-content: end;
}

.socials i {
    font-size: 1.5rem;
    transition: var(--transition);
}

.socials i:hover {
    color: var(--light-color);
}

.copyright {
    color: #f4f4f48f;
    font-size: 0.8rem;
}

@media screen and (max-width: 768px) {
    footer {
        text-align: center;
    }

    .footer {
        flex-direction: column;
    }

    .socials {
        text-align: center;
    }

    .socials ul {
        justify-content: center;
    }

}

@media screen and (max-width: 576px) {
    .footer-logo {
        max-width: 200px;
    }
}

@media screen and (max-width: 400px) {
    .footer-logo {
        max-width: 150px;
    }

}

/* Subpage Hero Section */
#subpage-hero {
    background: var(--secondary-color);
    padding: 8rem 0;
}

.subpage-hero {
    text-align: center;
    color: var(--light-color);
}

.subpage-hero span {
    color: var(--primary-color);
}

.subpage-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media screen and (max-width: 768px) {
    .subpage-hero h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 576px) {
    .subpage-hero h1 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 400px) {
    #subpage-hero {
        padding-top: 10rem;
    }

}

/* About Hero Section */
#about-hero {
    background: var(--secondary-color);
    padding: 8rem 0 12rem;
    position: relative;
}

#about-hero h1 {
    margin-bottom: 1rem;
}

.about-banner-imgs {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    bottom: -5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
}

@media screen and (max-width: 1200px) {
    #about-hero {
        padding: 10rem 0;
    }

    .about-banner-imgs {
        bottom: -3rem;
    }
}

@media screen and (max-width: 992px) {
    #about-hero {
        padding: 8rem 0;
    }

}

@media screen and (max-width: 876px) {
    #about-hero {
        padding: 8rem 0;
    }

    .about-banner-imgs {
        display: none;
    }
}

@media screen and (max-width: 400px) {
    #about-hero {
        padding: 10rem 0 5rem;
    }

}

/* About Questions Section */
#questions {
    padding-top: 6rem;
}

#questions h2 {
    font-size: 3rem;
}

#questions p {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 1rem 0;
}

.question {
    margin-bottom: 3rem;
}

@media screen and (max-width: 768px) {
    #questions {
        padding-top: 4rem;
    }

    #questions h2 {
        font-size: 2.5rem;
    }

    #questions p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 576px) {
    #questions h2 {
        font-size: 2rem;
    }

    #questions p {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 230px) {
    #questions h2 {
        font-size: 1.5rem;
    }

    #questions p {
        font-size: 0.8rem;
    }

}

/* Timeline Section */
#history {
    padding: 2rem 0;
}

.history {
    display: grid;
    width: 55%;
}

.timeline-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1rem;
    margin-top: -2.2rem;
}

.arrow {
    margin-top: 2rem;
}

.timeline-row:nth-of-type(2n) {
    justify-items: end;
}

.timeline-card {
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 3rem 2rem;
    box-shadow: var(--box-shadow);
    border: 5px solid var(--primary-color);
}

.timeline-card h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--primary-color);
    text-align: center;
}

.timeline-card p {
    line-height: 1rem;
    text-align: justify;
}

.mobile-arrow {
    display: none;
}

@media screen and (max-width: 1024px) {
    .history {
        width: 70%;
    }
}

@media screen and (max-width: 860px) {
    .history {
        width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .history {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .timeline-row {
        display: flex;
        flex-direction: column;
        margin-top: 0;
    }

    .timeline-row:nth-of-type(2n) {
        flex-direction: column-reverse;
    }

    .arrow {
        display: none;
    }

    .mobile-arrow {
        display: block;
        text-align: center;
    }
}

/* News Page */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: -8rem;
}

.news-item {
    background: var(--light-color);
    color: var(--secondary-color);
    padding: 0.8rem 0.8rem 1.2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.news-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.news-item h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.7rem 0;
    text-align: center;
    letter-spacing: 0;
    width: 100%;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item p {
    font-size: 0.9rem;
    font-weight: 400;
    text-align: justify;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-item i {
    color: var(--secondary-color);
    background: var(--primary-color);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.news-item i:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

@media screen and (max-width: 376px) {
    .news-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 280px) {
    .news-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Get Accredited Page */
#accredited {
    padding: 8rem 0 14rem;
    background: var(--secondary-color);
}

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

.price-card {
    background: var(--light-color);
    color: var(--secondary-color);
    border-radius: 0.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.title-card {
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 1rem;
    border-radius: 0.4rem;
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

.price-card .card-features {
    padding: 0 1.5rem 2rem;
}

.title-card h2 {
    font-size: 2.3rem;
    margin: 0.5rem 0 1.5rem;
}

.title-card:nth-of-type(2) h2 {
    color: var(--primary-color);
}

.price-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0 0.3rem;
}

.price-card h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0.3rem 0 0.5rem;
}

.price-card ul {
    list-style: none;
    text-align: left;
    padding: 1.2rem 0 0;
}

.price-card ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    gap: 0.5rem;
}

.price-card ul li p {
    margin: 0;
}

.price-card .fa-solid {
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    border-radius: 50%;
}

.fa-check {
    padding: 0.5rem;
    background: #00ff06;
}

.fa-xmark {
    background: #f14551;
    padding: 0.5rem;
    padding-left: 0.55rem;
}

.price-card hr {
    height: 1.5px;
    background: black;
    margin: 1.8rem 0 1.5rem;
    opacity: 1;
}

.price-card .small-text {
    font-size: 0.8rem;
    opacity: 0.8;
    display: block;
    margin-top: 0.4rem;
}

.tab-view {
    display: none;
}

.mobile {
    display: none;
}

@media screen and (max-width: 1200px) {
    .price-chart {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

}

@media screen and (max-width: 992px) {
    .desktop {
        display: none;
    }

    .title-card:nth-of-type(2) h2 {
        color: unset;
    }

    .title-card:nth-of-type(3) h2 {
        color: var(--primary-color);
    }

    .tab-view {
        display: block;
        margin-top: -12rem;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    }

    .tab-view .price-card {
        box-shadow: none;
        text-align: right;
    }

    .tab-view h3, .tab-view h4 {
        text-align: center;
    }

    .tab-view th {
        padding-top: 1rem;
    }

    .tab-view .title-cards {
        background-color: var(--secondary-color);
    }

    .tab-view .title-cards .title-card {
        margin-bottom: 0;
        border-radius: 0;
        display: table-cell;
        text-align: center;
        padding: 1rem;
    }

    .tab-view .title-card h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .tab-view i {
        margin: auto;
    }

    .tab-view td {
        padding: 0.3rem 0.8rem;
        max-width: 300px;
    }

    .tab-view hr {
        margin: 1.5rem 1rem;
    }

    .tab-view tr:last-of-type td {
        padding-bottom: 2.5rem;
    }
}

@media screen and (max-width: 682px) {
    .tab-view .button {
        font-size: 16px;
        padding: 0.4rem 0.5rem;
    }

    .tab-view .title-cards .title-card {
        padding: 0.8rem;
    }
}

@media screen and (max-width: 496px) {
    .tab-view {
        display: none;
    }

    .desktop {
        display: block;
    }

    .price-chart {
        gap: 1.5rem;
    }

    .card-features {
        display: none;
    }

    .mobile {
        display: block;
        padding-bottom: 1rem;
    }

    .mobile a {
        color: var(--primary-color);
        font-size: 1.2rem;
        font-weight: 500;
        text-decoration: underline;
    }
}



/* Contact Us Page */
.contact-form {
    background: white;
    display: flex;
    align-items: center;
    border-radius: 1rem;
    overflow: hidden;
    margin-top: -8rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}


.contact-form img {
    width: 40%;
    object-fit: cover;
    height: 560px;
}

form {
    width: 60%;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3.3rem;
    gap: 1.3rem 1.8rem;
}

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

.form-group label {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.form-group input, .form-group textarea {
    padding: 0.5rem;
    background: var(--light-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-group textarea {
    resize: none;
}

.form-group ::placeholder {
    font-style: italic;
}

.form-group .message, .form-group .subject, .form-group .full-width {
    grid-column: 1 / -1;
}

.form-group .alt-email {
    text-align: right;
    line-height: normal;
}

.form-group .alt-email p {
    margin: 0;
}

.form-group .alt-email a {
    color: var(--primary-color);
}

.form-group .alt-email a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 992px) {
    .contact-form {
        flex-direction: column;
    }

    .contact-form img {
        width: 100%;
        height: 300px;
    }

    form {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .form-group {
        grid-template-columns: 1fr;
    }

    .form-group .alt-email {
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .form-group {
        padding: 2rem;
    }
}

@media screen and (max-width: 400px) {
    .form-group {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 256px) {
    .form-group {
        padding: 1rem;
    }

    .contact-form img {
        display: none;
    }
}

/* FAQ Section */
.faq-title {
    text-align: center;
    margin-bottom: 3rem;
}

.faq h2 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.faq-title p {
    margin: 0;
}

.faq-item {
    background: var(--light-color);
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 400;
    padding: 1rem 1.5rem;
    background: var(--secondary-color);
    color: var(--light-color);
    border: 3px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-item p {
    padding: 1rem 1.5rem;
    text-align: justify;
    margin: 0;
    display: none;
}

.faq-item h3 i {
    transition: transform 0.3s ease;
}

.faq-item h3.active i {
    transform: rotate(180deg);
}

.faq-item h3.active+p {
    display: block;
}

/* Service Page */
#services-hero {
    background: var(--secondary-color);
    padding: 8rem 0;
}

#services-hero h1 {
    text-transform: uppercase;
}

#services-content {
    margin-top: -7rem;
}

@media screen and (max-width: 400px) {
    #services-hero {
        padding: 10rem 0 8rem;
    }

}

/* Aside Card */
.aside-card {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    position: sticky;
    top: 10rem;
}

.aside-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: normal;
}

.aside-card a {
    color: var(--light-color);
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.aside-card a:hover {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

.aside-card .contact {
    margin-top: 1rem;
    text-align: right;
}

@media screen and (max-width: 768px) {
    .aside-card a {
        font-size: 1rem;
    }
}

/* Service Content */
.service-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Service Description Section */
.service-description {
    text-align: justify;
}

.service-description .service-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-description img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.5rem;
}

@media screen and (max-width: 576px) {
    .service-description .service-images {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

}

/* How it Works Section */
.how-it-works {
    text-align: justify;
}

.how-it-works-list, .why-choose-us-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 2rem 0;
    justify-content: center;
}

.how-it-works-list .timeline-card {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    width: 40%;
}

.how-it-works-list .timeline-card p {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .how-it-works-list .timeline-card {
        width: 100%;
    }
}

/* Why Choose Us Section */
.why-choose-us-card {
    width: 40%;
    display: grid;
    grid-template-columns: 1fr 6fr;
    line-height: normal;
    /* align-items: center;  */
    gap: 0.8rem;
}

.why-choose-us-card .number {
    background: var(--primary-color);
    color: var(--secondary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    padding-top: 0.2rem;
    border: 3px solid var(--secondary-color);
}

@media screen and (max-width: 768px) {
    .why-choose-us-card {
        width: 100%;
        align-items: center;
    }
}

/* MODAL STYLING */
#myModal .carousel-caption {
    right: unset;
    left: unset;
    bottom: 0;
    padding-bottom: 0;
    width: 100%;
    background: linear-gradient(360deg, var(--secondary-color), transparent);
}

#myModal .carousel-caption p {
    margin: 0;
    margin-bottom: 0.3rem;
}

#myModal .carousel-caption h5 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0rem;
}

.modal-body .contact-form {
    margin-top: 0;
    box-shadow: none;
    align-items: stretch;
}

.modal-body form {
    border-left: 1px solid var(--primary-color);
    width: 65%;
}

.modal-body .form-group {
    padding: 1rem;
}

.modal-content .button.close {
    padding: 0.2rem 0.3rem;
    font-size: 14px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 8;

}

.modal-content .fa-xmark {
    background: unset;
    padding: 0.1rem;
}

.modal-content .button.close:hover .fa-xmark {
    color: var(--secondary-color);
}

.modal-content .contact-image {
    width: 35%;
    padding: 1rem;
    text-align: center;
    background-color: var(--secondary-color);
}

.modal-content .contact-image h2 {
    margin-top: 1rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.modal-content .contact-image img {
    border-radius: 0.5rem;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.modal-content .contact-image .welcome {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--light-color);
}

.modal-content .contact-image .title {
    color: var(--light-color);
    margin: 0;
    font-size: 14px;
}

@media screen and (max-width: 992px) {
    .modal-body form {
        width: 100%;
        border-left: none;
    }

    .modal-content .contact-image {
        width: 100%;
    }
}

@media screen and (max-width: 256px) {
    .modal-content .contact-image img {
        display: unset;
    }
}

/* Careers */
#careers-hero {
    background: var(--secondary-color);
    padding: 8rem 0 2rem;
}

.filters {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-group button {
    background: var(--secondary-color);
    color: var(--light-color);
    border: 1px solid var(--primary-color);
    border-radius: 1rem;
    padding: 0.4rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    line-height: normal;
}

.filter-group button:hover, .filter-group button.active {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.career-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.career-card {
    background: var(--light-color);
    color: var(--secondary-color);
    padding: 1rem 2.5rem;
    border-radius: 0.2rem;
    box-shadow: 0 0 10px rgba(52, 52, 52, 0.5);
    position: relative;
    display: none;
}

.career-card h3 {
    font-weight: 600;
    margin: 0.5rem 0;
    width: fit-content;
}

.career-card p {
    margin: 0.5rem 0;
    line-height: normal;
    width: fit-content;
}

.career-card p:first-of-type {
    font-style: italic;
    font-size: 16px;
}

.career-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.career-hero ul {
    display: flex;
    gap: 1.4rem;
    padding: 0;
    font-style: italic;
}

.career-hero li:first-of-type {
    list-style: none;
}

#related-jobs h2 {
    color: var(--primary-color);
}

@media screen and (max-width: 768px) {
    .career-cards {
        gap: 1rem;
    }

    .career-card {
        width: 100%;
    }

    .career-hero {
        flex-direction: column;
        gap: 1rem;
    }

    .career-cards a {
        display: contents;
    }

    .filter-group {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media screen and (max-width: 576px) {
    .career-card {
        padding: 1rem 1.5rem;
    }

    .career-hero ul {
        flex-direction: column;
        list-style: none;
    }
}

@media screen and (max-width: 400px) {
    #careers-hero {
        padding: 10rem 0 2rem;
    }

}

/* Apply Now */
#apply-now form {
    width: 100%;
}

#apply-now form .button {
    width: fit-content;
}

#apply-now form label {
    font-size: 1.1rem;
}

#apply-now form p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1rem 0 0;
}


#apply-now .survey form p {
    margin: 0 0 0.5rem;
    font-weight: 500;
}

#apply-now form .heading {
    text-decoration: underline;
    margin: 1rem 0;
    font-size: 1.4rem;
    font-weight: 700;
}

select {
    padding: 0.5rem;
    background: var(--light-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.radio-group {
    gap: 1rem;
    flex-direction: row !important;
    margin: 0.8rem 0;
    align-items: center;
}

.radio-group label {
    line-height: normal;
    margin-bottom: 0;
}

.survey .form-group {
    grid-template-columns: 1fr;
}

.fw-normal {
    font-size: 1.05rem !important;
}

.grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media screen and (max-width: 768px) {
    #apply-now form {
        width: 100%;
    }

    #apply-now form .button {
        width: 100%;
    }

    #apply-now form .grid-2 {
        grid-template-columns: 1fr;
    }

    #apply-now form .grid-2 div {
        width: 100%;
    }

    #apply-now form .survey .form-group {
        grid-template-columns: 1fr;
    }

    #apply-now form .survey .form-group div {
        width: 100%;
    }




}

/* Login Page */
#login .contact-form {
    width: 50%;
    margin: auto;
    margin-top: -10rem;
}

#login form {
    width: 100%;
}

#login .form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#login .form-group .button {
    max-width: 40%;
    width: 300px;
    margin: auto;
}

#login .form-group p {
    text-align: center;
}

@media screen and (max-width: 992px) {
    #login .contact-form {
        width: 80%;
    }

    #login .form-group .button {
        max-width: 100%;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    #login .contact-form {
        width: 100%;
    }
}

/* Team Page */
.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: -8rem;
    text-align: center;
}

/* Profile */
#profile {
    padding: 8rem 0 1rem;
    background: var(--secondary-color);
}

/* Blog Page */
/* .blogs-sidebar {
    position: sticky;
    top: 10rem;
} */

.blogs-sidebar h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.blogs-sidebar .sidebar-categories ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blogs-sidebar .sidebar-categories li {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 0 5px #00000014;
}

.blogs-sidebar .sidebar-categories li:hover, .blogs-sidebar .sidebar-categories li.active {
    background: var(--secondary-color);
}

.blogs-sidebar .sidebar-categories li a {
    color: var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0.8rem;
}

.blogs-sidebar .sidebar-categories li:hover a, .blogs-sidebar .sidebar-categories li.active a {
    color: var(--primary-color);
}

.blogs-sidebar .sidebar-tags ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blogs-sidebar .sidebar-tags li {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 0 5px #00000014;
}

.blogs-sidebar .sidebar-tags li:hover, .blogs-sidebar .sidebar-tags li.active {
    background: var(--secondary-color);
}

.blogs-sidebar .sidebar-tags li a {
    color: var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.1rem 1rem;
}

.blogs-sidebar .sidebar-tags li:hover a, .blogs-sidebar .sidebar-tags li.active a {
    color: var(--primary-color);
}

.blogs-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blogs-item {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.192);
    background: white;
    border-radius: 1rem;
}

.blogs-item .blog-img {
    max-height: 400px;
    overflow: hidden;
    border-radius: 1rem;
    border: 0.3rem solid white;
}

.blogs-item .blog-content {
    padding: 1rem;
}

.blogs-item .blog-content .blog-details {
    margin-bottom: 0.5rem;
    color: gray;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.blogs-item .blog-content a {
    color: var(--primary-color);
    transition: var(--transition);
}

.blogs-item .blog-content a i {
    font-size: 0.8rem;
    margin-left: 0.2rem;
    transition: var(--transition);
}

.blogs-item .blog-content a:hover, .blogs-item .blog-content a:hover i {
    color: var(--secondary-color);
}

.blogs-item .blog-content a:hover i {
    margin-left: 0.6rem;
}

.pagination-block {
    margin-top: 1.5rem;
}

.page-link {
    color: var(--primary-color);

}

.active>.page-link {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.blog-nav a span {
    color: var(--primary-color);
    transition: var(--transition);
}

.blog-nav a h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.blog-nav a:hover h4 {
    color: var(--primary-color);
}

.blog-nav a:hover span {
    margin: 0 0.5rem;
}

.related-blogs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.related-blogs h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    width: 100%;
}

.blog-card {
    background: white;
    color: var(--secondary-color);
    padding: 0.5rem 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(52, 52, 52, 0.305);
    position: relative;
    text-align: center;
}

.blog-card h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0.7rem 0;
    letter-spacing: 0;
    line-height: 1.4rem;
    width: 100%;
    color: var(--primary-color);
}

.blog-card a:hover h4 {
    color: var(--secondary-color);
}

.social-share {
    position: sticky;
    top: 10rem;

    text-align: center;
}

.social-share h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.social-share ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--primary-color);
    padding: 1rem 0.5rem;
    border-radius: 0.5rem;

}

.social-share i {
    color: var(--secondary-color);
    transition: var(--transition);
}

.social-share i:hover {
    color: white;
}

.blog-inner-content {
    margin-top: 2rem;
}

.blog-inner-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
}

.blog-inner-content strong {
    font-weight: 700;
}