/* First About Section */
.firstabout-section {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    box-sizing: border-box;
}

.firstabout-container {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Left Section */
.firstabout-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
    text-align: left;
}

.firstabout-left h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #037377; /* Updated color */
}

.firstabout-left h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #666;
}

.firstabout-left p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* Updated Contact Us Button */
.firstabout-cta {
    display: inline-block;
    padding: 6px 15px; /* Reduced padding for smaller size */
    background-color: #037377; /* Primary button color */
    color: #ffffff; /* Text color */
    font-size: 0.9rem; /* Slightly smaller font size */
    font-weight: 600; /* Bold font for emphasis */
    border-radius: 5px; /* Rounded edges */
    text-decoration: none !important; /* Ensures underline is removed */
    text-align: center;
    transition: all 0.3s ease; /* Smooth transitions */
    margin-top: 10px;
    width: fit-content; /* Width adjusts dynamically to content */
    cursor: pointer; /* Pointer cursor for interactive element */
}

.firstabout-cta:hover {
    background-color: #025a5a; /* Slightly darker hover color */
    color: #ffffff; /* Ensures text stays white and readable */
    transform: scale(1.05); /* Slight enlargement on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle hover shadow */
    text-decoration: none !important; /* Ensures underline is removed on hover */
}



/* Right Section */
.firstabout-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.firstabout-video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(3, 115, 119, 0.4); /* Glowing effect */
    transition: box-shadow 0.3s ease;
}

