* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #FFFFFF;
    color: #000000;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 15px 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    margin-left: 10px;
}

.logo .all {
    color: #e63946;
}

.logo .abroad {
    color: #000000;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav ul li a {
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: #E63946;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 5px;
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: black;
    padding: 10px 15px;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
    color: #E63946;
}

    .search-box {
      position: relative;
    }
    .search-box input {
      padding: 9px 15px 9px 38px;
      border: 1.5px solid #ddd;
      border-radius: 24px;
      width: 190px;
      font-size: 15px;
      color: #222;
      outline-offset: 2px;
      transition: border-color 0.3s ease;
    }
    .search-box input:focus {
      border-color: #e63946;
    }
    .search-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: #aaa;
      font-size: 16px;
      pointer-events: none;
    }

.login-btn {
    background-color: #E63946;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
}

.login-btn:hover {
    background-color: #c1121f;
}

/* Main Content */
.main-content {
    padding: 40px 5%;
    min-height: calc(100vh - 120px);
    flex: 1;
}

.page-title {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

/* Map Styles */
.map-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

#world-map {
    width: 100%;
    height: 700px;
    background: white;
    cursor: grab;
}

#world-map:active {
    cursor: grabbing;
}

.country {
    fill: #f0f0f0;
    stroke: #ddd;
    stroke-width: 0.3px;
    transition: fill 0.2s;
}

.country:hover {
    fill: #E63946;
}

.country-tooltip {
    position: fixed;
    background-color: #000;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    pointer-events: none;
    opacity: 0;
    z-index: 100;
    transform: translate(-50%, -120%);
    white-space: nowrap;
}

.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.control-btn {
    width: 30px;
    height: 30px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-weight: bold;
}

.control-btn:hover {
    background: #f5f5f5;
}

/* Hamburger Menu */
.hamburger-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.hamburger-icon {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    width: 20px;
    height: 2px;
    background: #E63946;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.menu-panel {
    position: absolute;
    top: 50px;
    right: 0;
    width: 200px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.hamburger-container:hover .menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-panel nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-panel nav li {
    margin-bottom: 10px;
}

.menu-panel nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.menu-panel nav a:hover {
    color: #E63946;
}

/* News Slider Styles */
.news-section {
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.news-heading {
    font-size: 28px;
    margin-bottom: 30px;
    color: #E63946;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.beta-tag {
    font-size: 14px;
    background: #f8f8f8;
    color: #666;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: normal;
}

.news-slider-container {
    position: relative;
    overflow: hidden;
    height: 350px;
    margin: 0 auto;
}

.news-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    height: 100%;
}

.news-card {
    min-width: calc(33.333% - 20px);
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #E63946;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.news-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.news-date {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more {
    color: #E63946;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    pointer-events: none;
}

slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E63946;
    font-size: 16px;
    transition: all 0.3s;
}

