/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a73e8;
    --primary-dark: #0d47a1;
    --secondary: #00acc1;
    --accent: #7e57c2;
    --light: #f8f9fa;
    --dark: #202124;
    --gray: #5f6368;
    --light-gray: #dadce0;
    --success: #34a853;
    --warning: #fbbc04;
    --error: #ea4335;
    
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.highlight {
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #0097a7;
    transform: translateY(-2px);
}

.btn-light {
    background-color: white;
    color: var(--primary);
}

.btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.logo i {
    margin-right: 10px;
    color: var(--primary);
    font-size: 2rem;
}

.logo-highlight {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 3px 0;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.btn-nav {
    background-color: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: var(--border-radius);
}

.btn-nav:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-admin {
    background-color: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.btn-admin:hover {
    background-color: #6a4bac;
    color: white;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* .image-frame {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 20px 40px rgba(26, 115, 232, 0.2);
} */
 .image-frame {
    width: 90%;
    max-width: 350px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: right;
    justify-content: center;
    color: white;
    box-shadow: 0 20px 40px rgba(151, 180, 218, 0.2);
}

.placeholder-image {
    text-align: center;
}

.placeholder-image i {
    font-size: 8rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Stats Section */
.stats {
    background-color: white;
    padding: 50px 0;
    box-shadow: var(--box-shadow);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius);
}

.stats .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    padding: 20px;
    min-width: 200px;
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--gray);
    font-weight: 500;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(26, 115, 232, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* News Components */
.featured-news {
    background-color: #f8f9fa;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.view-all i {
    margin-left: 8px;
    transition: var(--transition);
}

.view-all:hover i {
    transform: translateX(5px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.news-category {
    background-color: rgba(26, 115, 232, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.news-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.news-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.news-link:hover i {
    transform: translateX(5px);
}

.news-loading {
    text-align: center;
    padding: 40px;
    grid-column: 1 / -1;
}

.news-loading i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-about {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 12px;
    color: var(--primary);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* News Page Styles */
.page-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.news-filters {
    padding: 40px 0 20px;
    background-color: white;
}

.filter-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: #f1f3f4;
    border: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active {
    background-color: var(--primary);
    color: white;
}

.filter-btn:hover:not(.active) {
    background-color: #e0e0e0;
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.search-box button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: var(--primary-dark);
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-listing .news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-listing .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-listing .news-card p {
    flex: 1;
}

.load-more {
    text-align: center;
}

.newsletter {
    background-color: #f8f9fa;
}

.newsletter-box {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.newsletter-content {
    flex: 1;
    min-width: 300px;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex: 1;
    min-width: 300px;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

/* Admin Styles */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f7fa;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-box {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--dark);
}

.login-box p {
    text-align: center;
    color: var(--gray);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.login-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

.error-message {
    background-color: rgba(234, 67, 53, 0.1);
    color: var(--error);
    padding: 12px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.admin-header {
    background-color: var(--dark);
    color: white;
    padding: 15px 0;
    margin-bottom: 30px;
}

.admin-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-content {
    min-height: 500px;
    padding: 30px 0;
}

.news-management table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.news-management th,
.news-management td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.news-management th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--dark);
}

.news-management tr:hover {
    background-color: #f8f9fa;
}

.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.edit-btn {
    background-color: var(--warning);
    color: white;
    margin-right: 5px;
}

.edit-btn:hover {
    background-color: #e0a800;
}

.delete-btn {
    background-color: var(--error);
    color: white;
}

.delete-btn:hover {
    background-color: #d32f2f;
}

.add-news-btn {
    background-color: var(--success);
    color: white;
    margin-bottom: 20px;
}

.add-news-btn:hover {
    background-color: #2e7d32;
}
.about-section {
    background-color: #3865a8;
    padding: 60px 20px;
}

.about-container {
    max-width: 900px;
    margin: auto;
    background: #c2c0db;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.about-container h2 {
    color: #0a5ca8;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.about-container p {
    font-size: 16px;
    line-height: 1.7;
    color: #816767;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .newsletter-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-links a {
        margin: 0 8px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stats .container {
        flex-direction: column;
        gap: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .filter-controls {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
}
