* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #ffffff;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: #2E7D32; 
    margin-bottom: 15px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 15px; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

.section {
    padding: 60px 0;
    border-bottom: 1px solid #eeeeee;
}

.bg-light {
    background-color: #F1F8E9; 
}

.text-center { text-align: center; }

.navbar {
    background-color: #ffffff;
    border-bottom: 3px solid #2E7D32; 
    padding: 15px 0;
}

.nav-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    color: #2E7D32;
}

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

.nav-link {
    font-weight: 500;
    color: #555;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: #2E7D32;
    border-bottom: 2px solid #2E7D32;
}

/* --- 4. Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: #2E7D32;
    color: white;
}

.btn-primary:hover {
    background-color: #1B5E20; /* Darker Green */
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #2E7D32;
    color: #2E7D32;
}

.btn-outline:hover {
    background-color: #E8F5E9; /* Light Green background */
}

/* --- 5. Hero Section --- */
.hero {
    background-color: #E8F5E9; /* Light Green Background */
    padding: 80px 0;
    text-align: center;
}

/* --- 6. Grid System --- */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- 7. Cards --- */
.card, .test-card, .package-card, .blog-card {
    background: white;
    border: 1px solid #dcedc8; /* Subtle green border */
    border-radius: 6px;
    padding: 20px;
}

.card-title, .test-card-title {
    color: #1B5E20;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.price {
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
    margin: 10px 0;
}

.price span {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    font-weight: normal;
}

/* --- 8. Forms --- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-input, .form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #2E7D32;
}

/* --- 9. Footer --- */
.footer {
    background-color: #1B5E20; /* Dark Green */
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}

.footer h4 { color: #fff; }
.footer ul { list-style: none; }
.footer a { color: #dcedc8; }
.footer a:hover { color: #fff; text-decoration: underline; }

/* Mobile Menu Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2E7D32;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Form Error Styling */
.form-input.error,
.form-textarea.error {
    border-color: #d32f2f;
    background-color: #ffebee;
}

/* Error Message Styling */
.error-message {
    display: none;
    color: #d32f2f;
    font-size: 0.875rem;
    margin-top: 5px;
    font-weight: 500;
}

/* Fade-in Animation Styles */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible,
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stat item styling for counter */
.stat-item {
    transition: transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: 20px;
        border-top: 3px solid #2E7D32;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        display: none;
        gap: 15px;
        z-index: 7;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .container {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        text-align: center;
    }
}
