/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
html {
  scroll-behavior: smooth;        /* smooth scrolling effect */
  scroll-padding-top: 120px;      /* equal to your header+nav height */
}
:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
	padding-top: calc(150px + 60px); /* header height + nav height *
}

/* Wrap header + nav together */

.header-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999; /* stays above content */
    background: white; /* ensure no transparency gap */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
}

/* Header */
header {
    background-color: white;
    color: white;
    padding: .5rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 2px;
    }

.logo-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .main {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.logo-text .sub {
    font-size: 0.9rem;
    opacity: 0.9;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: var(--primary);
    border: none;
    color: white;
    cursor: pointer;
}

/* Navigation */
nav {
    background-color: #34495e;
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #2c3e50;
}

nav ul li a i {
    margin-right: 8px;
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('https://images.unsplash.com/photo-1532094349884-543bc11b234d?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    background: white;
    padding: 2rem;
	margin-top: 50px;
    margin-bottom: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-section h2 i {
    color: var(--secondary);
}

.content-section h3 {
    color: #34495e;
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-section h3 i {
    color: var(--accent);
    font-size: 1.2rem;
}

.content-section p {
    margin-bottom: 1rem;
}

/* Focus Themes */
.focus-themes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.theme-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 5px;
    border-left: 4px solid var(--secondary);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.theme-card i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.theme-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Council */
.council-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.council-category {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.council-category h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.council-category h3 i {
    color: var(--secondary);
}

.council-member {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #ddd;
}

.council-member:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.member-name {
    font-weight: bold;
    color: var(--dark);
}

.member-contact {
    font-size: 0.9rem;
    color: #666;
    margin-top: 4px;
}

.member-contact i {
    margin-right: 5px;
    color: var(--secondary);
}

/* Members Table */
.members-table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.members-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    min-width: 500px;
}

.members-table th {
    background-color: var(--primary);
    color: white;
    text-align: left;
    padding: 12px 15px;
    position: sticky;
    top: 0;
    font-weight: 600;
}

.members-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e1e1e1;
}

.members-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.members-table tr:hover {
    background-color: #e9f7fe;
}

.role {
    font-weight: bold;
    color: var(--accent);
    font-size: 0.9rem;
    display: block;
    margin-top: 5px;
}

.lm-badge {
    display: inline-block;
    padding: 4px 8px;
    background-color: #e74c3c;
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Members Cards (Mobile) */
.members-cards {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.member-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid var(--secondary);
}

.member-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.member-sl {
    font-weight: bold;
    color: var(--primary);
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
}

.member-designation {
    color: #666;
    margin-bottom: 8px;
    font-style: italic;
}

/* Search and Filter */
.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.search-box {
    position: relative;
    flex-grow: 1;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.entries-info {
    color: #666;
    font-size: 0.9rem;
}

/* Membership Button */
.membership-cta {
    text-align: center;
    margin: 2rem 0;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Logo Text Content */
.logo-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary);
    font-weight: bold;
    line-height: 1.2;
}

.logo-text-content .line1 { font-size: 16px; }
.logo-text-content .line2 { font-size: 14px; }
.logo-text-content .line3 { font-size: 18px; color: var(--accent); }
.logo-text-content .line4 { font-size: 22px; color: var(--secondary); }
.logo-text-content .line5 { font-size: 12px; color: #777; }

/* executive council */

.council {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
}

.council h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
}

.council h2 span {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
  display: block;
  margin-top: 5px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.item {
  font-size: 1rem;
  line-height: 1.6;
}

.title {
  font-weight: 600;
  color: #0056b3;
  display: block;
  margin-bottom: 6px;
}


/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section h3 i {
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section p i {
    width: 20px;
    color: var(--secondary);
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .focus-themes { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .members-table { font-size: 0.9rem; }
}

@media (max-width: 768px) {
    .header-content { flex-direction: column; text-align: center; gap: 15px; }
    .logo-container { flex-direction: column; }
    .mobile-toggle { display: block; position: absolute; top: 20px; right: 20px; }
    nav ul { flex-direction: column; display: none; }
    nav.active ul { display: block; }
    .dropdown-content { position: static; display: none; box-shadow: none; width: 100%; }
    .dropdown:hover .dropdown-content { display: none; }
    .dropdown.active .dropdown-content { display: block; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .content-section { padding: 1.5rem; }
    .footer-content { grid-template-columns: 1fr; }
    .logo-img { width: 80px; height: 80px; }
    .logo-text .main { font-size: 1.5rem; }
    .members-table { font-size: 0.8rem; }
    .members-table th, .members-table td { padding: 8px 10px; }
    .council-container { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .logo-text .main { font-size: 1.3rem; }
    .logo-img { width: 70px; height: 70px; }
    .hero { padding: 2.5rem 0; }
    .focus-themes { grid-template-columns: 1fr; }
    .theme-card { padding: 1rem; }
    .logo-text-content .line1 { font-size: 14px; }
    .logo-text-content .line2 { font-size: 12px; }
    .logo-text-content .line3 { font-size: 16px; }
    .logo-text-content .line4 { font-size: 18px; }
    .logo-text-content .line5 { font-size: 10px; }
    .members-table { font-size: 0.7rem; }
    .members-table th, .members-table td { padding: 6px 8px; }
}
