/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo a {
    display: block; /* Ensures the link wraps the image correctly */
}

.logo img {
    height: 80px;   /* Sets the height of the logo */
    width: auto;    /* Keeps the logo from looking squashed or stretched */
    display: block; /* Removes tiny gaps below the image */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #4BAFF8;
}

/* Hero Section */
.hero {
    background-color: #163254;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    background-color: #EFF4FB;
    color: #163254;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #004494;
}

/* Members Grid */
.members-section {
    padding: 50px 0;
}

.members-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.member-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.member-card h3 {
    color: #163254;
    margin-bottom: 15px;
}

.member-card .description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #666;
}

.details p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #444;
}

.details i {
    width: 20px;
    color: #163254;
}

.website-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #163254;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #163254;
    padding: 8px;
    border-radius: 4px;
}

.website-link:hover {
    background-color: #163254;
    color: #fff;
}

/* Footer */
footer {
    background-color: #163254;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    color: #fff;        /* Keep existing colour */
    margin: 0 10px;     /* Keep existing spacing */
    font-size: 1.2rem;  /* Keep existing size */
    text-decoration: none; /* <--- ADD THIS LINE. This kills the underline. */
    display: inline-block; /* Ensures the link wraps the icon tightly */
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
        gap: 10px;
    }

}

/* --- News Page Styles --- */

.news-section {
    padding: 60px 0;
    background-color: #fff;
    min-height: 600px; /* Ensures footer stays at bottom on short pages */
}

.news-section h1 {
    color: #2c3e50;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: flex;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-weight: bold;
    color: #666;
    min-width: 100px; /* Fixes the width of the date column */
    padding-top: 5px;
}

.news-content h3 {
    margin-bottom: 10px;
}

.news-content h3 a {
    
    color: #163254; /* Use your main blue or red color here */
    transition: color 0.3s;
}

.news-content h3 a:hover {
    color: #4BAFF8; /* Darker shade for hover */
    text-decoration: underline;
}

.news-content p {
    color: #555;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    font-size: 0.9rem;
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness for News */
@media (max-width: 600px) {
    .news-item {
        flex-direction: column; /* Stacks date on top of content */
        gap: 10px;
    }
    
    .news-date {
        color: #888;
        font-size: 0.9rem;
    }
}


/* --- General Content Page Styles --- */


.text-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    max-width: 800px; /* Keeps lines from getting too long to read */
    color: #444;
}

/* PDF Download Button Styling */
.download-area {
    margin-top: 40px;
}

.pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #4BAFF8; /* Deep Red (Matches your theme?) */
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.pdf-btn:hover {
    background-color: #163254; /* Darker Red */
    transform: translateY(-2px); /* Slight lift effect */
}

.pdf-btn i {
    font-size: 1.2rem;
}



/* --- Power BI Embed Styles --- */
.powerbi-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (Standard for Power BI) */
    background-color: #EFF4FB; /* Light grey placeholder while loading */
    border: 1px solid #ddd;
    border-radius: 4px;
}

.powerbi-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

