/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #003d66;
    text-decoration: underline;
}

a:hover {
    color: #00558c;
}


/* Header Styles */
header {
    background-color: #2c4456;
    color: #fff;
    width: 100%;
}

.top-bar {
    background-color: #2c4456;
    padding: 15px 0;
    border-bottom: 1px solid #3d5666;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #fff !important;
    text-decoration: none;
}

.logo:hover {
    color: #c9d4db !important;
}

/* Language Switcher with Flags */
.language-switcher {
    display: flex;
    gap: 12px;
    align-items: center;
}

.lang-link {
    display: inline-block;
    transition: opacity 0.3s, transform 0.2s;
}

.lang-link img {
    display: block;
    border: 2px solid transparent;
    border-radius: 3px;
    transition: border-color 0.3s;
}

.lang-link:hover img {
    border-color: #fff;
    opacity: 0.8;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Navigation */
.main-nav {
    background-color: #2c4456;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
    flex: 1;
}

.nav-link {
    display: block;
    padding: 15px 10px;
    color: #c9d4db;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover {
    background-color: #3d5666;
    color: #fff;
}

/* Dropdown Menu */
.dropdown {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #3d5666;
    min-width: 250px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
}

.nav-item:hover .dropdown {
    display: block !important;
}

.dropdown li {
    border-bottom: 1px solid #4a6272;
}

.dropdown li:last-child {
    border-bottom: none;
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    color: #c9d4db;
    text-decoration: none;
    font-size: 13px;
    transition: background-color 0.3s, padding-left 0.3s;
    white-space: nowrap;
}

.dropdown a:hover {
    background-color: #4a6272;
    color: #fff;
    padding-left: 25px;
}

/* Main Content */
main {
    min-height: 500px;
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: #f5f5f5;
    padding: 40px 0;
    text-align: center;
    width: 100%;
}

.hero h2 {
    font-size: 28px;
    color: #2c4456;
    margin-bottom: 30px;
    font-weight: normal;
}

.hero-image {
    max-width: 600px;
    margin: 0 auto;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

/* Intro Section */
.intro {
    padding: 40px 0;
    background-color: #fff;
    width: 100%;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-content p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.info-link {
    color: #2c4456;
    font-weight: bold;
    text-decoration: underline;
}

.info-link:hover {
    color: #3d5666;
}

/* Info Cards Section */
.info-cards {
    background-color: #e8ecef;
    padding: 50px 0;
    width: 100%;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background-color: #fff;
    padding: 35px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.info-card h3 {
    color: #003d66;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.info-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.card-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #003d66;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
    font-size: 14px;
}

.card-btn:hover {
    background-color: #00558c;
}

/* Statistics Section */
.statistics {
    padding: 60px 0;
    background-color: #003d66;
    color: #fff;
    width: 100%;
}

.statistics h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    font-weight: normal;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #66ccff;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Footer Styles */
footer {
    background-color: #2c4456;
    color: #c9d4db;
    padding: 40px 0 20px 0;
    font-size: 13px;
    width: 100%;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #c9d4db;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3d5666;
    font-size: 12px;
}

.footer-bottom a {
    color: #c9d4db;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2c4456 0%, #003d66 100%);
    color: #fff;
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: normal;
}

.page-header .subtitle {
    font-size: 18px;
    color: #c9d4db;
    margin: 0;
}

/* Content Section */
.content-section {
    padding: 50px 0;
    background-color: #fff;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    background: #fff;
}

.main-content h2 {
    font-size: 32px;
    color: #2c4456;
    margin-bottom: 25px;
    border-bottom: 3px solid #003d66;
    padding-bottom: 15px;
}

.main-content h3 {
    font-size: 24px;
    color: #003d66;
    margin: 35px 0 20px;
}

.main-content h4 {
    font-size: 20px;
    color: #2c4456;
    margin: 25px 0 15px;
}

.main-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

/* Info Box */
.info-box {
    background-color: #f8f9fa;
    border-left: 4px solid #003d66;
    padding: 25px;
    margin: 30px 0;
    border-radius: 5px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: bold;
    color: #2c4456;
}

.info-row .value {
    color: #333;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.features-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    line-height: 1.6;
    color: #333;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #003d66;
    font-weight: bold;
    font-size: 18px;
}

.features-list strong {
    color: #2c4456;
}

/* Tip Box */
.tip-box {
    background-color: #e8f4f8;
    border: 2px solid #003d66;
    padding: 25px;
    margin: 35px 0;
    border-radius: 8px;
}

.tip-box h4 {
    color: #003d66;
    margin-top: 0;
    margin-bottom: 15px;
}

.tip-box ul {
    margin: 0;
    padding-left: 25px;
}

.tip-box li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Contact Box */
.contact-box {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.contact-box p {
    margin-bottom: 12px;
    font-size: 15px;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-widget {
    background-color: #f8f9fa;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    color: #2c4456;
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #003d66;
    padding-bottom: 10px;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    margin-bottom: 12px;
}

.sidebar-widget ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: block;
    padding: 8px 0;
}

.sidebar-widget ul li a:hover {
    color: #003d66;
    padding-left: 10px;
}

.sidebar-widget.highlight {
    background-color: #003d66;
    color: #fff;
}

.sidebar-widget.highlight h3 {
    color: #fff;
    border-bottom-color: #66ccff;
}

.sidebar-widget.highlight p {
    color: #c9d4db;
    margin-bottom: 10px;
}

.sidebar-widget.highlight strong {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        flex-wrap: wrap;
    }
    
    .nav-item {
        flex: 0 0 50%;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .main-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    /* Show hamburger menu */
    .hamburger {
        display: flex;
    }
    
    /* Hide main nav by default on mobile */
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: #2c4456;
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        padding-top: 60px;
    }
    
    .main-nav.active {
        left: 0;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-item {
        flex: 1 1 100%;
        border-bottom: 1px solid #3d5666;
    }
    
    .nav-link {
        text-align: left;
        padding: 15px 20px;
    }
    
    .dropdown {
        position: static;
        box-shadow: none;
        background-color: #1f3442;
        min-width: 100%;
        padding: 0;
    }
    
    .dropdown li {
        border-bottom: 1px solid #2c4456;
    }
    
    .dropdown a {
        padding: 12px 20px 12px 40px;
        font-size: 12px;
    }
    
    .dropdown a:hover {
        padding-left: 45px;
    }
    
    /* Mobile dropdowns - click to toggle */
    .nav-item .dropdown {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item.active .dropdown {
        max-height: 1000px;
    }
    
    .hero h2 {
        font-size: 22px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-header {
        padding: 40px 0 30px;
    }
    
    .content-section {
        padding: 30px 0;
    }
    
    .info-row {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .language-switcher {
        gap: 8px;
    }
}

/* Tablet navigation - Force single line - MUST BE LAST */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
        flex-wrap: nowrap !important;
        gap: 0 !important;
    }
    
    .nav-item {
        flex: 1 1 auto !important;
    }
    
    .nav-link {
        font-size: 10px !important;
        padding: 15px 4px !important;
        letter-spacing: 0 !important;
    }
}

/* Even smaller for narrow tablets */
@media (min-width: 769px) and (max-width: 900px) {
    .nav-link {
        font-size: 9px !important;
        padding: 15px 3px !important;
    }
}