/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Top Bar */
.top-bar {
    background-color: #1a3a5f;
    color: #fff;
    padding: 8px 0;
    font-size: 0.9rem;
}

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

.top-email {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-email a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.top-email a:hover {
    color: #63b3ed;
}

.top-email i {
    color: #63b3ed;
}

.top-tagline {
    font-weight: 600;
    color: #fff;
}

/* Header & Navigation */
header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: 200px;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: #1a3a5f;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 5px 10px;
}

nav a:hover {
    color: #3182ce;
}

/* Dropdown Menu */
nav ul li.dropdown {
    position: relative;
}

nav ul li.dropdown a {
    display: flex;
    align-items: center;
    gap: 5px;
}

nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 0.5rem 0;
    min-width: 250px;
    z-index: 1001;
}

nav ul li.dropdown:hover .dropdown-menu {
    display: block;
}

nav ul li.dropdown .dropdown-menu li {
    width: 100%;
}

nav ul li.dropdown .dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #1a3a5f;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    width: 100%;
}

nav ul li.dropdown .dropdown-menu li a:hover {
    background: #f0f7ff;
    color: #3182ce;
}

.quote-btn {
    background: #3182ce;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    transition: background 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.quote-btn:hover {
    background: #2c5282;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #1a3a5f;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 15px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/img/banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Section Common Styles */
section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1a3a5f;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 20px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3182ce;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

/* Breadcrumb Navigation */
.breadcrumb {
    background: #f0f7ff;
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #2c5282;
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

/* News Article Section */
.news-article {
    background: white;
}

.article-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-main {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.article-header {
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-category {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-category a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.3s;
}

.article-category a:hover {
    color: #2c5282;
    text-decoration: underline;
}

.article-title {
    font-size: 2.2rem;
    color: #1a3a5f;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-image:hover img {
    transform: scale(1.05);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.8rem;
    color: #1a3a5f;
    margin: 2rem 0 1rem;
}

.article-content h3 {
    font-size: 1.5rem;
    color: #1a3a5f;
    margin: 1.5rem 0 1rem;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid #3182ce;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

/* Article Sidebar */
.article-sidebar {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sidebar-section {
    margin-bottom: 2.5rem;
}

.sidebar-section h3 {
    font-size: 1.3rem;
    color: #1a3a5f;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #3182ce;
}

/* Related News */
.related-news {
    list-style: none;
}

.related-news li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.related-news li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-news a {
    color: #1a3a5f;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.related-news a:hover {
    color: #3182ce;
}

.related-news .related-date {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    display: block;
}

/* Article Share */
.article-share {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.share-title {
    font-weight: 600;
    color: #4a5568;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.tag {
    background: #f0f7ff;
    color: #3182ce;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background: #3182ce;
    color: white;
}

/* Newsletter Section */
.newsletter-section {
    background: #f0f7ff;
    text-align: center;
    padding: 4rem 0;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2rem;
    color: #1a3a5f;
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-input:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.newsletter-btn {
    background: #3182ce;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.newsletter-btn:hover {
    background: #2c5282;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #1a202c;
    color: #cbd5e0;
    padding: 4rem 0 2rem;
}

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

.footer-column h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #3182ce;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #3182ce;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-icon {
    color: #3182ce;
    min-width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    font-size: 0.9rem;
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .article-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    nav ul {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    /* Mobile dropdown menu */
    nav ul li.dropdown .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: #f8f9fa;
        border-radius: 0;
    }
    
    nav ul.show li.dropdown .dropdown-menu {
        display: block;
    }
    
    nav ul li.dropdown .dropdown-menu li {
        margin: 0;
    }
    
    nav ul li.dropdown .dropdown-menu li a {
        padding: 8px 15px;
        font-size: 0.9rem;
        color: #4a5568;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-main,
    .article-sidebar {
        padding: 1.5rem;
    }
    
    .article-image {
        height: 300px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .share-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .newsletter-section {
        padding: 2rem 0;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
    }
}

/* Related News Description */
.related-news p {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Share Buttons Centering */
.share-buttons {
    justify-content: center;
}

/* Popular Tags Container */
.sidebar-section:nth-of-type(3) > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Custom Tag Styles */
.sidebar-section:nth-of-type(3) .tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-section:nth-of-type(3) .tag:hover {
    background: #cbd5e0;
    color: #2d3748;
}
