/* Premium Magazine Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary-color: #2c5282;
  --secondary-color: #4299e1;
  --accent-color: #f6ad55;
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --bg-primary: #ffffff;
  --bg-secondary: #f7fafc;
  --bg-tertiary: #edf2f7;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: pointer;
  user-select: none; /* Disables text selection */
  -webkit-user-select: none; /* For Safari */
  -ms-user-select: none; /* For Internet Explorer */
  -moz-user-select: none; /* For Firefox */

}
#magazine-container {
  cursor: pointer;
  position: fixed; /* Use fixed to ensure it fills the viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100); /* Dynamically adjusted height */
  background:  linear-gradient(135deg, #f0f4f8, #d9e2ec); /* Subtle gradient background */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0;
}
#magazine {
  width: 90%; /* Adjust to provide margins on smaller screens */
  height: auto;
  max-width: 100%;
  max-height: 100%;
  background: var(--bg-primary); /* Solid background for the magazine */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-radius: 8px; /* Rounded corners for a modern look */
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
} 
.magazine-rtl {
  direction: rtl !important;
}
#close-button:hover {
  color: #f6ad55;
}

 

/* Mobile-Specific Adjustments */
@media (max-width: 768px) {
  #magazine-container {
    padding: 0rem;
  }

  #magazine {
    width: 100%;
    height: auto;
    border-radius: 5px; /* Smaller radius for compact screens */
  }
}


.cover {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

.cover-title {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem;
  color: white;
  max-width: 900px;
}

.cover-title h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cover-title p {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  margin-top: 2rem;
  font-weight: 400;
  opacity: 0.95;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  .cover-title {
    padding: 2rem;
  }

  .cover-title h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
  }

  .cover-title p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 95%;
  }
}

.page-content {
  background: white;
  padding: clamp(1rem, 2vw, 1.5rem); /* Adjust padding to be smaller */
  height: calc(100% - 2rem); /* Ensure the height accounts for padding */
  overflow-y: auto; /* Enable scrolling for overflow content */
  scrollbar-width: thin;
  scrollbar-color: var(--secondary-color) var(--bg-tertiary);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.page-content::-webkit-scrollbar {
  width: 6px;
}

.page-content::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
}

.page-content::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  border-radius: 3px;
}

/* Section Headers */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Cards */
.place-card {
  background: var(--bg-primary);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  border: 1px solid var(--bg-tertiary);
}

.place-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.place-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.place-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

/* Tags */
.tag {
  display: inline-block;
  background: var(--bg-tertiary);
  color: var(--primary-color);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0.25rem;
  transition: var(--transition-base);
}

.tag:hover {
  background: var(--primary-color);
  color: white;
}.nav-panel {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.25rem;
  border-radius: 3rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 90vw; /* Prevent the panel from going too wide on smaller screens */
}

.nav-button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.nav-button:hover {
  transform: scale(1.1);
}

.nav-button:active {
  transform: scale(0.95);
}

.page-info {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Media Query: make spacing & icons more compact on mobile */
@media (max-width: 600px) {
  .nav-panel {
    bottom: 0.5rem;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
    max-width: 95vw;
  }

  .nav-button {
    width: 2.2rem;
    height: 2.2rem;
  }

  .page-info {
    font-size: 0.9rem;
  }
}


.page-info {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 1rem;
  min-width: 3rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-content {
    padding: 1rem;
  }

  .nav-panel {
    bottom: 0.5rem;
    padding: 0.5rem 1rem;
    gap: 0.75rem;
  }

  .nav-button {
    width: 2rem;
    height: 2rem;
    font-size: 0.8rem;
  }

  .place-card img {
    height: 200px;
  }

  .page-info {
    min-width: 2.5rem;
  }
}



/* Content Pages Specific Styles */
.contents-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.contents-list li {
  background: var(--bg-secondary);
  padding: 1.25rem;
  border-radius: 0.75rem;
  transition: var(--transition-base);
  border: 1px solid var(--bg-tertiary);
}

.contents-list li:hover {
  background: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contents-list a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contents-list a i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

/* Gallery Grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.gallery-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  padding: 1rem;
  background: var(--bg-secondary); /* Using the secondary background color */
  color: var(--text-secondary); /* Using secondary text color */
  font-size: 0.875rem;
  margin-top: 0.5rem; /* Add some space between the image and caption */
  border-radius: 0.5rem; /* Optional: adds rounded corners */
  text-align: center; /* Centers the caption text */
}

/* Interactive Elements */
button, .btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-base);
}

