/* Global Styles */
:root {
    --primary-green: #06402B;  /* Changed from #1B5E20 */
    --primary-red: #B71C1C;
    --primary-black: #212121;
    --primary-orange: #E65100;
    --white: #ffffff;
    --light-gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border: 2px solid var(--primary-green);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-green);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    margin-right: 15px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
}

.logo-text-zambia {
    color: var(--primary-orange);
    font-size: 20px;
    font-weight: 600;
    margin-left: 2px;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    position: relative;
}

.main-nav li {
    margin-left: 20px;
    position: relative;
}

.main-nav a {
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    transition: color 0.3s ease;
    display: block;
}

.main-nav a:hover {
    color: var(--primary-green);
}

.main-nav a.active {
    color: var(--primary-green);
    border-bottom: 2px solid var(--primary-orange);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--primary-black);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: normal;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--primary-green);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown Arrow Styles */
.dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
}

.slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Thumbnail Tabs */
.thumbnail-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
    gap: 20px;
}

.thumbnail-tab {
    background-color: var(--white);
    border-radius: 8px;
    width: 180px;
    text-align: center;
    padding: 20px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.thumbnail-tab:hover {
    transform: translateY(-10px);
}

.thumbnail-tab i {
    font-size: 36px;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.thumbnail-tab h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.thumbnail-tab a {
    color: var(--primary-black);
    text-decoration: none;
}

/* News Section */
.news-section {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-green);
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-orange);
    margin: 15px auto 0;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 10px;
}

.news-title {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.read-more {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

/* Footer */
footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    padding: 0 15px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: var(--primary-orange);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ddd;
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--white);
    text-decoration: underline;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: #ddd;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* About Page Specific Styles */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/about-hero.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.about-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card i {
    font-size: 40px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.about-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.mission-vision {
    background-color: var(--light-gray);
    padding: 80px 0;
    text-align: center;
}

.mv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.mv-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mv-card i {
    font-size: 50px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.mv-card h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.board-members {
    padding: 80px 0;
    background-color: var(--white);
}

.management-staff {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.member-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.member-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    color: var(--primary-green);
    margin-bottom: 8px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.member-info p {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Category badges for board members and management */
.member-category {
    display: inline-block;
    padding: 4px 10px;
    color: white;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-category.board {
    background-color: var(--primary-green);
}

.member-category.management {
    background-color: var(--primary-orange);
}

/* History Timeline Styles */
.history-timeline {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-green);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 15px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item-left {
    left: 0;
    text-align: right;
}

.timeline-item-right {
    left: 50%;
    text-align: left;
}

.timeline-content {
    padding: 25px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 5px;
    display: inline-block;
}

.timeline-content p {
    line-height: 1.6;
    color: var(--primary-black);
}

/* Timeline markers */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-orange);
    border: 4px solid var(--white);
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}

.timeline-item-left::after {
    right: -10px;
}

.timeline-item-right::after {
    left: -10px;
}

/* Page Header Styles */
.page-header {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb li {
    margin: 0 5px;
}

.breadcrumb li:after {
    content: '/';
    margin-left: 10px;
    color: rgba(255,255,255,0.7);
}

.breadcrumb li:last-child:after {
    content: '';
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--primary-orange);
}

/* Services Page Specific Styles */
.hero-section {
    background: linear-gradient(rgba(27, 94, 32, 0.8), rgba(27, 94, 32, 0.9)), url('../images/services-hero.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--primary-black);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Grid - Four columns on desktop */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--primary-black);
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary-green);
}

/* Procedure Steps */
.procedure-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.procedure-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step-content p {
    margin-bottom: 15px;
    color: var(--primary-black);
}

/* Quick Links Grid */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.quick-link-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
}

.quick-link-card i {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.quick-link-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.quick-link-card p {
    margin-bottom: 25px;
    color: var(--primary-black);
}

/* FAQ Preview */
.faq-preview {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--primary-black);
    line-height: 1.6;
}

/* Apply Page Specific Styles */
.content-section {
    padding: 60px 0;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-text {
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    color: var(--primary-black);
}

/* Process Steps - Four in one line */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.process-step {
    text-align: center;
    position: relative;
    background: var(--light-gray);
    padding: 30px 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 30px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-green);
    font-size: 1.2rem;
}

.process-step p {
    color: var(--primary-black);
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Contact Info Box */
.contact-info-box {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info-box h3 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.5rem;
}

.contact-info-box p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-info-box strong {
    color: var(--primary-orange);
}

/* FAQ Section */
.faq-container {
    margin-top: 60px;
}

.faq-container .section-title {
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    background-color: var(--light-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-green);
    transition: background-color 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background-color: #e8e8e8;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-orange);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer p {
    color: var(--primary-black);
    line-height: 1.6;
    margin: 0;
}

.faq-item:not(:last-child) {
    margin-bottom: 15px;
}

/* Publications Page Specific Styles */
.publications-section {
    padding: 60px 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--primary-black);
    line-height: 1.6;
}

.publication-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    padding: 8px 20px;
    border-radius: 20px;
    background-color: var(--light-gray);
    color: var(--primary-black);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.category-btn:hover, .category-btn.active {
    background-color: var(--primary-green);
    color: var(--white);
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.publication-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.publication-card:hover {
    transform: translateY(-5px);
}

.publication-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 50px;
    position: relative;
    overflow: hidden;
}

.publication-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.publication-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.publication-type {
    display: inline-block;
    padding: 3px 10px;
    background-color: var(--primary-orange);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.publication-title {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.publication-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.publication-content p {
    margin-bottom: 20px;
    flex-grow: 1;
    color: #555;
    line-height: 1.5;
}

.download-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    text-align: center;
    font-weight: 600;
}

.download-btn:hover {
    background-color: #0d4211;
    color: var(--white);
}

.no-publications {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.no-publications i {
    font-size: 60px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-publications h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.newsletter-section h2 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 2rem;
}

.newsletter-section p {
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--primary-black);
    line-height: 1.6;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    flex: 1;
    min-width: 300px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 12px 25px;
    margin-bottom: 10px;
}

/* Media Categories Filter */
.media-categories {
    text-align: center;
    margin-bottom: 40px;
}

.category-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 5px 10px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-green);
    color: var(--white);
}

/* No Content Message */
.no-content {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-content i {
    font-size: 60px;
    margin-bottom: 20px;
    color: #ddd;
}

.no-content h3 {
    margin-bottom: 15px;
    color: #333;
}

/* Media Categories Filter */
.media-categories {
    text-align: center;
    margin-bottom: 40px;
}

.category-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 5px 10px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-green);
    color: var(--white);
}

