/* =====================================================
   PAGES.CSS - Styles for About, Services, Activities, Contact
   Link this AFTER style.css in your HTML pages
   ===================================================== */

/* --- PAGE HERO (for internal pages) --- */
.page-hero {
    padding: 180px 5% 80px; /* Extra top padding to account for fixed navbar */
    background: linear-gradient(135deg, var(--color-blue), var(--color-green));
    color: white;
    text-align: center;
    margin-top: 0;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.page-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

/* --- SECTIONS --- */
.section-pad {
    padding: 4rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- ABOUT PAGE --- */
.story-section {
    background: rgba(255,255,255,0.9);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text h2 {
    color: var(--color-blue);
    margin-bottom: 1.5rem;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #555;
}

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.mission-section {
    background: var(--color-blue);
    color: white;
    text-align: center;
    padding: 4rem 5%;
}

.mission-section .section-title {
    color: white;
}

.mission-box {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
    border-left: 5px solid var(--color-yellow);
}

.mission-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-yellow);
}

.mission-box p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.values-section {
    background: rgba(255,255,255,0.7);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.value-card:nth-child(1) i { color: var(--color-red); }
.value-card:nth-child(2) i { color: var(--color-blue); }
.value-card:nth-child(3) i { color: var(--color-green); }

.value-card h3 {
    font-size: 1.6rem;
    color: var(--color-blue);
    margin-bottom: 1rem;
}

.value-card p {
    color: #555;
    line-height: 1.7;
}

.team-section {
    background: white;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #555;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    background: rgba(241, 250, 238, 0.5);
    border-radius: 10px;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.team-member h3 {
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #666;
    font-size: 0.95rem;
}

.centres-section {
    background: rgba(255,255,255,0.9);
}

.centres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.centre-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.centre-card:hover {
    transform: translateY(-10px);
}

.centre-image {
    height: 200px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.centre-content {
    padding: 1.5rem;
}

.centre-content h3 {
    color: var(--color-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.centre-content p {
    color: #555;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.centre-content i {
    color: var(--color-red);
    margin-right: 8px;
}

/* --- SERVICES PAGE --- */
.overview-section {
    background: rgba(255,255,255,0.9);
}

.overview-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.overview-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.highlight-box {
    background: var(--color-yellow);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.highlight-box h3 {
    color: var(--color-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.highlight-box p {
    color: #333;
    font-size: 1.1rem;
}

.services-section {
    background: rgba(255,255,255,0.7);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card:nth-child(1) i { color: var(--color-red); }
.service-card:nth-child(2) i { color: var(--color-blue); }
.service-card:nth-child(3) i { color: var(--color-green); }
.service-card:nth-child(4) i { color: var(--color-yellow); }
.service-card:nth-child(5) i { color: var(--color-red); }

.service-card h3 {
    font-size: 1.6rem;
    color: var(--color-blue);
    margin-bottom: 1rem;
}

.service-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
    text-align: left;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: #555;
}

.service-card ul li i {
    color: var(--color-green);
    margin-right: 10px;
    font-size: 1rem;
}

/* 1. Use flex on the li to keep icon and text side-by-side */
.service-card ul li {
    display: flex;
    align-items: flex-start; /* Aligns tick with the top line of text */
    padding: 0.4rem 0;
    color: #555;
}

/* 2. Reset the 'block' and 'margin' behavior from the main icon rule */
.service-card ul li i {
    display: inline-block !important; /* Forces it to stay on the same line */
    margin-bottom: 0 !important;      /* Removes the big gap below the tick */
    margin-top: 5px;                  /* Centers the tick vertically with the text */
    flex-shrink: 0;                   /* Prevents the icon from getting squashed */
    width: 25px;                      /* Gives icons a consistent width */
    font-size: 1rem;
    color: var(--color-green);
}

.schedule-section {
    background: var(--color-blue);
    color: white;
}

.schedule-section .section-title {
    color: white;
}

.schedule-box {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.schedule-item {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-yellow);
}

.schedule-item h4 {
    color: var(--color-yellow);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.schedule-item p {
    font-size: 1.1rem;
}

.packages-section {
    background: white;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.package-card {
    background: rgba(241, 250, 238, 0.8);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.package-card:hover {
    border-color: var(--color-blue);
    transform: translateY(-5px);
}

.package-card h3 {
    color: var(--color-blue);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.package-card p {
    color: #555;
    margin-bottom: 1.5rem;
}

.package-card ul {
    list-style: none;
    text-align: left;
}

.package-card ul li {
    padding: 0.5rem 0;
    color: #555;
}

.package-card ul li i {
    color: var(--color-green);
    margin-right: 10px;
}

/* --- ACTIVITIES PAGE --- */
.intro-section {
    background: rgba(255,255,255,0.9);
    text-align: center;
}

.intro-section p {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    color: #555;
    line-height: 1.8;
}

.category-section {
    background: rgba(255,255,255,0.7);
}

.category-section:nth-child(even) {
    background: white;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-header i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.category-header h2 {
    font-size: 2.2rem;
    color: var(--color-blue);
    margin-bottom: 1rem;
}

.category-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-top: 4px solid var(--color-blue);
    transition: transform 0.3s, box-shadow 0.3s;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.activity-card h3 {
    color: var(--color-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-card h3 i {
    color: var(--color-red);
    font-size: 1.8rem;
}

.activity-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.activity-card .benefits {
    background: rgba(241, 250, 238, 0.8);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.activity-card .benefits h4 {
    color: var(--color-green);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.activity-card .benefits ul {
    list-style: none;
    padding: 0;
}

.activity-card .benefits li {
    padding: 0.25rem 0;
    color: #555;
    font-size: 0.95rem;
}

.activity-card .benefits li i {
    color: var(--color-green);
    margin-right: 8px;
    font-size: 0.8rem;
}

.trips-section {
    background: var(--color-blue);
    color: white;
}

.trips-section .section-title {
    color: white;
}

.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.trip-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.trip-card:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--color-yellow);
}

.trip-card i {
    font-size: 3rem;
    color: var(--color-yellow);
    margin-bottom: 1rem;
}

.trip-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.trip-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* --- CONTACT PAGE --- */
.contact-section {
    background: rgba(255,255,255,0.9);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #ddd;
    background-color: #fff;
    font-family: inherit;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-blue);
}

.contact-form button {
    padding: 1rem 2rem;
    background: var(--color-blue);
    border: none;
    color: white;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s;
    font-size: 1.1rem;
}

.contact-form button:hover {
    background: var(--color-green);
}

.contact-info h3 {
    color: var(--color-blue);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
}

.contact-info strong {
    color: var(--color-blue);
}

.contact-info a {
    color: var(--color-red);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--color-blue);
    text-decoration: underline;
}

.contact-info i {
    color: var(--color-red);
    margin-right: 10px;
}

.map-section {
    background: white;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- MOBILE RESPONSIVE --- */
@media screen and (max-width: 768px) {
    .page-hero {
        padding: 250px 5% 60px; /* Increased to clear the stacked mobile navbar */
    }

    .page-hero h1 {
        font-size: 1.8rem; /* Reduced size for mobile */
    }

    .page-hero p {
        font-size: 1.1rem;
    }

    .story-content {
        grid-template-columns: 1fr;
    }

    .story-image {
        order: -1;
    }

    .values-grid,
    .team-grid,
    .centres-grid,
    .services-grid,
    .packages-grid,
    .activities-grid,
    .trips-grid {
        grid-template-columns: 1fr;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}