/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    overflow-x: hidden;
}

/* ============================= */
/*        Header Section       */
/* ============================= */
/* Update header styles */
.header-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1999;
}

/* Remove any fade-in classes from header */
.header-wrapper, header {
    opacity: 1 !important;
    transform: none !important;
}

/* Optional: Add a smooth shadow when scrolling */
.header-wrapper {
    transition: box-shadow 0.3s ease;
}

.header-wrapper:not(:hover) {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header {
    height: 65px;
    padding: 10px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    flex-basis: 200px; /* Added fixed width for logo section */
}

.logo-img {
    width: 60px;
    height: 60px;
}

.org-name {
    color: #000000;
    font-size: 22px;
    font-weight: 500;
    margin-left: 12px;
    text-decoration: none;
    line-height: 45px;
}

.nav-container {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 auto; /* Changed from margin: 0 20px */
    position: absolute; /* Added absolute positioning */
    left: 0; /* Position from left edge */
    right: 0; /* Position from right edge */
}

.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-links-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #666666;
}

.register-btn {
    background-color: #000000;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease, background-color 0s, background-image 0.3s ease;
    flex-shrink: 0;
    margin-left: auto;
    display: inline-block;
    position: relative;
}

.register-btn:hover {
    background: linear-gradient(90deg, #2D7FF9 0%, #87B9FF 100%);
    transform: translateY(-2px);
}

/* Rest of the CSS remains the same */
.mobile-nav {
    display: none;
}

.menu-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 45px;
    background: none;
    border: none;
    color: #000000;
    padding: 0 10px;
    flex-direction: row-reverse;
}

.menu-text {
    font-size: 16px;
    font-weight: 500;
    margin-right: 8px;
}

.menu-icon-lines {
    width: 24px;
    height: 18px;
    position: relative;
}

.menu-icon-lines span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000000;
    transition: all 0.3s ease;
    left: 0;
    transform-origin: center; /* Changed from left center */
}

.menu-icon-lines span:nth-child(1) {
    top: 0;
}

.menu-icon-lines span:nth-child(2) {
    top: 8px;
}

.menu-icon-lines span:nth-child(3) {
    top: 16px;
}

/* Updated animation styles */
.menu-icon.active .menu-icon-lines span:nth-child(1) {
    transform: translateY(8px) rotate(45deg); /* Updated transform */
    top: 0;
}

.menu-icon.active .menu-icon-lines span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .menu-icon-lines span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg); /* Updated transform */
    top: 16px;
}

.menu-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.menu-content.show {
    display: block;
}

.menu-content a {
    color: #000000;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.menu-content a:hover {
    background-color: #f5f5f5;
}

@media screen and (max-width: 1024px), (min-width: 1024px) and (max-zoom: 200%) {
    .desktop-nav,
    .register-btn,
    .org-name {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    header {
        padding: 10px 20px;
    }

    .menu-text {
        display: none;
    }

    .menu-icon {
        padding: 0;
        flex-direction: row;
    }

    /* Reset any previous styling for menu-content */
    .menu-content {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: white;
        min-width: 200px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 10px 0;
        left: auto;
        width: auto;
        transform: none;
        margin: 0;
    }

    .menu-content.show {
        display: block;
    }
}
/* ============================= */
/*       Contact Section       */
/* ============================= */
.contact-wrapper {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background: #ffffff;
    padding: 160px 0 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    /* Hide desktop navigation elements on mobile */
    .desktop-nav,
    .register-btn,
    .org-name {
        display: none !important;
    }
    
    /* Show mobile navigation container */
    .mobile-nav {
        display: block;
        position: relative;
    }
    
    header {
        padding: 10px 20px;
    }
    
    /* Mobile menu icon styling */
    .menu-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 44px;
        width: 44px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }
    
    /* Hide the menu text for a cleaner look */
    .menu-text {
        display: none;
    }
    
    /* Mobile dropdown menu styling */
    .menu-content {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 8px 8px;
        display: none;
        z-index: 1000;
    }
    
    .menu-content.show {
        display: block;
    }
    
    .menu-content a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid #eee;
        color: #000;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }
    
    .menu-content a:hover {
        background-color: #f5f5f5;
    }
    
    .menu-content a:last-child {
        border-bottom: none;
    }
}


.contact-form-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-container {
    display: flex;
    gap: 45px;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
        padding: 30px;
        margin: 20px;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 20px;
        margin: 15px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); /* Lighter shadow for mobile */
    }
}

.contact-hero {
    flex: 1;
    max-width: 400px;
    margin-top: -90px;
    margin-left: 35px;
    align-self: center;
}

