* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1A237E;
    --secondary: #00897B;
    --accent: #FFB300;
    --neutral: #FAFAFA;
    --text: #333333;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--neutral);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--primary);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: var(--neutral);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--neutral);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--neutral);
    padding: 150px 0 100px;
    text-align: center;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

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

.cta-button:hover {
    background: #ffa000;
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background: var(--neutral);
}

.services-preview h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.center {
    text-align: center;
}

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

.secondary-button:hover {
    background: #00796B;
}

/* Page Headers */
.page-header {
    background: var(--primary);
    color: var(--neutral);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
}

.page-header p {
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* About Page */
.about-content {
    padding: 80px 0;
}

.about-text h2 {
    color: var(--primary);
    margin: 2rem 0 1rem;
}

.leadership-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.position {
    color: var(--secondary);
    font-weight: bold;
    font-style: italic;
}

/* Mission/Vision/Values Grid */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.mv-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid var(--secondary);
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mv-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.mv-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
}

.mv-card li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.mv-card li:before {
    content: "✓";
    color: var(--secondary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Enhanced Services Section */
.services-full {
    padding: 80px 0;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-detailed-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 5px solid var(--secondary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-detailed-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-detailed-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.service-detailed-card:hover:before {
    left: 100%;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-detailed-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    text-align: center;
}

.service-description {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    font-style: italic;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.service-features li:before {
    content: "►";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

/* Contact Page */
.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3,
.contact-form h3 {
    color: var(--primary);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Google Maps Section */
.map-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #eee;
}

.map-section h3 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.map-instructions {
    text-align: center;
    background: var(--neutral);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.map-instructions p {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.map-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 0.5rem;
}

.map-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--neutral);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid,
    .services-detailed-grid,
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
    
    body {
        padding-top: 90px;
    }
}
/* News Page Styles */
.news-content {
    padding: 80px 0;
}

/* Featured Article */
.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.featured-image {
    border-radius: 8px;
    overflow: hidden;
}

.placeholder-image {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.featured-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-text h2 {
    color: var(--primary);
    margin: 1rem 0;
    font-size: 2rem;
    line-height: 1.3;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.news-image .placeholder-image {
    height: 200px;
}

.news-text {
    padding: 1.5rem;
}

.article-category {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.news-text h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.article-date {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-excerpt {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--secondary);
}

/* Responsive News */
@media (max-width: 768px) {
    .featured-article {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-text h2 {
        font-size: 1.6rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        flex-wrap: wrap;
    }
}
/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: var(--neutral);
    text-align: center;
}

.partners-section h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.partners-subtitle {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.partners-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.partners-track {
    display: flex;
    animation: slide 40s linear infinite;
    gap: 2rem;
}

.partner-logo {
    flex: 0 0 auto;
    width: 180px;
    height: 100px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    padding: 10px; /* Added padding for better fit */
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--accent);
}

/* Real Logo Styling - IMPROVED */
.partner-image {
    max-width: 140px;  /* Increased from 120px */
    max-height: 70px;  /* Increased from 60px */
    width: auto;
    height: auto;
    object-fit: contain;
}

/* FDMS Abbreviation Logo */
.fdms-abbreviation {
    background: linear-gradient(135deg, #2C3E50, #34495E);
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    border: 3px solid #E74C3C;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Partners Legend */
.partners-legend {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.partners-legend p {
    margin: 0;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Slider Animation - FIXED CALCULATION */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 8 - 2rem * 8)); /* Exactly 8 logos */
    }
}

/* Pause animation on hover */
.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

/* Responsive Partners */
@media (max-width: 768px) {
    .partners-track {
        animation: slide 30s linear infinite;
    }
    
    .partner-logo {
        width: 140px;
        height: 80px;
    }
    
    .partner-image {
        max-width: 110px;
        max-height: 55px;
    }
    
    .fdms-abbreviation {
        font-size: 1.4rem;
    }
    
    @keyframes slide {
        100% {
            transform: translateX(calc(-140px * 8 - 2rem * 8));
        }
    }
    
    .partners-legend {
        padding: 1rem;
    }
    
    .partners-legend p {
        font-size: 0.8rem;
    }
}
/* Logo with Bilingual Slogan Styling */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 45px;
    width: auto;
}

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

.logo-main {
    color: var(--neutral);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 3px;
}

.logo-slogan {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.amharic {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 1px;
}

.english {
    color: var(--neutral);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.9;
    text-transform: uppercase;
}

/* Adjust navbar for bilingual slogan */
.navbar {
    background: var(--primary);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .logo-slogan {
        display: none; /* Hide slogan on tablets */
    }
    
    .logo-container {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .logo-container {
        gap: 8px;
    }
    
    .logo-image {
        height: 38px;
    }
    
    .logo-main {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 32px;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
}
/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    flex: 1;
    max-width: 600px;
    padding: 0 4rem;
    z-index: 2;
}

.slide-content h1 {
    color: var(--neutral);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    color: var(--neutral);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slide-image {
    flex: 1;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(26,35,126,0.8) 0%, rgba(26,35,126,0.4) 100%);
}

/* Placeholder Slides - Replace with your images */
.placeholder-slide-1 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.placeholder-slide-2 {
    background: linear-gradient(135deg, var(--secondary) 0%, #00695C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.placeholder-slide-3 {
    background: linear-gradient(135deg, #FFB300 0%, #FF8F00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
}

.slide-prev, .slide-next {
    background: rgba(255,255,255,0.2);
    border: 2px solid var(--neutral);
    color: var(--neutral);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-prev:hover, .slide-next:hover {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.1);
}

.slide-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--neutral);
}

/* Responsive Slideshow */
@media (max-width: 768px) {
    .slide {
        flex-direction: column;
    }
    
    .slide-content {
        padding: 2rem;
        text-align: center;
        max-width: 100%;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .slide-image {
        flex: none;
        height: 40%;
    }
    
    .slideshow-controls {
        bottom: 1rem;
    }
}