/* Yuva Niti Registration Page Styles - Mobile First Approach */
:root {
    --primary-blue: #1e88e5;
    --secondary-blue: #0d47a1;
    --gradient-blue: linear-gradient(135deg, #29b6f6 0%, #0d47a1 100%);
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f5f5f5;
    --border-color: #dddddd;
    --success-color: #4caf50;
    --error-color: #f44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Footer Styling */

body {
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 15px;
}

/* Tablet and larger screens */
@media (min-width: 768px) {
    .container {
        max-width: 1200px;
        padding: 20px;
    }
}

/* Header Styles - Mobile First */
header {
    margin-bottom: 20px;
}

.header-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 15px;
    text-align: left;
}

.logo-container {
    flex-shrink: 0;
    order: 1;
}

.logo {
    max-height: 60px;
    width: auto;
}

/* Navigation Styles - Mobile First */
.navigation {
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    order: 2;
    width: auto;
}

.nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: 250px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 20px;
    gap: 8px;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    animation: slideDown 0.3s ease-out;
    list-style: none;
    margin: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu.active {
    display: flex;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 14px 18px;
    text-align: left;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary-blue);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    transform: scaleY(1);
}

/* Mobile Menu Toggle - Always visible on mobile */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
    position: relative;
    top: 0;
    right: 0;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
/* Mobile Menu */
.nav-menu {
  display: flex;
  gap: 20px;
}

/* Hide menu on small screens */
@media screen and (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* adjust according to header height */
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 10px 0;
    text-align: center;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1000;
  }

  .mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}


/* Tablet and Desktop Navigation */
@media (min-width: 768px) {
    header {
        margin-bottom: 30px;
    }
    
    .header-top {
        margin-bottom: 20px;
    }
    
    .logo {
        max-height: 90px;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        background: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        gap: 20px;
        z-index: auto;
        border: none;
        backdrop-filter: none;
        animation: none;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        padding: 6px 12px;
        border-radius: 3px;
        background: none;
        transform: none;
        box-shadow: none;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: var(--primary-blue);
        color: var(--text-light);
        transform: none;
        box-shadow: none;
    }
    
    .nav-menu a::before {
        display: none;
    }
}

/* Content Section Styles - Mobile First */
.content-section {
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.content-section h1 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.3;
}

