:root {
    --primary: #00ff26;
    --secondary: #f8faf9;
    --text: #333333;
    --text-secondary: #666666;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: var(--text);
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}



/* Card hover effect */
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 119, 255, 0.2);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Mobile menu animation */
@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

.mobile-menu {
    animation: slideIn 0.3s forwards;
}

.mobile-menu.closing {
    animation: slideOut 0.3s forwards;
}

/* Form validation */
.error-message {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

input.error, textarea.error {
    border-color: #ff4444;
}

.dropdown:hover .dropdown-menu {
            display: block;
        }
        .dropdown-menu {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 220px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
            z-index: 100;
            border-radius: 0.375rem;
            padding: 0.5rem 0;
            margin-top: 0.25rem;
            transition: opacity 0.2s ease-in-out;
        }
        .dropdown-item {
            display: block;
            width: 100%;
            padding: 0.5rem 1rem;
            clear: both;
            font-weight: 400;
            color: #374151;
            text-align: inherit;
            text-decoration: none;
            white-space: nowrap;
            background-color: transparent;
            border: 0;
            font-size: 0.875rem;
            transition: background-color 0.2s ease;
        }
        .dropdown-item:hover {
            background-color: #f3f4f6;
            color: #10B981;
        }
        .mobile-dropdown-menu {
            display: none;
            padding-left: 1.5rem;
            margin-top: 0.5rem;
            transition: max-height 0.3s ease-in-out;
            overflow: hidden;
        }
        .mobile-dropdown-menu:not(.hidden) {
            display: block;
        }
        .rotate-180 {
            transform: rotate(180deg);
            transition: transform 0.3s ease;
        }
        /* Animation classes */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        .topics {
            padding: 100px 0;
            background: var(--white);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: var(--primary);
        }
        
/* Ensure consistent card heights and button positioning */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.topic-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure all cards have the same height */
}

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

.topic-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.topic-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.topic-card p {
    flex-grow: 1; /* Push button to bottom */
    margin-bottom: 20px;
    min-height: 60px; /* Ensure consistent text container height */
}

/* Consistent Read More button */
.read-more-btn {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto; /* Push button to bottom of card */
}

.read-more-btn:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* General container for all pages */
.container {
    max-width: 900px;
    margin: 3rem auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 2rem;
}

h1, h2, h3 {
    color: #2e3a59;
    font-family: 'Poppins', sans-serif;
}

/* Highlighted difference section */
.highlight {
    background: #fff3e0;
    border-left: 6px solid #ff9800;
    padding: 1rem;
    margin: 2rem 0;
    font-weight: bold;
    color: #e65100;
    border-radius: 8px;
}

/* Navigation links */
.nav-links {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}
.nav-links a {
    background: #ff9800;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
    font-weight: 500;
}
.nav-links a:hover {
    background: #e65100;
}

/* Photos row */
.photos {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}
.photos img {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #eee;
}

/* Social media images */
.social-media {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}
.social-media img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #eee;
}

/* Placeholder for content to be written */
.placeholder {
    background: #ffe0e0;
    color: #b71c1c;
    padding: 1rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
    font-weight: bold;
}

@media (max-width: 700px) {
    .container {
        padding: 1rem;
    }
    .photos, .social-media {
        flex-direction: column;
        align-items: center;
    }
    .photos img, .social-media img {
        width: 100%;
        height: auto;
        max-width: 300px;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}


/* Card */
.card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 900px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.card h2 {
  font-size: 26px;
  color: #2e7d32;
  margin-bottom: 15px;
}


/* Topics Section */
body { background: #f7f7f7; margin: 0; font-family: 'Segoe UI', sans-serif; }
    .container { max-width: 900px; margin: 3rem auto; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.07); padding: 2rem; }
    h1 { color: #2e3a59; }
    .highlight { background: #c0ebc6; border-left: 6px solid #00ff26; padding: 1rem; margin: 2rem 0; font-weight: bold; color: #000000; }
    .nav-links { display: flex; justify-content: space-between; margin-top: 2rem; }
    .nav-links a { background: #00ff26; color: #fff; padding: 0.7rem 1.5rem; border-radius: 6px; text-decoration: none; transition: background 0.2s; }
    .nav-links a:hover { background: #00ff26; }

