:root {
    --primary-green: #0e8433;
    --light-green: #e8f5e9;
    --dark-green: #0a5c23;
    --text-dark: #2a2a2a;
    --text-white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* Hero Section */
.hero-section {
    background: url('../images/about-bg.png') no-repeat center center; /* Fallback or use a better image if found */
    background-size: cover;
    padding: 180px 0 100px 0;
    position: relative;
    color: var(--text-dark);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6); /* Light overlay to make text readable */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-btn {
    background-color: #8bc34a; /* Light green button from design */
    color: var(--text-white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.hero-btn:hover {
    background-color: var(--primary-green);
    color: var(--text-white);
}

.hero-image-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-image-container img {
    max-height: 500px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

/* Wavy Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.wave-divider .shape-fill {
    fill: var(--light-green);
}

/* Middle Section */
.middle-section {
    background-color: var(--light-green);
    padding: 80px 0;
    position: relative;
}

.feature-icon-box {
    text-align: center;
    margin-bottom: 30px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    background: white;
}

.feature-title {
    font-weight: 600;
    color: var(--text-dark);
}

/* Product Cards */
.santri-card {
    border: none;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    overflow: hidden;
    padding: 20px;
}

.santri-card:hover {
    transform: translateY(-5px);
}

.santri-card img {
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

.santri-card-title {
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.santri-card-text {
    color: #666;
    font-size: 0.9rem;
}

/* Section Headings */
.santri-heading {
    margin-bottom: 50px;
    text-align: center;
}

.santri-heading h2 {
    font-weight: 700;
    color: var(--text-dark);
}

.santri-heading em {
    font-style: normal;
    color: var(--primary-green);
}

/* Footer Override */
footer {
    background-color: var(--dark-green) !important;
    color: white !important;
}

footer h3, footer h4, footer h5, footer h6, footer p, footer span, footer li {
    color: white !important;
}

footer hr {
    background-color: rgba(255,255,255,0.2) !important;
    border-color: rgba(255,255,255,0.2) !important;
}

footer a {
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: white !important;
}

/* Navbar Button Override */
.main-blue-button a {
    background-color: var(--primary-green) !important;
}

.main-blue-button a:hover {
    background-color: var(--dark-green) !important;
}

/* Active Link Override */
.header-area .main-nav .nav li a.active {
    color: var(--primary-green) !important;
}

/* Contact Section Override */
.contact-us {
    background-color: var(--light-green) !important;
}

.contact-us .section-heading h2, 
.contact-us .section-heading h2 em, 
.contact-us .section-heading h2 span {
    color: var(--text-dark) !important;
}

.contact-us .section-heading em {
    color: var(--primary-green) !important;
}

/* Contact Button Override */
button.main-button {
    background-color: var(--primary-green) !important;
}

button.main-button:hover {
    background-color: var(--dark-green) !important;
}