.firstabout-video:hover {
    box-shadow: 0 0 30px rgba(3, 115, 119, 0.6); /* Glowing intensifies on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .firstabout-container {
        flex-direction: column;
    }

    .firstabout-left {
        padding-right: 0;
        text-align: center;
    }

    .firstabout-left h1,
    .firstabout-left h2 {
        text-align: center;
    }

    .firstabout-cta {
        margin: 20px auto 0;
    }

    .firstabout-right {
        margin-top: 20px;
    }
}
/* SecAbout Section */
.secabout-section {
    width: 100%;
    background: url('https://humanxpert.com/wp-content/uploads/2024/12/Mission-Vision-Background.jpg') center/cover no-repeat;
    padding: 60px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.secabout-container {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent background for content */
    border-radius: 10px;
    padding: 20px;
}

/* Image Section */
.secabout-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.secabout-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0; /* No border radius */
    box-shadow: none; /* No shadow */
    transform: scale(1); /* No scaling */
}

/* Text Section */
.secabout-text {
    flex: 1;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.secabout-heading {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #037377;
}

.secabout-mission,
.secabout-vision {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.secabout-icon {
    font-size: 2rem;
    color: #037377;
}

.secabout-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
}

.secabout-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .secabout-container {
        flex-direction: column;
    }

    .secabout-image {
        margin-bottom: 20px;
    }

    .secabout-text {
        padding: 20px 0;
        text-align: center;
    }

    .secabout-heading {
        text-align: center;
    }
}
/* Third About Section */
.thrdabout-section {
    width: 100%;
    background: #ffffff; /* Set background to pure white */
    padding: 60px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thrdabout-container {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Heading */
.thrdabout-heading-container {
    text-align: center;
    margin-bottom: 20px;
}

.thrdabout-heading {
    font-size: 2.5rem;
    font-weight: bold;
    color: #037377;
}

/* Content Layout */
.thrdabout-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

/* Cards Section */
.thrdabout-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    gap: 20px;
}

.thrdabout-card {
    background: #f9f9f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle glow effect */
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thrdabout-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Glow intensifies on hover */
}

.thrdabout-card i {
    font-size: 2rem;
    color: #037377;
    margin-bottom: 10px;
}

.thrdabout-card h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.thrdabout-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

/* Image Section */
.thrdabout-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thrdabout-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0; /* No border radius for seamless integration */
    box-shadow: none; /* Remove shadow for natural dissolve */
}

/* Responsive Design */
@media (max-width: 768px) {
    .thrdabout-content {
        flex-direction: column;
    }

    .thrdabout-cards {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }

    .thrdabout-image {
        margin-top: 20px;
    }
}
/* Fore About Section */
.foreabout-section {
    width: 100%;
    background: url('https://humanxpert.com/wp-content/uploads/2024/12/Soft-Pastel-Gradient-Background.jpg') center/cover no-repeat;
    padding: 60px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.foreabout-container {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.9); /* Add slight transparency for text clarity */
    border-radius: 10px;
    padding: 20px;
}

/* Heading */
.foreabout-heading-container {
    text-align: center;
    margin-bottom: 20px;
}

.foreabout-heading {
    font-size: 2.5rem;
    font-weight: bold;
    color: #037377;
    margin-bottom: 10px;
}

.foreabout-description {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

/* Content Layout */
.foreabout-content {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Certifications List */
.foreabout-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.foreabout-item {
    display: flex;
    gap: 15px;
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 0 10px rgba(255, 200, 18, 0.2); /* Added light yellow glow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foreabout-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 200, 18, 0.3); /* Slightly intensifies glow on hover */
}

.foreabout-item i {
    font-size: 2rem;
    color: #037377;
    flex-shrink: 0;
}

.foreabout-item h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.foreabout-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
}

/* Image Section */
.foreabout-image {
    flex: 1;
    display: flex;
    justify-content: center; /* Center align the image */
    align-items: center;
    padding: 10px; /* Ensure spacing */
}

.foreabout-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .foreabout-content {
        flex-direction: column;
    }

    .foreabout-image {
        margin-top: 20px;
    }
}
/* Five About Section */
.fiveabout-section {
    width: 100%;
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    padding: 60px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fiveabout-container {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Heading */
.fiveabout-heading-container {
    text-align: center;
    margin-bottom: 20px;
}

.fiveabout-heading {
    font-size: 2.5rem;
    font-weight: bold;
    color: #037377;
    margin-bottom: 10px;
}

.fiveabout-description {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

/* Cards: Single Row Layout */
.fiveabout-cards {
    display: flex; /* Changed from grid to flex */
    justify-content: space-between; /* Space between cards */
    align-items: stretch; /* Align cards evenly */
    gap: 20px; /* Add spacing between cards */
    width: 100%;
}

/* Adjust Card Width */
.fiveabout-card {
    flex: 1; /* All cards take equal width */
    max-width: 200px; /* Set a max width for better alignment */
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fiveabout-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.fiveabout-card i {
    font-size: 2.5rem;
    color: #037377;
    margin-bottom: 15px;
}

.fiveabout-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.fiveabout-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fiveabout-cards {
        flex-wrap: wrap; /* Allow wrapping for smaller screens */
    }

    .fiveabout-card {
        flex: 1 1 calc(50% - 20px); /* Two cards per row on smaller screens */
        max-width: 100%; /* Remove max width for smaller layouts */
    }
}

@media (max-width: 480px) {
    .fiveabout-card {
        flex: 1 1 100%; /* Single card per row on very small screens */
    }

    .fiveabout-heading {
        font-size: 2rem;
    }

    .fiveabout-description {
        font-size: 1rem;
    }
}
/* Sixabout Section */
.sixabout-section {
    width: 100%;
    background: #f9f9f9;
    padding: 40px 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Hide overflow to ensure a clean look */
}

.sixabout-container {
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

/* Section Heading */
.sixabout-heading {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* Infinite Scroll Gallery */
.sixabout-gallery {
    display: flex;
    gap: 20px;
    animation: scroll 70s linear infinite;
}

.sixabout-image {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease;
}

.sixabout-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sixabout-image:hover img {
    transform: scale(1.1);
}

.sixabout-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sixabout-image:hover::before {
    opacity: 1;
}

/* Keyframes for scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 12 - 20px * 12));
::contentReference[oaicite:0]{index=0}