/* Additional styles for secondary pages */


/* Page header with glassmorphism effect */
.page-header {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    color: var(--light-text);
    overflow: hidden;
    margin-top: 80px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.4) 0%, rgba(50, 50, 50, 0.4) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -2;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    z-index: -1;
}

.page-header .container {
    position: relative;
    z-index: 1;
    background: rgba(40, 40, 40, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #9ED5C5;
    text-shadow: 0 2px 20px rgba(158, 213, 197, 0.3);
    letter-spacing: -1px;
}

.page-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

/* Two column layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* About page specific styles */
.about-section {
    padding: 80px 0;
}

.about-section .section-title {
    margin-bottom: 10px;
}

.about-block {
    display: grid;
    gap: 40px;
    align-items: center;
}

/* DESKTOP: alternate layout */
.left-block {
    grid-template-columns: 3fr 2fr;
    grid-template-areas: "content image";
}

.right-block {
    grid-template-columns: 2fr 3fr;
    grid-template-areas: "image content";
}

/* Attach elements to the named areas */
.about-content {
    grid-area: content;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.about-image {
    grid-area: image;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .about-block {
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "image";
    }
}


/* Secretariat section */
.secretariat-section {
    padding: 80px 0;
    background: transparent;
}

.secretariat-section .secretariat-title {
    margin-top: 50px;
}

.secretariat-section .section-title {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.secretariat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.secretariat-member {
    perspective: 1000px;
}

.member-card {
    position: relative;
    height: 350px;
    width: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.secretariat-member:hover .member-card {
    transform: scale(1.05);
}

.member-front, .member-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.member-front {
    background: #000;
    display: flex;
    flex-direction: column;
}


.member-front img {
        width: 100%;
        height: 80%;
        object-fit: cover;
        object-position: center top;
        flex-shrink: 0;
}

@media (max-width: 700px) {
    .member-front img {
        height: 180px;
        object-fit: contain;
        object-position: center center;
        border-radius: 12px;
    }
}

.member-info {
    background: #000;
    width: 100%;
    height: 20%;
    padding: 15px 20px;
    color: var(--light-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: #ffffff;
    text-align: center;
}

.member-title {
    color: #b0b0b0;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}

.member-back {
    background-color: var(--secondary-color);
    color: #212121;
    transform: rotateY(180deg);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Secretariat Section */
@media (max-width: 1200px) {
    .secretariat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .secretariat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .member-card {
        height: 320px;  /* keep fixed height so card is visible */
    }
}

@media (max-width: 768px) {
    .secretariat-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .member-card {
        height: 400px;
    }

    .member-back {
        font-size: 0.92rem;
        padding: 20px;
        line-height: 1.55;
        overflow-y: auto;
    }

    .member-front img {
        height: 80%;
        width: 100%;
        object-fit: cover;
        object-position: center top;
    }
}

@media (max-width: 480px) {
    .member-card {
        height: 420px;
    }

    .member-front img {
        height: 80%;
        object-fit: cover;
        object-position: center top;
    }

    .member-info {
        height: 20%;
    }

    .member-info h3 {
        font-size: 1rem;
        color: #ffffff;
    }

    .member-title {
        font-size: 0.85rem;
    }
}

/* Specific fix for iPhone 14 Pro and similar (393x852) */
@media (max-width: 393px) and (min-height: 700px) {
    .member-card {
        height: 450px;
    }

    .member-front {
        display: flex;
        flex-direction: column;
    }

    .member-front img {
        height: 80%;
        width: 100%;
        object-fit: cover;
        object-position: center top;
        flex-shrink: 0;
    }

    .member-info {
        background: #000;
        height: 20%;
        padding: 12px 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .member-info h3 {
        font-size: 0.95rem;
        color: #ffffff;
        margin: 0 0 3px 0;
    }

    .member-title {
        font-size: 0.8rem;
        color: #b0b0b0;
        margin: 0;
    }
}

/* Background variations */
.bg-light {
    background-color: #f9f9f9;
}

.bg-dark {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Team section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-img {
    height: 250px;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3, .team-member p {
    padding: 0 15px;
}

.team-member h3 {
    margin: 15px 0 5px;
    font-size: 1.2rem;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.member-bio {
    font-size: 0.9rem;
    padding-bottom: 20px;
}

/* Testimonial grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial p:before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: -20px;
    top: -20px;
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author p {
    margin: 0;
    font-size: 0.9rem;
    font-style: normal;
}

/* Partners section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    margin-bottom: 50px;
}

.partner {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.partner img {
    max-width: 100%;
    max-height: 80px;
}

.partnership-cta {
    text-align: center;
    padding: 40px;
    background-color: #f1f1f1;
    border-radius: 10px;
    margin-top: 50px;
}

.partnership-cta h3 {
    margin-bottom: 15px;
}

/* Committee filter */
.committee-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

/* Committee category tag */
.committee-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Committee structure */
.committee-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.structure-item {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.structure-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.structure-item h3 {
    margin-bottom: 15px;
}

/* FAQ section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: #fff;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-answer {
    background-color: #f9f9f9;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 20px 0;
    margin: 0;
}

/* Registration form */
.registration-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.checkbox-group {
    margin: 20px 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-group input {
    margin-right: 10px;
}

/* Schedule page */
.schedule-day {
    margin-bottom: 50px;
}

.day-header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.schedule-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.schedule-time {
    font-weight: 600;
    color: var(--secondary-color);
}

.schedule-event h4 {
    margin-bottom: 5px;
}

.schedule-location {
    font-style: italic;
    color: #777;
    font-size: 0.9rem;
}

/* Resources page */
.resource-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.resource-header {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 20px;
}

.resource-body {
    padding: 20px;
}

.resource-list {
    list-style-type: none;
}

.resource-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.resource-list li:last-child {
    border-bottom: none;
}

.resource-list a {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.resource-list p {
    color: #666;
    font-size: 0.9rem;
}

/* Contact page styles */
.contact-method {
    display: flex;
    margin-bottom: 30px;
}

.contact-method i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-right: 20px;
    width: 40px;
    text-align: center;
}

.contact-method h3 {
    margin-bottom: 10px;
}

.social-links-large {
    margin-top: 40px;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    background-color: #f1f1f1;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-icons a i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.map-placeholder {
    background-color: #eee;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.venue-info {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.venue-info h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.venue-info p {
    margin-bottom: 5px;
}

.text-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    color: var(--secondary-color);
}

.text-link:hover {
    color: var(--accent-color);
}

.form-message {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Media queries for responsive design */
@media (max-width: 992px) {
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 100px 0 60px;
        margin-top: 70px;
    }
    
    .page-header .container {
        padding: 40px 30px;
        border-radius: 15px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
        letter-spacing: -0.5px;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .committee-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 80%;
    }
    
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

/* Sponsors Page Styles */
.sponsor-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Coming Soon Message */
.sponsors-showcase {
    margin: 50px 0;
}

/* Carousel Styles */
.sponsors-carousel {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 0;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.sponsors-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 280px;
    position: relative;
}

.sponsor-slide {
    position: absolute;
    width: 100%;
    max-width: 500px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.8s ease;
    box-shadow: none;
    border: none;
    opacity: 0;
    pointer-events: none;
}

.sponsor-slide.active {
    opacity: 1;
    z-index: 10;
    pointer-events: all;
}

.sponsor-slide.prev,
.sponsor-slide.next {
    opacity: 0.4;
    z-index: 5;
    transform: translate(-150%, -50%) scale(0.8);
}

.sponsor-slide.next {
    transform: translate(50%, -50%) scale(0.8);
}

.sponsor-logo {
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: relative;
    margin-bottom: 15px;
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 8px rgba(180, 255, 240, 0.2));
    opacity: 0.9;
}

.sponsor-slide.active .sponsor-logo img {
    filter: drop-shadow(0 0 12px rgba(180, 255, 240, 0.35));
    opacity: 1;
    /* Enhanced glow for active slide */
    box-shadow: 0 0 20px rgba(150, 255, 240, 0.25), 0 0 35px rgba(120, 220, 210, 0.15);
    animation: subtle-pulse 3s infinite alternate;
}

.sponsor-name {
    font-size: 1.2rem;
    color: var(--light-text);
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    opacity: 0.9;
    display: none;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    background: rgba(0, 128, 128, 0.2);
    color: var(--light-text);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin: 0 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(0, 128, 128, 0.5);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
}

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

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* Responsive styles for sponsors grid */
@media (max-width: 1200px) {
    .sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sponsor-item {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.sponsor-info {
    padding: 20px;
}

.sponsor-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--light-text);
}

.sponsor-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Main Sponsors Section - Clean approach */
.sponsors-page .section:first-of-type {
    background: transparent;
    position: relative;
    padding-bottom: 50px;
}

/* Sponsorship Opportunities - Transparent with glassmorphism */
.sponsorship-opportunities {
    background: transparent;
    position: relative;
    margin-top: 0;
    padding-top: 100px;
}

.sponsorship-opportunities .container {
    position: relative;
    z-index: 2;
}

.opportunities-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.opportunities-content > p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.benefit-card {
    background: transparent;
    padding: 30px 20px;
    border-radius: 15px;
    transition: all 0.4s ease;
    border: 1px solid rgba(127, 191, 176, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: rgba(127, 191, 176, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.benefit-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.5;
}

.cta-container {
    background: transparent;
    padding: 40px;
    border-radius: 20px;
    margin-top: 50px;
    border: 1px solid rgba(127, 191, 176, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.cta-container h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.cta-container p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--dark-bg);
    padding: 12px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--accent-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 128, 128, 0.3);
}

/* Responsive Styles for Sponsors Page */
@media (max-width: 992px) {
    .platinum-grid,
    .gold-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .silver-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .platinum-grid,
    .gold-grid,
    .silver-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-container {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .platinum-grid,
    .gold-grid,
    .silver-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsor-logo {
        height: 150px;
    }
    
    .tier-title {
        font-size: 1.5rem;
    }
}

/* Subtle glow pulse animation for sponsor logos */
@keyframes subtle-pulse {
    0% {
        box-shadow: 0 0 20px rgba(150, 255, 240, 0.25), 0 0 35px rgba(120, 220, 210, 0.15);
    }
    50% {
        box-shadow: 0 0 25px rgba(150, 255, 240, 0.3), 0 0 40px rgba(120, 220, 210, 0.2);
    }
    100% {
        box-shadow: 0 0 20px rgba(150, 255, 240, 0.25), 0 0 35px rgba(120, 220, 210, 0.15);
    }
}

/* Committees, Sponsors, CSR, and Forms Page Section Titles */
.page-header + .section .section-title:not(.about-section .section-title),
.sponsors-page .section-title,
.csr-page .section-title,
.forms-page .section-title {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Committees Coming Soon Styles */
.committees-coming-soon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.coming-soon-message {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    max-width: 900px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.coming-soon-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 128, 128, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
}

/* Gavel icon styling */
.pulse-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

.pulse-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 200, 190, 0.1);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

.coming-soon-message h3 {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.coming-soon-message p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Countdown Timer */
.countdown-display {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    width: 100%;
    margin-top: 18px;
  }
  
  .countdown-display .time-unit {
    background: linear-gradient(
      180deg,
      rgba(158, 213, 197, 0.18),
      rgba(0, 0, 0, 0.35)
    );
    border-radius: 14px;
    padding: 14px 6px;
    text-align: center;
    border: 1px solid rgba(158, 213, 197, 0.25);
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  
  .countdown-display .time-unit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(158, 213, 197, 0.25);
  }
  
  .countdown-display .number {
    font-size: 1.7rem;
    font-weight: 700;
    color: #9ED5C5;
    display: block;
    line-height: 1.15;
  }
  
  .countdown-display .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 6px;
  }
  
  /* ===============================
     TABLETS
     =============================== */
  @media (max-width: 900px) {
    .flip-container {
      max-width: 420px;
      height: auto;
    }
  
    .countdown-display {
      gap: 12px;
    }
  
    .countdown-display .number {
      font-size: 1.5rem;
    }
  }
  
  /* ===============================
     MOBILE – 2x2 GRID
     =============================== */

     @media (max-width: 480px) {

        .countdown-display {
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          gap: 12px;
          width: 100%;
        }
      
        .countdown-display .time-unit {
          grid-column: span 2; /* THIS IS THE KEY */
          width: 100%;
          padding: 14px 8px;
          border-radius: 14px;
        }
      
        .countdown-display .number {
          font-size: 1.35rem;
        }
      
        .countdown-display .label {
          font-size: 0.65rem;
          letter-spacing: 0.6px;
        }
      }

 

/* Teaser Cards */
.teaser-info {
    margin-top: 40px;
}

.teaser-info h4 {
    font-size: 1.4rem;
    color: var(--light-text);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.teaser-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
}

.teaser-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px 20px;
    min-width: 200px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teaser-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 200, 190, 0.2);
}

.teaser-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.teaser-card h5 {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.teaser-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

/* Notification Button */
.notify-container {
    margin-top: 40px;
}

.glow-btn {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.8), rgba(0, 100, 100, 0.8));
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 200, 190, 0.3);
    border: none;
    cursor: pointer;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(0, 200, 190, 0.6), 
        rgba(0, 50, 50, 0), 
        rgba(0, 200, 190, 0.6));
    z-index: -1;
    animation: glowing 3s linear infinite;
    border-radius: 30px;
}

.glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 200, 190, 0.4);
}

.glow-btn i {
    margin-left: 8px;
}

.notify-container p {
    margin-top: 15px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 400% 0;
    }
}

/* Forms Page Styles */
.forms-page {
    background: var(--primary-color);
    min-height: 100vh;
    position: relative;
}

.forms-section {
    padding: 80px 0;
    margin-bottom: 0;
}

.forms-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.registration-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 50px 0 0 0;
    flex-wrap: wrap;
}

/* Flip Card Styles */
.flip-card {
    background-color: transparent;
    width: 350px;
    height: 450px;
    perspective: 1000px; /* 3D effect */
    margin-bottom: 0;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card:hover .flip-card-inner,
.flip-card-inner.flipped {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    color: var(--light-text);
}

.flip-card-front {
    background: linear-gradient(145deg, rgba(35, 35, 50, 0.95), rgba(20, 20, 30, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.flip-card-back {
    background: linear-gradient(145deg, rgba(0, 85, 85, 0.9), rgba(0, 50, 50, 0.9));
    transform: rotateY(180deg);
    justify-content: space-between;
    border: 1px solid rgba(0, 200, 190, 0.2);
}

.delegation-front {
    background: linear-gradient(145deg, rgba(40, 40, 60, 0.95), rgba(25, 25, 40, 0.95));
}

.delegation-back {
    background: linear-gradient(145deg, rgba(0, 90, 80, 0.9), rgba(0, 55, 50, 0.9));
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.flip-card-front h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.flip-card-front p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    padding: 0 20px;
}

.flip-instruction {
    position: absolute;
    bottom: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.flip-instruction i {
    animation: rotate 3s infinite linear;
    font-size: 0.8rem;
}

.flip-card-back h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--light-text);
    position: relative;
    padding-bottom: 15px;
}

.flip-card-back h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    display: none; /* Hide committee card underlines */
}

.form-details {
    width: 100%;
}

.form-details p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.5;
}

.form-requirements {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}

.form-requirements li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.form-requirements li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 0.8rem;
}

.form-fee {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 15px 0;
}

.register-btn {
    background: rgba(0, 0, 0, 0.3);
    color: var(--light-text);
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 10px;
    display: inline-block;
}

.register-btn:hover {
    background: var(--accent-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.flip-back-instruction {
    position: absolute;
    bottom: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 5px;
}

.registration-info {
    max-width: 800px;
    margin: 30px auto 0;
}

.info-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-box h4 {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box h4 i {
    color: var(--accent-color);
}

.info-box p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.info-box a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-box a:hover {
    color: var(--light-text);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive styles for Forms Page */
@media (max-width: 768px) {
    .registration-cards {
        gap: 20px;
    }
    
    .flip-card {
        width: 300px;
        height: 420px;
    }
    
    .flip-card-front h3,
    .flip-card-back h3 {
        font-size: 1.5rem;
    }
    
    .info-box {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .flip-card {
        width: 100%;
        max-width: 300px;
    }
}

/* CSR Page Styles */
.csr-intro-paragraph,
.csr-conclusion-paragraph {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.csr-conclusion-paragraph {
    margin: 80px auto 20px;
}

/* =========================
   CSR BLOCK LAYOUT (DESKTOP)
   ========================= */

.csr-block {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.left-block {
    flex-direction: row;
}

.right-block {
    flex-direction: row-reverse;
}

/* =========================
   CSR IMAGE (SAFARI SAFE)
   ========================= */

.csr-image {
    width: min(40vw, 420px);   /* responsive but bounded */
    aspect-ratio: 1 / 1;      /* force square */
    background: #111;         /* neutral background */
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
/* IMPORTANT CHANGE */
.csr-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;   /* IMPORTANT: no cropping */
}

.csr-image:hover img {
    transform: scale(1.05);
}

/* =========================
   CSR TEXT CARD
   ========================= */

.csr-info {
    padding: 50px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.csr-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #9ED5C5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.csr-info p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* =========================
   MOBILE LAYOUT (ALL IOS)
   ========================= */

@media (max-width: 768px) {

    .container {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .csr-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .csr-info {
        max-width: 92%;
        margin: 0 auto;
        padding: 20px;
    }

    .csr-image {
        width: min(85vw, 340px);
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }
}

/* =========================
   SMALL MOBILE TWEAKS
   ========================= */

@media (max-width: 480px) {
    .csr-info h3 {
        font-size: 1.6rem;
    }

    .csr-info p {
        font-size: 1.05rem;
    }
}
.csr-image {
    overflow: hidden;
}

.csr-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 24px;
}
/* Edition Pages Styles */
.edition-hero {
    background-color: var(--background-color);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.edition-hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.edition-badge {
    display: inline-block;
    background-color: var(--secondary-color);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--background-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.edition-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.edition-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.organizational-section {
    padding: 80px 0;
}

.org-chart-container {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 40px 20px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Organizational Chart Structure */
.level {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 20px 0;
    position: relative;
}

.node {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 20px 15px;
    margin: 10px 15px;
    min-width: 200px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.node:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.node.secretariat {
    background-color: var(--secondary-color);
}

.node.secretariat h4,
.node.secretariat p {
    color: var(--background-color);
}

/* Profile Image Styling */
.profile-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--secondary-color);
    background-color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.node:hover .profile-image {
    transform: scale(1.1);
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.node:hover .member-photo {
    transform: scale(1.05);
}

/* Connector Lines */
.connector {
    position: relative;
    margin: 0;
    height: 20px;
}

.connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--secondary-color);
    opacity: 0.6;
}

/* Children Container */
.children-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

.children-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    padding-top: 20px;
}

.children-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--secondary-color);
    opacity: 0.6;
}

.parent-node::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--secondary-color);
    opacity: 0.6;
}

.children-list .node::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--secondary-color);
    opacity: 0.6;
}

/* Category Headers */
.category-header {
    margin: 40px 0 20px;
    text-align: center;
}

.category-header h3 {
    color: var(--secondary-color);
    font-size: 1.6rem;
    font-weight: 600;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin: 0;
    display: inline-block;
}

/* Sub Charts for Committees */
.committees-level {
    flex-direction: column;
    align-items: center;
}

.sub-chart {
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    padding: 20px;
    margin: 15px;
    background-color: var(--background-color);
    min-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sub-chart h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid var(--secondary-color);
    padding-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .children-list {
        flex-direction: column;
        align-items: center;
    }
    
    .node {
        min-width: 180px;
        margin: 8px;
    }
}

@media (max-width: 768px) {
    .org-chart-container {
        padding: 20px 15px;
    }
    
    .edition-title {
        font-size: 2.5rem;
    }
    
    .node {
        min-width: 160px;
        padding: 15px 10px;
        margin: 5px;
    }
    
    .profile-image {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .node h4 {
        font-size: 1rem;
    }
    
    .node p {
        font-size: 0.85rem;
    }
    
    .category-header h3 {
        font-size: 1.4rem;
    }
    
    .sub-chart {
        min-width: 250px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .edition-title {
        font-size: 2rem;
    }
    
    .node {
        min-width: 140px;
        padding: 12px 8px;
    }
    
    .profile-image {
        width: 45px;
        height: 45px;
    }
    
    .node h4 {
        font-size: 0.95rem;
    }
    
    .node p {
        font-size: 0.8rem;
    }
    
    .sub-chart {
        min-width: 200px;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.node {
    animation: fadeInUp 0.6s ease forwards;
}

.node:nth-child(1) { animation-delay: 0.1s; }
.node:nth-child(2) { animation-delay: 0.2s; }
.node:nth-child(3) { animation-delay: 0.3s; }
.node:nth-child(4) { animation-delay: 0.4s; }
.node:nth-child(5) { animation-delay: 0.5s; }

/* Clean Design Enhancement - Matching Main Website */
.node h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.2;
}

.node p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
    opacity: 0.9;
}

/* Clean Timeline Styles for Edition Pages */
.timeline-layout {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-container {
    position: relative;
    padding: 10px 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 1;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    z-index: 2;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -14px;
    background-color: var(--background-color);
    border: 3px solid var(--secondary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 3;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 0;
}

.timeline-item.right::after {
    left: -14px;
}

.timeline-content {
    padding: 25px;
    background-color: var(--background-color);
    border: 1px solid rgba(127, 191, 176, 0.3);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.timeline-content.group-two,
.timeline-content.group-four {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    flex-direction: row;
    align-items: flex-start;
}

.committee-member-box {
    background-color: var(--background-color);
    border: 1px solid rgba(127, 191, 176, 0.3);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    flex: 1 1 45%;
    min-width: 200px;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content.group-four .committee-member-box {
    flex: 1 1 45%;
    max-width: 45%;
}

.committee-member-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.committee-member-box .member-name {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1em;
    color: var(--text-color);
}

.committee-member-box .member-position {
    font-size: 0.95em;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.committee-member-box .member-school {
    font-size: 0.85em;
    color: var(--secondary-color);
    opacity: 0.8;
}

/* Timeline Mobile Responsive */
@media screen and (max-width: 768px) {
    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after,
    .timeline-item.right::after {
        left: 15px;
    }

    .timeline-item.right {
        left: 0%;
    }

    .committee-member-box {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: unset;
        margin-bottom: 15px;
    }

    .timeline-content .committee-member-box:last-child {
        margin-bottom: 0;
    }
}

.leadership-section {
    margin-bottom: 50px;
}

.leadership-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

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

.team-member-card {
    background: rgba(42, 42, 58, 0.6);
    border: 1px solid rgba(127, 191, 176, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.team-member-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(127, 191, 176, 0.2);
}

.team-member-card h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.team-member-card p {
    color: var(--secondary-color);
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

.committees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.committee-card {
    background: rgba(42, 42, 58, 0.6);
    border: 1px solid rgba(127, 191, 176, 0.3);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.committee-card:hover {
    transform: translateY(-3px);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(127, 191, 176, 0.15);
}

.committee-card h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 1px solid rgba(127, 191, 176, 0.2);
    padding-bottom: 10px;
}

.committee-members {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.committee-members span {
    color: #dde3ef;
    font-size: 0.95rem;
}

.committee-members strong {
    color: white;
}

/* Edition Pages Responsive */
@media (max-width: 768px) {
    .edition-title {
        font-size: 2.5rem;
    }
    
    .org-chart-container {
        padding: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .committees-grid {
        grid-template-columns: 1fr;
    }

    .edition-hero {
        min-height: 50vh;
    }

    .edition-hero-content {
        padding: 0 15px;
    }
}

/* ===== COMMITTEE PAGE STYLES ===== */

/* Conference sections */
.conferences-section {
    padding: 60px 0;
}

.committees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 260px));
    gap: 24px;
    justify-content: center;
}

.conference-box {
    background: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.conference-box:hover {
    transform: translateY(-8px);
    background: rgba(26, 26, 26, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.conference-header {
    text-align: center;
    margin-bottom: 30px;
}

.conference-header h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
}

.conference-header p {
    color: #cccccc;
    font-size: 1rem;
    font-family: 'Times New Roman', Times, serif;
}

.committees-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 24px;
}

.committee-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    text-align: center;
    cursor: pointer;
    border: none;
    box-shadow: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    flex: 0 1 280px;       
    max-width: 320px;
    width: 100%;
}


@media (max-width: 768px) {
    .committee-card {
        flex: 1 1 100%;
        max-width: 100%;   
        width: 100%;
    }

    .conferences-section .committees-grid,
    .committees-grid {
        justify-content: center;
    }
}

.committee-card:hover {
    transform: translateY(-5px);
    background: transparent;
    border: none;
    box-shadow: none;
}

.committee-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.committee-logo {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(33, 33, 33, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.committee-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.committee-card:hover .committee-logo img {
    transform: scale(1.05);
}

.committee-card h4 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
}

/* Committee Introduction Section */
.committee-intro {
    background: rgba(33, 33, 33, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin: 40px auto;
    padding: 60px 0;
}

.committee-intro .lead {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 800px;
    margin: 20px auto 50px;
    line-height: 1.8;
}

/* Committees layout */
.conferences-section .committees-grid,
.committees-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   
    gap: 32px;
}

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

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(158, 213, 197, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(158, 213, 197, 0.1);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-item h4 {
    color: var(--secondary-color);
    font-family: 'Cinzel', serif;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-item p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, rgba(158, 213, 197, 0.1), rgba(136, 204, 192, 0.1));
    border-radius: 20px;
    margin: 40px auto;
    padding: 80px 0;
    text-align: center;
    border: 1px solid rgba(158, 213, 197, 0.2);
}

.cta-content h2 {
    color: var(--secondary-color);
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: #cccccc;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(158, 213, 197, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design for Committees */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .committee-intro .lead {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 80%;
        max-width: 300px;
    }
    
    .committee-details {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

/* Tab Interface Styles */
.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    background: rgba(33, 33, 33, 0.8);
    border-radius: 15px;
    padding: 10px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(158, 213, 197, 0.2);
}

.tab-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    padding: 20px 40px;
    margin: 0 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #cccccc;
    min-width: 200px;
}

.tab-button i,
.tab-button .conference-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.tab-button .conference-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.tab-button span {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    margin-bottom: 4px;
}

.tab-button small {
    font-size: 0.85rem;
    color: #9ED5C5;
}

.tab-button:hover {
    background: rgba(158, 213, 197, 0.1);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.tab-button.active {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: var(--primary-color);
}

.tab-button.active i {
    color: var(--primary-color);
}

.tab-button.active small {
    color: rgba(33, 33, 33, 0.7);
}

/* Tab Content Styles */
.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.committees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    justify-items: center;
    align-items: stretch;
}

/* Responsive Tab Design */
@media (max-width: 768px) {
    .tab-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-button {
        margin: 0;
        min-width: auto;
        width: 100%;
    }
    
    .committees-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .committee-card {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .tab-button {
        padding: 15px 20px;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .tab-button i,
    .tab-button .conference-icon {
        font-size: 1.4rem;
        margin-bottom: 0;
    }
    
    .tab-button .conference-icon {
        width: 35px;
        height: 35px;
    }
    
    .tab-button span {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .committee-card {
        min-height: 180px;
    }
    
    .committees-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 15px;
    }
}

.committee-card h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 15px 0 10px 0;
    line-height: 1.3;
    font-family: 'Cinzel', serif;
    flex-shrink: 0;
}

.committee-card p {
    color: #cccccc;
    font-size: 0.9rem;
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
}

.committee-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 8px 12px;
    background: rgba(158, 213, 197, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(158, 213, 197, 0.2);
}

.committee-details small {
    color: var(--secondary-color);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.committee-details i {
    font-size: 0.7rem;
}

.committee-level {
    display: inline-block;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: #000;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Committee page responsive design */
@media (max-width: 768px) {
    .conferences-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .committees-grid {
        grid-template-columns: 1fr;
    }
    
    .conference-box {
        padding: 30px 20px;
    }
}

/* ===== UPDATED FORMS PAGE STYLES ===== */

/* Committee list styling in forms */
.committee-list {
    margin: 10px 0 15px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.committee-list small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Registration Buttons Layout */
.registration-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.registration-buttons .register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.registration-buttons .register-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.registration-buttons .register-btn i {
    font-size: 14px;
}

/* Update flip instruction text */
.flip-instruction span {
    font-size: 12px;
    margin-left: 8px;
}

/* Form details list styling */
.form-details ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.form-details li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    padding-left: 0;
}

.form-details li:before {
    content: '✓';
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
    margin-right: 10px;
    font-size: 0.8rem;
}

/* Three card layout */
@media (min-width: 1200px) {
    .registration-cards {
        justify-content: space-between;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .flip-card {
        width: 320px;
    }
}

/* Responsive adjustments for forms */
@media (max-width: 992px) {
    .registration-cards {
        gap: 30px;
    }
    
    .flip-card {
        width: 320px;
    }
}

@media (max-width: 768px) {
    .registration-cards {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .flip-card {
        width: 100%;
        max-width: 350px;
    }
}

.flip-side .countdown-display {
    align-self: stretch;
  }
  
  /* Mobile layout */
  @media (max-width: 480px) {
  
    .flip-side {
      justify-content: flex-start; /* stop vertical centering */
    }
  
    .countdown-display {
      grid-template-columns: repeat(2, 1fr);
      width: 100%;
    }
  
    .countdown-display .time-unit {
      grid-column: auto; /* reset span logic */
    }
  }

  .flip-container { height: auto !important; }