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

/* Base Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

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

/* Header */
.main-header {
  /* background: linear-gradient(135deg, #4f46e5, #7c3aed); */
  background-color: #1C1C25;
  color: white;
  padding: 80px 0 60px;
  text-align: center;
  margin-bottom: 40px;
}

.main-header h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.main-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Case Filters */
.case-filters {
  margin-bottom: 40px;
  text-align: center;
}

.case-filters h2 {
  font-size: 1.5rem;
  color: #00539c;
  margin-bottom: 20px;
}

.filter-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover {
  background: #f1f5f9;
}

.filter-btn.active {
  background: #00539c;
  color: white;
  border-color: #1C1C25;
}

/* Case Studies Grid */
.case-studies {
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.case-study-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.case-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1C1C25;
}

.case-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-study-card h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #1C1C25;
}

.case-excerpt {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 15px;
  font-style: italic;
}

.case-details {
  margin-bottom: 20px;
}

.case-details p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px;
}

.case-details ul {
  padding-left: 20px;
  margin: 10px 0;
}

.case-details li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.case-meta {
  display: flex;
  gap: 20px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.85rem;
  color: #64748b;
}

.case-meta i {
  margin-right: 5px;
}

.two-case-buttons{
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
a{
  text-decoration: none;
}

.read-more-btn {
  margin-top: 20px;
  padding: 12px 20px;
  background: #1C1C25;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.read-more-btn:hover {
  background: white;
  font-weight: 500;
  color: #1C1C25;
  transition: background 0.3s ease;
  border: 2px solid #1C1C25 ;
}

/* Testimonial Section */
.testimonial-section {
  background: #f1f5f9;
  padding: 60px 0;
  margin: 60px 0;
}

.testimonial-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #00539c;
}

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 0 auto;
}

.testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  color: #475569;
  margin-bottom: 20px;
}

.client-info {
  display: flex;
  align-items: center;
}

.client-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.client-info h4 {
  margin: 0;
  color: #00539c;
}

.client-info span {
  font-size: 0.9rem;
  color: #64748b;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 60px 0;
  /* background: linear-gradient(135deg, #4f46e5, #7c3aed); */
  /* background-color: #1C1C25; */
  background-color: white;
  color: #00539c;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta-button {
  padding: 15px 30px;
  background: black;
  color: white;
  border: 2px solid #1C1C25;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.9s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background-color: white;
  color: black;
}



.case-study-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  overflow-y: auto;
}

.popup-content {
  background: white;
  margin: 2rem auto;
  max-width: 900px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  z-index: 10;
}

.popup-header {
  padding: 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.popup-tag {
  display: inline-block;
  background: #1C1C25;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 10px;
}

.popup-body {
  display: flex;
  flex-direction: column;
}

.popup-image {
  height: 300px;
  background-size: cover;
  background-position: center;
}

.popup-details {
  padding: 20px;
}

.popup-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  color: #666;
}

.popup-text {
  line-height: 1.6;
}

.popup-text h3 {
  margin-top: 20px;
  color: #333;
}

.popup-text ul {
  margin: 15px 0;
  padding-left: 20px;
}

.popup-text li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .popup-content {
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }
  
  .popup-body {
    flex-direction: column;
  }
  
  .popup-image {
    height: 200px;
  }
}
.m-whatsapp {
  color: white;
  font-weight: 300;
}