/* Country Page Specific Styles */

/* Page Title */
.page-title {
    font-size: 2.5rem;
    color: #1E3C72;
    margin-bottom: 0.25rem;
    text-align: center;
}

.page-title-line2 {
    font-size: 1.8rem;
    color: #1E3C72;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

/* Section Title */
.section-title {
    font-size: 1.5rem;
    color: #1E3C72;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Section Text */
.section-text {
    max-width: 900px;
    margin: 0 auto 1rem;
    color: #4b5563;
    line-height: 1.8;
    text-align: center;
}

/* Partner Logo */
.partner-logo {
    text-align: center;
    margin: 1.5rem 0;
}

.partner-logo img {
    max-width: 280px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Intro Section */
.intro-section {
    padding: 3rem 0;
    text-align: center;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto 1rem;
    color: #4b5563;
    line-height: 1.8;
    text-align: center;
}

/* Read More/Less functionality - only on mobile */
.intro-more-content,
.video-more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.intro-more-content.expanded,
.video-more-content.expanded {
    max-height: 1000px;
}

.read-more-btn {
    display: block;
    margin: 1rem auto 0;
    padding: 0.5rem 1.5rem;
    background-color: #E5E7EB;
    color: #4B5563;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background-color: #D1D5DB;
}

/* Show on desktop - hide button, show all content */
@media (min-width: 769px) {
    .intro-more-content,
    .video-more-content {
        max-height: none;
    }
    .read-more-btn {
        display: none !important;
    }
}

/* Show on mobile - hide content, show button */
@media (max-width: 768px) {
    .read-more-btn {
        display: block;
    }

    /* Reduce gap between SFADA banner and glimpses grid on mobile */
    .glimpses-section {
        padding-top: 0.5rem;
    }

    /* Reorder gallery section on mobile */
    .gallery-section .container {
        display: flex;
        flex-direction: column;
    }

    .gallery-section .section-title {
        order: 1;
    }

    .gallery-section .gallery-carousel {
        order: 2;
    }

    .gallery-section .section-text {
        order: 3;
    }

    .gallery-section .gallery-view-more {
        order: 4;
    }
}

/* Hero Banner */
.hero-banner {
    width: 100%;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Led By Section */
.led-by-section {
    padding: 4rem 0;
    background-color: #fff;
}

.led-by-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.led-by-image {
    flex: 1;
    max-width: 500px;
}

.led-by-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.led-by-text {
    flex: 1;
}

.led-by-text h3 {
    color: #1E3C72;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.led-by-text p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Scholarship Section */
.scholarship-section {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    padding: 3rem 0;
    text-align: center;
}

.scholarship-section h3 {
    color: #1E3C72;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.scholarship-section p {
    color: #1E3C72;
    max-width: 700px;
    margin: 0 auto;
}

/* Video Section */
.video-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.video-container {
    max-width: 900px;
    margin: 2rem auto 0;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Ceremony Section */
.ceremony-section {
    padding: 3rem 0;
    text-align: center;
}

.ceremony-section h3 {
    color: #1E3C72;
    font-size: 1.5rem;
}

/* Glimpses Gallery */
.glimpses-section {
    padding: 4rem 0;
}

.glimpses-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #6b7280;
}

.glimpses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.glimpse-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.glimpse-card:hover {
    transform: scale(1.02);
}

.glimpse-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Visual Journey Section */
.visual-journey-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.visual-journey-section .section-title {
    max-width: 700px;
    margin: 0 auto 1rem;
}

/* Scenic Image */
.scenic-section {
    width: 100%;
    position: relative;
}

.scenic-section img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.scenic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    text-align: center;
}

.scenic-overlay h3 {
    font-size: 2rem;
    margin: 0;
}

/* Vision Section */
.vision-section {
    padding: 4rem 0;
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1E3C72 0%, #2a5298 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #fff;
    color: #1E3C72;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.8rem;
    }

    .page-title-line2 {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .led-by-content {
        flex-direction: column;
    }

    .led-by-image {
        max-width: 100%;
    }

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

    .scholarship-section h3 {
        font-size: 1.4rem;
    }

    .scenic-section img {
        height: 300px;
    }

    .scenic-overlay h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }

    .page-title-line2 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

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

    .scenic-section img {
        height: 250px;
    }

    .scenic-overlay h3 {
        font-size: 1.2rem;
    }
}
