﻿
/* Hero Section Styles */
.hero-section {
    background-image: url('/lib/images/about.webp'); /* replace with your image */
    background-size: cover;
    background-position: center;
    height: 80vh;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    padding: 12px 25px;
    background-color: #ff6b00;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .btn-primary:hover {
        background-color: #e65a00;
    }
/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*=============about us==========================*/
.about-section {
    padding: 60px 20px;
    background-color: #fff;
}

.about-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Left Column */
.about-images {
    position: relative;
    flex: 1 1 35%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    margin-top: 73px;
}

.sub-image {
    width: 60%;
    border-radius: 8px;
    object-fit: cover;
    margin-top: -55px;
    margin-left: 195px;
}

/* Experience Tag */
.experience-tag {
    position: absolute;
    top: 31px;
    left: -29px;
    background-color: #17b4a7;
    color: #fff;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    text-align: center;
    z-index: 1;
    font-weight: bold;
}
    .experience-tag strong {
        font-size: 22px;
        display: block;
    }

/* Right Column */
.about-content {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-subheading {
    color: #888;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 10px;
}

.about-heading {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
}

.about-description {
    font-size: 16px;
    color: #444;
    margin-bottom: 30px;
}

/* Vision & Mission Boxes */
.vision-mission {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.box {
    flex: 1;
    min-width: 240px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: #17b4a7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 10px;
}

.box h4 {
    margin-bottom: 10px;
    color: #111;
}

.box p {
    color: #555;
    font-size: 15px;
}

/* Read More Button */
.read-more-btn {
    background-color: #17b4a7;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .read-more-btn i {
        margin-left: 8px;
    }

    .read-more-btn:hover {
        background-color: #149c93;
    }

/* Responsive */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .vision-mission {
        flex-direction: column;
    }

    .main-image, .sub-image {
        width: 100%;
    }
}

/*===========why choose us============*/
/* Overall Section */
.why-choose-us-flex {
    background: #b0b0b0;
    padding: 43px 10px;
    font-family: 'Open Sans', sans-serif;
}
/* Flex Container */
.flex-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    max-width: 1242px;
    margin: auto;
    height: 100%;
}
/* Each of the 3 main sections */
.flex-item {
    flex: 1 1 33.333%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Image Section */
.image-block .main-image {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    height: 328px;
    margin-top:0px;
}

/* Benefit Boxes */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.benefit-box {
    background-color: #E6F4EA;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

    .benefit-box .icon {
        font-size: 28px;
        color: #5CA88B;
        margin-bottom: 10px;
    }

    .benefit-box h3 {
        font-size: 16px;
        font-weight: 600;
        margin: 0 0 8px;
        color: #333;
    }

    .benefit-box p {
        font-size: 14px;
        color: #555;
        margin: 0;
    }

/* Text Block */
.text-block {
    align-items: flex-start;
    text-align: left;
}

.subheading {
    text-transform: uppercase;
    font-size: 14px;
    color: #5CA88B;
    margin-bottom: 10px;
}

.main-heading {
    font-size: 28px;
    font-weight: 700;
    color: #2A2A2A;
    margin-bottom: 20px;
}

.description {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .flex-container {
        flex-direction: column;
        gap: 40px;
    }

    .flex-item {
        width: 100%;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .main-heading {
        font-size: 24px;
    }
}


/*===============certifications===================*/
.certifications-section {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.certification-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 150px;
}

    .cert-card img {
        width: 100px;
        height: auto;
        margin-bottom: 10px;
        transition: transform 0.3s ease;
    }

        .cert-card img:hover {
            transform: scale(1.1);
        }

    .cert-card p {
        font-size: 14px;
        color: #444;
    }

    /*=================cta section=================*/
.cta-section {
    background: linear-gradient(135deg, #17b4a7 0%, #0e8f8a 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-heading {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-subtext {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease, color 0.3s ease;
}

    .cta-btn.primary {
        background-color: #fff;
        color: #17b4a7;
    }

        .cta-btn.primary:hover {
            background-color: #e6f7f6;
        }

    .cta-btn.secondary {
        border: 2px solid #fff;
        color: #fff;
    }

        .cta-btn.secondary:hover {
            background-color: #fff;
            color: #17b4a7;
        }
