/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  body {
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
  }
  
  /* Header & Navigation */
 /* Default (Light) Mode Header */
header {
  background: linear-gradient(135deg, #5b7cad, #2c3e50);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

/* Dark Mode Header */
[data-theme="dark"] header {
  background: linear-gradient(135deg, #2c3e50, #1a2634);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* System Preference Detection */
@media (prefers-color-scheme: dark) {
  header {
    background: linear-gradient(135deg, #2c3e50, #1a2634);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
}

/* Toggle Switch Styles */
.theme-toggle {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50px;
  padding: 5px 10px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
}

.theme-toggle i {
  margin-right: 8px;
}

[data-theme="dark"] .theme-toggle {
  background: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.3);
}
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .logo i {
    margin-right: 10px;
    font-size: 1.8rem;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li {
    margin-left: 20px;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
  }
  
  .nav-links a i {
    margin-right: 5px;
  }
  
  .nav-links a.active {
    font-weight: bold;
   
  }
  /* ===== Ultra-Modern Hero Styles ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 0 5%;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

.weather-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  width: 100%;
}

.dynamic-weather-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  position: relative;
}

.weather-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.weather-word {
  display: inline-block;
  position: relative;
  color: #fff;
  background: linear-gradient(90deg, #00d2ff, #3a7bd5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.word-rotator {
  display: inline-block;
  position: relative;
  height: 1.2em;
  overflow: hidden;
}

.word-rotator span {
  display: block;
  position: absolute;
  white-space: nowrap;
  animation: rotateWords 12s infinite cubic-bezier(0.645, 0.045, 0.355, 1);
  opacity: 0;
}

.word-rotator span:nth-child(2) { animation-delay: 3s; }
.word-rotator span:nth-child(3) { animation-delay: 6s; }
.word-rotator span:nth-child(4) { animation-delay: 9s; }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Smart Search */
.smart-search-container {
  max-width: 700px;
  margin: 0 auto 50px;
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.smart-search-container:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.search-input-wrapper {
  flex: 1;
  position: relative;
}

.smart-search-input {
  width: 100%;
  padding: 20px 25px;
  border: none;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.95);
  color: #333;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0 0 15px 15px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.smart-search-input:focus + .search-suggestions {
  max-height: 300px;
}

.search-button {
  padding: 0 35px;
  background: linear-gradient(90deg, #3a7bd5, #00d2ff);
  color: white;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.search-button:hover {
  background: linear-gradient(90deg, #00d2ff, #3a7bd5);
}

.button-weather-animation {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0);
}

.search-button:hover .button-weather-animation {
  animation: ripple 1.5s ease-out infinite;
}

/* Live Weather Ticker */
.live-weather-ticker {
  max-width: 800px;
  margin: 0 auto 40px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

.ticker-container {
  display: flex;
  animation: tickerScroll 30s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  padding: 0 30px;
  white-space: nowrap;
}

.ticker-item i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.ticker-value {
  font-weight: 700;
  margin-right: 8px;
}

.ticker-location {
  opacity: 0.8;
}

/* Weather Metrics */
.weather-metrics {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.metric-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 20px;
  min-width: 120px;
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.metric-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.humidity { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2c-4.97 0-9 3.185-9 7.115 0 2.557 1.522 4.82 3.889 6.868C7.962 17.458 9 19.68 9 22h6c0-2.32 1.038-4.542 3.111-6.017C20.478 13.955 22 11.692 22 9.115 22 5.185 17.97 2 12 2zm0 2c3.87 0 7 2.185 7 5.115 0 1.692-.978 3.23-2.868 4.814l-.732.55L15 16h-6l-.4-1.521-.732-.55C5.978 12.345 5 10.807 5 9.115 5 6.185 8.13 4 12 4z"/></svg>'); }

.wind { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M13 5.5C13 3.57 11.43 2 9.5 2 7.466 2 6.25 3.525 6.25 5h2c0-.415.388-1 1.25-1 .962 0 1.75.789 1.75 1.75 0 .728-.471 1.292-1.227 1.51L4 10v9h9v-9l-3.76-1.245C10.684 8.372 13 7.102 13 5.5zM4 20v2h9v-2H4z"/></svg>'); }
.pressure { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2zm0 18c-4.411 0-8-3.589-8-8s3.589-8 8-8 8 3.589 8 8-3.589 8-8 8z"/><path d="M13 7h-2v6h6v-2h-4z"/></svg>'); }

.metric-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.metric-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* Animations */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes rotateWords {
  0% { opacity: 0; transform: translateY(20px); }
  3% { opacity: 1; transform: translateY(0px); }
  23% { opacity: 1; transform: translateY(0px); }
  27% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 0; transform: translateY(-20px); }
}

@keyframes ripple {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollWheel {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
  100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}

@keyframes scrollArrow {
  0% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(5px); opacity: 0.5; }
  100% { transform: rotate(45deg) translateY(0); opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero {
    min-height: 700px;
    padding: 100px 20px;
  }
  
  .smart-search-container {
    flex-direction: column;
    border-radius: 15px;
  }
  
  .search-button {
    padding: 15px;
    justify-content: center;
  }
  
  .weather-metrics {
    gap: 10px;
  }
  
  .metric-card {
    min-width: calc(50% - 15px);
    padding: 15px;
  }
}

/* Dark Mode Adjustments */
body.dark-mode .hero {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

body.dark-mode .smart-search-input {
  background: rgba(30,30,30,0.95);
  color: #fff;
}

body.dark-mode .metric-card {
  background: rgba(0,0,0,0.2);
}

body.dark-mode .metric-card:hover {
  background: rgba(0,0,0,0.3);
}
  
  /* Weather App Container */
  .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .search-section {
    margin-bottom: 30px;
  }
  
  input[type="text"] {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: border-color 0.3s;
  }
  
  input[type="text"]:focus {
    border-color: #83a4d4;
    outline: none;
  }
  
  .button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  button {
    padding: 12px 20px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
  }
  
 
  
  button:hover {
    background-color: #357ab8;
    transform: translateY(-2px);
  }
  
  /* Recent Searches */
  .recent-searches {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  
  .recent-searches h3 {
    margin-bottom: 10px;
    color: #555;
  }
  
  #recentSearches {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  #recentSearches li {
    background: #e9ecef;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  #recentSearches li:hover {
    background: #dee2e6;
  }
  
  /* Results Section */
  .result {
    min-height: 300px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  
  .welcome-message {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .welcome-message h2 {
    margin-bottom: 15px;
    color: #4a90e2;
  }
  
  .welcome-message p {
    margin-bottom: 30px;
  }
  
  .features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }
  
  .feature-card {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
  }
  
  .feature-card i {
    font-size: 2.5rem;
    color: #4a90e2;
    margin-bottom: 15px;
  }
  
  .feature-card h3 {
    margin-bottom: 10px;
    color: #333;
  }
  
  /* Weather Display Styles */
  .weather-display {
    text-align: center;
  }
  
  .weather-icon {
    display: block;
    margin: 0 auto 10px;
    width: 100px;
  }
  
  .weather-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
  }
  
  .weather-info p {
    background: white;
    padding: 15px;
    color: #4a90e2;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }
  
  /* Map Container */
  .map-container {
    margin-top: 30px;
  }
  
  .map {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* About Section */
  .about-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
  }
  
  .about-section h2 {
    margin-bottom: 20px;
    color: #4a90e2;
  }
  
  .about-section p {
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Footer */
  footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 0;
    margin-top: 50px;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
  }
  
  .footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
  }
  
  .footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
  }
  
  .footer-section ul {
    list-style: none;
  }
  
  .footer-section ul li {
    margin-bottom: 10px;
  }
  
  .footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-section ul li a:hover {
    color: #b6fbff;
  }
  
  .social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: #b6fbff;
  }
  
  .footer-bottom {
    text-align: center;
    padding: 20px;
    background: #1a252f;
    font-size: 0.9rem;
  }
  
  .footer-bottom a {
    color: #b6fbff;
    text-decoration: none;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      text-align: center;
    }
  
    .nav-links {
      margin-top: 15px;
      flex-direction: column;
      align-items: center;
    }
  
    .nav-links li {
      margin: 5px 0;
    }
  
    .hero h1 {
      font-size: 2rem;
    }
  
    .hero p {
      font-size: 1rem;
    }
  
    .button-group {
      flex-direction: column;
    }
  
    button {
      width: 100%;
      justify-content: center;
    }
  
    .features {
      flex-direction: column;
      align-items: center;
    }
  
    .feature-card {
      width: 100%;
    }
  }


  /* Add these new styles to your existing CSS */

/* Dark Mode Styles */
body.dark-mode {
  background: #121212;
  color: #e0e0e0;
}

body.dark-mode .container,
body.dark-mode .feature-card,
body.dark-mode .result,
body.dark-mode .recent-searches,
body.dark-mode .global-outlook .container {
  background: #1e1e1e;
  color: #e0e0e0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

body.dark-mode input[type="text"] {
  background: #2d2d2d;
  color: #e0e0e0;
  border-color: #444;
}



body.dark-mode .footer-section h3,
body.dark-mode .feature-card h3,
body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3 {
  color: #ffffff;
}

/* Logo Styles */
.logo-img {
  height: 30px;
  margin-right: 10px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 15px;
}

/* Recent Weather in Pictures */
.recent-weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.recent-weather-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  transition: transform 0.3s;
  cursor: pointer;
}

.recent-weather-card:hover {
  transform: translateY(-5px);
}

.recent-weather-card img {
  width: 50px;
  height: 50px;
  margin: 0 auto;
}

.recent-weather-card h4 {
  margin: 8px 0 4px;
  font-size: 1rem;
}

.recent-weather-card p {
  font-size: 0.9rem;
  margin: 2px 0;
}

/* Global Weather Outlook */
.global-outlook {
  margin: 40px 0;
}

.global-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.global-city-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s;
}

.global-city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.global-city-card img {
  width: 60px;
  height: 60px;
  margin: 0 auto;
}

.global-city-card h3 {
  margin: 10px 0 5px;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #4a90e2;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  z-index: 99;
}

.scroll-to-top:hover {
  background: #357ab8;
  transform: translateY(-3px);
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Dark mode specific adjustments */
body.dark-mode .recent-weather-card,
body.dark-mode .global-city-card {
  background: #2d2d2d;
}

body.dark-mode .recent-weather-card:hover,
body.dark-mode .global-city-card:hover {
  background: #3a3a3a;
}

/* Recent Weather Cards */
.recent-weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.recent-weather-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.recent-weather-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.recent-weather-card h4 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: #2c3e50;
}

.recent-weather-card img {
  width: 50px;
  height: 50px;
  margin: 0 auto;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.1));
}

.recent-temp {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 5px 0;
  color: #4a90e2;
}

.recent-details {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #7f8c8d;
}

.recent-details span {
  display: flex;
  align-items: center;
}

.recent-details i {
  margin-right: 3px;
}

/* Dark mode adjustments */
body.dark-mode .recent-weather-card {
  background: rgba(30, 30, 30, 0.8);
  border-color: #444;
}

body.dark-mode .recent-weather-card h4 {
  color: #ecf0f1;
}

body.dark-mode .recent-details {
  color: #bdc3c7;
}

/* Navbar Styles */
.navbar {
  color: white;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo-img {
  height: 30px;
  margin-right: 10px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-links li {
  position: relative;
}

.nav-links a, 
.nav-links .theme-toggle {
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  transition: all 0.3s;
}

.nav-links a i, 
.theme-toggle i {
  margin-right: 8px;
}




/* Mobile Navigation */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #83a4d4, #143739);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a, 
  .nav-links .theme-toggle {
    padding: 1rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-menu-toggle {
    display: block;
  }
}

/* Footer Styles */
footer {
  background: #2c3e50;
  color: white;
  padding-top: 50px;
  margin-top: 50px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.footer-section {
  margin-bottom: 30px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
}

.footer-section.about p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact span {
  display: block;
  margin-bottom: 10px;
}

.contact i {
  margin-right: 10px;
  color: #b6fbff;
}

.footer-section.links ul {
  list-style: none;
  padding: 0;
}

.footer-section.links li {
  margin-bottom: 10px;
}

.footer-section.links a {
  color: #ecf0f1;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.footer-section.links a:hover {
  color: #b6fbff;
  transform: translateX(5px);
}

.footer-section.links i {
  margin-right: 8px;
  font-size: 0.8rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.9);
}

.newsletter-form button {
  padding: 10px;
  background: #4a90e2;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-form button:hover {
  background: #357ab8;
}

.newsletter-form i {
  margin-right: 8px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.social-icons a {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: #4a90e2;
  transform: translateY(-3px);
}

.app-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s;
}

.app-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.app-btn i {
  margin-right: 8px;
}

.footer-bottom {
  background: #1a252f;
  padding: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #b6fbff;
}

.footer-extras {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-extras a {
  color: #ecf0f1;
  font-size: 0.8rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-section {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .contact span {
    justify-content: center;
  }

  .footer-section.links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .footer-extras {
    flex-direction: column;
    gap: 5px;
  }
}