* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #006a4e;
  --secondary: #f42a41;
  --accent: #c19a6b;
  --dark: #1a1a1a;
  --light: #ffffff;
  --gray: #f5f5f5;
  --text: #333;
}
.mb-5{
  margin-bottom: 50px;
}

body {
  font-family: 'SolaimanLipi', 'Kalpurush', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding:  0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 15px;
    padding-left: 15px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  font-size: 17px;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.slider-area{
  position: relative;
  z-index: 1;
  margin-top: 110px;
}
.slider-wrapper .owl-dots {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 33;
}
.slider-wrapper .owl-dots .owl-dot {
  margin: 0 5px;
}

.slider-wrapper .owl-dots .owl-dot span {
  width: 15px;
  height: 6px;
  background: white;
  border-radius: 4px;
  display: block;
}

.slider-wrapper .owl-dots .owl-dot.active span {
  background: var(--primary);
  width: 30px;
}
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.8s backwards;
}

.btn {
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-link {
  color: var(--primary);
  margin-top: 10px;
  display: block;
  text-decoration: none;
}
.btn-link span {
  font-size: 20px;
  transform: translateY(5px);
}
.btn-primary {
  background: white;
  color: var(--primary);
  font-weight: bold;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
}
.btn-secondary{
  color: white;
  background: var(--primary);
  font-weight: bold;
}

/* Section Styles */
section {
  padding: 80px 0px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 15px;
    padding-left: 15px;
}

.section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--primary);
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary);
}
.logo a {
    color: var(--primary);
    text-decoration: none;
}
/* About Section */
.about {
  background: var(--gray);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 50px;
  align-items: center;
}

.about-text p {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
}

.about-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.about-head h1 {
  color: var(--primary);
}

.about-head .subtitle {
  margin: 0;
  font-size: 16px;
  color: var(--secondary);
}

.about-head {
  margin-bottom: 20px;
}
.tab-navigation {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-button {
  background: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tab-button:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.tab-button.active {
  background: var(--primary);
  color: white;
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 10px solid var(--primary);
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Highlights Grid */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.highlight-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-5px);
}

.highlight-item h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.highlight-item p {
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .tab-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }
}
/* Career Section */
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.career-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.career-card:hover {
  transform: translateY(-10px);
}

.career-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 24px;
}

.career-card p {
  line-height: 1.8;
}
.career-card .icon {
  margin-bottom: 20px;
}
.timeline {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  padding-bottom: 0;
  padding-top: 60px;
}

.timeline h3 {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 3rem;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: -32px;
  width: 2px;
  background: var(--primary);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 50%;
  border: 4px solid var(
          --primary);
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
  background: var(--gray);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
/* Constituency Section */
.constituency {
  background: var(--gray);
}

.constituency-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.constituency-info h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 26px;
}

.constituency-info p {
  font-size: 18px;
  margin-bottom: 15px;
}

.constituency-list {
  list-style: none;
  margin-top: 20px;
}

.constituency-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  font-size: 17px;
}

.constituency-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 20px;
}
.area-map {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--primary);
  box-shadow: 0 0 10px rgba(124, 152, 171, 0.4);
  margin: auto;
}

/* Bengali label overlay */
.map-label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 12px;
  z-index: 999;
  pointer-events: none;
}

/* Small circular marker style */
.leaflet-div-icon {
  background: #fff;
  border: 3px solid var(--primary);
  border-radius: 50%;
  width: 10px;
  height: 10px;
}
.constituency-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 2rem;
}

.stat-item {
  background: linear-gradient(135deg, #106010  0%, var(--primary) 100%);
  color: white;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}

.stat-item h4 {
  font-size: 13px;
  margin-bottom: 5px;
  opacity: 0.9;
}

.stat-item p {
  font-size: 20px;
  font-weight: bold;
}
/* Vision Section */
.vision-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  margin-top: -20px;
}
.vision-intro .lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.vision-card {
  padding: 40px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.vision-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.vision-icon {
  text-align: center;
  margin-bottom: 20px;
}

.vision-card h3 {
  color: var(--primary);
  margin-bottom: 5px;
  text-align: center;
}
.vision-card ul {
  list-style: none;
}

.vision-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.vision-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffd700;
  font-weight: bold;
}

/* Section Base Styles */
.development-section {
  background: white;
  position: relative;
  overflow: hidden;
}

.development-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 106, 78, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* Tab Navigation */
.development-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.dev-tab-button {
  padding: 1rem 2rem;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.dev-tab-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--primary);
  transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.dev-tab-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.dev-tab-button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 106, 78, 0.3);
}