.content-section h2 {
    color: var(--secondary-blue);
    margin: 25px 0 12px 0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.content-section h2 i {
    margin-right: 8px;
    color: var(--primary-blue);
}

/* Tablet and Desktop Content */
@media (min-width: 768px) {
    .content-section {
        max-width: 900px;
        padding: 0;
    }
    
    .content-section h1 {
        margin-bottom: 30px;
        font-size: 2.2rem;
    }
    
    .content-section h2 {
        margin: 30px 0 15px 0;
        font-size: 1.5rem;
    }
    
    .content-section h2 i {
        margin-right: 10px;
    }
}

/* President Message Styles - Mobile First */
.president-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.president-photo {
    flex-shrink: 0;
    order: 1;
}

.president-img {
    width: 150px;
    height: 200px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 3px solid #fff;
    object-fit: cover;
}

.president-details {
    flex: 1;
    order: 2;
}

.president-intro h2 {
    color: var(--primary-blue);
    margin-bottom: 6px;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.president-intro .title {
    color: var(--text-dark);
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 500;
}

.message-content {
    line-height: 1.7;
    font-size: 1rem;
}

.message-content p {
    margin-bottom: 18px;
    text-align: justify;
}

.signature {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 2px solid var(--primary-blue);
}

/* Tablet and Desktop President Message */
@media (min-width: 768px) {
    .president-intro {
        flex-direction: row;
        align-items: center;
        gap: 30px;
        margin-bottom: 30px;
        padding: 30px;
        border-radius: 15px;
        text-align: left;
    }
    
    .president-photo {
        order: 0;
    }
    
    .president-details {
        order: 0;
    }
    
    .president-img {
        width: 180px;
        height: 240px;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border: 4px solid #fff;
    }
    
    .president-intro h2 {
        margin-bottom: 8px;
        font-size: 2.2rem;
    }
    
    .president-intro .title {
        font-size: 1.3rem;
    }
    
    .message-content {
        font-size: 1.05rem;
        line-height: 1.8;
    }
    
    .message-content p {
        margin-bottom: 20px;
    }
    
    .signature {
        text-align: right;
        margin-top: 40px;
        padding-top: 20px;
    }
}

/* Image Responsiveness - Mobile First */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo {
    max-height: 60px;
    width: auto;
}

.banner-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.slide-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.president-img {
    width: 150px;
    height: 200px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 3px solid #fff;
    object-fit: cover;
    margin: 0 auto;
}

.footer-logo-img {
    max-height: 150px;
    width: auto;
}

/* Event Gallery Images - Mobile First */
.photo-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* Tablet and Desktop Image Adjustments */
@media (min-width: 768px) {
    .logo {
        max-height: 90px;
    }
    
    .banner-img {
        border-radius: 12px;
        margin-bottom: 30px;
    }
    
    .president-img {
        width: 180px;
        height: 240px;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border: 4px solid #fff;
        margin: 0;
    }
    
    .footer-logo-img {
        max-height: 150px;
    }
    
    .photo-item img {
        height: 250px;
    }
}

/* Large Desktop Image Adjustments */
@media (min-width: 1024px) {
    .photo-item img {
        height: 300px;
    }
}
.about-content {
    line-height: 1.7;
}

.mission-section,
.vision-section,
.objectives-section,
.foundation-section,
.values-section,
.contact-section {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.objectives-list {
    list-style: none;
    padding: 0;
}

.objectives-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.objectives-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

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

.value-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.value-item h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.contact-info {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.contact-info p {
    margin-bottom: 10px;
}

/*Footer Styles */ footer { background: var(--gradient-blue); color: var(--text-light); text-align: center; padding: 30px 0; margin-top: 40px; border-radius: 10px; } .footer-content { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; gap: 20px; } .footer-logo { flex: 0 0 auto; display: flex; align-items: center; } .footer-logo-img { max-height: 150px; width: auto; } .footer-info { flex: 1; text-align: center; display: flex; flex-direction: column; gap: 8px; } .footer-info h3 { font-size: 1.4rem; font-weight: 600; margin: 0; color: var(--text-light); } .footer-info p { margin: 0; font-size: 0.95rem; line-height: 1.4; opacity: 0.9; } .footer-social { flex: 0 0 auto; display: flex; align-items: center; }
.banner {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

/* Main Content Styles */
main {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.registration-section h1 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
    font-size: 2.2rem;
}

.description {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Form Styles */
#registration-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

label::after {
    content: attr(data-required);
    color: var(--error-color);
    margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
    color: var(--text-dark);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
select:hover,
textarea:hover {
    border-color: #b0bec5;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
    background-color: #ffffff;
}

select[multiple] {
    height: 140px;
    padding: 10px;
}

select[multiple] option {
    padding: 8px;
    margin-bottom: 2px;
    border-radius: 4px;
}

select[multiple] option:checked {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: var(--secondary-blue);
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    margin-top: 8px;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
    color: #90a4ae;
}

.input-icon input {
    padding-left: 45px;
}

input[type="file"] {
    padding: 12px;
    background-color: #f5f7fa;
    border: 1px dashed #b0bec5;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

input[type="file"]:hover {
    background-color: #e3f2fd;
    border-color: var(--primary-blue);
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background-color: #f5f7fa;
    border: 1px dashed #b0bec5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background-color: #e3f2fd;
    border-color: var(--primary-blue);
}

.file-upload-label i {
    margin-right: 8px;
    color: var(--primary-blue);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    padding: 10px 15px;
    background-color: #f5f7fa;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.checkbox-group:hover {
    background-color: #e3f2fd;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 5px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-section-title {
    color: var(--secondary-blue);
    font-size: 1.2rem;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.submit-btn, .reset-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.submit-btn {
    background: var(--gradient-blue);
    color: var(--text-light);
    flex: 2;
    box-shadow: 0 4px 6px rgba(13, 71, 161, 0.2);
}

.submit-btn:hover {
    box-shadow: 0 6px 12px rgba(13, 71, 161, 0.4);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(13, 71, 161, 0.3);
}

.reset-btn {
    background-color: #f5f5f5;
    color: #757575;
    border: 1px solid var(--border-color);
    flex: 1;
}

.reset-btn:hover {
    background-color: #e0e0e0;
    color: var(--text-dark);
}

.reset-btn:active {
    background-color: #d5d5d5;
    transform: translateY(1px);
}

/* Footer Styles */
footer {
    background: var(--gradient-blue);
    color: var(--text-light);
    border-radius: 10px;
    padding: 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    max-height: 150px;
}

.footer-info {
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-info p {
    margin: 5px 0;
    color: #fff;
    font-size: 14px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 150px;
    width: auto;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

/* Remove old duplicate styles - now handled by mobile-first approach */
    
    .form-section-title {
        font-size: 1.3rem;
        margin: 25px 0 15px 0;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .submit-btn,
    .reset-btn {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }
    
     /*Footer Mobile Styles */
    .footer-content {
        flex-direction: row !important;
        text-align: center;
        gap: 20px;
        padding: 20px;
        
    }
    
    .footer-logo {
        order: -1;
    }
    
    .footer-logo-img {
        max-height: 150px;
    }
    
    .footer-social {
        order: 1;
    }
    
    .social-links {
        justify-content: center;
        gap: 15px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
.mobile-menu-toggle {
  position: relative;
  z-index: 9999; /* highest priority */
  cursor: pointer;
}


/* Small Mobile Devices - Mobile First Enhancement */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .logo {
        max-height: 50px;
    }
    
    .content-section h1 {
        font-size: 1.6rem;


    }
    
    .nav-menu {
        width: 220px;
        padding: 15px;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
}
    
    .footer-logo-img {
        max-height: 150px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

/* Form Validation Styles */
.error {
    border-color: var(--error-color) !important;
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
}

.success-message {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 1140px;
    width: 90%;
    max-height: 85vh;
    overflow: visible;
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
}

.modal-header {
    padding: 35px 30px 20px 30px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
    flex-shrink: 0;
}

/*.modal-header::before {*/
/*    content: '✓';*/
/*    position: absolute;*/
/*    top: -25px;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    width: 50px;*/
/*    height: 50px;*/
/*    background: linear-gradient(135deg, var(--success-color), #45a049);*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    color: white;*/
/*    font-size: 1.5rem;*/
/*    font-weight: bold;*/
/*    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);*/
/*    border: 4px solid white;*/
/*}*/
.modal-header::before {
    content: '';
}

.modal-header h2 {
    margin: 15px 0 0 0;
    background: linear-gradient(135deg, var(--success-color), #45a049);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.modal-body {
    padding: 25px 30px;
    text-align: center;
    background: white;
    flex: 1;
    overflow-y: auto;
}

.modal-body p {
    margin: 0;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
}

.modal-footer {
    padding: 20px 30px 35px 30px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    margin-top: auto;
    flex-shrink: 0;
}

.modal-close-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.modal-close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.modal-close-btn:hover::before {
    left: 100%;
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.modal-close-btn:active {
    transform: translateY(0);
}

.modal-close-btn:hover {
    background: var(--secondary-color);
}

/* Mobile Modal Styles */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 10px;
        border-radius: 15px;
        max-height: 80vh;
    }
    
    .modal-header {
        padding: 30px 20px 15px 20px;
        flex-shrink: 0;
    }
    
    .modal-header::before {
        width: 45px;
        height: 45px;
        top: -22px;
        font-size: 1.3rem;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
        margin: 10px 0 0 0;
    }
    
    .modal-body {
        padding: 20px;
        flex: 1;
        overflow-y: auto;
    }
    
    .modal-body p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .modal-footer {
        padding: 15px 20px 30px 20px;
        flex-shrink: 0;
        margin-top: auto;
    }
    
    .modal-close-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
        border-radius: 40px;
        min-height: 44px;
        min-width: 120px;
    }
    
    /* President Section Mobile Styles */
    .president-intro {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    
    .president-img {
        width: 140px;
        height: 180px;
    }
    
    .president-intro h2 {
        font-size: 1.8rem;
    }
    
    .president-intro .title {
        font-size: 1.1rem;
    }
}

/* Events Page Styles */
.events-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.event-item {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.event-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.event-header h2 {
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 15px;
    border-bottom: 4px solid #3498db;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.event-header h3 {
    color: #666;
    font-size: 1.3em;
    margin-bottom: 25px;
    font-weight: 500;
    font-style: italic;
}

.event-header h2 i {
    color: #3498db;
    font-size: 0.9em;
}

.event-description {
    margin-bottom: 40px;
    line-height: 1.8;
}

.event-description p {
    margin-bottom: 20px;
    color: #555;
    text-align: justify;
    font-size: 1.1em;
}

.event-gallery h3 {
    color: #2c3e50;
    font-size: 1.6em;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.event-gallery h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #3498db;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    width: 100%;
}

.photo-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 220px;
}

.photo-item:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
    display: block;
    background-color: #f8f9fa;
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-item svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design for Events */
@media (max-width: 768px) {
    .events-content {
        padding: 10px;
    }
    
    .event-item {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .event-header h2 {
        font-size: 1.5em;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .event-header h2 {
        font-size: 1.3em;
    }
    
    .photo-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

/* Event venue and date styling */
.event-venue {
    color: #666;
    font-size: 1.1rem;
    margin: 0.5rem 0;
    font-weight: 500;
}

.event-date {
    color: #2c5aa0;
    font-size: 1rem;
    margin: 0.5rem 0;
    font-weight: 600;
}

/* ===== PROFESSIONAL HERO SECTION ===== */
.hero-section {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.slide-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

/* Navigation Controls */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 4;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    visibility: hidden;
}

/* Show navigation on hero slider hover */
.hero-slider:hover .slider-nav {
    opacity: 1;
    visibility: visible;
}

.slider-nav:hover {
    background: rgba(44, 90, 160, 0.8);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

.slider-nav.prev {
    left: 2rem;
}

.slider-nav.next {
    right: 2rem;
}

/* Slide Indicators */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 4;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.6);
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: rgba(44, 90, 160, 1);
    border-color: rgba(44, 90, 160, 1);
    transform: scale(1.2);
}

.indicator:hover {
    border-color: rgba(44, 90, 160, 0.8);
    background: rgba(44, 90, 160, 0.6);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .slider-nav.prev {
        left: 1rem;
    }
    
    .slider-nav.next {
        right: 1rem;
    }
}

@media (max-width: 768px) {
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-nav.prev {
        left: 0.5rem;
    }
    
    .slider-nav.next {
        right: 0.5rem;
    }
    
    .slider-indicators {
        bottom: 1rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 2rem;
}

.next-btn {
    right: 2rem;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}
/* Desktop */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

/* Mobile */
@media screen and (max-width: 768px) {
  .nav-menu {
    display: none; /* hidden by default */
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: -80px;
    width: 400%;
    background: #fff;
    border-top: 1px solid #ccc;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    margin-left: auto;
  }

  .mobile-menu-toggle span {
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* Responsive Design for Hero Slider */
@media (max-width: 768px) {
    .hero-slider {
        height: auto;
        margin-bottom: 1.5rem;
    }
    
    .slide-content {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slider-btn {
        font-size: 1.2rem;
        padding: 0.8rem;
    }
    
    .prev-btn {
        left: 1rem;
    }
    
    .next-btn {
        right: 1rem;
    }
    
    .slider-dots {
        bottom: 1.5rem;
        gap: 0.8rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: auto;
        border-radius: 10px;
    }
    
    .slide-content {
        padding: 1.5rem 1rem;
    }
    
    .slide-content h2 {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .slider-btn {
        font-size: 1rem;
        padding: 0.6rem;
    }
    
    .prev-btn {
        left: 0.5rem;
    }
    
    .next-btn {
        right: 0.5rem;
    }
    
    .slider-dots {
        bottom: 1rem;
        gap: 0.6rem;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

/* Mobile Footer Layout */
@media (max-width: 768px) {
  .footer-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px;
    padding: 20px;
  }

  .footer-logo {
    order: -1;
  }

  .footer-social {
    order: 1;
  }

  .social-links {
    justify-content: center;
  }
}


.intro-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    margin-bottom: 30px;
    gap: 20px;
}

.intro-left {
    flex: 1;
}

.intro-right {
    flex-shrink: 0;
}

.intro-register-btn {
    background: #007bff;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
}

.intro-register-btn:hover {
    background: #0056b3;
}

/* Mobile */
@media (max-width: 768px) {
    .intro-wrapper {
        flex-direction: column;
        text-align: center;
    }
}



/*modal*/

/* Modal Background */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Modal Box */
.modal-content {
    background: #fff;
    padding: 30px;
    width: 80%;
    max-width: 900px;
    border-radius: 10px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    font-weight: bold;
}

.open-modal-btn {
    padding: 12px 20px;
    background: #0066ff;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 6px;
}
.open-modal-btn:hover {
    background: #0053cc;
}
