/* CHANDANA IT SOLUTIONS COMPANY PAGE */
.company-hero {
    position: relative;
    min-height: 340px;
    background: #ffffff;
    color: #142c52;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    border-bottom: 1px solid #eef1f6;
}

.company-hero-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.company-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
    color: #ff8a00;
}

.company-hero h1 {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
}

.company-hero h2 {
    font-size: 25px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 18px;
}

.company-hero p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 600px;
    color: #4a5972;
    margin-bottom: 30px;
}

.company-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.company-primary-btn,
.company-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 7px;
    font-weight: 700;
    transition: 0.3s ease;
}

.company-primary-btn {
    background: #ff7200;
    color: #ffffff;
}

.company-primary-btn:hover {
    background: #e35f00;
    color: #ffffff;
    transform: translateY(-2px);
}

.company-secondary-btn {
    border: 2px solid #17396b;
    color: #17396b;
    background: transparent;
}

.company-secondary-btn:hover {
    background: #17396b;
    color: #ffffff;
}

/* COMPANY LOGO */
.company-logo-box {
    background: #ffffff;
    border-radius: 18px;
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.18);
}

.company-logo-box img {
    width: 100%;
    max-width: 370px;
    max-height: 250px;
    object-fit: contain;
}

/* SECTION HEADING */
.company-section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px;
}

.company-section-heading h2 {
    color: #142c52;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
}

.company-section-heading span {
    display: block;
    width: 55px;
    height: 3px;
    background: #1976d2;
    margin: 0 auto 18px;
}

.company-section-heading p {
    color: #555555;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* SERVICES */
.company-services {
    padding: 80px 0;
    background: #ffffff;
}

.service-card {
    height: 100%;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid #e5eaf2;
    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.11);
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e8f3ff;
    color: #176dcc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 28px;
}

.service-card h3 {
    color: #142c52;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 13px;
}

.service-card p {
    color: #555555;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ABOUT */
.company-about {
    background: #f7faff;
    padding: 80px 0;
}

.company-about-content h2,
.expertise-content h2,
.exam-content h2 {
    color: #142c52;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 10px;
}

.company-heading-line {
    display: block;
    width: 55px;
    height: 3px;
    background: #1976d2;
    margin-bottom: 25px;
}

.company-about-content p {
    color: #444444;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.company-about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-about-image img {
    width: 100%;
    max-width: 500px;
    height: 330px;
    object-fit: contain;
    border-radius: 10px;
}

/* CORE VALUES */
.company-values {
    padding: 80px 0;
    background: #ffffff;
}

.value-card {
    height: 100%;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #e4e9f1;
    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.06);
}

.value-icon {
    height: 100px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.value-card h3 {
    color: #142c52;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
}

.value-card p {
    color: #555555;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* EXPERTISE */
.company-expertise {
    background: #eaf6ff;
    padding: 80px 0;
}

.expertise-list {
    margin-top: 25px;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: 600;
    color: #142c52;
}

.expertise-item i {
    color: #1976d2;
    font-size: 22px;
}

.expertise-box {
    background: linear-gradient(135deg,
            #092957,
            #176dcc);
    color: #ffffff;
    padding: 50px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow:
        0 12px 35px rgba(9, 41, 87, 0.2);
}

.expertise-box>i {
    font-size: 55px;
    color: #ffb300;
    margin-bottom: 20px;
}

.expertise-box h3 {
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 15px;
}

.expertise-box p {
    color: #e8f2ff;
    line-height: 1.7;
    margin: 0;
}

/* EXAM BOOKS */
.exam-books {
    padding: 80px 0;
    background: #ffffff;
}

.exam-image {
    min-height: 330px;
    background: #f0f7ff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dceafa;
}

.exam-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #1976d2;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 65px;
    box-shadow:
        0 12px 30px rgba(25, 118, 210, 0.25);
}

.exam-content p {
    color: #555555;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* CONTACT */
.company-contact {
    padding: 80px 0;
    background: #eaf6ff;
}

.company-contact-info {
    height: 100%;
    background: linear-gradient(135deg,
            #092957,
            #176dcc);
    color: #ffffff;
    padding: 45px 35px;
    border-radius: 14px;
}

.company-contact-info h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 15px;
}

.company-contact-info>p {
    color: #e7f1ff;
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
    font-size: 16px;
}

.contact-detail i {
    width: 25px;
    color: #ffd02e;
    font-size: 18px;
}

.company-contact-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 14px;
    height: 100%;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.07);
}

.company-contact-form .form-control {
    min-height: 50px;
    border: 1px solid #cfd9e7;
    border-radius: 7px;
    padding: 12px 15px;
}

.company-contact-form textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.company-submit-btn {
    width: 100%;
    border: 0;
    padding: 14px;
    border-radius: 7px;
    background: #ff7200;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s ease;
}

.company-submit-btn:hover {
    background: #df5e00;
}

/* CLIENTS */
.company-clients {
    padding: 75px 0;
    background: #ffffff;
}

.clients-grid {
    overflow: hidden;
    padding-bottom: 10px;
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            #000 40px,
            #000 calc(100% - 40px),
            transparent);
    mask-image: linear-gradient(to right,
            transparent,
            #000 40px,
            #000 calc(100% - 40px),
            transparent);
}

.clients-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: clients-scroll 28s linear infinite;
}

.clients-grid:hover .clients-track {
    animation-play-state: paused;
}

@keyframes clients-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.client-logo {
    flex-shrink: 0;
    width: 145px;
    height: 76px;
    padding: 11px;
    border-radius: 8px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 3px 15px rgba(0, 0, 0, 0.08);
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .client-logo {
        width: 125px;
        height: 70px;
    }
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .company-hero {
        padding: 65px 0;
    }

    .company-hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .company-hero h1 {
        font-size: 43px;
    }

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

    .company-logo-box {
        min-height: 270px;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .company-hero {
        position: relative;
        width: 100%;
        min-height: 520px;
        padding: 50px 20px;
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
    }

    .company-hero h1 {
        font-size: 36px;
    }

    .company-hero h2 {
        font-size: 21px;
    }

    .company-hero p {
        font-size: 16px;
    }

    .company-section-heading h2 {
        font-size: 31px;
    }

    .company-about-content h2,
    .expertise-content h2,
    .exam-content h2 {
        font-size: 31px;
    }
}

@media (max-width: 575px) {
    .company-hero h1 {
        font-size: 31px;
    }

    .company-buttons {
        flex-direction: column;
    }

    .company-primary-btn,
    .company-secondary-btn {
        width: 100%;
    }

    .company-logo-box {
        min-height: 220px;
        padding: 20px;
    }

    .company-services,
    .company-about,
    .company-values,
    .company-expertise,
    .exam-books,
    .company-contact {
        padding: 55px 0;
    }

    .company-contact-info {
        padding: 35px 25px;
    }

    .company-contact-form {
        padding: 25px 20px;
    }

    .clients-track {
        gap: 12px;
    }

    /* COMPANY HERO - FIX BACKGROUND IMAGE */
    .company-hero {
        width: 100% !important;
        min-height: 420px !important;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* CHANDANA IT SOLUTIONS HERO BACKGROUND (Only the hero background is changed.) */
.company-hero {
    background: linear-gradient(135deg,
            #07336f,
            #1873bf);
}

.company-hero h1,
.company-hero h2 {
    color: #ffffff;
}

.company-hero p {
    color: #eaf5ff;
}

@media (max-width: 767px) {
    .company-hero {
        background-size: cover !important;
        background-position: center !important;
    }
}