/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Hero Header Section */
.hero-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #113768;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #666;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Navbar styles extracted from your stylesheet (scope: header + nav + dropdown + mobile) */

/* MAIN HEADER */
.main-header {
    background: #FFFFFF;
    width: 100%;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #EEEEEE;
}

/* Container */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

/* LOGO */
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: auto;
}

.header-logo .logo-icon {
    width: 48px;
    height: 48px;
    background: #113768;
    border-radius: 16px;
    border: 2px solid rgba(17, 55, 104, 0.15);
    box-shadow: 0 4px 16px rgba(21, 57, 106, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.header-logo .logo-icon:hover {
    transform: scale(1.05);
}

.header-logo .h-letter {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.header-logo .logo-text {
    display: flex;
    flex-direction: column;
    color: #113768;
}

.header-logo .company-main {
    font-size: 1rem;
    font-weight: 700;
    color: #113768;
    letter-spacing: 0.5px;
}

.header-logo .company-sub {
    font-size: 0.7rem;
    color: #7C7C7C;
    letter-spacing: 0.5px;
}

/* NAVIGATION */
.header-nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.header-nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.header-nav-left .nav-link,
.header-nav-right .nav-link {
    color: #222222;
    font-weight: 300;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
}

.header-nav-left .nav-link:hover,
.header-nav-right .nav-link:hover {
    color: #3A68B8;
}

.header-nav-left .nav-link.active,
.header-nav-right .nav-link.active {
    color: #3A68B8;
}

.header-nav-left .nav-link.active::after,
.header-nav-right .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #3A68B8;
}

/* CTA BUTTON */
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #3A68B8;
    border-radius: 999px;
    color: #3A68B8;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-cta-btn:hover {
    background: #3A68B8;
    color: #FFFFFF;
}

/* MOBILE MENU TOGGLE */
.header-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    justify-content: center;
    position: absolute;
    right: 40px;
}

.header-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background: #222222;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.header-menu.active span:nth-child(2) {
    opacity: 0;
}

.header-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* DROPDOWN */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 12px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    border: 1px solid #EEEEEE;
}

.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown .dropdown-menu li a {
    color: #222222;
    font-size: 0.9rem;
    font-weight: 300;
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-dropdown .dropdown-menu li a:hover {
    background: #F7F7F7;
    color: #3A68B8;
}

/* RESPONSIVE - TABLET (1024px) */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 30px;
    }

    .header-nav-left,
    .header-nav-right {
        gap: 24px;
    }

    .header-nav-left .nav-link,
    .header-nav-right .nav-link {
        font-size: 0.9rem;
    }

    .header-cta-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 1024px) {
    .header-menu {
        display: flex;
    }

    .header-container {
        padding: 0 24px;
    }

    .header-nav-left,
    .header-nav-right {
        position: fixed;
        top: 85px;
        left: 0;
        right: 0;
        background: #FFFFFF;
        flex-direction: column;
        padding: 30px 24px;
        gap: 20px;
        margin: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 85px);
        overflow-y: auto;
        z-index: 999;
    }

    .header-nav-left.active {
        transform: translateX(0);
    }

    .header-nav-right {
        top: auto;
        bottom: 0;
        transform: translateX(100%);
        max-height: 50vh;
    }

    .header-nav-right.active {
        transform: translateX(0);
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 10px;
        border: none;
        background: #F7F7F7;
    }

    .header-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .header-logo {
        position: static;
        transform: none;
        padding: 0;
        margin-right: auto;
    }

    .header-logo .logo-icon {
        width: 42px;
        height: 42px;
    }

    .header-logo .h-letter {
        font-size: 1.6rem;
    }

    .header-logo .company-main {
        font-size: 0.9rem;
    }

    .header-logo .company-sub {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 20px;
        height: 75px;
    }

    .header-nav-left,
    .header-nav-right {
        top: 75px;
        padding: 24px 20px;
        max-height: calc(100vh - 75px);
    }

    .header-logo .logo-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .header-logo .h-letter {
        font-size: 1.4rem;
    }

    .header-logo .company-main {
        font-size: 0.85rem;
    }

    .header-logo .company-sub {
        font-size: 0.6rem;
    }

    .header-menu {
        width: 26px;
        height: 26px;
        right: 20px;
    }
}

