/* Google Fonts Initialization */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333333; /* Standard text color */
    line-height: 1.6;
    background-color: #F8F8F8; /* Light background */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #008080; /* Teal for headings */
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.8rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
p { margin-bottom: 1rem; }

.cell {
    margin-bottom: 25px;
}

/* General Styles */
.section-padding {
    padding: 6rem 0;
}

.section-title {
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #20B2AA; /* Light Sea Green underline */
    margin: 0.5rem auto 0; /* Centered for text-center */
    border-radius: 2px;
}

.section-title.text-left::after {
    margin-left: 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
}

.bg-light {
    background-color: #E0FFFF; /* Light Cyan background */
}

.button {
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-decoration: none !important; /* Remove underline */
    transition: all 0.3s ease;
}

.button.primary {
    background-color: #008080; /* Teal */
    color: #fff;
    border: 2px solid #008080;
}

.button.primary:hover {
    background-color: #006666; /* Darker Teal */
    border-color: #006666;
    box-shadow: 0 4px 10px rgba(0, 128, 128, 0.3);
}

.button.secondary {
    background-color: #90EE90; /* Light Green */
    color: #333;
    border: 2px solid #90EE90;
}

.button.secondary:hover {
    background-color: #7CFC00; /* Lawn Green */
    border-color: #7CFC00;
    box-shadow: 0 4px 10px rgba(144, 238, 144, 0.4);
}

/* Header */
.header {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.header .logo {
    height: 40px;
    margin-right: 10px;
}

.header .site-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #008080; /* Teal */
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 1.5rem;
}

.main-nav ul li a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.main-nav ul li a:hover {
    color: #20B2AA; /* Light Sea Green */
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #20B2AA;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.background-slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 3s ease-in-out; /* Crossfade duration */
    filter: brightness(0.5); /* Dark overlay */
}

.slideshow-image.active {
    opacity: 1;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 1rem;
}

.hero-content h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-content .highlight-text {
    color: #90EE90; 
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #E0FFFF; /* Light Cyan */
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 3rem;
    animation: pulse 2s infinite;
    z-index: 2;
    text-decoration: none;
    display: block; /* Ensure it's a block for animation */
}

.scroll-arrow:hover {
    color: #ADD8E6; /* Light Blue */
}

@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); opacity: 1; }
    50% { transform: translateX(-50%) scale(1.1); opacity: 0.7; }
    100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* About Section */
.about-section ul {
    list-style: none;
    padding-left: 0;
}

.about-section ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 25px;
}

.about-section ul li::before {
    content: '\2022'; /* Bullet point */
    color: #20B2AA; /* Light Sea Green */
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Categories Grid */
.categories-grid .category-tile {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.categories-grid .category-tile:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background-color: #ADD8E6; /* Light Blue hover */
    color: #333;
}

.categories-grid .category-tile:hover .category-icon {
    color: #008080; /* Teal on hover */
}

.categories-grid .category-icon {
    font-size: 3.5rem;
    color: #20B2AA; /* Light Sea Green */
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.categories-grid .category-tile h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #008080;
    transition: color 0.3s ease;
}

.categories-grid .category-tile:hover h3 {
    color: #333;
}

.categories-grid .category-tile p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1; /* Allows paragraph to take available space */
}

.categories-grid .category-tile:hover p {
    color: #333;
}

.categories-grid .post-count-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #90EE90; /* Light Green */
    color: #333;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.categories-grid .category-tile:hover .post-count-overlay {
    opacity: 1;
}

/* Learning Paths & News Articles (Card Grids) */
.learning-card, .news-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer; /* Indicate clickable */
    opacity: 0; /* For JS animation */
    transform: translateY(20px); /* For JS animation */
}

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

.learning-card .card-image, .news-card .card-image {
    width: 100%;
    height: 200px; /* Fixed height for images */
    object-fit: cover;
    display: block;
}

.learning-card h3, .news-card h3 {
    font-size: 1.4rem;
    margin: 1.2rem 1.5rem 0.5rem;
    color: #008080;
}

.learning-card .card-summary, .news-card .card-summary {
    font-size: 0.95rem;
    color: #666;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
    flex-grow: 1; /* Allows summary to take available space */
}

