/* ========== INDEX / HOME PAGE ONLY ========== */

/* Hero notification bar */
.hero-notification {
  background: linear-gradient(135deg, var(--primary-green) 0%, #0a2418 100%);
  color: var(--pure-white);
  text-align: center;
  padding: 22px 20px;
  position: relative;
  z-index: 0;
  border-bottom: 4px solid var(--accent-gold);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  animation: pulseBackground 3s infinite;
}

@keyframes pulseBackground {
  0%, 100% { box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2); }
  50% { box-shadow: 0 8px 35px rgba(212, 175, 55, 0.3); }
}

/* Quick Search Section */
.quick-search-section {
  padding: 60px 20px;
}

.quick-search-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.quick-search-section .section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-green);
  margin-bottom: 40px;
  font-weight: 600;
}

.search-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(13, 46, 30, 0.1);
}

.search-select {
  flex: 1;
  min-width: 200px;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  color: #333;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-select:hover {
  border-color: var(--primary-green);
}

.search-select:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.search-btn {
  flex: 0 0 auto;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13, 46, 30, 0.2);
  background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
}

.search-btn i {
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .quick-search-section {
    padding: 40px 15px;
  }

  .quick-search-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .search-container {
    flex-direction: column;
    padding: 20px;
  }

  .search-select {
    width: 100%;
    min-width: 100%;
  }

  .search-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .quick-search-section {
    padding: 30px 15px;
  }

  .quick-search-section .section-title {
    font-size: 1.3rem;
  }
}

.hero-notification i {
  color: var(--accent-gold);
  font-size: 1.8rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.notification-text {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 2.2;
}

.highlight {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ffd700 100%);
  color: var(--primary-green);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 10px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  animation: highlightPulse 2s infinite;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes highlightPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6); }
}

.locations {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 15px;
  padding: 6px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  border-left: 3px solid var(--accent-gold);
}