@media (max-width: 992px) {
    .contact-hero {
        max-width: 100%;
        text-align: center;
        padding-top: 0;
        margin-top: 0; /* Remove negative margin on mobile */
        margin-left: 0; /* Remove left margin on mobile */
    }
}
.contact-hero h2 {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 24px;
    line-height: 1.2;
    text-align: center;
}

.contact-hero p {
    font-size: 18px;
    line-height: 1.6;
    color: #666666;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.contact-form {
    position: relative;
    flex: 1;
    max-width: 600px;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 20px;
}

@media (max-width: 992px) {
    .contact-form {
        max-width: 100%;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .contact-form {
        padding: 15px;
        box-shadow: none; /* Remove shadow to avoid double shadow effect */
    }
}

#contactForm {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    width: 100%;
    margin-bottom: 24px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E2E8F0; /* Neutral border */
    border-radius: 12px;
    font-size: 0.95em;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease; /* Smooth transition for border */
    background: #FFFFFF;
    box-sizing: border-box;
    resize: none;
}

/* Custom Scrollbar for textarea */
.contact-form textarea::-webkit-scrollbar {
    width: 8px;
}
.contact-form textarea::-webkit-scrollbar-track {
    background: transparent;
    margin: 5px;
}
.contact-form textarea::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
.contact-form textarea::-webkit-scrollbar-thumb:hover {
    background: #333333;
    border: 2px solid transparent;
    background-clip: padding-box;
}
.contact-form textarea {
    scrollbar-width: thin;
    scrollbar-color: #000000 transparent;
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: #CBD5E0; /* Light gray border on hover */

}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none; /* Remove default browser outline */
    border-color: #2D7FF9; /* Same blue as the register page */
    box-shadow: none; /* Ensure no additional shadow effect */
}

/* Editing existing block - Improve button responsiveness */
.contact-form button {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #000000;
    color: white;
    border: none;
    box-sizing: border-box;
    transition: all 0.3s ease, background-color 0s, background-image 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-form button {
        padding: 14px 20px; /* Smaller padding on mobile */
        font-size: 1em;
        margin-top: 10px; /* Less margin on mobile */
    }
}

.contact-form button:hover {
    background: linear-gradient(90deg, #2D7FF9 0%, #87B9FF 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 127, 249, 0.3);
}

.error-message {
    color: #FF0000;
    font-size: 0.9em;
    margin-top: 5px;
}

.error {
    border-color: #FF0000;
}

.thank-you-message {
    text-align: center;
    padding: 20px;
    background-color: #F7F7F7;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thank-you-message h2 {
    margin: 0 0 10px;
    font-size: 1.5em;
    color: #333;
}

.thank-you-message p {
    font-size: 1em;
    color: #555;
}

/* Responsive Adjustments for Contact Section */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
        padding: 30px;
        margin: 20px;
    }
    
    .contact-hero {
        max-width: 100%;
        text-align: center;
        padding-top: 0;
    }
    
    .contact-form {
        max-width: 100%;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .contact-hero h2 {
        font-size: 36px;
    }
    .contact-hero p {
        font-size: 16px;
    }
    .contact-form input,
    .contact-form textarea {
        padding: 16px;
        font-size: 1em;
    }
    .contact-form button {
        padding: 14px 28px;
        font-size: 1em;
    }
}

/* Fade-in Up Keyframes */
@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Base state: hidden */
  .fade-in {
    opacity: 0;
  }
  
  /* When JS adds .animate, play the keyframe */
  .fade-in.animate {
    animation: fadeInUp 0.6s ease-out forwards;
  }
  

/* ============================= */
/*         Footer Section      */
/* ============================= */
.footer-section {
    margin-top: 0;
    padding-top: 30px;
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 120px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 120px;
}

.footer-social {
    flex: 1;
    max-width: 600px;
}

.footer-social h3,
.footer-nav h3 {
    font-size: 28px;
    margin-bottom: 40px;
    color: black;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f5f5f5;
    border-radius: 12px;
    text-decoration: none;
    color: black;
    transition: transform 0.3s ease;
    border: none;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.social-link span {
    flex: 1;
    font-size: 16px;
}

.arrow-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateX(5px);
}

.social-link:hover .arrow-icon {
    transform: rotate(-45deg);
}

.footer-divider {
    width: 1px;
    background: rgba(0, 0, 0, 0.2);
    align-self: stretch;
}

.footer-nav {
    flex: 1;
    max-width: 600px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 40px;
}

.footer-links a {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 20px;
}

.footer-links a:hover {
    color: black;
}

.footer-bottom {
    text-align: center;
    padding-top: 60px;
    color: rgba(0, 0, 0, 0.8);
    font-size: 18px;
}

/* Responsive Adjustments for Footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 80px 0 40px;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-social h3,
    .footer-nav h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .footer-links a {
        font-size: 18px;
    }
}
