@font-face {
    font-family: 'Times New Roman';
    font-style: normal;
    font-weight: 400;
    src: local('Times New Roman'), url('https://fonts.cdnfonts.com/s/57197/times.woff') format('woff');
}

/* Common Styles */
:root {
    --primary-color: #0a2d6d;
    --secondary-color: #1a4ba5;
    --text-color: #444;
    --light-text: #666;
    --border-color: #eee;
    --bg-light: #f8f9fa;
}

/* Header Styles */
.top-header {
    background: var(--bg-light);
    padding: 10px 0;
    font-size: 14px;
}

.top-header a {
    color: #333;
    text-decoration: none;
}

.top-header a:hover {
    color: var(--secondary-color);
}

.logo-section {
    padding: 20px 0;
    text-align: center;
}

.logo-section img {
    height: 80px;
}

.slogan {
    color: var(--primary-color);
    font-size: 14px;
    margin-top: 10px;
    font-weight: 500;
}

.main-nav {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: 0;
}

.navbar-nav {
    margin: 0 auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 15px 25px !important;
    color: #333;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

/* Common Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 0 0 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 100%;
    height: 200px;
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-title {
    padding: 0 10px;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-title a:hover {
    color: var(--secondary-color);
}

.service-desc {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 25px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 15px;
    color: var(--secondary-color);
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-image {
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--secondary-color);
}

.news-desc {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.news-link:hover {
    gap: 15px;
    color: var(--secondary-color);
}

/* Footer Styles */
.footer-section {
    background: var(--primary-color);
    color: #fff;
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.about-col {
    padding-right: 30px;
}

.company-name {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-text {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.contact-info i {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.copyright {
    color: #cbd5e1;
    text-align: center;
    margin: 0;
}

/* Breadcrumb Styles */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    margin: 0;
    background: transparent;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--light-text);
}

/* Article Styles */
.article-section {
    padding: 60px 0;
}

.article-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    padding: 40px;
    position: relative;
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.article-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--light-text);
    margin-bottom: 30px;
}

.article-featured-image {
    margin: 0 -40px 30px;
    height: 400px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-text {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-text p {
    margin-bottom: 1.5rem;
}

.article-text img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* Sidebar Styles */
.sidebar-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Contact Form Styles */
.contact-section {
    background: linear-gradient(135deg, #1e4f8a 0%, #2c7be5 100%);
    color: #fff;
    padding: 60px 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.office-info h5 {
    color: rgba(255, 255, 255, 0.9);
}

.contact-details strong {
    color: rgba(255, 255, 255, 0.9);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #fff;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

label {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-weight: 500;
}

.btn-primary {
    background: #fff;
    color: #1e4f8a;
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-danger {
    color: #ff6b6b !important;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .news-image {
        height: 200px;
    }
    .service-icon {
        height: 180px;
    }
    .article-wrapper {
        padding: 20px;
    }
    .article-featured-image {
        margin: -20px -20px 20px;
        height: 250px;
    }
    .article-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-col {
        padding-right: 0;
        text-align: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 50px 0 0;
    }

    .footer-content {
        gap: 30px;
    }

    .company-name {
        font-size: 1.3rem;
    }

    .footer-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a, 
    .contact-info li,
    .footer-text {
        font-size: 0.95rem;
    }

    .contact-info i {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .social-link {
        width: 32px;
        height: 32px;
    }
}
