/* About Us Page Specific Styles */

/* About Hero Section with Fixed Title */
.about-hero {
    padding: 120px 0 50px; /* Increased top and bottom padding */
    background-color: #f9f9f9;
    text-align: center;
    margin-top: 0; /* Ensure no extra margin pushing content down */
    width: 100%;
    overflow: hidden; /* Prevent any content from causing horizontal scroll */
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(245, 245, 245, 0.9), rgba(250, 250, 250, 0.8));
    z-index: 0;
}

.about-hero .headline {
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Hero Image Container and Image */
.hero-image-container {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
}

/* General content styling if not covered by styles.css */
.content-section {
    padding: 40px 20px; /* Consistent padding */
}

.content-wrapper {
    max-width: 900px; /* Max width for readability */
    margin: 0 auto;
}

/* Full width wrapper for sections that need to extend edge to edge */
.full-width {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

/* Headline and Section Titles */
.headline {
    font-family: 'Playfair Display', serif;
    font-size: 42px; /* Increased font size for more prominence */
    font-weight: 700;
    text-align: center;
    color: #333;
    margin-top: 0; /* Remove top margin to prevent pushing down */
    margin-bottom: 40px;
    padding-top: 0; /* Remove top padding to prevent pushing down */
    position: relative;
    z-index: 1; /* Ensure it's above other elements but below navigation */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8); /* Add text shadow for better visibility */
    line-height: 1.2; /* Improve line height for better readability */
}

/* Introductory Image Styling */
.about-intro-image-container {
    text-align: center; /* Center the image */
    margin: 30px 0 40px; /* Spacing above and below */
}

.about-intro-image-container img {
    max-width: 100%; /* Responsive image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Slightly rounded corners for elegance */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    /* Consider a max-height if you want to constrain its vertical size */
    /* max-height: 400px; */ 
}

/* About sections styling */
.about-section {
    margin-bottom: 70px; /* Increased margin for better separation */
    padding: 30px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
    text-align: left;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #333, #999);
}

.section-content {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

.section-content p {
    margin-bottom: 20px;
}

.section-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.section-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.section-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}

/* CEO Section Specifics */
.ceo-section {
    margin-top: 50px;
    padding-top: 30px;
}

.ceo-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.ceo-image-placeholder {
    flex: 0 0 280px;
    height: 350px;
    background-color: #eaeaea;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.ceo-image-placeholder:hover {
    transform: scale(1.02);
}

.ceo-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.ceo-info {
    flex: 1;
    padding: 10px 0;
}

.ceo-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.ceo-info .title {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #555;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.ceo-info p {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Comprehensive Responsive Design */
@media (max-width: 1200px) {
    .hero-image {
        max-width: 90%;
    }
    
    .content-wrapper {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .about-hero .headline {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .ceo-content {
        flex-direction: column;
        align-items: center;
    }
    
    .ceo-image-placeholder {
        margin-bottom: 30px;
        width: 100%;
        max-width: 350px;
    }
    
    .ceo-info {
        text-align: center;
    }
    
    .ceo-info .title {
        text-align: center;
    }
    
    .section-title {
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 100px 0 30px;
    }
    
    .about-hero .headline {
        font-size: 32px;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .about-section {
        padding: 20px;
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-content {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .ceo-section {
        padding: 25px;
    }
    
    .ceo-info h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .about-hero .headline {
        font-size: 28px;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .ceo-image-placeholder {
        height: 280px;
    }
    
    .about-section {
        padding: 15px;
    }
}
