/* About Us Page Styles */

/* Hero Section */
.about-hero {
    background-image: url('http://localhost/modispacesganges/wp-content/uploads/2026/01/bread-crum.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.about-hero .container {
    padding: 0 20px;
}

.about-title {
    font-size: 3rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    word-wrap: break-word;
}

/* Content Sections */
.about-content-section {
    background-image: url('http://localhost/modispacesganges/wp-content/uploads/2026/01/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
}

.about-content-section .container {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.about-content-section-alt {
    background-color: #ffc0ac;
    padding: 80px 0;
}

.about-content-section-alt .container {
    padding: 0 20px;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 40px;
}

.about-content-wrapper-reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text-col {
    padding-right: 20px;
}

.about-heading {
    font-size: 2rem;
    color: #8B4513;
    line-height: 1.4;
    margin-bottom: 25px;
    font-weight: bold;
    word-wrap: break-word;
}

.about-heading-alt {
    font-size: 2rem;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 25px;
    font-weight: bold;
    word-wrap: break-word;
}

.about-text-col p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-image-col {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.about-image-col img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* About Image Slider */
.about-image-slider {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

/* Hide extra slides before Slick initializes */
.about-image-slider:not(.slick-initialized) .about-slide {
    display: none;
}

.about-image-slider:not(.slick-initialized) .about-slide:first-child {
    display: block;
}

.about-slide {
    outline: none;
}

.about-slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

/* Slick slider arrows for About Us */
.about-image-slider .slick-prev,
.about-image-slider .slick-next {
    z-index: 100;
    width: 45px;
    height: 45px;
}

.about-image-slider .slick-prev {
    left: 20px;
}

.about-image-slider .slick-next {
    right: 20px;
}

.about-image-slider .slick-prev:before,
.about-image-slider .slick-next:before {
    font-size: 32px;
    color: #fff;
    opacity: 0.8;
}

.about-image-slider .slick-prev:hover:before,
.about-image-slider .slick-next:hover:before {
    opacity: 1;
}

.about-image-slider .slick-dots {
    bottom: 20px;
}

.about-image-slider .slick-dots li button:before {
    font-size: 12px;
    color: #fff;
    opacity: 0.6;
}

.about-image-slider .slick-dots li.slick-active button:before {
    color: #e67e22;
    opacity: 1;
}

.about-description {
    margin-top: 50px;
}

.about-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-description strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-hero {
        padding: 70px 0;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
    
    .about-content-section,
    .about-content-section-alt {
        padding: 70px 0;
    }
    
    .about-content-wrapper,
    .about-content-wrapper-reverse {
        gap: 50px;
    }
    
    .about-heading,
    .about-heading-alt {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .about-hero {
        padding: 60px 0;
    }
    
    .about-title {
        font-size: 2.2rem;
    }
    
    .about-content-section,
    .about-content-section-alt {
        padding: 60px 0;
    }
    
    .about-content-wrapper,
    .about-content-wrapper-reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text-col {
        padding-right: 0;
    }
    
    .about-heading,
    .about-heading-alt {
        font-size: 1.6rem;
    }
    
    .about-image-slider {
        max-width: 100%;
    }
    
    .about-slide img {
        max-height: 450px;
    }
    
    .about-content-section {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 50px 0;
        background-attachment: scroll;
    }
    
    .about-title {
        font-size: 1.8rem;
        padding: 0 15px;
    }
    
    .about-content-section,
    .about-content-section-alt {
        padding: 50px 0;
        background-attachment: scroll;
    }
    
    .about-content-wrapper,
    .about-content-wrapper-reverse {
        gap: 35px;
    }
    
    .about-heading,
    .about-heading-alt {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .about-text-col p,
    .about-description p {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: left;
    }
    
    .about-description {
        margin-top: 40px;
    }
    
    .about-image-slider .slick-prev,
    .about-image-slider .slick-next {
        width: 38px;
        height: 38px;
    }
    
    .about-image-slider .slick-prev {
        left: 12px;
    }
    
    .about-image-slider .slick-next {
        right: 12px;
    }
    
    .about-image-slider .slick-prev:before,
    .about-image-slider .slick-next:before {
        font-size: 28px;
    }
    
    .about-image-slider .slick-dots {
        bottom: 15px;
    }
    
    .about-image-slider .slick-dots li button:before {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 40px 0;
    }
    
    .about-title {
        font-size: 1.5rem;
        padding: 0 10px;
    }
    
    .about-content-section,
    .about-content-section-alt {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .about-content-wrapper,
    .about-content-wrapper-reverse {
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .about-heading,
    .about-heading-alt {
        font-size: 1.25rem;
        margin-bottom: 18px;
        line-height: 1.3;
    }
    
    .about-text-col p,
    .about-description p {
        font-size: 0.9rem;
        line-height: 1.65;
        margin-bottom: 15px;
    }
    
    .about-description {
        margin-top: 30px;
    }
    
    .about-image-slider {
        border-radius: 8px;
    }
    
    .about-image-slider .slick-prev,
    .about-image-slider .slick-next {
        width: 32px;
        height: 32px;
    }
    
    .about-image-slider .slick-prev {
        left: 8px;
    }
    
    .about-image-slider .slick-next {
        right: 8px;
    }
    
    .about-image-slider .slick-prev:before,
    .about-image-slider .slick-next:before {
        font-size: 24px;
    }
    
    .about-image-slider .slick-dots {
        bottom: 12px;
    }
    
    .about-image-slider .slick-dots li {
        margin: 0 3px;
    }
    
    .about-image-slider .slick-dots li button:before {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 35px 0;
    }
    
    .about-title {
        font-size: 1.3rem;
        padding: 0 10px;
    }
    
    .about-content-section,
    .about-content-section-alt {
        padding: 35px 0;
    }
    
    .about-heading,
    .about-heading-alt {
        font-size: 1.15rem;
        margin-bottom: 15px;
    }
    
    .about-text-col p,
    .about-description p {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .about-content-wrapper,
    .about-content-wrapper-reverse {
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .about-description {
        margin-top: 25px;
    }
    
    .about-image-slider {
        border-radius: 6px;
    }
    
    .about-image-slider .slick-prev,
    .about-image-slider .slick-next {
        width: 28px;
        height: 28px;
    }
    
    .about-image-slider .slick-prev {
        left: 5px;
    }
    
    .about-image-slider .slick-next {
        right: 5px;
    }
    
    .about-image-slider .slick-prev:before,
    .about-image-slider .slick-next:before {
        font-size: 20px;
    }
    
    .about-image-slider .slick-dots {
        bottom: 8px;
    }
}

@media (max-width: 360px) {
    .about-hero {
        padding: 30px 0;
    }
    
    .about-title {
        font-size: 1.2rem;
    }
    
    .about-content-section,
    .about-content-section-alt {
        padding: 30px 0;
    }
    
    .about-heading,
    .about-heading-alt {
        font-size: 1.05rem;
    }
    
    .about-text-col p,
    .about-description p {
        font-size: 0.85rem;
        line-height: 1.55;
    }
    
    .about-image-slider .slick-prev,
    .about-image-slider .slick-next {
        width: 26px;
        height: 26px;
    }
    
    .about-image-slider .slick-prev:before,
    .about-image-slider .slick-next:before {
        font-size: 18px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .about-hero {
        padding: 40px 0;
    }
    
    .about-content-section,
    .about-content-section-alt {
        padding: 40px 0;
    }
    
    .about-title {
        font-size: 1.6rem;
    }
}

@media print {
    .about-image-slider .slick-prev,
    .about-image-slider .slick-next,
    .about-image-slider .slick-dots {
        display: none !important;
    }
    
    .about-hero {
        background: none !important;
        padding: 20px 0;
    }
    
    .about-content-section {
        background: none !important;
        padding: 20px 0;
    }
    
    .about-title {
        color: #000 !important;
        text-shadow: none !important;
    }
}