.news-card .card-content {
    padding-bottom: 1rem; /* Adjust padding for content */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card .card-date {
    font-size: 0.85rem;
    color: #999;
    margin: 0 1.5rem 1rem;
}

.learning-card .button, .news-card .button {
    margin: 0 1.5rem 1.5rem;
    width: calc(100% - 3rem); /* Adjust button width within card */
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
}

/* Sponsor Section */
.ad-block {
    background-color: #ADD8E6; /* Light Blue */
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    opacity: 0; /* For JS animation */
    transform: translateY(20px); /* For JS animation */
}

.ad-block .ad-image {
    max-width: 150px;
    margin-bottom: 1.5rem;
    border-radius: 10px;
}

.ad-block h4 {
    color: #008080;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.ad-block p {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* FAQ Section */
.faq-section .accordion {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden; /* For rounded corners */
}

.faq-section .accordion-item {
    border-bottom: 1px solid #eee;
}

.faq-section .accordion-item:last-child {
    border-bottom: none;
}

.faq-section .accordion-title {
    background-color: #fff;
    color: #008080; /* Teal */
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    text-decoration: none;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-section .accordion-title:hover {
    background-color: #F0FFFF; /* Light Cyan hover */
}

.faq-section .accordion-title::after {
    content: '\2b'; /* Plus icon */
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #20B2AA;
    transition: transform 0.3s ease;
}

.faq-section .accordion-item.is-active .accordion-title::after {
    content: '\2212'; /* Minus icon */
    transform: translateY(-50%) rotate(0deg);
}

.accordion-title::before {
    display: none;
}

.faq-section .accordion-content {
    background-color: #F8F8F8;
    padding: 1.5rem;
    border-top: 1px solid #eee;
    color: #555;
    font-size: 0.95rem;
}

.faq-section .accordion-content p:last-child {
    margin-bottom: 0;
}

/* Reviews Section */
.reviews-section {
    background-color: #F0FFFF; /* Light Cyan */
}
.review-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

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

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid #90EE90; /* Light Green border */
}

.review-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: #008080;
}

.review-text {
    font-style: italic;
    color: #555;
    flex-grow: 1;
}

.review-date {
    font-size: 0.85rem;
    color: #999;
    text-align: right;
    display: block;
    margin-top: 1rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none; /* Hidden by default, shown by JS */
}

.modal-overlay.is-active .modal-content.is-active {
    transform: translateY(0);
    opacity: 1;
    display: block;
}

.modal-content .close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-content .close-button:hover {
    color: #008080;
}

.modal-content h2 {
    color: #008080;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.modal-content .modal-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.modal-content p {
    color: #333;
    margin-bottom: 1rem;
}

.modal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1rem;
    color: #333;
}

.modal-content ol {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 1rem;
    color: #333;
}

.modal-content ul li, .modal-content ol li {
    margin-bottom: 0.5rem;
    color: #444;
}

.modal-content .article-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Footer */
.sticky-footer {
    background-color: #008080; /* Teal */
    color: #E0FFFF; /* Light Cyan */
    padding: 2rem 0 1rem;
    position: relative;
    z-index: 99;
}

.sticky-footer .footer-logo-area .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.sticky-footer .footer-logo-area .logo {
    height: 40px;
    margin-right: 10px;
    filter: brightness(1.2); /* Make logo stand out on dark background */
}

.sticky-footer .footer-logo-area .site-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.sticky-footer .footer-nav ul,
.sticky-footer .footer-legal-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.sticky-footer .footer-nav ul li,
.sticky-footer .footer-legal-links ul li {
    margin: 0 1rem;
}