.slider-nav:hover {
    background: #E63946;
    color: white;
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

.slider-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-nav:disabled:hover {
    background: white;
    color: #E63946;
}

/* About Section */
.about-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    margin-top: 40px;
    width: 100%;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.about-content h2 {
    text-align: center;
    color: #E63946;
    font-size: 32px;
    margin-bottom: 40px;
}

.about-columns {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.about-column {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.about-column h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-column h3 i {
    color: #E63946;
}

.about-column p {
    color: #666;
    line-height: 1.6;
}

/* Subfooter */
.subfooter {
  background-color: #2a2a2a;
  color: #fff;
  padding: 50px 20px 20px;
}
.subfooter-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #444;
}

.subfooter-column {
  flex: 1;
  min-width: 200px;
}

.subfooter-column h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.subfooter-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #E63946;
}

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

.subfooter-column ul li {
  margin-bottom: 12px;
}

.subfooter-column ul li a {
  color: #bbb;
  transition: color 0.3s;
}

.subfooter-column ul li a:hover {
  color: #fff;
}

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

.subfooter-bottom p {
  color: #999;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #fff;
  background: #444;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.social-links a:hover {
  background: #E63946;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .news-card {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }
    
    .nav-right {
        width: 100%;
        margin-top: 15px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .main-nav ul {
        width: 100%;
        justify-content: center;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
    
    #world-map {
        height: 500px;
    }
    
    .hamburger-container {
        top: 15px;
        right: 15px;
    }
    
    .news-slider-container {
        height: auto;
        padding-bottom: 20px;
    }
    
    .news-slider {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-card {
        min-width: 100%;
    }
    
    .slider-nav {
        display: none;
    }
    
    .about-column {
        min-width: 100%;
    }
    
    .subfooter-column {
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        padding: 10px 5px;
    }
    .logo {
        font-size: 20px;
        margin-left: 0;
    }
    .nav-right {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: flex-start;
    }
    .search-box input {
        width: 100%;
        font-size: 14px;
    }
    .main-content {
        padding: 20px 5px;
    }
    .page-title {
        font-size: 22px;
    }
    .map-container {
        width: 100%;
        padding: 0;
    }
    #world-map {
        height: 250px;
    }
    .about-section, .about-core, .about-card, .about-content, .about-columns, .message-container, .message-content {
        padding: 10px !important;
        margin: 0 !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .about-card {
        padding: 15px !important;
    }
    .subfooter-content {
        flex-direction: column;
        gap: 10px;
        padding-bottom: 20px;
    }
    .subfooter-column {
        min-width: 100%;
    }
    .subfooter {
        padding: 20px 5px 10px;
    }
    .subfooter-bottom p {
        font-size: 12px;
    }
    .hamburger-container {
        top: 8px;
        right: 8px;
    }
    .news-section {
        padding: 0 5px;
    }
    .news-heading {
        font-size: 18px;
    }
    .news-card {
        min-width: 100%;
        font-size: 14px;
    }
    .slider-nav {
        display: none;
    }
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.about-hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.about-hero-content p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.about-core {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.about-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.about-card i {
    font-size: 40px;
    color: #E63946;
    margin-bottom: 20px;
}

.about-card h2 {
    color: #333;
    margin-bottom: 20px;
}

.creator-message {
    background-color: #f9f9f9;
    padding: 80px 20px;
}

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

.message-container h2 {
    color: #E63946;
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
}

.message-content {
    display: flex;
    gap: 40px;
    align-items: center;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.founder-image {
    min-width: 200px;
    height: 200px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 5px solid #E63946;
}

.message-text {
    text-align: left;
}

blockquote {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 60px;
    color: #E63946;
    opacity: 0.2;
    position: absolute;
    left: -30px;
    top: -20px;
}

.signature {
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.title {
    color: #666;
    font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-hero {
        height: 300px;
    }
    
    .about-hero-content h1 {
        font-size: 36px;
    }
    
    .about-card {
        min-width: 100%;
    }
    
    .message-content {
        flex-direction: column;
        text-align: center;
    }
    
    .message-text {
        text-align: center;
    }
    
    blockquote::before {
        left: 50%;
        transform: translateX(-50%);
        top: -40px;
    }
}

/* ===== Login Page Styles ===== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.login-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    margin: 20px 0;
}

.login-form h2 {
    color: #E63946;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #E63946;
}

/* Range input styling */
.form-group input[type="range"] {
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    margin: 15px 0;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #E63946;
    border-radius: 50%;
    cursor: pointer;
}

.year-labels {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 14px;
}

#year-value {
    color: #E63946;
    font-weight: 500;
}

/* Submit button */
.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #E63946;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #c1121f;
}

/* Login footer */
.login-footer {
    text-align: center;
    margin-top: 25px;
    color: #666;
}

.login-footer a {
    color: #E63946;
    font-weight: 500;
    transition: color 0.3s;
}

.login-footer a:hover {
    color: #c1121f;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-form {
        padding: 30px 20px;
    }
    
    .login-form h2 {
        font-size: 24px;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 20px 10px;
    }
    
    .login-form {
        padding: 25px 15px;
    }
}

/* Responsive map container for mobile/tablet */
@media (max-width: 600px) {
  #world-map {
    height: 180px !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    overflow-x: auto;
  }
  .map-container, #world-map svg {
    width: 100% !important;
    height: 180px !important;
    min-width: 0 !important;
    max-width: 100vw !important;
  }
  .country {
    stroke-width: 0.7px;
  }
}

@media (max-width: 400px) {
  #world-map {
    height: 120px !important;
  }
  .map-container, #world-map svg {
    height: 120px !important;
  }
}