/* STYLES FOR ABOUT US PAGE (about-us-style.css)
  ======================================================
  - Contains all custom styles from your file.
  - Contains styles for the hero header and breadcrumbs.
*/

/* Hero Header (from inline style and dynamic CSS) */
.sabbi-page-header {
    background-image: url(https://www.susangreenecopywriter.com/wp-content/uploads/2013/01/iStock_000039291924_Medium.jpg);
    background-color: #333; /* Fallback */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
    position: relative;
    text-align: center;
}

.sabbi-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.sabbi-page-header .page-title {
    color: #ffffff;
    font-family: Montserrat, sans-serif;
    line-height: 40px;
    font-weight: 700;
    font-size: 28px;
    margin: 0;
    text-transform: uppercase;
}

/* Breadcrumbs (from dynamic CSS) */
.auth-breadcrumb-wrap {
    background-color: #EDF2F6;
    font-family: "Open Sans", sans-serif;
}
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.breadcrumb {
    padding-top: 8px;
    padding-right: 15px;
    padding-bottom: 8px;
    padding-left: 15px;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}
.sabbi-breadcrumb {
    color: #000000;
}
.sabbi-breadcrumb li {
    display: inline-block;
}
.sabbi-breadcrumb li a {
    color: #000000;
    text-decoration: none;
}
.sabbi-breadcrumb li a:hover {
    color: #DB3243;
}
.sabbi-breadcrumb > li > span.separator {
    color: #000;
    margin: 0 8px;
}

/* Page Content Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
    /* This pushes all content down to prevent overlap
      with a sticky/fixed header.
    */
    padding-top: 80px; 
}

/* NEW: Main content wrapper */
.about-main-content {
    max-width: 1200px;
    margin: 2rem auto; /* Desktop margins */
    padding: 0 1rem; /* Desktop padding */
}

/* Main Container Styles */
.about-container-0004 {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
}

/* Hero Section */
.hero-section-0004 {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-title-0004 {
    color: #DB3243;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
}

.hero-subtitle-0004 {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mission Section */
.mission-section-0004 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission-card-0004 {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mission-card-0004:hover {
    transform: translateY(-5px);
}

.mission-icon-0004 {
    color: #DB3243;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.mission-title-0004 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
}

.mission-text-0004 {
    color: #666;
    line-height: 1.6;
}

/* History Section */
.history-section-0004 {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.history-content-0004 {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.history-list-0004 {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.history-item-0004 {
    background: #fff5f5;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.history-item-0004:hover {
    transform: translateX(10px);
    background: #fff;
    box-shadow: 0 4px 15px rgba(219, 50, 67, 0.1);
}

.history-icon-0004 {
    color: #DB3243;
    font-size: 1.5rem;
}

/* Features Section */
.features-section-0004 {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.features-grid-0004 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item-0004 {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background: #fff5f5;
    transition: all 0.3s ease;
}

.feature-item-0004:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(219, 50, 67, 0.1);
}

.feature-icon-0004 {
    color: #DB3243;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-title-0004 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
}

.feature-text-0004 {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact Section */
.contact-section-0004 {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem; /* Added margin to match others */
}

.contact-info-0004 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item-0004 {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff5f5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item-0004:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(219, 50, 67, 0.1);
}

.contact-icon-0004 {
    color: #DB3243;
    font-size: 1.5rem;
}

.contact-text-0004 {
    color: #666;
}

.contact-text-0004 strong {
    display: block;
    color: #333;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    font-family: Montserrat, sans-serif;
}

.contact-text-0004 a {
    color: #DB3243;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text-0004 a:hover {
    color: #b82a38;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .about-main-content {
        margin: 1rem;
        padding: 0;
    }

    .hero-section-0004 {
        padding: 2rem;
    }

    .hero-title-0004 {
        font-size: 2rem;
    }

    .mission-section-0004 {
        grid-template-columns: 1fr;
    }

    .history-section-0004,
    .features-section-0004,
    .contact-section-0004 {
        padding: 2rem;
    }

    .features-grid-0004 {
        grid-template-columns: 1fr;
    }

    .contact-info-0004 {
        grid-template-columns: 1fr;
    }

    .history-list-0004 {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes - Replaced JS with simple CSS */
.hero-section-0004,
.mission-card-0004,
.history-item-0004,
.feature-item-0004,
.contact-item-0004 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

/* Staggered animation */
.mission-card-0004:nth-child(2) { animation-delay: 0.1s; }
.history-item-0004:nth-child(1) { animation-delay: 0.1s; }
.history-item-0004:nth-child(2) { animation-delay: 0.2s; }
.history-item-0004:nth-child(3) { animation-delay: 0.3s; }
.history-item-0004:nth-child(4) { animation-delay: 0.4s; }
.history-item-0004:nth-child(5) { animation-delay: 0.5s; }
.history-item-0004:nth-child(6) { animation-delay: 0.6s; }

.feature-item-0004:nth-child(1) { animation-delay: 0.1s; }
.feature-item-0004:nth-child(2) { animation-delay: 0.2s; }
.feature-item-0004:nth-child(3) { animation-delay: 0.3s; }

.contact-item-0004:nth-child(1) { animation-delay: 0.1s; }
.contact-item-0004:nth-child(2) { animation-delay: 0.2s; }
.contact-item-0004:nth-child(3) { animation-delay: 0.3s; }
.contact-item-0004:nth-child(4) { animation-delay: 0.4s; }


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}