button:hover, .btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}
 
/* Place Card Button Styles */
.place-card .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.place-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 120px;
    white-space: nowrap;
}

.place-card .btn i {
    margin-right: 8px;
    font-size: 16px;
    color: #3498db;
}

.place-card .btn:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
}

.place-card .btn:hover i {
    color: white;
}

.place-card .btn:active {
    transform: translateY(0);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .place-card .buttons {
        justify-content: center;
        gap: 8px;
    }

    .place-card .btn {
        flex: 1;
        min-width: unset;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .place-card .btn i {
        font-size: 14px;
    }
}

/* Different button types */
.place-card .btn[href*="directions"] {
    border-color: #22c55e;
}

.place-card .btn[href*="directions"] i {
    color: #22c55e;
}

.place-card .btn[href*="directions"]:hover {
    background: #22c55e;
    border-color: #22c55e;
}

.place-card .btn[href*="googlePlaces"] {
    border-color: #ef4444;
}

.place-card .btn[href*="googlePlaces"] i {
    color: #ef4444;
}

.place-card .btn[href*="googlePlaces"]:hover {
    background: #ef4444;
    border-color: #ef4444;
}

.place-card .btn[href*="website"] {
    border-color: #6366f1;
}

.place-card .btn[href*="website"] i {
    color: #6366f1;
}

.place-card .btn[href*="website"]:hover {
    background: #6366f1;
    border-color: #6366f1;
}

       
#pwa-install-banner {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 360px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  padding: 0;
  animation: slideUp 0.3s ease-out;
}

.pwa-prompt-content {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
}

.pwa-prompt-icon {
  background: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-prompt-icon i {
  color: white;
  font-size: 20px;
}

.pwa-prompt-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pwa-prompt-text span {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
}

.pwa-prompt-text small {
  color: var(--text-secondary);
  font-size: 12px;
  margin-top: 2px;
}

.pwa-prompt-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

#install-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

#close-button {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

#install-button:hover {
  background: var(--secondary-color);
}

#close-button:hover {
  color: var(--text-primary);
}


@media (max-width: 768px) {
  #pwa-install-banner {
      
      width: calc(100% - 32px);
  }
}

