/* style.css - Combined styles for Home and About Us pages */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1a3a6c;
    --secondary: #d4af37;
    --accent: #2c5282;
    --light: #f8f9fa;
    --dark: #1a202c;
    --gray: #718096;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: var(--primary);
    color: white;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.language-selector {
    display: flex;
    gap: 10px;
}

.language-selector a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background 0.3s;
}

.language-selector a.active {
    background: var(--secondary);
    color: var(--dark);
}

.language-selector a:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

nav {
    background-color: var(--accent);
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav {
    display: flex;
    list-style: none;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    transition: background 0.3s;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.main-nav a.active {
    background: rgba(255, 255, 255, 0.2);
}

.main-nav li:hover .dropdown {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.dropdown a {
    color: var(--dark);
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.dropdown a:hover {
    background: #f5f5f5;
}

.search-bar {
    display: flex;
    margin-left: 20px;
}

.search-bar input {
    padding: 8px 12px;
    border: none;
    border-radius: 3px 0 0 3px;
    width: 200px;
}

.search-bar button {
    background: var(--secondary);
    border: none;
    padding: 8px 15px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    color: var(--dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Slider Styles (Home Page) */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    background: rgba(26, 58, 108, 0.8);
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 20px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: var(--secondary);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.slider-arrow {
    background: rgba(26, 58, 108, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: var(--primary);
}

.cta-button {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #e6b413;
    transform: translateY(-2px);
}

/* Page Header Styles (About Us Page) */
.page-header {
    background: linear-gradient(rgba(26, 58, 108, 0.8), rgba(26, 58, 108, 0.8)), url('https://images.unsplash.com/photo-1553877522-43269d4ea984?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Page Content Styles (About Us Page) */
.page-content {
    padding: 80px 0;
    background: white;
}

.content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.main-content {
    flex: 3;
    min-width: 300px;
}

.sidebar {
    flex: 1;
    min-width: 250px;
    background: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-header {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
}

.sidebar-content {
    padding: 20px;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 10px;
}

.sidebar-links a {
    color: var(--dark);
    text-decoration: none;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: color 0.3s;
}

.sidebar-links a:hover {
    color: var(--accent);
}

.sidebar-links a i {
    margin-right: 10px;
    color: var(--secondary);
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.content-section p {
    margin-bottom: 15px;
}

.content-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-section li {
    margin-bottom: 10px;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.goal-card {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.goal-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Services Section (Home Page) */
.services {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    background: var(--primary);
    color: white;
    font-size: 2.5rem;
    padding: 25px;
    text-align: center;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Additional Sections (Home Page) */
.additional-sections {
    padding: 80px 0;
    background: #f8f9fa;
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.section-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-header {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header i {
    font-size: 1.5rem;
}

.section-content {
    padding: 20px;
}

.section-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.section-item:last-child {
    border-bottom: none;
}

.section-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.section-item p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.section-more {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* News Section (Home Page) */
.news {
    padding: 80px 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-content h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.read-more {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}

/* Statistics Section (Home Page) */
.statistics {
    padding: 80px 0;
    background: linear-gradient(rgba(26, 58, 108, 0.9), rgba(26, 58, 108, 0.9)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.stat-text {
    font-size: 1.2rem;
}

/* Footer Styles */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary);
}

/* Updated Footer Logos with Contact Info */
.footer-logos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.footer-logo-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s;
}

.footer-logo-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 130px;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    max-height: 100%;
    max-width: 100%;
}

.logo-contact-info {
    width: 100%;
}

.logo-contact-info h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.logo-contact-details {
    list-style: none;
    text-align: left;
}

.logo-contact-details li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.logo-contact-details i {
    margin-right: 10px;
    color: var(--secondary);
    min-width: 16px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--accent);
        z-index: 1000;
    }

    .main-nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .nav-container {
        position: relative;
    }
}

@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 15px;
        justify-content: center;
    }

    .language-selector {
        justify-content: center;
    }

    .hero-slider {
        height: 400px;
    }

    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-content {
        padding: 60px 0;
    }

    .services, .news, .additional-sections, .statistics {
        padding: 60px 0;
    }

    .search-bar {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }

    .search-bar input {
        width: 70%;
    }

    .slider-arrows {
        padding: 0 10px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .footer-logos-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .search-bar input {
        width: 150px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo img {
        height: 50px;
    }

    .hero-slider {
        height: 350px;
    }

    .slide-content {
        padding: 20px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .services-grid, .news-grid, .sections-grid, .stats-grid, .footer-grid {
        grid-template-columns: 1fr;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .footer-logos-container {
        grid-template-columns: 1fr;
    }
}