/* No Content Message */
.no-content {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-content i {
    font-size: 60px;
    margin-bottom: 20px;
    color: #ddd;
}

.no-content h3 {
    margin-bottom: 15px;
    color: #333;
}

/* Featured Badge */
.featured-badge {
    display: inline-block;
    background-color: var(--primary-orange);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}
/* ===== MEDIA PAGE SPECIFIC STYLES ===== */

/* Media Section */
.media-section {
    padding: 60px 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--primary-black);
    line-height: 1.6;
}

/* Video Gallery - 3 cards per row on desktop */
.video-gallery {
    margin-bottom: 60px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

/* Photo Gallery - 3 cards per row on desktop */
.photo-gallery {
    margin-bottom: 60px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* For larger screens, ensure 3 columns */
@media (min-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Adjust for medium screens (tablets) */
@media (max-width: 1199px) and (min-width: 769px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Video Card adjustments for 3-column layout */
.video-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-thumbnail {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.video-thumbnail .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 60px;
    opacity: 0.8;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-thumbnail:hover .play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-date {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.video-title {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.3;
    flex-grow: 1;
}

/* Photo Card adjustments for 3-column layout */
.photo-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.photo-card:hover {
    transform: scale(1.03);
}

.photo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.photo-caption {
    padding: 15px;
    background: var(--white);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.photo-caption h3 {
    color: var(--primary-green);
    margin-bottom: 5px;
    font-size: 1rem;
    line-height: 1.3;
}

.photo-date {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.photo-description {
    color: var(--medium-gray);
    font-size: 0.85rem;
    line-height: 1.4;
    flex-grow: 1;
}

/* Press Releases */
.press-releases {
    margin-bottom: 60px;
}

.press-list {
    display: grid;
    gap: 20px;
}

.press-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--primary-green);
}

.press-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.press-date {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.press-title {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.3rem;
    line-height: 1.3;
}

.press-summary {
    margin-bottom: 15px;
    color: var(--primary-black);
    line-height: 1.6;
}

/* Media Contacts */
.media-contacts {
    background-color: var(--light-gray);
    padding: 50px;
    border-radius: 8px;
    margin-bottom: 60px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-title {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 8px;
}

.contact-info {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--primary-orange);
    margin-right: 10px;
    width: 20px;
    text-align: center;
    margin-top: 2px;
}

.contact-info span {
    color: var(--primary-black);
    line-height: 1.4;
}

.contact-info a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

/* Media Categories Filter */
.media-categories {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--light-gray);
    color: var(--primary-black);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

/* No Content Message */
.no-content {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
    margin: 40px 0;
}

.no-content i {
    font-size: 60px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-content h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.no-content p {
    color: var(--medium-gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Featured Badge */
.featured-badge {
    display: inline-block;
    background-color: var(--primary-orange);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .media-contacts {
        padding: 30px 20px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .press-item {
        padding: 20px;
    }
    
    .media-categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        margin-bottom: 30px;
    }
    
    .category-btn {
        white-space: nowrap;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .video-content,
    .photo-caption {
        padding: 15px;
    }
    
    .photo-card img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
    
    .video-thumbnail .play-btn {
        font-size: 40px;
    }
    
    .media-section {
        padding: 40px 0;
    }
    
    .media-contacts {
        padding: 20px 15px;
    }
    
    .contact-card {
        padding: 15px;
    }
}
/* Contact Page Specific Styles */
.no-offices {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-offices i {
    font-size: 60px;
    margin-bottom: 20px;
    color: #ccc;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Office filtering enhancements */
.office-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
/* ===== CONTACT PAGE SPECIFIC STYLES ===== */

.contact-section {
    padding: 60px 0;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 40px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.contact-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.contact-card p {
    line-height: 1.8;
}

.whatsapp-link {
    color: var(--primary-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 5px;
}

.whatsapp-link:hover {
    text-decoration: underline;
}

.whatsapp-link i {
    font-size: 1.2rem;
    margin-right: 5px;
    color: #25D366;
}

/* Office Locations */
.office-locations {
    margin-bottom: 60px;
}

.province-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    background-color: var(--light-gray);
    color: var(--primary-black);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-green);
    color: var(--white);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.office-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.office-title {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.office-title i {
    margin-right: 10px;
    color: var(--primary-orange);
}

.office-address {
    margin-bottom: 15px;
    line-height: 1.6;
}

.office-contact {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.office-contact i {
    color: var(--primary-orange);
    margin-right: 10px;
    width: 20px;
}

.office-hours {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-black);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Map Section */
.map-section {
    height: 500px;
    margin-bottom: 60px;
}

.map-container {
    height: 100%;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* No Offices Message */
.no-offices {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    grid-column: 1 / -1;
}

.no-offices i {
    font-size: 60px;
    margin-bottom: 20px;
    color: #ccc;
}

.no-offices h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .province-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .map-section {
        height: 300px;
    }
    
    .office-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-form-section {
        padding: 40px 0;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Add these to your existing contact page styles */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.working-hours {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

.headquarters-badge {
    font-size: 0.8em;
    color: var(--primary-orange);
    margin-left: 10px;
    font-weight: 600;
}

.office-map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #666;
}

.office-map-placeholder i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* Accessibility Styles */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #2c5aa0;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Flash Messages */
.flash-message {
    padding: 15px 0;
    color: white;
    position: relative;
}

.flash-success {
    background: #28a745;
}

.flash-error {
    background: #dc3545;
}

.flash-warning {
    background: #ffc107;
    color: #333;
}

.flash-info {
    background: #17a2b8;
}

.flash-message .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        display: none;
        z-index: 1000;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 0;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .main-nav a {
        padding: 15px 20px;
        display: block;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        background: #f8f9fa;
    }
}
/* Slideshow Styles */
.hero-slideshow {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
}

.slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.slide-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slide-nav.prev {
    left: 10px;
}

.slide-nav.next {
    right: 10px;
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: white;
}