/* Hero Section */
.hero-history {
    background: url('../../../images/history-banner.jpg') no-repeat center center/cover; /* Correct relative path */
    color: white;
    padding: 80px 20px; /* Reduced padding for a more compact look */
    text-align: center;
    position: relative; /* For overlay effects */
    margin-top: 80px; /* Add margin to account for the main menu height */
}

/* Overlay for Better Readability */
.hero-history::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)); /* Gradient overlay */
    z-index: 0; /* Place behind the content */
}

.hero-history .container {
    position: relative;
    z-index: 1; /* Ensure content stays above the overlay */
}

.section-title {
    font-size: 2.5rem; /* Slightly smaller for elegance */
    margin-bottom: 15px; /* Reduced margin */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); /* Softer text shadow */
}

.section-subtitle {
    font-size: 1.25rem; /* Slightly smaller for elegance */
    margin: 0;
    opacity: 0.9; /* Slightly more opaque */
    font-weight: 300; /* Lighter font weight */
}

/* History Content Section */
.history-content {
    padding: 40px 30px; /* More compact padding */
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); /* Elegant, softer shadow */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border-radius: 12px; /* Rounded corners */
    margin: 40px auto; /* Centered with more spacing */
    max-width: 1000px; /* Slightly narrower for a compact look */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border for depth */
}

.history-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444; /* Slightly darker for better readability */
    margin-bottom: 20px;
}

/* Philosophy Section */
.philosophy {
    padding: 40px 30px; /* More compact padding */
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); /* Elegant, softer shadow */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border-radius: 12px; /* Rounded corners */
    margin: 40px auto; /* Centered with more spacing */
    max-width: 1000px; /* Slightly narrower for a compact look */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border for depth */
}

.philosophy-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555; /* Slightly darker for better readability */
    margin-bottom: 20px;
}

/* Container */
.container {
    max-width: 1000px; /* Slightly narrower for a compact look */
    margin: 0 auto; /* Center the content */
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Adjustments for smaller screens */
    .hero-history {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .history-content,
    .philosophy {
        padding: 30px 20px; /* More compact padding for smaller screens */
        margin: 20px auto; /* Reduced margin for smaller screens */
    }

    .history-text p,
    .philosophy-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}