/* Welcome Page Styles */
.welcome-container {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.welcome-header {
  text-align: center;
  margin-bottom: 3rem;
}

.welcome-header img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.welcome-header .caption {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
}

.welcome-introduction {
  margin-bottom: 3rem;
  text-align: center;
}

.welcome-introduction .main-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.highlights-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.highlights-list li {
  background: var(--bg-secondary);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.highlights-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.what-youll-find {
  background: var(--bg-tertiary);
  padding: 2rem;
  border-radius: 1rem;
  margin: 3rem 0;
}

.what-youll-find ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.what-youll-find li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.what-youll-find li::before {
  content: "✓";
  color: var(--accent-color);
  font-weight: bold;
}

.testimonial {
  text-align: center;
  margin: 3rem 0;
  padding: 2rem;
  background: var(--gradient-primary);
  border-radius: 1rem;
  color: white;
}

.testimonial blockquote {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial .author {
  font-weight: 500;
}

.testimonial .details {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .welcome-container {
    padding: 1rem;
  }

  .welcome-header img {
    max-height: 300px;
  }

  .welcome-introduction .main-text {
    font-size: 1.1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  .testimonial blockquote {
    font-size: 1.2rem;
  }
}

/* Add these styles for the welcome page title */
.welcome-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.2;
  font-weight: 700;
  margin-top: 0px;
}

/* Update existing welcome-container styles */
.welcome-container {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Adjust spacing for mobile */
@media (max-width: 768px) {
  .welcome-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
  }
}

/* Introduction Page Styles */
.intro-section {
    margin-bottom: 3rem;
}

.intro-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Seasons Section Styles */
.seasons-section {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.seasons-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Seasons Table Styles */
.seasons-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.seasons-table th,
.seasons-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--bg-tertiary);
}

.seasons-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seasons-table tr:last-child td {
    border-bottom: none;
}

.seasons-table tr:hover {
    background: var(--bg-secondary);
}

.season-name {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 140px;
}

.season-pros {
    color: var(--primary-color);
    font-weight: 500;
}

.season-considerations {
    color: var(--text-secondary);
    font-style: italic;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .seasons-table, 
    .seasons-table tbody, 
    .seasons-table tr {
        display: block;
    }

    .seasons-table thead {
        display: none; /* Hide table headers on mobile */
    }

    .seasons-table tr {
        margin-bottom: 1rem;
        border: 1px solid var(--bg-tertiary);
        border-radius: 8px;
        background: var(--bg-primary);
    }

    .seasons-table td {
        display: block;
        text-align: left;
        padding: 0.75rem;
        position: relative;
        padding-left: 1rem;
        border-bottom: 1px solid var(--bg-tertiary);
    }

    .seasons-table td:last-child {
        border-bottom: none;
    }

    /* Add labels for each data type */
    .season-name {
        font-weight: 600;
        color: var(--text-primary);
        background: var(--bg-secondary);
    }

    .season-pros::before {
        content: "Pros: ";
        font-weight: 600;
        color: var(--text-primary);
    }

    .season-considerations::before {
        content: "Considerations: ";
        font-weight: 600;
        color: var(--text-primary);
    }
}

/* Neighborhoods Section Styles */
.neighborhoods-section {
    margin-top: 3rem;
}

.neighborhoods-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.neighborhood-card {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--bg-tertiary);
}

.neighborhood-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.neighborhood-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.neighborhood-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .intro-section h2 {
        font-size: 1.5rem;
    }

    .intro-section p {
        font-size: 1rem;
    }

    .seasons-section h2,
    .neighborhoods-section h2 {
        font-size: 1.4rem;
    }

    .seasons-table {
        font-size: 0.9rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .seasons-table th,
    .seasons-table td {
        padding: 0.75rem;
    }

    .season-name {
        min-width: 100px;
    }

    .neighborhoods-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .neighborhood-card {
        padding: 1.25rem;
    }

    .neighborhood-card h3 {
        font-size: 1.1rem;
    }

    .neighborhood-card p {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .seasons-table {
        break-inside: avoid;
    }

    .neighborhood-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Summary Section Image Styles */
.summary-section img:first-child {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .summary-section img:first-child {
        max-height: 300px;
        margin-bottom: 1rem;
    }
}

/* Transportation Page Styles */
.transport-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.5rem;
    transition: var(--transition-base);
}

.transport-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.transport-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transport-icon i {
    font-size: 1.5rem;
    color: white;
}

.transport-content {
    flex-grow: 1;
}

.transport-content h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Metro Hours Grid */
.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.hour-item {
    background: var(--bg-secondary);
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hour-item .day {
    font-weight: 600;
    color: var(--text-primary);
    text-transform: capitalize;
}

.hour-item .time {
    color: var(--text-secondary);
}

/* Features List */
.features-list {
    background: var(--bg-secondary);
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin: 1rem 0;
}

.features-list h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.features-list ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-list li i {
    color: var(--accent-color);
}

/* Ticket Options */
.ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.ticket-item {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

.ticket-item:hover {
    transform: translateY(-2px);
}

.ticket-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.ticket-item .price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.ticket-item .validity {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Taxi Companies */
.taxi-companies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.company-item {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 0.75rem;
}

.company-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.company-item p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin: 0.25rem 0;
}

/* Price Grid */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.price-item {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Transport Summary Box */
.transport-summary-box {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: 2rem;
}

.transport-summary-box h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.transport-summary-box ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.transport-summary-box li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.transport-summary-box li::before {
    content: "→";
    font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .transport-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .transport-icon {
        width: 50px;
        height: 50px;
    }

    .hours-grid,
    .ticket-grid,
    .taxi-companies,
    .price-grid,
    .transport-summary-box ul {
        grid-template-columns: 1fr;
    }

    .features-list ul {
        grid-template-columns: 1fr;
    }

    .price-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.transport-card {
    animation: slideIn 0.5s ease-out forwards;
}

.transport-card:nth-child(n) {
    animation-delay: calc(n * 0.1s);
}

/* Itinerary Page Styles */
.itinerary-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.itinerary-tab {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.itinerary-tab.active {
    background: var(--primary-color);
    color: white;
}

.itinerary-container {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.itinerary-container.active {
    display: block;
}

.itinerary-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.itinerary-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.itinerary-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.itinerary-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.itinerary-header {
    margin-bottom: 2rem;
}

.itinerary-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.trip-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.trip-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.trip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.timeline {
    list-style: none;
    padding: 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--bg-tertiary);
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
}

.timeline-time {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.tip {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.tip i {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .itinerary-tabs {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .itinerary-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        flex: 1;
        justify-content: center;
    }

    .itinerary-map {
        height: 300px;
    }

    .itinerary-card {
        padding: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Culture Page Styles */
.culture-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.5rem;
    transition: var(--transition-base);
}

.culture-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.culture-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.culture-icon i {
    font-size: 1.5rem;
    color: white;
}

.culture-content {
    flex-grow: 1;
}

.culture-content h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.phrase-box {
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1rem;
}

.phrase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.phrase-item {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.phrase {
    font-weight: 600;
    color: var(--primary-color);
}

.meaning {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Shopping Page Styles */
.shopping-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.shopping-section {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.shopping-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.shopping-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.shopping-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin: 0;
}

.shopping-list {
    list-style: none;
    padding: 0;
}

.shopping-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

.shopping-item:last-child {
    border-bottom: none;
}

.shopping-item i {
    color: var(--accent-color);
}

.shopping-tips {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: 2rem;
}

.shopping-tips h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.shopping-tips ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.shopping-tips li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shopping-tips li::before {
    content: "✓";
    font-weight: bold;
}

@media (max-width: 768px) {
    .culture-card {
        flex-direction: column;
    }

    .culture-icon {
        width: 50px;
        height: 50px;
    }

    .phrase-grid {
        grid-template-columns: 1fr;
    }

    .shopping-grid {
        grid-template-columns: 1fr;
    }

    .shopping-tips ul {
        grid-template-columns: 1fr;
    }
}

/* Gallery Styles */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 15px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 1001;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

#lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  color: white;
  text-align: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
}

/* FAQ Styles */
.search-box {
  max-width: 600px;
  margin: 0 auto 30px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--bg-tertiary);
  border-radius: 30px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-tertiary);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.toggle-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .gallery-container {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 15px;
      padding: 15px;
  }

  .nav-btn {
      padding: 10px 15px;
  }

  .faq-question h3 {
      font-size: 1rem;
  }

  .search-box input {
      padding: 12px 15px;
      font-size: 14px;
  }
}

/* Animation for FAQ answers */
@keyframes slideDown {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.faq-item.active .faq-answer p {
  animation: slideDown 0.3s ease-out;
}
/* Budgeting Page Styles */
.budget-overview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.cost-breakdown {
  background: var(--bg-primary);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.cost-breakdown h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.cost-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.cost-item:hover {
  transform: translateY(-5px);
}

.cost-icon {
  background: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.cost-details h3 {
  margin: 0 0 10px 0;
  color: var(--text-primary);
}

.saving-tips {
  background: var(--gradient-primary);
  color: white;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
}

.tips-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
}

.tip-item i {
  color: var(--accent-color);
}

.currency-info {
  background: var(--bg-primary);
  border-radius: 15px;
  padding: 25px;
  box-shadow: var(--shadow-sm);
}

.currency-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.exchange-info, .exchange-tips {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 12px;
}

/* Safety Page Styles */
.safety-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.safety-card {
  display: flex;
  gap: 20px;
  background: var(--bg-primary);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.safety-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.safety-card.primary {
  background: var(--primary-color);
  color: white;
}

.safety-card.highlight {
  background: var(--gradient-primary);
  color: white;
}

.safety-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.emergency-numbers {
  background: var(--bg-primary);
  border-radius: 15px;
  padding: 25px;
  margin-top: 30px;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.number-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 12px;
  text-align: center;
}

.number {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.label {
  color: var(--text-secondary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .cost-grid, 
  .tips-container, 
  .currency-card,
  .safety-grid,
  .numbers-grid {
      grid-template-columns: 1fr;
  }

  .safety-card {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .cost-item {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .tip-item {
      align-items: center;
      text-align: center;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.cost-item,
.tip-item,
.safety-card {
  animation: fadeIn 0.5s ease-out forwards;
}

.cost-item:nth-child(n),
.tip-item:nth-child(n),
.safety-card:nth-child(n) {
  animation-delay: calc(n * 0.1s);
}

/* Special Features Page Styles */
.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.feature-section {
  background: var(--bg-primary);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.feature-header i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.feature-header h2 {
  margin: 0;
  color: var(--text-primary);
}

/* Map Section */
.map-container {
  width: 100%;
  height: 300px;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .map-container {
    height: 250px;
  }
}

/* Reviews Section */
.reviews-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 12px;
  position: relative;
}

.review-content {
  position: relative;
  padding-left: 30px;
}

.review-content i {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  opacity: 0.3;
  font-size: 1.5rem;
}

.reviewer {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  color: var(--primary-color);
}

/* Resources Section */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: var(--bg-secondary);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-3px);
  background: var(--bg-tertiary);
}

/* Video Section */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  margin-top: 10px;
  text-align: center;
  color: var(--text-secondary);
}

/* Poll Section */
.poll-container {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 12px;
}

.poll-item {
  margin-bottom: 15px;
}

.poll-label {
  margin-bottom: 5px;
  font-weight: 500;
}

.poll-bar-container {
  background: var(--bg-tertiary);
  border-radius: 20px;
  height: 25px;
  position: relative;
  overflow: hidden;
}

.poll-bar {
  background: var(--primary-color);
  height: 100%;
  border-radius: 20px;
  transition: width 1s ease-out;
}

.poll-percentage {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 0.9rem;
}

/* Emergency Contacts Page Styles */
.emergency-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.emergency-section {
  background: var(--bg-primary);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.section-header i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

/* Primary Numbers Grid */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.emergency-card {
  background: var(--gradient-primary);
  color: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.emergency-card:hover {
  transform: translateY(-3px);
}

.emergency-card .number {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.emergency-card .service {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Locations Grid */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.location-card {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.location-card:hover {
  transform: translateY(-3px);
}

.location-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.location-card p {
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-card .specialty {
  color: var(--accent-color);
  font-style: italic;
}

/* Phrases Grid */
.phrases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.phrase-card {
  background: var(--bg-secondary);
  padding: 15px;
  border-radius: 12px;
}

.phrase-card .english {
  font-weight: 600;
  margin-bottom: 5px;
}

.phrase-card .translation {
  color: var(--primary-color);
  font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .reviews-carousel,
  .resources-grid,
  .video-grid,
  .numbers-grid,
  .locations-grid,
  .phrases-grid {
      grid-template-columns: 1fr;
  }

  .map-container {
      height: 300px;
  }

  .emergency-card .number {
      font-size: 1.5rem;
  }
}

/* Animations */
@keyframes slideIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.feature-section,
.emergency-section {
  animation: slideIn 0.5s ease-out forwards;
}

.poll-bar {
  animation: growBar 1.5s ease-out forwards;
}

@keyframes growBar {
  from {
      width: 0;
  }
}

/* Ending Page Styles */
.ending-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.ending-section {
  background: var(--bg-primary);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.ending-section:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.section-header i {
  font-size: 2rem;
  color: var(--primary-color);
}

/* Conclusion Section */
.conclusion {
  background: var(--gradient-primary);
  color: white;
}

.conclusion-content {
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Author's Note */
.author-content {
  display: flex;
  gap: 30px;
  align-items: center;
}

.author-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-message {
  font-style: italic;
}

.author-signature {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  color: var(--primary-color);
  font-style: normal;
}

/* Resources Grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.resource-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.3s ease;
}

.resource-link:hover {
  transform: translateY(-3px);
  background: var(--bg-tertiary);
}

.resource-info h3 {
  margin: 0 0 5px 0;
  color: var(--primary-color);
}

/* Feedback Section */
.feedback-content {
  text-align: center;
}

.feedback-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--primary-color);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 20px;
  transition: transform 0.3s ease;
}

.feedback-button:hover {
  transform: translateY(-3px);
  background: var(--secondary-color);
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  background: var(--bg-secondary);
  border-radius: 30px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  background: var(--bg-tertiary);
}

/* Final Quote */
.final-quote {
  text-align: center;
  background: var(--bg-secondary);
}

.final-quote blockquote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--primary-color);
  margin: 0;
  padding: 20px;
  font-family: 'Playfair Display', serif;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .author-content {
      flex-direction: column;
      text-align: center;
  }

  .resources-grid {
      grid-template-columns: 1fr;
  }

  .social-links {
      flex-direction: column;
  }

  .social-link {
      justify-content: center;
  }

  .final-quote blockquote {
      font-size: 1.2rem;
  }
}

/* Animations */
@keyframes fadeUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.ending-section {
  animation: fadeUp 0.5s ease-out forwards;
}

.ending-section:nth-child(n) {
  animation-delay: calc(n * 0.1s);
}

