* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #0056a8;
    --secondary: #8f1d21;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
    --ndjc-green: #1a6b3a;
    --ndjc-light-green: #2e8b57;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - Updated with Green Colors */
header {
    background: linear-gradient(135deg, var(--ndjc-green), var(--ndjc-light-green));
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.5rem;
    line-height: 1.2;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.9;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}
.nav-link{
color: #fff
}
/* Main Content Styles */
.main-content {
    padding: 2rem 0;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* Home Page */
.hero {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3') center/cover;
}

.hero h2 {
    color: var(--ndjc-green);
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.hero p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: var(--ndjc-green);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
    font-size: 1.1rem;
}

.btn:hover {
    background: var(--ndjc-light-green);
    transform: translateY(-2px);
}

/* Updated Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ndjc-green), var(--ndjc-light-green));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(26, 107, 58, 0.3);
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2.2rem;
    color: white;
}

.feature-card h3 {
    color: var(--ndjc-green);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
}

/* New Sections */
.section-title {
    text-align: center;
    margin: 2rem 0;
    color: var(--ndjc-green);
    position: relative;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--ndjc-light-green);
}

.about-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text h3 {
    color: var(--ndjc-green);
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h4 {
    color: var(--ndjc-green);
}

.author-details p {
    color: #777;
    font-size: 0.9rem;
}

.news-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.news-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-item h3 {
    color: var(--ndjc-green);
    margin-bottom: 0.5rem;
}

.news-date {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Form Styles */
.form-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--ndjc-green);
    border-bottom: 2px solid var(--ndjc-light-green);
    padding-bottom: 10px;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.section-title {
    color: var(--ndjc-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    padding-left: 10px;
    border-left: 4px solid var(--ndjc-light-green);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--ndjc-green);
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 107, 58, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.checkbox-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox-item input {
    width: auto;
}

.siblings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.siblings-table th,
.siblings-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.siblings-table th {
    background-color: #f5f7fa;
    font-weight: 600;
}

.photo-upload {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-top: 10px;
    background-color: #f9f9f9;
}

.photo-upload p {
    margin-bottom: 10px;
    color: #666;
}

.form-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.required::after {
    content: " *";
    color: var(--danger);
}

/* Footer Styles - Updated to match header */
footer {
    background: linear-gradient(135deg, var(--ndjc-green), var(--ndjc-light-green));
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: left;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.copyright {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .logo {
        justify-content: center;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    .siblings-table {
        font-size: 0.9rem;
    }
    
    .siblings-table th,
    .siblings-table td {
        padding: 8px 5px;
    }
}

@media (max-width: 480px) {
    .features {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
}