.dev-tab-button.active::before {
  width: 300px;
  height: 300px;
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Cards Container */
.development-cards-container {
  position: relative;
}

.development-cards {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  animation: fadeInScale 0.5s ease;
  opacity: 0;
}

.development-cards.active {
  display: grid;
  opacity: 1;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Development Cards */
.dev-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid #f0f0f0;
  position: relative;
}

.dev-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.dev-card:hover::before {
  transform: scaleX(1);
}

.dev-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-color: var(--primary);
}

/* Card Header */
.dev-card-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 3px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.dev-card-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 106, 78, 0.1) 0%, transparent 70%);
  transition: transform 0.5s ease;
}

.dev-card:hover .dev-card-header::after {
  transform: rotate(180deg);
}

.dev-card-header img {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.dev-card:hover .dev-card-header img {
  transform: rotate(10deg) scale(1.1);
}

.dev-card-header h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin: 0;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.dev-card:hover .dev-card-header h3 {
  color: var(--secondary);
}

/* Card Body */
.dev-card-body {
  padding: 1.5rem;
  position: relative;
}

/* Status Badges */
.dev-status {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.dev-status::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: left 0.5s ease;
}

.dev-card:hover .dev-status::before {
  left: 100%;
}

.dev-status.completed {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  box-shadow: 0 2px 5px rgba(21, 87, 36, 0.2);
}

.dev-status.completed::after {
  content: '✓';
  margin-left: 5px;
  font-weight: bold;
}

.dev-status.ongoing {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  color: #856404;
  box-shadow: 0 2px 5px rgba(133, 100, 4, 0.2);
}

.dev-status.ongoing::after {
  content: '⏳';
  margin-left: 5px;
}

.dev-status.planned {
  background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
  color: #0c5460;
  box-shadow: 0 2px 5px rgba(12, 84, 96, 0.2);
}

.dev-status.planned::after {
  content: '📅';
  margin-left: 5px;
}

/* Description */
.dev-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
  text-align: justify;
  transition: color 0.3s ease;
}

.dev-card:hover .dev-description {
  color: #333;
}

/* Statistics */
.dev-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 2px solid #e0e0e0;
  position: relative;
}

.dev-stats::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.4s ease;
}

.dev-card:hover .dev-stats::before {
  width: 100%;
}

.dev-stats span {
  font-size: 0.95rem;
  color: #666;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.dev-stats span:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

/* Animations */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dev-card.animate-in {
  animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading State */
.development-cards-container.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .development-tabs {
    gap: 0.5rem;
  }

  .dev-tab-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .development-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .dev-card-header {
    flex-direction: column;
    text-align: center;
  }

  .dev-card-header h3 {
    font-size: 1.1rem;
  }

  .dev-stats {
    flex-direction: column;
    gap: 0.8rem;
  }

  .dev-stats span {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .dev-tab-button {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .dev-card-header img {
    width: 40px;
    height: 40px;
  }

  .dev-description {
    font-size: 0.95rem;
  }
}
.dev-card-no-data {
  text-align: center;
  padding: 40px 20px;
  border: 1px dashed #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.dev-card-no-data img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  opacity: 0.7;
}

.dev-card-no-data h3 {
  margin-bottom: 10px;
  color: #555;
}

.dev-card-no-data p {
  color: #777;
  font-size: 0.95em;
}
.dev-view-more-container {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 15px;
}

.dev-view-more-btn {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 106, 78, 0.2);
}

.dev-view-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 106, 78, 0.3);
  color: white;
}

