/* About Page Custom Styles */
:root {
    --primary-green: #2e7d32;
    --light-green: #4caf50;
    --dark-green: #1b5e20;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-muted: #6c757d;
}

/* General Styles */
.section-padding {
    padding: 3rem 0;
}

/* Typography */
h1 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    border-radius: 2px;
}

/* Card Styles */
.card {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); /* Always visible soft shadow */
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); /* Slightly deeper shadow on hover */
  }
  
.card-header {
    background-color: white !important;
    border-bottom: 2px solid rgba(46, 125, 50, 0.3); /* ✅ Add bottom border to header */
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-green);
}

.card-body {
    padding: 2rem;
    background: white;
}

/* List Styles */
.card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-body ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.card-body ul li:last-child {
    border-bottom: none;
}

.card-body ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.1rem;
}

.card-body ul li:hover {
    padding-left: 2.5rem;
    color: var(--primary-green);
}

/* Text Styles */
.card-body p {
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    text-align: justify;
}

.card-body p:last-child {
    margin-bottom: 0;
}

/* Decorative Leaf */
.card-custom:last-child .card-body:before {
    content: '🌿';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-padding {
        padding: 2rem 0;
    }
    .card-body {
        padding: 1.5rem;
    }
    h1 {
        font-size: 1.8rem;
    }
    .card-header {
        padding: 1.2rem;
        font-size: 1.1rem;
    }
    .card-custom:hover {
        transform: none;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 1.5rem 0;
    }
    .card-body {
        padding: 1.2rem;
    }
    h1 {
        font-size: 1.6rem;
        padding-bottom: 0.8rem;
    }
    h1:after {
        width: 80px;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-custom {
    animation: fadeInUp 0.6s ease-out;
}

.card-custom:nth-child(2) { animation-delay: 0.1s; }
.card-custom:nth-child(3) { animation-delay: 0.2s; }
.card-custom:nth-child(4) { animation-delay: 0.3s; }
.card-custom:nth-child(5) { animation-delay: 0.4s; }

/* Custom Scrollbar for Webkit Browsers */
.card-body::-webkit-scrollbar {
    width: 6px;
}

.card-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.card-body::-webkit-scrollbar-thumb {
    background: var(--light-green);
    border-radius: 10px;
}

.card-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}

/* Print Styles */
@media print {
    .card-custom {
        break-inside: avoid;
        box-shadow: none !important;
        border: 2px solid #2e7d32 !important;
    }
    .card-header {
        background: #f8f9fa !important;
        color: #000 !important;
    }
}
