/* ========================
   About Section Styles
   ======================== */

.about-section {
    padding: 100px 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

/* Background pattern */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f7941d' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
    z-index: 0;
}

.about-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.about-subtitle {
    font-size: 1.2rem;
    color: var(--neutral-500);
    max-width: 700px;
    margin: 30px auto 0;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
    width: 100%;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.about-text {
    flex: 6;
    padding: 0;
}

.about-image {
    flex: 4;
    overflow: hidden;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
}

.card-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.card-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--neutral-800);
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--neutral-800);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F7941D'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.card-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.card-link:hover {
    transform: translateX(8px);
}

.card-link::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F7941D'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.card-link:hover::after {
    transform: translateX(3px);
}

/* Responsive styles */
@media (max-width: 1200px) {
    .about-container {
        padding: 0 30px;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .about-section {
        padding: 80px 0;
    }
    
    .about-content {
        flex-direction: column-reverse;
        max-width: 90%;
        margin: 0 auto;
        gap: 0;
    }
    
    .about-text {
        flex: auto;
        width: 100%;
    }
    
    .about-image {
        flex: auto;
        width: 100%;
        height: 300px;
    }
    
    .about-title {
        font-size: 2.2rem;
    }
    
    .about-subtitle {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-container {
        padding: 0 20px;
    }
    
    .about-header {
        margin-bottom: 40px;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-title::after {
        width: 60px;
        height: 3px;
        bottom: -10px;
    }
    
    .about-subtitle {
        font-size: 1.1rem;
        margin-top: 20px;
    }
    
    .about-content {
        max-width: 95%;
    }
    
    .about-image {
        height: 250px;
    }
    
    .about-card {
        padding: 25px;
    }
    
    .card-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .feature-list li {
        padding-left: 25px;
        margin-bottom: 12px;
    }
    
    .feature-list li::before {
        width: 16px;
        height: 16px;
        top: 5px;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 50px 0;
    }
    
    .about-container {
        padding: 0 15px;
    }
    
    .about-header {
        margin-bottom: 30px;
    }
    
    .about-title {
        font-size: 1.6rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
        margin-top: 15px;
    }
    
    .about-content {
        max-width: 100%;
        border-radius: 10px;
    }
    
    .about-image {
        height: 200px;
    }
    
    .about-card {
        padding: 20px;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .card-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .feature-list {
        margin-bottom: 20px;
    }
    
    .feature-list li {
        font-size: 0.95rem;
        margin-bottom: 10px;
        padding-left: 22px;
    }
    
    .feature-list li::before {
        width: 14px;
        height: 14px;
        top: 4px;
    }
    
    .card-link {
        font-size: 1rem;
    }
}

/* Fix for very small screens */
@media (max-width: 375px) {
    .about-title {
        font-size: 1.4rem;
    }
    
    .about-card {
        padding: 15px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
}
