/* General Styles */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


/* navsection */


/* Navbar Styles */

.navbar {
    background: linear-gradient(to bottom, #3f0d99, #4e14a4);
    border-bottom: 3px solid #bb86fc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}


/* Brand Logo/Text */

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.navbar-brand img {
    margin-right: 10px;
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text {
    font-size: 30px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    /* Prevent wrapping mid-word */
}


/* Nav Links */

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #bb86fc !important;
    border-radius: 5px;
}


/* Toggler Button */

.navbar-toggler {
    border: 2px solid #fff !important;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.3s;
}

.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.navbar-light .navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}


/* Responsive Adjustments */

@media (max-width: 576px) {
    .logo-text {
        font-size: 24px;
    }
    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }
}


/* navsection ends */


/* Header Styles */

.header {
    background-color: #6200ea;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Hero Section Styles */

.hero-section {
    position: relative;
    background-image: url('Images/HeroImage.jpeg'), linear-gradient(to bottom, #6200ea, #bb86fc);
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #4b02b3, #8057b1);
    opacity: 0.5;
    /* Adjust opacity to make the overlay visible */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Ensure content is above the overlay */
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.hero-btn {
    background-color: #fff;
    color: #6200ea;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-btn:hover {
    background-color: #aa5bff;
    text-decoration: none;
    color: white;
}


/* Projects Section Styles */

.projects-section {
    padding: 80px 20px;
    /* Add padding for smaller screens */
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #6200ea;
    margin-bottom: 20px;
}

.section-description {
    font-size: 16px;
    color: #757575;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.project-cards {
    display: flex;
    justify-content: center;
    /* Center align cards */
    flex-wrap: wrap;
    gap: 20px;
}

.project-card {
    flex: 1;
    max-width: 300px;
    width: 100%;
    /* Ensure cards take full width in smaller screens */
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
    /* Slight zoom effect on hover */
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.project-content p {
    font-size: 14px;
    color: #757575;
    margin-bottom: 20px;
}

.project-btn {
    display: inline-block;
    background-color: #6200ea;
    color: white;
    text-align: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.project-btn:hover {
    background-color: #4a148c;
    transform: scale(1.05);
    text-decoration: none!important;
    color: white!important;
}


/* Responsive Design */


/* Tablets and Medium Screens */

@media (max-width: 992px) {
    .section-title {
        font-size: 28px;
    }
    .section-description {
        font-size: 15px;
    }
    .project-cards {
        gap: 15px;
        /* Reduce gap for smaller screens */
    }
    .project-card {
        max-width: 45%;
        /* Adjust card size for tablets */
        flex: 0 1 calc(45% - 20px);
    }
    .project-btn {
        font-size: 15px;
        width: 150px;
        height: 50px;
    }
}


/* Mobile Screens */

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }
    .section-description {
        font-size: 14px;
    }
    .project-cards {
        justify-content: center;
    }
    .project-card {
        max-width: 100%;
        flex: 0 1 calc(100% - 20px);
        /* Ensure full width for smaller devices */
    }
    .project-btn {
        padding: 10px 20px;
        font-size: 18px;
    }
}


/* Very Small Mobile Screens */

@media (max-width: 576px) {
    .section-title {
        font-size: 22px;
    }
    .section-description {
        font-size: 13px;
    }
    .project-card {
        padding: 10px;
    }
    .project-btn {
        font-size: 18px;
        padding: 8px 16px;
    }
}


/* Call to Action Section Styles */


/* Call to Action Section */

.cta-section {
    position: relative;
    background-image: url('Images/joinus.jpeg');
    /* Replace with your actual background image */
    background-size: cover;
    background-position: top;
    padding: 120px 0;
    /* Increased padding to add height */
    margin-top: 0;
    /* Ensure section starts at the very top */
    text-align: center;
    color: white;
    overflow: hidden;
}

.cta-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(210, 199, 225, 0.7);
    /* Purple overlay with opacity */
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
    /* Place content above the overlay */
}

.cta-section .section-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: rgb(0, 0, 0);
    /* Ensure text remains visible */
}

.cta-section .section-description {
    font-size: 16px;
    margin-bottom: 40px;
    color: #e0e0e0;
    /* Slightly lighter color for the description */
}

.cta-btn {
    background-color: #fff;
    color: #6200ea;
    padding: 15px 40px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
    background-color: #8265ff;
    transform: scale(1.05);
    text-decoration: none!important;
    color: white !important;
    /* Slight zoom effect */
}


/* Responsive Adjustments */

@media (max-width: 768px) {
    .cta-section .section-title {
        font-size: 28px;
    }
    .cta-section .cta-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}


/* Footer Styles */

.footer {
    background-color: #6200ea;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-text {
    font-size: 14px;
}

.social-links a img {
    margin: 0 10px;
}


/* Our Aim Section Styles */

.aim-section {
    background: linear-gradient(to right, #ffffff, #cbebfa);
    padding: 80px 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #6200ea;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-description {
    font-size: 1rem;
    color: #424242;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.virtues-title {
    font-size: 2rem;
    font-weight: 500;
    color: #212121;
    margin-bottom: 30px;
    position: relative;
}

.virtues-title::after {
    content: '';
    width: 50px;
    height: 3px;
    background-color: #6200ea;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.virtues-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.virtue-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 20px;
    width: 250px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.virtue-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.virtue-item i {
    font-size: 2.5rem;
    color: #6200ea;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.virtue-item:hover span {
    color: #3700b3;
}

.virtue-content {
    text-align: center;
}

.virtue-title {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 10px;
}

.virtue-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}


/* Responsive Styles */

@media (max-width: 992px) {
    .virtues-list {
        gap: 20px;
    }
    .virtue-item {
        width: 220px;
        padding: 25px 15px;
    }
    .virtue-item i {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    .section-description {
        font-size: 0.95rem;
    }
    .virtues-title {
        font-size: 1.75rem;
    }
    .virtues-list {
        flex-direction: column;
        align-items: center;
    }
    .virtue-item {
        width: 100%;
        max-width: 300px;
    }
}


/* Connecting for a Cause Section Styles */

.connecting-section {
    padding: 80px 0;
    background-color: #e0f7fa;
    /* Light blue background for contrast */
    text-align: center;
}

.connecting-section .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 30px;
}

.connecting-section .section-description {
    font-size: 16px;
    color: #424242;
    line-height: 1.6;
    margin-bottom: 40px;
}

.connecting-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.connecting-list li {
    font-size: 16px;
    color: #424242;
    margin: 10px;
    display: flex;
    align-items: center;
}

.connecting-list i {
    font-size: 24px;
    margin-right: 10px;
    color: #004d40;
    /* Dark green for icons */
}

.connecting-section {
    padding: 80px 0;
    background-color: #e0f7fa;
    /* Light blue background for contrast */
}

.connecting-content {
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.connecting-image {
    flex: 1;
    margin-right: 40px;
}

.connecting-text {
    flex: 1;
}

.connecting-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* Add shadow */
    border: 4px solid #ffffff;
    /* Solid white border */
}

@media (max-width: 768px) {
    .connecting-content {
        flex-direction: column;
    }
    .connecting-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
}


/* Help People Section Styles */

.help-section {
    background-color: #e0f7fa;
    /* Light blue background */
    padding: 80px 0;
}

.help-content {
    display: flex;
    align-items: center;
}

.help-text {
    flex: 1;
    margin-right: 40px;
}

.help-image {
    flex: 1;
}

.help-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* Add shadow */
    border: 4px solid #ffffff;
    /* Solid white border */
}


/* Social Links */

.social-links a {
    color: #ffffff;
    /* Match the color with your theme */
    font-size: 24px;
    /* Adjust the icon size */
    margin: 0 10px;
    /* Add spacing between icons */
}

.social-links a:hover {
    color: #4a148c;
    /* Change color on hover for better interaction */
}


/* For mobile devices */

@media (max-width: 768px) {
    .help-content {
        flex-direction: column;
    }
    .help-text {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

.help-btn {
    background-color: #6200ea;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.help-btn:hover {
    background-color: #4a148c;
}


/* Responsive Styles */

@media (max-width: 768px) {
    .connecting-list {
        flex-direction: column;
    }
    .connecting-list li {
        margin: 20px 0;
    }
}


/* contact us form */

.container {
    width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}


/* Impact Stats Section */

.impact-stats-section {
    background: linear-gradient(to right, #ffffff, #f3e5f5);
    padding: 80px 20px;
    text-align: center;
}

.stats-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-card {
    flex: 1;
    max-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card h3 {
    font-size: 36px;
    font-weight: bold;
    color: #6200ea;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 16px;
    color: #616161;
}


/* Testimonials Section */

.testimonials-section {
    background: #f9fbe7;
    padding: 80px 20px;
    text-align: center;
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.testimonial-card {
    flex: 1;
    max-width: 300px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-card p {
    font-size: 16px;
    color: #424242;
    margin-bottom: 10px;
    font-style: italic;
}

.testimonial-card h4 {
    font-size: 14px;
    color: #6200ea;
    font-weight: bold;
}


/* Header Styles */

.header {
    background-color: #6200ea;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 150px;
    height: auto;
}


/* Contact Hero Styles */


/* Global Styles */

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}


/* Hero Section */

.contact-hero {
    position: relative;
    background-image: url('Images/contact.jpeg');
    background-size: cover;
    background-position: top;
    text-align: center;
    padding: 150px 0;
    color: white;
    overflow: hidden;
}

.contact-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(98, 0, 234, 0.7);
    /* Purple overlay */
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e0e0e0;
}


/* Contact Form Section */

.contact-form-section {
    padding: 80px 20px;
    text-align: center;
}

.contact-form-section .section-title {
    font-size: 2.5rem;
    color: #6200ea;
    margin-bottom: 20px;
}

.contact-form-section .section-description {
    font-size: 1rem;
    margin-bottom: 40px;
    color: #666;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group input,
.form-group textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 12px;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 20px;
}

.submit-btn {
    background: linear-gradient(to right, #6200ea, #bb86fc);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


/* Contact Information */

.contact-details-section {
    padding: 60px 20px;
    background: #f5f5f5;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.info-item {
    flex: 1 1 30%;
    text-align: center;
}

.info-item i {
    font-size: 2rem;
    color: #6200ea;
    margin-bottom: 10px;
}


/* Map Section */

.map-section {
    padding: 60px 20px;
}

.map-container iframe {
    border: 0;
    border-radius: 8px;
}


/* Responsive Design */

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
    }
    .info-item {
        flex: 1 1 100%;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
}


/* Footer Styles */

.footer {
    background-color: #6200ea;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    margin-bottom: 20px;
}

.social-links a i {
    color: white;
    font-size: 24px;
    margin: 0 10px;
}

.social-links a i:hover {
    color: #bb86fc;
}


/* achivements */

.achievements-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: calc(100vh - 100px);
}

details {
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

details[open] {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

summary {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    background-color: #fafafa;
    cursor: pointer;
}

summary:hover {
    background-color: #e0e0e0;
}

.summary-content {
    display: flex;
    align-items: flex-start;
}

.summary-content img {
    width: 400px;
    height: auto;
    margin-right: 16px;
    border-radius: 4px;
}

.summary-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.summary-text h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.summary-text p {
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.5;
}

.date-container {
    align-self: flex-end;
}

.date {
    margin-top: 8px;
    font-size: 1rem;
    font-weight: bold;
    background-color: #e91e63;
    color: white;
    padding: 2px 8px;
    border-radius: 2px;
}

.achievement-details {
    padding: 16px;
    background-color: #fafafa;
    border-top: 1px solid #e0e0e0;
}

.achievement-details p {
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .summary-content {
        flex-direction: column;
    }
    .summary-content img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }
    .summary-text h3 {
        font-size: 1.25rem;
    }
    .summary-text p {
        font-size: 0.9rem;
    }
    .date {
        font-size: 0.9rem;
    }
}