/* About Page Specific Styles - with unique naming to avoid conflicts */
.about-page-container {
    width: 100%;
    padding: 30px 15px;
    font-family: "cabin";
    margin-top: 130px;
}

.about-page-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.about-page-main-col {
    width: 100%;
    padding: 0 15px;
}

@media (min-width: 992px) {
    .about-page-main-col {
        width: 66.66%;
    }
    
    .about-page-image-col {
        width: 33.33%;
    }
}

.about-page-image-col {
    width: 100%;
    padding: 0 15px;
}

/* About Section */
.about-page-content-section {
    width: 100%;
    height: auto;
    margin: 20px auto;
    padding: 40px;
    background-color: #deb1fe;
    border-radius: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.about-page-heading {
    color: #0f0e0e;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 700;
}

.about-page-paragraph {
    font-size: 1.4rem;
    color: #100f0f;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 600;
    padding: 0 120px;
    /* border: 1px solid black; */
}

/* Button */
.about-page-contact-btn {
    background-color: #4b0082;
    color: white;
    padding: 15px 50px;
    font-size: 18px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1.2px;
    box-shadow: 2px 2px 3px rgba(49, 49, 49, 0.5);
    margin-top: 15px;
    width: auto;
    transition: background-color 0.3s ease;
}

.about-page-contact-btn:hover {
    background-color: #3d0367;
}

/* Image container */
.about-page-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-bottom: 15%;
}

.about-page-animation-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    position: absolute;
    margin-left: 50%; 
}

/* Override for navbar logo issue (targeted specifically) */
.navbar-cont .logo, 
.navbar-cont .logo img {
    border: none !important;
    outline: none !important;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .about-page-content-section {
        padding: 30px;
    }
    
    .about-page-paragraph {
        font-size: 1.3rem;
    }
    .about-page-paragraph{
        padding: 0 80px;
    }
}

@media screen and (max-width: 992px) {
    .about-page-image-container {
        margin-top: 40px;
    }
    
    .about-page-animation-image {
        max-height: 350px;
    }
    .about-page-paragraph{
        padding: 0 60px;
    }
}

@media screen and (max-width: 768px) {
    .about-page-content-section {
        padding: 25px;
    }
    
    .about-page-heading {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .about-page-paragraph {
        font-size: 1.2rem;
        padding: 0 30px;
    }
    
    .about-page-contact-btn {
        padding: 12px 40px;
        font-size: 16px;
    }
    
    .about-page-image-container {
        margin-top: 100px;
        margin-bottom: 20%;
    }
    
    .about-page-animation-image {
        max-height: 350px;
    }
    .about-page-animation-image {
        margin-left: auto;
    }
}

@media screen and (max-width: 576px) {
    .about-page-content-section {
        padding: 20px;
        margin: 10px auto;
    }
    
    .about-page-heading {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .about-page-paragraph {
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding: 0 15px;
    }
    
    .about-page-contact-btn {
        padding: 10px 30px;
        font-size: 16px;
        width: 80%;
    }
    
    .about-page-animation-image {
        max-height: 300px;
    }
}

@media screen and (max-width: 380px) {
    .about-page-content-section {
        padding: 15px;
    }
    
    .about-page-heading {
        font-size: 1.8rem;
    }
    
    .about-page-paragraph {
        font-size: 1rem;
    }
    
    .about-page-contact-btn {
        width: 100%;
        padding: 10px 20px;
    }
}