/* About Page Styles */


/* Hero Section */

.about-hero {
    background-image: url('../assect/images/services/about\ banrer\ .png');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #0A483C 40%, rgba(10, 72, 60, 0.7) 100%);
}

.about-hero::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: lightSweep 5s infinite;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 10%;
    animation: fadeIn 1.2s ease-out forwards;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #64D87A;
    margin: 0;
    animation: slideInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}


/* Introduction Section */

.intro-section {
    padding: 70px 0;
    background-color: #fff;
}

.intro-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.intro-heading h2 {
    font-size: 40px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.3;
    position: relative;
    animation: slideInUp 0.8s ease-out forwards;
}

.intro-heading h2::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -10px;
    left: 0;
    background-color: #0A483C;
    transition: width 0.4s ease;
}

.intro-heading h2:hover::after {
    width: 100px;
}

.intro-details {
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.intro-text p {
    font-size: 22px;
    color: #9D9D9D;
    line-height: 1.6;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
    transform-origin: left;
    transition: transform 0.3s ease;
}

.intro-text p:hover {
    transform: scale(1.01);
}

.quick-links {
    border-left: 1px solid #000000;
    padding-left: 40px;
    animation: slideInRight 1s ease-out 0.5s forwards;
    opacity: 0;
    height: -webkit-fill-available;
}

.quick-links h3 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #000000;
}

.quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.quick-links li:hover {
    transform: translateX(5px);
}

.quick-links a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 22px;
}

.quick-links a:hover {
    color: #0A483C;
}


/* Partner Banner */

.partner-banner {
    background: linear-gradient(rgba(10, 72, 60, 0.579), rgba(10, 72, 60, 0.9)), url('../assect/images/services/Divider.png');
    background-size: cover;
    background-position: center;
    padding: 40px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.partner-banner::before {
    animation: fadeIn 1.5s ease-out forwards;
}

.partner-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 20px;
    animation: slideInUp 0.8s ease-out forwards;
}

.partner-content p {
    font-size: 25px;
    line-height: 1.6;
    margin: 0 auto;
    animation: slideInUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
}


/* Our Approach */

.our-approach {
    padding: 70px 0;
    background-color: #f9f9f9;
}

.our-approach h2 {
    text-align: left;
    font-size: 40px;
    margin-bottom: 50px;
    color: #000;
    position: relative;
    animation: slideInUp 0.8s ease-out forwards;
}

.our-approach h2::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -10px;
    left: 0%;
    background-color: #0A483C;
    transition: width 0.4s ease;
}

.our-approach h2:hover::after {
    width: 100px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.approach-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s ease;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: calc(0.2s * var(--card-index, 1));
    opacity: 0;
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.approach-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.approach-icon img {
    width: 100%;
    height: 100%;
}

.approach-card:hover .approach-icon {
    transform: scale(1.1) rotate(5deg);
}

.approach-card h3 {
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.approach-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}


/* Core Values */

.core-values {
    padding: 70px 0;
    background-color: white;
}

.core-values h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #000000;
    position: relative;
    animation: slideInUp 0.8s ease-out forwards;
}

.core-values h2::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -10px;
    left: 0%;
    background-color: #0A483C;
    transition: width 0.4s ease;
}

.core-values h2:hover::after {
    width: 100px;
}

.values-tabs {
    /* max-width: 800px; */
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    flex: 1;
    padding: 15px 5px;
    background-color: #f5f5f5;
    /* border: none; */
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    cursor: pointer;
    font-size: 25px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    border: 1px solid #565656;
    position: relative;
    overflow: hidden;
    border-bottom: none;
}

.tab-btn.active {
    background-color: #146C60;
    color: #FFFFFF;
    border: 1px solid #0A483C;
    transform: translateY(1px);
}

.tab-btn:not(:last-child) {
    margin-right: 30px;
}

.tab-btn:hover:not(.active) {
    background-color: #eaeaea;
    color: #0A483C;
}

.tab-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(10, 72, 60, 0.05);
    transition: all 0.4s ease;
    z-index: -1;
}

.tab-btn:hover:before {
    left: 0;
}

.tab-content {
    display: none;
    padding: 35px;
    border: 1px solid #000000;
    background-color: white;
    transition: all 0.4s ease;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-out forwards;
}

.tab-content p {
    margin: 0;
    line-height: 1.6;
    color: #333;
    font-size: 25px;
    transition: transform 0.3s ease;
}

.tab-content p:hover {
    transform: scale(1.01);
}


/* Animation keyframes for About page */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Responsive Styles */

@media screen and (max-width: 992px) {
    .approach-grid {
        grid-template-columns: 1fr 1fr;
    }
    .intro-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .quick-links {
        border-left: none;
        border-top: 1px solid #ddd;
        padding-left: 0;
        padding-top: 30px;
    }
}

@media screen and (max-width: 768px) {
    .intro-text p {
        font-size: 16px;
    }
    .approach-grid {
        grid-template-columns: 1fr;
    }
    .about-hero {
        margin-top: 59px;
        height: 300px;
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .tab-btn:not(:last-child) {
        margin: unset;
    }
    .tab-content p {
        font-size: 16px;
    }
    .hero-content {
        padding: unset;
    }
    .intro-heading h2 {
        font-size: 1.6rem;
        text-align: center;
    }
    .partner-content h2 {
        font-size: 1.6rem;
    }
    .partner-content p {
        font-size: 1rem;
    }
    .tab-btn {
        padding: 10px 5px;
        font-size: 20px;
    }
    .quick-links h3 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #000000;
    text-align: center;
}
   .our-approach h2 {
    text-align: center;
    font-size: 1.6rem;
    }
    .approach-card h3 {
    font-size: 1.3rem;
    }
    .quick-links ul {
    text-align: center; 
     }
    .quick-links a {
    font-size: 18px;
     }
}

@media screen and (max-width: 576px) {
    .tabs-nav {
        flex-direction: column;
        border-bottom: none;
    }
    .tab-btn {
        border-radius: 0;
        margin-right: 0;
        margin-bottom: 2px;
    }
    .tab-btn.active {
        transform: none;
    }
    .intro-section,
    .partner-banner,
    .our-approach,
    .core-values {
        padding: 40px 0;
    }
}