.sticky-footer .footer-nav ul li a,
.sticky-footer .footer-legal-links ul li a {
    color: #E0FFFF;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.sticky-footer .footer-nav ul li a:hover,
.sticky-footer .footer-legal-links ul li a:hover {
    color: #90EE90; /* Light Green */
}

.sticky-footer .copyright {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #ADD8E6; /* Light Blue */
}

/* Mobile Sticky Navigation */
.mobile-sticky-nav {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #006666; /* Darker Teal */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    padding: 0.5rem 0;
    justify-content: space-around;
    align-items: center;
}

.mobile-sticky-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #E0FFFF;
    font-size: 0.8rem;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-sticky-nav .nav-item i {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.mobile-sticky-nav .nav-item:hover {
    color: #90EE90;
}

@media (max-width: 949px) {

    .sticky-footer {
        padding-bottom: 100px;
    }
    footer.sticky-footer .grid-x {
        display: flex;
        flex-direction: column;
        
    }

    footer.sticky-footer  .cell.auto {
        flex: 1;
    }

    footer ul li {
        text-align: center;
    }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.4rem; }

    .header .main-nav {
        display: none; /* Hide desktop nav on small screens */
    }

    .hero-section {
        height: 60vh;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-padding {
        padding: 3rem 0;
    }



    .sticky-footer .grid-x {
        flex-direction: column;
        text-align: center;
    }
    .sticky-footer .footer-nav ul,
    .sticky-footer .footer-legal-links ul {
        flex-direction: column;
        margin-top: 1rem;
    }
    .sticky-footer .footer-nav ul li,
    .sticky-footer .footer-legal-links ul li {
        margin: 0.5rem 0;
    }
    .sticky-footer .footer-logo-area {
        margin-bottom: 1.5rem;
    }

    .mobile-sticky-nav {
        display: flex; /* Show mobile nav on small screens */
    }
}

@media print, screen and (min-width: 40em) {
    /* Medium screens and up */
    .header .main-nav {
        display: block; /* Ensure desktop nav is visible */
    }
    .mobile-sticky-nav {
        display: none; /* Hide mobile nav */
    }
}

/* Intersection Observer Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}/* Google Fonts - Ensure these are linked in your HTML or imported in your main CSS */
/* @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@600;700&display=swap'); */

.policyOrbitalShell {
    /* Padding for the content container itself */
    padding-top: 3rem; /* Top padding for the content section */
    padding-bottom: 3rem; /* Bottom padding for the content section */
    padding-left: 2rem; /* Left padding for content */
    padding-right: 2rem; /* Right padding for content */
    max-width: 960px; /* Max width to ensure readability for long text */
    margin-left: auto; /* Center the container horizontally */
    margin-right: auto; /* Center the container horizontally */
    background-color: #ffffff; /* White background for the policy content */
    border-radius: 10px; /* Slightly rounded corners for the container */
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); /* Subtle shadow for depth */
}

.policyOrbitalShell h1 {
    /* Heading 1 styles for content within policyOrbitalShell */
    font-size: 2.2rem; /* Smaller H1 for internal content */
    font-weight: 700; /* Bold font weight */
    color: #008080; /* Teal color for headings */
    margin-bottom: 1.5rem; /* Space below heading */
    line-height: 1.3; /* Line height for readability */
}

.policyOrbitalShell h2 {
    /* Heading 2 styles for content within policyOrbitalShell */
    font-size: 1.8rem; /* Smaller H2 for internal content */
    font-weight: 700; /* Bold font weight */
    color: #008080; /* Teal color for headings */
    margin-top: 2rem; /* Space above heading */
    margin-bottom: 1.2rem; /* Space below heading */
    line-height: 1.3; /* Line height for readability */
}

.policyOrbitalShell h3 {
    /* Heading 3 styles for content within policyOrbitalShell */
    font-size: 1.5rem; /* Smaller H3 for internal content */
    font-weight: 600; /* Semi-bold font weight */
    color: #008080; /* Teal color for headings */
    margin-top: 1.8rem; /* Space above heading */
    margin-bottom: 1rem; /* Space below heading */
    line-height: 1.4; /* Line height for readability */
}

.policyOrbitalShell h4 {
    /* Heading 4 styles for content within policyOrbitalShell */
    font-size: 1.25rem; /* Smaller H4 for internal content */
    font-weight: 600; /* Semi-bold font weight */
    color: #008080; /* Teal color for headings */
    margin-top: 1.5rem; /* Space above heading */
    margin-bottom: 0.8rem; /* Space below heading */
    line-height: 1.4; /* Line height for readability */
}

.policyOrbitalShell h5 {
    /* Heading 5 styles for content within policyOrbitalShell */
    font-size: 1.1rem; /* Smaller H5 for internal content */
    font-weight: 600; /* Semi-bold font weight */
    color: #008080; /* Teal color for headings */
    margin-top: 1.2rem; /* Space above heading */
    margin-bottom: 0.6rem; /* Space below heading */
    line-height: 1.5; /* Line height for readability */
}

.policyOrbitalShell p {
    /* Paragraph styles for content within policyOrbitalShell */
    font-size: 1rem; /* Standard paragraph font size */
    color: #333333; /* Standard text color */
    margin-bottom: 1.2rem; /* Space below paragraph */
    line-height: 1.7; /* Good line height for readability */
}

.policyOrbitalShell ul {
    /* Unordered list styles for content within policyOrbitalShell */
    list-style: disc; /* Default disc bullet points */
    padding-left: 25px; /* Indentation for bullet points */
    margin-top: 1rem; /* Space above the list */
    margin-bottom: 1.2rem; /* Space below the list */
    color: #333333; /* Inherit text color */
}

.policyOrbitalShell ol {
    /* Ordered list styles for content within policyOrbitalShell */
    list-style: decimal; /* Default decimal numbering */
    padding-left: 25px; /* Indentation for numbers */
    margin-top: 1rem; /* Space above the list */
    margin-bottom: 1.2rem; /* Space below the list */
    color: #333333; /* Inherit text color */
}

.policyOrbitalShell li {
    /* List item styles for content within policyOrbitalShell */
    font-size: 1rem; /* Standard list item font size */
    color: #444444; /* Slightly darker than main text for contrast */
    margin-bottom: 0.6rem; /* Space between list items */
    line-height: 1.6; /* Line height for readability */
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 767px) {
    .policyOrbitalShell {
        padding-top: 2rem;
        padding-bottom: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .policyOrbitalShell h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .policyOrbitalShell h2 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .policyOrbitalShell h3 {
        font-size: 1.3rem;
        margin-top: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .policyOrbitalShell h4 {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 0.6rem;
    }

    .policyOrbitalShell h5 {
        font-size: 1rem;
        margin-top: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .policyOrbitalShell p,
    .policyOrbitalShell ul,
    .policyOrbitalShell ol,
    .policyOrbitalShell li {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}