@media (max-width: 480px) {
  .dev-view-more-btn {
    padding: 0.7rem 2rem;
    font-size: 0.9rem;
  }
}
/* Gallery Section */
.gallery{
  background: var(--gray);
}
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.gallery-tab {
  padding: 0.8rem 2rem;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.gallery-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.gallery-tab:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay p {
  font-size: 1.1rem;
  font-weight: 600;
}
/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea {
  resize: vertical;
  min-height: 115px;
}

.contact-item {
  display: flex
;
  align-items: center;
  gap: 15px;
  font-size: 18px;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.contact-item span {
  font-size: 24px;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.social-links {
  margin-bottom: 20px;
}

.social-links a {
  color: white;
  font-size: 24px;
  margin: 0 15px;
  transition: color 0.3s;
  text-decoration: none;
}
.social-links a svg {
  width: 24px;
  height: 24px;
}

.social-links a:hover {
  color: var(--accent);
}
.information-page {
    padding-top: 150px;
}
/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 77px;
    right: -100%;
    flex-direction: column;
    background: white;
    width: 60%;
    height: calc(100vh - 70px);
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: right 0.3s;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .overlay {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .overlay.open {
    visibility: visible;
    opacity: 1;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero .tagline {
    font-size: 18px;
  }

  .about-content,
  .constituency-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
        margin-bottom: 20px;
        padding-bottom: 10px;
  }
  .about-head h1 {
    font-size: 31px;
}
}

/* Work Category Hero */
.work-hero {
       position: relative;
    padding-top: 140px;
    background-color: #ffffff;
    overflow: hidden;
}

/* Abstract background shape */
.work-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: linear-gradient(135deg, rgba(0, 106, 78, 0.08) 0%, rgba(0, 106, 78, 0.02) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
    animation: morphShape 15s ease-in-out infinite;
}

@keyframes morphShape {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.work-hero .container {
    position: relative;
    z-index: 1;
}

.work-head-wraper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
.work-hero-title {
        font-size: 30px;
    font-weight: 800;
    color: var(--dark);
    line-height: 40px;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.work-hero-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 6px;
    background: var(--primary);
    margin-top: 15px;
    border-radius: 3px;
}

.work-hero-desc {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.work-hero-image {
    position: relative;
    padding: 20px;
}

.work-hero-image img {
    width: 100%;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.work-hero-image:hover img {
    transform: translateY(-5px);
}

/* Decorative elements behind image */
.work-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: 1;
    transform: translate(20px, -20px);
    border-radius: 20px;
}

@media (max-width: 991px) {
    .work-hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .work-hero::before {
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        border-radius: 0;
    }

    .work-hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .work-hero-title {
        font-size: 2.5rem;
    }
    
    .work-hero-title::after {
        margin: 15px auto 0;
    }
    
    .work-hero-image::before {
        transform: translate(10px, -10px);
    }
}

/* Work Details */
.work-hero.service-hero::before {
    height: 100%;
}
.work-details-content--service .work-details-text {
    padding: 30px;
    box-shadow: 0px 0px 3px 0px #00000038;
    margin-bottom: 60px;
    margin-top: 10px;
}
.work-hero.service-hero{
      padding-bottom: 40px;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
}

.popup.f-in {
    opacity: 1;
    visibility: visible;
}

.popup.f-out {
    opacity: 0;
    visibility: hidden;
}

.popup-inner {
    background: var(--light);
    padding: 15px;
    border-radius: 8px;
    max-width: 1000px;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><line x1="4" y1="4" x2="20" y2="20" stroke="%23000" stroke-width="2"/><line x1="20" y1="4" x2="4" y2="20" stroke="%23000" stroke-width="2"/></svg>') center/contain no-repeat;
}
.popup-inner a {
    display: block;
    width: 100%;
}

.popup-inner img {
    width: 100%;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

@media (max-width: 768px) {
  section {
    padding: 35px 0;
  }
  .about-head h1 {
    font-size: 28px;
}


.about-content {
    gap: 20px;
    display: flex;
        flex-direction: column;
        
}
.about-text{
  order: 2;
}

.tab-navigation {
    margin-top: 30px;
    gap: 5px;
            justify-content: center;
}

.tab-button {
    font-size: 13px;
    padding: 10px 10px;
}

.highlight-item {
    padding: 20px;
}

.about-highlights {
    gap: 15px;
}

.timeline {
    padding: 0 20px;
}

.timeline h3 {
    margin-bottom: 30px;
}

.career-card {
    padding: 20px;
}

.career-grid {
    gap: 15px;
}

.constituency-stats {
    grid-template-columns: repeat(2, 1fr);
}

.vision-intro .lead {
    margin-top: 40px;
    font-size: 18px;
    margin-bottom: 0;
}
.gallery-tab {
    padding: 10px 18px;
}

.gallery-tabs {
    margin-bottom: 20px;
}

.gallery-grid {
    gap: 15px;
}

.vision-intro {
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-grid {
    gap: 30px;
}
.popup-inner {
    width: 90%;
}
.wrapper {
    padding: 20px;
}
.work-head-wraper {
    grid-template-columns: 1fr;
    gap: 0;
}

.work-category-page {
    margin-top: 90px;
}

.work-hero {
    padding-top: 36px;
}

.work-hero-desc {
    margin-bottom: 0;
}

.work-hero-title {
    font-size: 30px;
    margin-bottom: 15px;
    padding-bottom: 0px;
}

.work-hero.service-hero {
}

.work-details-content--service .work-details-text {
    margin-top: 40px;
    font-size: 18px;
    text-align: justify;
}
.nav-container .logo img {
  width: 60px;
        margin-top: 5px;
}
.nav-container {
    padding: 0 15px;
}
.information-page {
    padding-top: 70px;
}
.wrapper {
    padding: 20px;
}

h1 {
    font-size: 24px;
}
}