﻿.about-link {
    color: var(--primary3) !important;
}

.about-history-section {
    width: 100%;
    gap: 60px;
}

.about-history-section-image {
    background-color: white;
    padding: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    width: 596px;
    max-height: 1042px;
    position: relative;
}

.about-history-section-text {
    width: 543px;
    gap: 20px;
}

.about-history-h1 {
    opacity: 0;
    transform: translateX(-487px); 
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.history-img {
    width: 100%;
}

.history-heart-img1 {
    width: 206px;
    position: absolute;
    top: -3%;
    right: -12%;
}

.history-heart-img2 {
    width: 125px;
    position: absolute;
    bottom: 22.6%;
    left: -10.5%;
}

.about-history-section-text h5 {
    color: var(--primary4);
}

h1 {
    color: var(--primary1);
}

@media (max-width: 768px) {
    .about-history-section {
        margin-top: -100px;
    }

    .about-history-section-image {
        width: 370px;
    }

    .history-heart-img1 {
        width: 135px;
    }

    .history-heart-img2 {
        width: 79px;
    }
}

@media (max-width: 600px) {
    .about-history-section-text {
        width: 100%;
        padding: 30px;
    }
}

@media (max-width: 500px) {
    .about-history-section-image {
        width: 300px;
    }

    .history-heart-img1 {
        width: 100px;
        right: -8px;
    }

    .history-heart-img2 {
        width: 61px;
    }
}

.testimonial-container {
    margin-top: 100px;
}

.about-partner-section {
    position: relative;
    margin-top: 100px;
    background-image: url('/Images/About/partners.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    width: 100%;
    min-height: 900px;
}

.about-partner-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F8F8F8;
    opacity: 0.95;
    z-index: 1;
}

.about-partner-section-content {
    position: relative;
    width: 100%;
    z-index: 2;
    background-color: transparent;
    text-align: center;
}

.about-partner-section-content h5 {
    color: var(--primary4);
}

.about-partner-section-content h1 {
    color: var(--primary1);
}

.about-partner-cards {
    gap: 20px;
    margin-top: 200px;
}

.about-partner-card {
    width: 359px;
    min-height: 350px;
    background-color: var(--primary1);
    border-radius: 10px;
    position: relative;
    padding: 20px;
}

.about-partner-card-img-container {
    width: 259px;
    height: 259px;
    border-radius: 100%;
    margin-top: -185px;
    position: relative;
}

.about-partner-card-img {
    width: 100%;
    border-radius: 100%;
}

.about-partner-card-info {
    margin-top: 20px;
}

.about-partner-card-info h5 {
    color: var(--primary3);
}

.about-partner-card-info p, .about-partner-card a {
    color: white !important;
}

.about-partner-card a {
    width: 144px;
    height: 47px;
    background-color: var(--primary3);
    border-radius: 10px;
    gap: 5px;
    text-decoration: none;
}

.about-partner-card a:hover {
    opacity: 0.8;
}

.about-partner-links {
    border-radius: 100%;
    gap: 10px;
    position: absolute;
    bottom: 0;
    height: 0px;
    width: 100%;
    transition: all 0.5s ease;
}

.about-partner-links a {
    font-size: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary4);
    border-radius: 100%;
    color: white;
    opacity: 0;
}

.about-partner-links a i {
    transition: transform 0.6s ease-in-out;
}

.about-partner-links a i:hover {
    transform: rotateX(360deg);
}

@media (max-width: 768px) {
    .about-partner-section-content {
        padding: 60px 20px;
    }

    .about-partner-cards {
        gap: 200px;
    }
}

@media (max-width: 600px) {
    .about-partner-card {
        width: 330px;
    }

    .about-partner-card-img-container {
        width: 200px;
        height: 200px;
        margin-top: -132px;
    }
}

.about-me-section-container {
    width: 100%;
    gap: 60px;
    padding: 100px 20px;
}

.about-me-section-image {
    width: 579px;
    position: relative;
}

.about-me-section-image .about-me-img {
    width: 100%;
}

.about-me-section-text {
    width: 508px;
}

.about-me-section-text h1 {
    color: var(--primary1);
}

.about-me-section-text h5 {
    color: var(--primary4);
}

.about-me-heart-img {
    position: absolute;
    width: 79px;
    top: 10%;
    left: -3%;
}

.about-me-piece-img {
    position: absolute;
    width: 123px;
    bottom: -5.8%;
    right: -2.5%;
}

@media (max-width: 768px) {
    .about-me-section-image {
        width: 370px;
    }

    .about-me-heart-img {
        width: 70px;
    }

    .about-me-piece-img {
        width: 78px;
    }
}

@media (max-width: 600px) {
    .about-me-section-text {
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 500px) {
    .about-me-section-image {
        width: 300px;
    }
}