/* css/page-styles.css */
/* General Page Styles for about.html, contact.html, what-you-can-do.html */

/* Ensure these styles don't conflict with style.css if both are loaded,
   though ideally only one set of major page layout styles should apply.
   The html.static-page-scroll selector helps scope some of style.css. */

body {
    font-family: 'Rajdhani', sans-serif; /* Consistent with style.css */
    background-color: var(--dark-bg, #121212); /* Use existing var or fallback */
    color: var(--light-text, #e0e0e0);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
}

.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    opacity: 0;
    animation: fadeInPage 0.8s ease-out forwards;
    animation-delay: 0.2s; /* Slight delay for effect */
}

@keyframes fadeInPage {
    to {
        opacity: 1;
    }
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--accent-color, #f47a23);
}

.page-header h1 {
    font-size: 3em;
    color: var(--light-text, #e0e0e0);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
}

.page-content section {
    margin-bottom: 50px;
    padding: 30px;
    background-color: var(--medium-bg, #1e1e1e);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.page-content section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-content h2 {
    font-size: 2.2em;
    color: var(--accent-color, #f47a23);
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(244, 122, 35, 0.3);
    padding-bottom: 10px;
}

.page-content p, .page-content ul, .page-content ol {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--medium-text, #c0c0c0);
}

.page-content a {
    color: var(--accent-color-light, #ff9d57);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.page-content a:hover {
    color: var(--light-text, #e0e0e0);
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(255, 157, 87, 0.5);
}

.page-footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    border-top: 1px solid var(--accent-color, #f47a23);
    font-size: 0.9em;
    color: var(--medium-text, #c0c0c0);
}

/* --- Specific to about.html --- */
.team-group-photo {
    text-align: center;
    margin-bottom: 2rem;
}

.team-group-photo img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.team-members-grid {
    display: grid;
    /* Default to 1 column for mobile-first approach */
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.team-member-profile {
    background-color: var(--dark-bg, #121212);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--accent-color-translucent, rgba(244, 122, 35, 0.3));
}

.team-member-profile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.team-member-profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 3px solid var(--accent-color, #f47a23);
    transition: transform 0.3s ease;
}

.team-member-profile:hover img {
    transform: scale(1.1);
}

.team-member-profile h3 {
    font-size: 1.6em;
    color: var(--light-text, #e0e0e0);
    margin-bottom: 5px;
}

.team-member-profile .role {
    font-size: 1em;
    color: var(--accent-color, #f47a23);
    font-style: italic;
    margin-bottom: 10px;
}

.team-member-profile .bio {
    font-size: 0.95em;
    color: var(--medium-text, #c0c0c0);
    margin-bottom: 15px;
}

.team-member-profile .email a {
    font-size: 0.9em;
    color: var(--accent-color-light, #ff9d57);
}

/* --- Specific to what-you-can-do.html --- */
.action-intro p {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 40px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.action-box {
    background-color: var(--dark-bg, #121212);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    color: var(--light-text, #e0e0e0);
    font-size: 1.3em;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--accent-color-translucent, rgba(244, 122, 35, 0.3));
}

.action-box:hover {
    background-color: var(--accent-color, #f47a23);
    color: var(--dark-bg, #121212);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 15px rgba(244, 122, 35, 0.4);
}

.action-box span {
    display: block;
}

/* --- Specific to contact.html --- */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto; /* Center the form container */
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--medium-text, #c0c0c0);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--accent-color-translucent, rgba(244, 122, 35, 0.5));
    border-radius: 5px;
    background-color: var(--medium-bg, #1e1e1e);
    color: var(--light-text, #e0e0e0);
    font-size: 1em;
    box-sizing: border-box; /* Important for width 100% */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color, #f47a23);
    box-shadow: 0 0 8px rgba(244, 122, 35, 0.3);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color, #f47a23);
    color: var(--dark-bg, #121212);
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button[type="submit"]:hover {
    background-color: var(--accent-color-light, #ff9d57);
    transform: translateY(-2px);
}

.contact-info p {
    font-size: 1.1em;
    text-align: center;
}


/* --- Specific to organizations-placeholder.html --- */
.organization {
    background-color: var(--medium-bg, #1e1e1e);
    border: 1px solid var(--accent-color-translucent, rgba(244, 122, 35, 0.3));
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    opacity: 0; /* Start hidden for animation */
    animation: fadeInUpCard 0.6s ease-out forwards;
}

/* Staggered animation for organization cards */
.organization:nth-child(1) { animation-delay: 0.1s; }
.organization:nth-child(2) { animation-delay: 0.2s; }
.organization:nth-child(3) { animation-delay: 0.3s; }
.organization:nth-child(4) { animation-delay: 0.4s; }
/* Add more if there are more than 4 organizations */

@keyframes fadeInUpCard {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.organization:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.organization h2 {
    font-size: 1.8em; /* Adjusted for consistency */
    color: var(--accent-color, #f47a23);
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(244, 122, 35, 0.2);
    padding-bottom: 10px;
}

.organization p {
    font-size: 1em; /* Adjusted for consistency */
    line-height: 1.7;
    margin-bottom: 12px;
    color: var(--medium-text, #c0c0c0);
}

.organization strong {
    color: var(--light-text, #e0e0e0); /* Brighter for emphasis */
}

.organization ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 15px;
}

.organization ul li {
    margin-bottom: 10px;
    font-size: 0.95em;
}

.organization ul li span { /* For labels like 'Email:' */
    font-weight: 600;
    color: var(--medium-text, #c0c0c0);
}

.organization ul li a {
    color: var(--accent-color-light, #ff9d57);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.organization ul li a:hover {
    color: var(--light-text, #e0e0e0);
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(255, 157, 87, 0.5);
}

/* Ensure back button in footer is styled consistently */
.page-footer .back-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent-color, #f47a23);
    color: var(--dark-bg, #121212); /* Text color for contrast with accent */
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 1px solid transparent; /* In case of global button borders */
}

.page-footer .back-button:hover {
    background-color: var(--accent-color-light, #ff9d57);
    color: var(--dark-bg, #121212);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(244, 122, 35, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5em;
    }
    .page-content h2 {
        font-size: 1.8em;
    }
    .team-members-grid {
        /* Ensure it's 1 column on smaller tablets too if not already covered by default */
        grid-template-columns: 1fr;
    }
    .action-grid {
        grid-template-columns: 1fr; /* Stack action boxes */
    }
}

@media (min-width: 600px) { /* Breakpoint for 2 columns */
    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2em;
    }
    .page-content section {
        padding: 20px;
    }
    .action-box {
        padding: 20px;
        font-size: 1.1em;
    }
}