/* ALL NEWS SECTION - MODERN VERTICAL CARDS */
.news-section {
    padding: 80px 0 100px;
    background: #ffffff;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding: 40px;
    margin-bottom: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(17, 55, 104, 0.12);
    border-color: #3A68B8;
}

.news-thumbnail {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-thumbnail img {
    transform: scale(1.05);
}

.news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    font-size: 0.85rem;
    color: #3A68B8;
    font-weight: 500;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.news-headline {
    font-size: 1.5rem;
    font-weight: 600;
    color: #113768;
    margin-bottom: 16px;
    line-height: 1.3;
}

.news-summary {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-link {
    color: #3A68B8;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-link:hover {
    color: #113768;
    gap: 12px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.pagination-btn,
.pagination-number {
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #666;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover,
.pagination-number:hover {
    background: #f8f9fa;
    border-color: #3A68B8;
    color: #3A68B8;
}

.pagination-number.active {
    background: #3A68B8;
    border-color: #3A68B8;
    color: #ffffff;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-ellipsis {
    padding: 10px 8px;
    color: #999;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Large Desktop (1441px+) */
@media (min-width: 1441px) {
    .news-container {
        max-width: 1400px;
    }

    .news-card {
        grid-template-columns: 350px 1fr;
        gap: 40px;
        padding: 50px;
    }

    .news-headline {
        font-size: 1.75rem;
    }

    .news-summary {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }
}

/* Desktop (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .news-card {
        grid-template-columns: 280px 1fr;
        gap: 32px;
        padding: 36px;
    }
}

/* Tablet Landscape (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-header {
        padding: 70px 0;
    }

    .news-section {
        padding: 70px 0 90px;
    }

    .news-card {
        grid-template-columns: 250px 1fr;
        gap: 28px;
        padding: 32px;
        margin-bottom: 32px;
    }

    .news-thumbnail {
        height: 180px;
    }

    .news-headline {
        font-size: 1.35rem;
    }

    .news-summary {
        font-size: 0.98rem;
    }

    .pagination {
        margin-top: 50px;
        gap: 7px;
    }

    .pagination-btn,
    .pagination-number {
        padding: 9px 14px;
        min-width: 42px;
        height: 42px;
    }
}

/* Tablet Portrait (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-header {
        padding: 60px 0;
    }

    .news-section {
        padding: 60px 0 80px;
    }

    .news-container {
        padding: 0 16px;
    }

    .news-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px;
        margin-bottom: 28px;
    }

    .news-thumbnail {
        height: 220px;
        order: -1;
    }

    .news-content {
        order: 0;
    }

    .news-headline {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .news-summary {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .news-date {
        font-size: 0.82rem;
    }

    .pagination {
        gap: 6px;
        margin-top: 40px;
    }

    .pagination-btn,
    .pagination-number {
        padding: 8px 12px;
        min-width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .pagination-ellipsis {
        padding: 8px 6px;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-header {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .news-section {
        padding: 50px 0 70px;
    }

    .news-container {
        padding: 0 14px;
    }

    .news-card {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 12px;
        gap: 16px;
    }

    .news-card:hover {
        transform: translateY(-2px);
    }

    .news-thumbnail {
        height: 180px;
        border-radius: 8px;
    }

    .news-date {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .news-headline {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .news-summary {
        font-size: 0.9rem;
        margin-bottom: 14px;
        line-height: 1.5;
    }

    .news-link {
        font-size: 0.88rem;
    }

    .pagination {
        margin-top: 30px;
        gap: 4px;
    }

    .pagination-btn,
    .pagination-number {
        padding: 6px 10px;
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .pagination-ellipsis {
        padding: 6px 4px;
        font-size: 0.8rem;
    }
}

/* Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .news-card {
        padding: 16px;
        margin-bottom: 16px;
    }

    .news-thumbnail {
        height: 160px;
    }

    .news-headline {
        font-size: 1rem;
    }

    .news-summary {
        font-size: 0.85rem;
    }

    .pagination-btn,
    .pagination-number {
        padding: 5px 8px;
        min-width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}

/* Landscape Orientation */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-header {
        padding: 40px 0;
    }

    .news-section {
        padding: 40px 0 60px;
    }

    .news-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .news-thumbnail {
        height: 140px;
    }
}

/* ========================================
   ACCESSIBILITY & PERFORMANCE MEDIA QUERIES
   ======================================== */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .news-card,
    .news-thumbnail img,
    .news-link,
    .pagination-btn,
    .pagination-number {
        transition: none !important;
        animation: none !important;
    }

    .news-card:hover {
        transform: none;
    }

    .news-card:hover .news-thumbnail img {
        transform: none;
    }
}

/* Touch Devices - Disable hover transforms */
@media (hover: none) and (pointer: coarse) {
    .news-card:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .news-card:hover .news-thumbnail img {
        transform: none;
    }

    .news-link:hover {
        gap: 8px;
    }

    .pagination-btn:hover,
    .pagination-number:hover {
        background: #ffffff;
        border-color: #e5e7eb;
        color: #666;
    }

    .pagination-number.active:hover {
        background: #3A68B8;
        border-color: #3A68B8;
        color: #ffffff;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .news-card {
        border: 2px solid #113768;
    }

    .news-link {
        text-decoration: underline;
    }

    .pagination-number.active {
        border: 3px solid #113768;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #e0e0e0;
    }

    .hero-header {
        background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    }

    .hero-title {
        color: #e0e0e0;
    }

    .hero-subtitle {
        color: #b0b0b0;
    }

    .news-section {
        background: #1a1a1a;
    }

    .news-card {
        background: #252525;
        border-color: #333333;
    }

    .news-card:hover {
        border-color: #3A68B8;
        box-shadow: 0 12px 40px rgba(58, 104, 184, 0.2);
    }

    .news-headline {
        color: #e0e0e0;
    }

    .news-summary {
        color: #b0b0b0;
    }

    .pagination-btn,
    .pagination-number {
        background: #252525;
        border-color: #333333;
        color: #b0b0b0;
    }

    .pagination-btn:hover,
    .pagination-number:hover {
        background: #2a2a2a;
        border-color: #3A68B8;
    }

    .pagination-number.active {
        background: #3A68B8;
        color: #ffffff;
    }
}

/* Print Styles */
@media print {
    .hero-header {
        padding: 20px 0;
        background: white;
        color: black;
    }

    .news-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
        margin-bottom: 20px;
    }

    .news-card:hover {
        transform: none;
    }

    .news-link {
        color: #000;
        text-decoration: underline;
    }

    .pagination {
        display: none;
    }

    .main-footer,
    .navbar {
        display: none !important;
    }
}

/* Footer styles extracted from your main stylesheet (copy this file or merge into your global stylesheet) */

.main-footer {
    background: linear-gradient(135deg, #113768 0%, #1a4a7d 100%);
    color: #FFFFFF;
    padding: 60px 40px 0;
    margin-top: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.footer-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.footer-location {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #FFFFFF;
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    position: relative; /* for copy tooltip positioning */
}

.contact-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: #FFFFFF;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #3A68B8;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive footer */
@media (max-width: 1024px) {
    .main-footer {
        padding: 50px 30px 0;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 24px 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }

    .footer-column {
        gap: 16px;
    }

    .footer-heading {
        font-size: 1.1rem;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-contact {
        gap: 14px;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 40px 20px 0;
    }

    .footer-container {
        gap: 28px;
    }

    .footer-heading {
        font-size: 1.05rem;
    }

    .footer-description,
    .footer-links li a,
    .footer-contact li {
        font-size: 0.9rem;
    }

    .footer-social {
        gap: 12px;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }
}