/* NCPA Junior Page Styles */

.ncpa-junior {
    background-color: #000;
    color: #fff;
    font-family: 'Lexend Peta', sans-serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://static.wixstatic.com/media/76e561_ed8533bab2ed428b922aaeb8a90aac55~mv2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 4rem 2rem 6rem;
    height: auto;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    width: 100%;
}

.hero-content h1 {
    font-family: 'Lexend Peta', sans-serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #7EADED;
    font-weight: 700;
}

.age-range {
    font-family: 'Lexend Peta', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 300;
}

.highlight {
    color: #7EADED;
    font-size: 1.4rem;
    font-weight: 500;
    margin: 2rem 0;
}

.launch-date {
    color: #7EADED;
    font-size: 1.2rem;
    margin-top: 2rem;
    font-weight: 400;
}

/* Junior Stats Section */
.junior-stats-section {
    margin-top: 3rem;
    padding: 4rem 0;
}

.junior-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.junior-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.junior-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(126, 173, 237, 0.1), rgba(74, 144, 226, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 13px;
}

.junior-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(126, 173, 237, 0.5);
    box-shadow: 0 10px 30px rgba(126, 173, 237, 0.2);
}

.junior-stat-card:hover::before {
    opacity: 1;
}

.junior-stat-card:nth-child(even):hover {
    border-color: rgba(74, 144, 226, 0.5);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.junior-stat-value {
    font-size: 2.2em;
    font-weight: 800;
    color: #7EADED;
    margin-bottom: 8px;
    position: relative;
    z-index: 3;
    line-height: 1;
    word-break: break-word;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.junior-stat-card:nth-child(even) .junior-stat-value {
    color: #4A90E2;
}

.junior-stat-label {
    font-size: 0.8em;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 3;
    line-height: 1.2;
    text-align: center;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Features Section */
.features-section {
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(126, 173, 237, 0.1);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(126, 173, 237, 0.05), rgba(74, 144, 226, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(126, 173, 237, 0.2);
    box-shadow: 0 15px 35px rgba(126, 173, 237, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h2 {
    font-family: 'Lexend Peta', sans-serif;
    color: #7EADED;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.feature-card h3 {
    font-family: 'Lexend Peta', sans-serif;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.feature-card p {
    position: relative;
    z-index: 2;
}

/* Group Photo Section */
.group-photo-section {
    position: relative;
    height: 60vh;
    overflow: hidden;
    background: url('/wp-content/uploads/2025/08/DSC00110_1_25.jpg') center center;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding: 0;
    margin: 0;
}

.photo-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.photo-container img {
    display: none; /* Hide the img tag since we're using background-image */
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    z-index: 2;
    margin: 0;
}

.photo-overlay h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.photo-overlay p {
    font-size: 1.5rem;
    color: #7EADED;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Program Details Section - Updated */
.program-details {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, #111, #000);
}

.program-details h2 {
    font-family: 'Lexend Peta', sans-serif;
    text-align: center;
    color: #7EADED;
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 600;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.detail-card {
    background: rgba(126, 173, 237, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(126, 173, 237, 0.2);
    background: rgba(126, 173, 237, 0.1);
}

.detail-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.detail-card h3 {
    font-family: 'Lexend Peta', sans-serif;
    color: #7EADED;
    font-size: 1.8rem;
    padding: 2rem 2rem 1rem;
    margin: 0;
    font-weight: 500;
}

.detail-card p {
    padding: 0 2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.learn-more {
    font-family: 'Lexend Peta', sans-serif;
    display: inline-flex;
    align-items: center;
    margin: 0 2rem 2rem;
    padding: 1rem 2rem;
    background: #7EADED;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.1rem;
}

.learn-more i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    background: #fff;
    transform: translateX(5px);
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Action Buttons Section */
.action-buttons-section {
    padding: 6rem 2rem;
    background: #111;
    text-align: center;
}

.action-buttons-section h2 {
    font-size: 2.5rem;
    color: #7EADED;
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #fff;
    line-height: 1.6;
}

.buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    min-height: 180px;
    background: rgba(126, 173, 237, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(126, 173, 237, 0.2);
    position: relative;
    overflow: hidden;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(126, 173, 237, 0.05), rgba(74, 144, 226, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-button i {
    font-size: 2.5rem;
    color: #7EADED;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.action-button span {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.action-button:hover {
    transform: translateY(-8px);
    background: rgba(126, 173, 237, 0.2);
    border-color: rgba(126, 173, 237, 0.4);
    box-shadow: 0 15px 35px rgba(126, 173, 237, 0.3);
}

.action-button:hover::before {
    opacity: 1;
}

/* NCPA Junior Map Section */
.junior-map-section {
    padding: 6rem 2rem;
    background: #0b0b0b;
    text-align: center;
}

.junior-map-section h2 {
    font-size: 2.5rem;
    color: #7EADED;
    margin-bottom: 1rem;
}

.regions-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.region-button {
    background: rgba(126, 173, 237, 0.1);
    border: 2px solid rgba(126, 173, 237, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.region-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(126, 173, 237, 0.1), rgba(74, 144, 226, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.region-button span {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 2;
}

.region-button:hover {
    transform: translateY(-8px);
    background: rgba(126, 173, 237, 0.2);
    border-color: rgba(126, 173, 237, 0.6);
    box-shadow: 0 15px 35px rgba(126, 173, 237, 0.3);
}

.region-button:hover::before {
    opacity: 1;
}

@media (max-width: 1200px) {
    .buttons-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .buttons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .action-button {
        padding: 2rem;
        min-height: 160px;
    }

    .action-button i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .action-button span {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .buttons-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .action-button {
        padding: 1.8rem;
        min-height: 140px;
    }

    .action-button i {
        font-size: 1.8rem;
    }

    .action-button span {
        font-size: 1rem;
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .age-range {
        font-size: 1.8rem;
    }

    .photo-overlay h2 {
        font-size: 2.5rem;
    }

    .photo-overlay p {
        font-size: 1.2rem;
    }

    .junior-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
        max-width: 900px;
        padding: 0 1rem;
    }

    .junior-stat-card {
        padding: 1.2rem 0.8rem;
        min-height: 120px;
    }

    .junior-stat-value {
        font-size: 1.8rem;
    }

    .junior-stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        height: auto;
        padding: 1.5rem 1.5rem 3rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .age-range {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .highlight {
        font-size: 1.2rem;
        margin: 1.5rem 0;
    }

    .group-photo-section {
        height: 50vh;
        background-attachment: scroll; /* Disable parallax on mobile */
    }

    .photo-overlay h2 {
        font-size: 2rem;
    }

    /* Junior Stats Tablet */
    .junior-stats-section {
        margin-top: 2.5rem;
        padding: 2rem 0;
    }

    .junior-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 600px;
        padding: 0 1rem;
    }

    .junior-stat-card {
        padding: 1.2rem 0.8rem;
        min-height: 120px;
    }

    .junior-stat-value {
        font-size: 1.6rem;
    }

    .junior-stat-label {
        font-size: 0.7rem;
    }

    .action-buttons-section {
        padding: 4rem 1.5rem;
    }

    .buttons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .action-button {
        padding: 2rem;
        min-height: 160px;
    }

    .action-button i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .action-button span {
        font-size: 1.1rem;
    }

    .junior-map-section {
        padding: 4rem 1.5rem;
    }

    .regions-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 100vh;
        height: auto;
        padding: 1rem 1rem 2.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .age-range {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .highlight {
        font-size: 1.1rem;
        margin: 1.5rem 0;
    }

    .group-photo-section {
        height: 40vh;
        background-attachment: scroll; /* Disable parallax on mobile */
    }

    .photo-overlay h2 {
        font-size: 1.5rem;
    }

    .photo-overlay p {
        font-size: 1rem;
    }

    /* Junior Stats Responsive */
    .junior-stats-section {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }

    .junior-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        max-width: 400px;
        padding: 0 0.5rem;
    }

    .junior-stat-card {
        padding: 1rem 0.5rem;
        min-height: 120px;
    }

    .junior-stat-value {
        font-size: 1.8rem;
    }

    .junior-stat-label {
        font-size: 0.75rem;
        line-height: 1.1;
    }

    .action-buttons-section {
        padding: 3rem 1rem;
    }

    .buttons-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .action-button {
        padding: 1.8rem;
        min-height: 140px;
    }

    .action-button i {
        font-size: 1.8rem;
    }

    .action-button span {
        font-size: 1rem;
    }

    .junior-map-section {
        padding: 3rem 1rem;
    }

    .junior-map-section h2 {
        font-size: 2rem;
    }

    .regions-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 300px;
    }

    .region-button {
        padding: 1.5rem;
        min-height: 100px;
    }

    .region-button span {
        font-size: 1.1rem;
    }
}

/* Join the Movement Section */
.join-movement-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.1), rgba(255, 127, 80, 0.1));
    text-align: center;
}

.join-movement-section h2 {
    font-size: 3rem;
    color: #7EADED;
    margin-bottom: 1.5rem;
}

.movement-intro {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: #fff;
    line-height: 1.6;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding-bottom: 2rem;
}

.role-card {
    background: rgba(126, 173, 237, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(126, 173, 237, 0.1);
    cursor: pointer;
    position: relative;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(126, 173, 237, 0.05), rgba(74, 144, 226, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.role-card:hover {
    border-color: #7EADED;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(126, 173, 237, 0.2);
}

.role-card:hover::before {
    opacity: 1;
}

.role-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1rem;
    background: rgba(126, 173, 237, 0.1);
}

.role-header i {
    font-size: 1.5rem;
    color: #7EADED;
}

.role-header h3 {
    flex: 1;
    margin: 0;
    font-size: 1.3rem;
    color: #fff;
    text-align: left;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.role-card.active .toggle-icon {
    transform: rotate(180deg);
}

.role-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.role-card.active .role-content {
    max-height: 600px;
    padding: 2rem 1.5rem;
}

.role-content p {
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: left;
    line-height: 1.6;
}

.role-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.role-content li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.role-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #7EADED;
}

.role-get-started {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #7EADED;
    color: #000;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    text-align: center;
}

.role-get-started:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(126, 173, 237, 0.3);
}

.inquire-section {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
}

.inquire-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: #7EADED;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.inquire-button:hover {
    background: #fff;
    transform: translateY(-3px);
}

.inquire-button i {
    transition: transform 0.3s ease;
}

.inquire-button:hover i {
    transform: translateX(5px);
}

.inquire-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-style: italic;
}

@media (max-width: 1024px) {
    .join-movement-section h2 {
        font-size: 2.5rem;
    }

    .movement-intro {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .roles-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .join-movement-section {
        padding: 4rem 1.5rem;
    }

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

    .role-header h3 {
        font-size: 1.2rem;
    }

    .inquire-button {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .join-movement-section h2 {
        font-size: 2rem;
    }

    .movement-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .role-header {
        padding: 1.2rem;
    }

    .role-card.active .role-content {
        padding: 1.8rem 1.2rem;
    }

    .role-content p {
        font-size: 0.95rem;
    }

    .role-content li {
        font-size: 0.9rem;
    }

    .role-get-started {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        margin-top: 1.2rem;
    }
}