.location-tag {
  background: rgba(212, 175, 55, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Hero section */
header.hero {
  background: linear-gradient(135deg, var(--light-green) 0%, var(--pure-white) 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

header.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(13, 46, 30, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.logo-container {
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.logo-hero {
  height: 120px;
  filter: drop-shadow(0 4px 8px rgba(13, 46, 30, 0.15));
  transition: all 0.5s ease;
}

.logo-container::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-green);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.cta-button {
  padding: 15px 35px;
  background: var(--primary-green);
  color: var(--pure-white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-button:hover {
  background: var(--secondary-green);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(13, 46, 30, 0.2);
  border-color: var(--secondary-green);
}

.cta-button.secondary {
  background: transparent;
  color: var(--primary-green);
}

.cta-button.secondary:hover {
  background: var(--light-green);
}

/* Country cards */
.country-cards-section {
  max-width: 1200px;
  margin: -60px auto 100px;
  padding: 0 20px;
  position: relative;
  z-index: 3;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  justify-content: center;
}

.country-card {
  background: var(--pure-white);
  border-radius: 25px;
  padding: 60px 50px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 3px solid transparent;
  box-shadow: 0 20px 50px rgba(13, 46, 30, 0.15);
  position: relative;
  overflow: hidden;
}

.country-card:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow: 0 30px 70px rgba(13, 46, 30, 0.25);
  border-color: var(--accent-gold);
}

.country-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, #ffd700 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.country-card:hover::before {
  transform: scaleX(1);
}

.country-flag {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
  color: var(--pure-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 40px;
  font-size: 4rem;
  transition: all 0.4s ease;
  box-shadow: 0 15px 30px rgba(13, 46, 30, 0.2);
  position: relative;
  overflow: hidden;
}

.country-card:hover .country-flag {
  transform: scale(1.15) rotate(10deg);
  background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
  box-shadow: 0 20px 40px rgba(13, 46, 30, 0.3);
}

.country-flag i {
  transition: transform 0.4s ease;
}

.country-card:hover .country-flag i {
  transform: scale(1.2);
}

.country-card h2 {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.country-card h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.country-card:hover h2::after {
  width: 120px;
}

.country-description {
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1.2rem;
  line-height: 1.7;
}

.country-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(13, 46, 30, 0.03);
  border-radius: 15px;
  border: 2px solid rgba(13, 46, 30, 0.05);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

.country-features {
  text-align: left;
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(13, 46, 30, 0.02);
  border-radius: 15px;
}

.country-features h3 {
  color: var(--primary-green);
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: var(--text-light);
  line-height: 1.5;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-gold);
  font-weight: bold;
  font-size: 1.2rem;
}

.country-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
  color: var(--pure-white);
  text-decoration: none;
  padding: 18px 50px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(13, 46, 30, 0.2);
  position: relative;
  overflow: hidden;
}

.country-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(13, 46, 30, 0.3);
  background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
}

.country-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.country-button:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% { transform: scale(0, 0); opacity: 0.5; }
  100% { transform: scale(30, 30); opacity: 0; }
}

.uae-card .country-flag {
  background: linear-gradient(135deg, #ce1126 0%, #009739 100%);
}

.uae-card:hover .country-flag {
  background: linear-gradient(135deg, #009739 0%, #ce1126 100%);
}

.pakistan-card .country-flag {
  background: linear-gradient(135deg, #01411C 0%, #FFFFFF 100%);
}

.pakistan-card:hover .country-flag {
  background: linear-gradient(135deg, #FFFFFF 0%, #01411C 100%);
}

/* UAE contact modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 46, 30, 0.85);
  z-index: 2000;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: linear-gradient(135deg, #f8f9fa 0%, var(--pure-white) 100%);
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 2001;
  overflow: hidden;
  animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  border: 3px solid var(--accent-gold);
  padding: 0;
}

@keyframes modalSlideIn {
  to { transform: translate(-50%, -50%) scale(1); }
}

.modal-header {
  background: linear-gradient(135deg, #ce1126 0%, #009739 100%);
  padding: 30px;
  text-align: center;
  position: relative;
}

.modal-header h2 {
  font-size: 1.8rem;
  color: var(--pure-white);
  margin-bottom: 10px;
  font-weight: 800;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-header p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.5;
}

.modal-body {
  padding: 40px 30px;
  text-align: center;
}

.phone-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ce1126 0%, #009739 100%);
  color: var(--pure-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.2rem;
  box-shadow: 0 10px 25px rgba(206, 17, 38, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 25px rgba(206, 17, 38, 0.3); }
  50% { box-shadow: 0 10px 35px rgba(206, 17, 38, 0.5); transform: scale(1.05); }
}

.phone-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.phone-label {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 500;
}

.message {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin: 25px 0;
  padding: 20px;
  background: rgba(13, 46, 30, 0.05);
  border-radius: 12px;
  border-left: 4px solid var(--accent-gold);
  font-style: italic;
}

.modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 25px;
}

.call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #009739 0%, #ce1126 100%);
  color: var(--pure-white);
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(206, 17, 38, 0.3);
  flex: 1;
  max-width: 180px;
}

.call-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(206, 17, 38, 0.4);
  background: linear-gradient(135deg, #ce1126 0%, #009739 100%);
}

.close-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
  padding: 13px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 180px;
}

.close-button:hover {
  background: var(--primary-green);
  color: var(--pure-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(13, 46, 30, 0.15);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--pure-white);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}

/* Home page responsive */
@media (max-width: 1100px) {
  .cards-container {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .country-card {
    padding: 50px 40px;
  }
}

@media (max-width: 768px) {
  .hero-notification {
    padding: 18px 15px;
  }
  .hero-notification i {
    font-size: 1.4rem;
  }
  .notification-text {
    font-size: 1rem;
    line-height: 2.2;
  }
  .highlight {
    padding: 6px 15px;
    font-size: 0.9rem;
    margin: 5px;
  }
  .locations {
    display: none;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .logo-hero {
    height: 100px;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  .country-cards-section {
    margin: 40px auto 80px;
  }
  .country-card {
    padding: 40px 25px;
  }
  .country-flag {
    width: 90px;
    height: 90px;
    font-size: 3rem;
  }
  .country-card h2 {
    font-size: 2rem;
  }
  .country-description {
    font-size: 1rem;
  }
  .stat-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .logo-hero {
    height: 85px;
  }
  .notification-text {
    font-size: 0.9rem;
  }
  .highlight {
    padding: 5px 12px;
    font-size: 0.8rem;
  }
  .country-card {
    padding: 30px 20px;
  }
  .country-flag {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
  .country-card h2 {
    font-size: 1.8rem;
  }
  .country-stats {
    flex-direction: column;
    gap: 20px;
  }
  .modal-actions {
    flex-direction: column;
  }
  .call-button,
  .close-button {
    max-width: 100%;
  }
}

/* Simple Image Grid */
.simple-image-grid {
  padding: 60px 20px;
  margin-bottom: 100px;
}

.image-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.grid-item {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.grid-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.grid-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .image-grid {
    gap: 15px;
  }
  
  .grid-item {
    min-width: calc(50% - 15px);
  }
}

@media (max-width: 480px) {
  .grid-item {
    min-width: 100%;
  }
}

:root {
  --primary-green: #0b3d2e;
  --secondary-green: #145f47;
  --accent-gold: #d4af37;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --pure-white: #ffffff;
  --light-bg: #f8f9fa;
}

/* Beta Banner */
.beta-banner {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.beta-banner span {
  background: var(--accent-gold);
  color: var(--primary-green);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  margin-right: 8px;
}

/* Hero Section */
.hero-modern {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 600px;
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-modern-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  position: relative;
  z-index: 2;
}

.hero-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-modern h1 {
  font-size: 2.5rem;
  color: var(--pure-white);
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-modern .subtitle {
  font-size: 1.2rem;
  color: whitesmoke;
  margin-bottom: 40px;
}

#hero-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -10;
} 

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}

.filter-tab {
  font-size: 1.1rem;
  font-weight: 600;
  color: whitesmoke;
  cursor: pointer;
  padding: 5px 0;
  position: relative;
}

.filter-tab.active {
  color: var(--pure-white);
}

.filter-tab.active::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 3px 3px 0 0;
}

/* Search Bar */
.search-bar-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  background: var(--pure-white);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.search-input-group {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.search-input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.search-input-group input,
.search-input-group select {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.search-input-group input:focus,
.search-input-group select:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.search-btn-modern {
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
}

.view-details-btn {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(11, 61, 46, 0.2);
}

.container {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

/* Advertisement Banner */
.ad-banner {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
  border-radius: 15px;
  padding: 30px;
  margin: 40px auto;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.ad-content {
  flex: 1;
  min-width: 300px;
}

.ad-badge {
  background: var(--accent-gold);
  color: var(--primary-green);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 15px;
}

.ad-content h3 {
  font-size: 1.8rem;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.ad-content p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
}

.ad-stats {
  display: flex;
  gap: 30px;
  margin: 20px 0;
}

.ad-stat {
  text-align: center;
}

.ad-stat .number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-green);
  display: block;
}

.ad-stat .label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.ad-cta {
  background: var(--primary-green);
  color: white;
  padding: 12px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.ad-cta:hover {
  background: var(--secondary-green);
  transform: translateY(-2px);
}

.ad-qr {
  background: white;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  min-width: 150px;
}

.ad-qr i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.ad-qr p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* New Projects Section */
.new-projects {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 30px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--primary-green);
}

.city-tabs {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.city-tab {
  padding: 8px 20px;
  border-radius: 25px;
  background: white;
  border: 2px solid #e0e0e0;
  color: var(--text-light);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.city-tab:hover,
.city-tab.active {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  max-width: 400px;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(11, 61, 46, 0.15);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  position: relative;
}

.project-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-gold);
  color: var(--primary-green);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  font-size: 1.3rem;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.project-location {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.project-detail {
  text-align: center;
}

.project-detail .label {
  font-size: 0.8rem;
  color: var(--text-light);
  display: block;
}

.project-detail .value {
  font-weight: 600;
  color: var(--primary-green);
}

.project-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
}

.progress-fill {
  height: 100%;
  background: var(--accent-gold);
  border-radius: 3px;
  width: 5%;
}

.developer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.developer i {
  color: var(--accent-gold);
}

/* Popular Locations Section */
.location-link {
  text-decoration: none;
  color:black;
}

.location-list li:hover {
  background-color: #ededed;
}

.popular-cities-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e0e0e0;
}

.popular-cities-section h3 {
  font-size: 1.8rem;
  color: var(--primary-green);
  margin-bottom: 30px;
  text-align: center;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.cities-column h4 {
  font-size: 1.3rem;
  color: var(--primary-green);
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 10px;
  display: inline-block;
}

.city-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.city-list li {
  margin-bottom: 10px;
}

.city-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.city-link:hover {
  background: white;
  color: var(--primary-green);
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.city-link .check {
  color: var(--accent-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .cities-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .popular-cities-section h3 {
    font-size: 1.5rem;
  }
  
  .cities-column h4 {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .city-link {
    font-size: 0.9rem;
    padding: 8px 0;
  }
}

.popular-locations {
  padding: 60px 20px;
  background: var(--light-bg);
}

.popular-locations .container {
  max-width: 1200px;
  display: block;
  margin: 0 auto;
}

.popular-locations .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.popular-locations .section-header h2 {
  font-size: 2rem;
  color: var(--primary-green);
  margin: 0;
}

.popular-tabs {
  display: flex;
  gap: 10px;
  background: #f1f3f4;
  padding: 4px;
  border-radius: 40px;
}

.popular-tab {
  padding: 8px 24px;
  border: none;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  color: #5f6368;
  font-family: 'Poppins', sans-serif;
}

.popular-tab.active {
  background: white;
  color: var(--primary-green);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Listing Toggle */
.listing-toggle {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.toggle-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  padding: 5px 0;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.toggle-btn.active {
  color: var(--primary-green);
}

.toggle-btn.active::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 3px 3px 0 0;
}

/* Popular Grid */
.popular-grid {
  display: grid;
  width: 80vw;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

.location-column h3 {
  font-size: 1rem;
  color: var(--primary-green);
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 10px;
  display: inline-block;
}

.location-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.location-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 5px;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-bottom: 1px solid #f0f0f0;
}

.location-list li:last-child {
  border-bottom: none;
}

.location-list .check {
  color: var(--accent-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.location-list .count {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 968px) {
  .popular-grid {
    max-width: 900px;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .popular-locations .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .popular-locations {
    padding: 40px 15px;
  }
  
  .popular-locations .section-header h2 {
    font-size: 1.5rem;
  }
  
  .popular-tabs {
    width: 100%;
  }
  
  .popular-tab {
    flex: 1;
    text-align: center;
  }
  
  .listing-toggle {
    gap: 15px;
  }
  
  .toggle-btn {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .popular-grid {
    max-width: 500px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .location-column {
    margin-bottom: 20px;
  }
  
  .location-column h3 {
    font-size: 1.2rem;
  }
  
  .location-list li {
    font-size: 0.9rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-modern h1 {
    font-size: 2rem;
  }

  .filter-tabs {
    gap: 15px;
  }

  .filter-tab {
    font-size: 1rem;
  }

  .search-bar-modern {
    flex-direction: column;
  }

  .search-btn-modern {
    width: 100%;
  }

  .ad-banner {
    flex-direction: column;
    text-align: center;
  }

  .ad-stats {
    justify-content: center;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* First Time Buyer Section */
.first-time-buyer {
  background: linear-gradient(135deg, #0b3d2e 0%, #145f47 100%);
  padding: 60px 20px;
  margin: 40px 80px;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
}

.first-time-buyer::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.first-time-buyer::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.buyer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.buyer-content {
  max-width: 700px;
  color: white;
}

.buyer-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.buyer-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.buyer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #0b3d2e;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.buyer-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  background: #f8f9fa;
}

.buyer-cta i {
  transition: transform 0.3s ease;
}

.buyer-cta:hover i {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
  .first-time-buyer {
    padding: 40px 20px;
  }

  .buyer-content h2 {
    font-size: 2rem;
  }

  .buyer-content p {
    font-size: 1rem;
  }

  .buyer-cta {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .buyer-content h2 {
    font-size: 1.6rem;
  }
}

/* Map Container */
.map-container {
  position: relative;
  display: inline-block;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  max-height: 600px;
}

.pakistan-map {
  width: 100%;
  max-height: 600px;
  display: block;
}

/* City Markers Overlay */
.city-markers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Allows clicks to pass through to the map */
}

.city-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto; /* Make the marker itself clickable */
  cursor: pointer;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.marker-dot {
  width: 24px;
  height: 24px;
  background: var(--primary-green);
  border: 3px solid var(--accent-gold);
  border-radius: 50%;
  display: block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.city-marker:hover .marker-dot {
  transform: scale(1.3);
  background: var(--accent-gold);
  border-color: var(--primary-green);
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.5);
}

.marker-label {
  background: var(--primary-green);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 5px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  opacity: 0.9;
  transition: all 0.3s ease;
  border: 1px solid var(--accent-gold);
}

.city-marker:hover .marker-label {
  opacity: 1;
  transform: translateY(-2px);
  background: var(--accent-gold);
  color: var(--primary-green);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

.map-note {
  text-align: center;
  margin-top: 20px;
  color: var(--primary-green);
  font-weight: 500;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .marker-dot {
    width: 18px;
    height: 18px;
    border-width: 2px;
  }
  
  .marker-label {
    font-size: 0.7rem;
    padding: 2px 6px;
  }

  #karachi-marker {
    top: 92% !important;
  }
}

@media (max-width: 480px) {
  .marker-label {
    display: none; /* Hide labels on very small screens */
  }
  
  .marker-dot {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 560px) {
  .locations-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    font-size: 0.9rem;
  }
}

.map-title {
  font-size: 2rem;
  color: var(--primary-green);
}