/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* CSS Variables for Consistent Colors */
:root {
    --primary-color: #ff5722;
    --secondary-color: #f5f5dc;
    --text-dark: #333;
    --text-light: #fff;
    --background-light: #fff8e1;
    --shadow: rgba(0, 0, 0, 0.1);
    --hover-color: #e64a19;
    --form-border: #ddd;
    --success-color: #28a745;
    --error-color: #dc3545;
}

/* Clearfix */
.clear {
    clear: both;
}

.text-white {
    color: var(--text-light) !important;
}

.text-black {
    color: var(--text-dark) !important;
}

#Main {
    background-color: var(--secondary-color);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Styles */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: var(--text-light);
    box-shadow: 0 2px 5px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-nav {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #0077b5;
    text-decoration: none;
}

.logo-nav img {
    height: 60px;
    margin-right: 10px;
    border-radius: 40px;
}

.menu a {
    margin: 0 25px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    transition: color 0.3s;
}

.menu a:hover {
    color: #1976D2;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language {
    font-size: 20px;
    cursor: pointer;
    color: var(--text-dark);
    transition: color 0.3s;
}

.language:hover {
    color: var(--primary-color);
}

.login-btn {
    background: transparent;
    border: 2px solid #0077b5;
    color: #0077b5;
    padding: 6px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.login-btn:hover {
    background: #0077b5;
    color: var(--text-light);
}

.donate-btn {
    background: #0077b5;
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}

.donate-btn:hover {
    background: #0077b5;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

/* Contact Section */
#contact {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f5f5dc 0%, #e0e0b0 100%);
}

.content-section {
    width: 1000px;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
}

.section-heading {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #0077b5;
    margin-bottom: 15px;
}

.section-sub-heading {
    font-size: 18px;
    font-style: italic;
    opacity: 0.8;
    color: #1976d2;
    margin-bottom: 40px;
}

.contact-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Contact Form */
.contact-form {
    flex: 1;
    min-width: 400px;
    background: var(--text-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 15px var(--shadow);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border: 1px solid var(--form-border);
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #0077b5;
    color: var(--text-light);
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: block;
    margin: 20px auto 0;
}

.submit-btn:hover {
    background-color: var(--hover-color);
    transform: scale(1.05);
}

.form-message {
    margin-top: 15px;
    font-size: 15px;
    text-align: center;
}

.form-message.success {
    color: var(--success-color);
}

.form-message.error {
    color: var(--error-color);
}

/* Contact Info */
.contact-info {
    flex: 1;
    min-width: 300px;
    background: var(--text-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 15px var(--shadow);
}

.info-title {
    font-size: 22px;
    font-weight: bold;
    color: #1976d2;
    margin-bottom: 20px;
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--text-dark);
}

.info-list li i {
    margin-right: 10px;
    color: #1976d2;
    font-size: 18px;
}

.info-list li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-list li a:hover {
    color: var(--primary-color);
}

/* Social Media Links */
.social-links {
    margin-top: 30px;
}

.social-title {
    font-size: 18px;
    font-weight: bold;
    color: #0077b5;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    color: var(--text-dark);
    font-size: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.social-icons a:nth-child(1):hover {
    color: #3b5998;
}

.social-icons a:nth-child(2):hover {
    color: #1da1f2;
}

.social-icons a:nth-child(3):hover {
    color: #e1306c;
}

.social-icons a:nth-child(4):hover {
    color: #0077b5;
}

/* Map Section */
#map {
    padding: 10px 0;
    background: var(--background-light);
}

.map-container {
    max-width: 100%;
    margin: 0 auto;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 6px 15px var(--shadow);
}

/* Footer */
#footer {
    background-color: #263547;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-text {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--hover-color);
    transform: translateY(-3px);
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: var(--hover-color);
    transform: translateY(-5px);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
}

.fade-in.visible {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-form,
    .contact-info {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    #header {
        flex-wrap: wrap;
        padding: 10px 15px;
        position: relative;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        color: #333;
        text-decoration: none;
    }

    .menu a:hover {
        background-color: #f5f5f5;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .right-section {
        margin-top: 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        min-width: 100%;
    }
}

@media (max-width: 600px) {
    .section-heading {
        font-size: 28px;
    }

    .section-sub-heading {
        font-size: 16px;
    }

    .map-container iframe {
        height: 300px;
    }
}