/* Social Sharing Icons - Modern Theme & Animation */
.social-sharing .share-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  background: #f5f3ef;
  color: #1e6ab7;
  box-shadow: 0 2px 8px rgba(30, 106, 183, 0.08);
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.share-btn i {
  font-size: 1.2em;
  transition: color 0.3s, transform 0.2s;
}
.share-btn.facebook {
  color: #1877f2;
}
.share-btn.twitter {
  color: #1da1f2;
}
.share-btn.linkedin {
  color: #0a66c2;
}
.share-btn.whatsapp-share {
  color: #25d366;
}
.share-btn:hover {
  background: #e0e7ef;
  color: #155a99;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(30, 106, 183, 0.12);
}
.share-btn:hover i {
  color: #1e6ab7;
  transform: rotate(-10deg) scale(1.2);
}
/* Modern Table of Contents Styles */
.table-of-contents {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(30, 106, 183, 0.08), 0 1.5px 6px rgba(0,0,0,0.04);
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s, background 0.3s;
  max-width: 400px;
  width: 100%;
}
.table-of-contents h3.toc-toggle {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1e6ab7;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  background: none;
  border: none;
  outline: none;
  padding: 0;
}
.table-of-contents nav ul {
  padding-left: 0.5rem;
}
.table-of-contents nav li {
  margin-bottom: 0.4rem;
  padding-left: 0.5rem;
  border-left: 2px solid #e0e7ef;
  transition: border-color 0.2s;
}
.table-of-contents nav li.toc-1 {
  border-left: 2px solid #1e6ab7;
}
.table-of-contents nav a {
  color: #155a99;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 4px;
  padding: 2px 8px;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.table-of-contents nav a:hover {
  background: #e0e7ef;
  color: #1e6ab7;
}
.table-of-contents .toc-arrow {
  margin-left: 10px;
  font-size: 1.2em;
  color: #1e6ab7;
}
.table-of-contents.collapsed {
  box-shadow: 0 2px 8px rgba(30, 106, 183, 0.04);
  background: #f5f3ef;
}
/* Collapsible Table of Contents */
.table-of-contents.collapsed nav {
  display: none;
}
.table-of-contents .toc-toggle {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.table-of-contents .toc-arrow {
  font-size: 1.2em;
  margin-left: 8px;
  transition: transform 0.3s;
}
.table-of-contents.collapsed .toc-arrow {
  transform: rotate(-90deg);
}
/* Table of Contents Nav Styles */
.table-of-contents nav {
  position: static;
  background: #f5f3ef;
  box-shadow: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  z-index: 1;
}
.table-of-contents nav ul {
  display: block;
  list-style: none;
  padding: 0;
  margin: 0;
}
.table-of-contents nav li {
  margin-bottom: 0.5rem;
}
.table-of-contents nav a {
  color: #1e6ab7;
  text-decoration: none;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.table-of-contents nav a:hover {
  background: #e0e7ef;
  color: #155a99;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

html,
body {
  font-family: Roboto;
  color: #2F2E2C;
  overflow-x: hidden;
  scroll-padding-top: 80px;
  height: 100%;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  height: auto;
  overflow-x: hidden;
  padding: 2rem;
  padding-top: 100px; /* Add top padding to account for fixed navigation */
  flex: 1;
}

header {
  position: relative;
  z-index: 9999;
}

 .main-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 80px;
  padding: 0 2rem;
  background: #fff;
border-bottom: 1px solid #f0f0f0; /* subtle separation */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-navbar .logo img {
  height: 50px;
  width: auto;
}

.main-navbar .links ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}


.main-navbar .links ul li a {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

.main-navbar .links ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #1e6ab7;
  transition: width 0.3s ease;
}

.main-navbar .links ul li a:hover,
.main-navbar .links ul li a.active {
  color: #1e6ab7;
  font-weight: 600;
}

.main-navbar .links ul li a:hover::after,
.main-navbar .links ul li a.active::after {
  width: 100%;
}

.main-navbar .links ul li a.active {
  transform: translateY(-2px);
}



.hero {
  width: 100%;
  min-height: 100vh;
  background-color: #F5F3EF;
  padding: 10px 100px;
}

.hero-container {
  width: 100%;
  height: calc(100vh - 100px);
  display: flex;
  align-items: flex-start;
}

.left {
  width: 50%;
}

.left h2 {
  margin-top: 4rem;
  font-size: 3.5rem;
}

.left p {
  font-size: 1.5rem;
}

.ayat {
  font-size: 1.2rem;
  margin-top: 20px;
  color: #1e6ab7;
  font-weight: 600;
  font-family: 'Amiri', serif;
  /* Optional: for nice Arabic look */
  text-align: right;
}

.ayat em {
  display: block;
  font-size: 1.5rem;
  color: #555;
  font-weight: normal;
  margin-top: 5px;
}

.ayat-description {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  line-height: 22px;
  letter-spacing: 1px;
  color: #333;
  margin-top: 10px;
  font-weight: 400;
  text-align: left;
  font-family: Roboto;
}

.quran-verse {
  font-family: 'Amiri', serif;
  direction: rtl;
  font-size: 1.5rem;
  color: #1e6ab7;
  line-height: 1.8;
}

.buttons {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 2rem;
  margin-top: 2rem;
  color: white;
}

.left button {
  font-size: 1rem;
  padding: 10px 20px;
  background-color: #1e6ab7;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(30, 106, 183, 0.3);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.left button:hover {
  background-color: #155a99;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(30, 106, 183, 0.4);
}

.left button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(30, 106, 183, 0.2);
}

.start-recitation {
  color: #fff;
  padding: 14px 28px;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  animation: pulse 2.5s infinite;
}

.start-recitation:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

/* Subtle attention-grabbing pulse animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

/* Bouncing & Glowing Button */
.join-class-btn {
  position: relative;
  background: linear-gradient(to right, #ff416c, #ff4b2b);
  color: white;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 75, 43, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: bounce 2s infinite;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

/* Hover Glow */
.join-class-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 24px rgba(255, 75, 43, 0.5);
}

/* Bounce Keyframes */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-10px);
  }

  50% {
    transform: translateY(0);
  }

  70% {
    transform: translateY(-6px);
  }
}

/* Glowing Ring Animation */
.pulse-ring::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 60px;
  background: rgba(255, 75, 43, 0.4);
  z-index: -1;
  animation: pulseRing 2.5s infinite ease-out;
  opacity: 0;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  70% {
    transform: scale(1.6);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}


.right {
  width: 100%;
  margin-top: 4rem;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: end;
}

.right .img-container {
  height: 30vw;
  width: 45vw;
  background-color: #1e6ab7;
  border-radius: 2rem;

}

/* Course Section */
.courses {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 50px;
  gap: 40px;
}

.courses h2 {
  font-size: 4rem;
}

.courses .cards {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  padding: 30px;
}

.courses .cards .card {
  height: 250px;
  width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
}

.courses .cards .card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
  border-radius: 15px;
}

.courses .cards .card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #333;
}

.courses .cards .card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.4;
}

.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 100px;
  gap: 40px;
  background-color: #F9F8F4;
}

.left-about {
  width: 40%;
}

.left-about .img-container {
  height: 300px;
  width: 100%;
  background-color: #666;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px #15181ba7;
}

.left-about .img-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.right-about {
  display: flex;
  flex-direction: column;
  width: 55%;
  gap: 20px;
  color: #2F2E2C;
}

.right-about h3 {
  font-size: 32px;
  font-weight: bold;
  color: #155a99;
  margin-bottom: 10px;
}

.right-about p {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
}







.fee-container {
  max-width: 900px;
  margin: 0 auto;
}

.header {
  text-align: center;
  margin-bottom: 80px;
}

.header h1 {
  font-size: 2.5em;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.header p {
  font-size: 1.1em;
  color: #6b7280;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.plan-card {
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.plan-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.plan-header {
  padding: 24px 24px 20px;
  text-align: center;
  border-bottom: 1px solid #f3f4f6;
}

.plan-2 .plan-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.plan-3 .plan-header {
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
}

.plan-5 .plan-header {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.days-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.days-number {
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
}

.plan-2 .days-number {
  color: #475569;
}

.plan-3 .days-number {
  color: #d97706;
}

.plan-5 .days-number {
  color: #0369a1;
}

.days-text {
  font-size: 0.9em;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.1em;
  font-weight: 600;
  color: #374151;
}

.pricing-section {
  padding: 20px;
}

.region-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.region-price:last-child {
  border-bottom: none;
}

.region-name {
  font-size: 0.95em;
  font-weight: 500;
  color: #374151;
}

.price-container {
  text-align: right;
}

.price {
  font-size: 1.4em;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}

.price-detail {
  font-size: 0.8em;
  color: #9ca3af;
  font-weight: 400;
  margin-top: 2px;
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #1a1a1a;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-3 {
  position: relative;
  border: 2px solid #fbbf24;
}

.plan-3:hover {
  box-shadow: 0 20px 40px rgba(251, 191, 36, 0.15);
}

/* Remove all duplicate footer definitions and use this single, complete one */




.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
  padding: 40px 0;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.2em;
}

.feature h3 {
  font-size: 1.1em;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.9em;
  color: #6b7280;
}

@media (max-width: 768px) {
  body {
    padding: 20px 16px;
  }

  .header {
    margin-bottom: 60px;
  }

  .header h1 {
    font-size: 2em;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
  }

  .plan-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .days-number {
    font-size: 3em;
  }

  .plan-header {
    padding: 32px 24px 24px;
  }

  .pricing-section {
    padding: 24px;
  }

  .features {
    margin-top: 60px;
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .region-price {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px 0;
  }

  .price-container {
    text-align: center;
  }
}


.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    height: auto;
  }

  .hamburger {
    display: flex;
  }

  .links {
    width: 100%;
    margin-top: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-80px) scaleY(0.85) skewY(-8deg);
    transition:
      max-height 0.8s cubic-bezier(0.22, 1.5, 0.36, 1),
      opacity 0.5s cubic-bezier(0.22, 1.5, 0.36, 1),
      transform 0.9s cubic-bezier(0.22, 1.5, 0.36, 1);
  }

  .links ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
  }

  .links.show {
    justify-content: center;
    max-height: 500px;
    opacity: 1;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-radius: 0 0 12px 12px;
    transform: translateY(0) scaleY(1) skewY(0);
    animation: navBounce 1.3s cubic-bezier(0.22, 1.5, 0.36, 1);
  }

  .links ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    height: auto;
  }

  .left,
  .right {
    width: 100%;
  }

  .left h2 {
    font-size: 2.5rem;
  }

  .left p {
    font-size: 1.2rem;
  }

  .courses h2 {
    font-size: 2.5rem;
    text-align: center;
  }

  .courses .cards {
    padding: 10px;
  }

  .courses .cards .card {
    width: 90%;
  }

  .right .img-container {
    width: 80%;
    height: auto;
    margin: auto;
  }
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.testimonial {
  margin-top: 40px;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.testimonial-card img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 2px solid #1e6ab7;
}

.testimonial-card p {
  font-size: 1.1em;
  color: #333;
  margin: 0;
}

.testimonial-card span {
  color: #155a99;
  font-size: 0.95em;
}

@media (max-width: 768px) {
  .about {
    flex-direction: column;
    padding: 30px 10px;
    gap: 20px;
  }

  .left-about,
  .right-about {
    width: 100%;
  }

  .left-about .img-container {
    height: 200px;
  }

  .testimonial {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .testimonial-card p {
    font-size: 1em;
  }

}


.social-icon {
  width: 40px;
  height: 40px;
  background-color: #1e6ab7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-icon:hover {
  background-color: #155a99;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(30, 106, 183, 0.3);
}



.newsletter-signup {
  margin-top: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: 1px solid #4a4a4a;
  border-radius: 6px;
  background-color: #3a3a3a;
  color: white;
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: #9ca3af;
}

.newsletter-form button {
  padding: 12px 20px;
  background-color: #1e6ab7;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #155a99;
}




.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.contact-header {
  text-align: center;
  margin-bottom: 80px;
}

.contact-header h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-header p {
  font-size: 1.5rem;
  color: #6b7280;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.contact-info {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.contact-info h2 {
  font-size: 2rem;
  color: #1e6ab7;
  margin-bottom: 30px;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: #F9F8F4;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: #1e6ab7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-details p {
  color: #666;
  line-height: 1.6;
}

.contact-form {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  font-size: 2rem;
  color: #1e6ab7;
  margin-bottom: 30px;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
  background: #f9f9f9;
  color: #333;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1e6ab7;
  outline: none;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.submit-btn {
  background: #1e6ab7;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 18px;
  transition: background 0.3s, transform 0.2s;
}

.submit-btn:hover {
  background: #155a99;
  transform: translateY(-2px);
}

.map-section {
  margin-top: 60px;
}

.map-section h2 {
  font-size: 1.5rem;
  color: #1e6ab7;
  margin-bottom: 20px;
  font-weight: 600;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .contact-container {
    padding: 40px 10px;
  }

  .contact-header h1 {
    font-size: 2.5rem;
  }

  .contact-header p {
    font-size: 1.2rem;
  }

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

  .contact-info,
  .contact-form {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .map-section {
    padding: 30px 20px;
  }

  .map-container {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .contact-header h1 {
    font-size: 2rem;
  }

  .contact-header p {
    font-size: 1rem;
  }

  .contact-info,
  .contact-form,
  .map-section {
    padding: 20px 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 20px !important;
  }
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 60px;
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  background-color: #25D366;
  color: white;
  font-size: 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.6);
  cursor: pointer;
  animation: bounce 2s ease-in-out infinite;
  transition: all 0.3s ease;
  z-index: 100;
  text-decoration: none;
}


/* Hover effect */
.register:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #155999;
  box-shadow: 0 8px 25px #155999;
}

/* Bounce animation */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

img {
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}

img:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.scrolling-bar {
  width: 100%;
  background-color: #000;
  overflow: hidden;
  height: 40px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.scrolling-content {
  display: flex;
  width: fit-content;
  animation: marquee 25s linear infinite;
}

.scrolling-text {
  white-space: nowrap;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 0 50px;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* .testimonial designing 
 */
/* Testimonials Section */
.testimonials {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(40, 167, 69, 0.03) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.testimonials-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
}

.testimonials-header p {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #28a745, #20c997);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
  margin-bottom: 25px;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.stars i {
  color: #ffc107;
  font-size: 1.2rem;
}

.testimonial-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  font-style: italic;
  position: relative;
}

.testimonial-content p::before {
  content: '"';
  font-size: 4rem;
  color: #28a745;
  position: absolute;
  top: -10px;
  left: -10px;
  opacity: 0.3;
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, #28a745, #20c997);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.author-info h4 {
  margin: 0 0 5px 0;
  color: #2c3e50;
  font-weight: 600;
}

.author-info span {
  color: #6c757d;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  padding: 80px 20px;
  background: white;
  position: relative;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
}

.faq-header p {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.faq-question:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  border-left-color: #28a745;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #2c3e50;
  font-weight: 600;
  flex: 1;
  padding-right: 20px;
}

.faq-question i {
  font-size: 1.2rem;
  color: #28a745;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border-left-color: #28a745;
}

.faq-item.active .faq-question h3 {
  color: white;
}

.faq-item.active .faq-question i {
  color: white;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 25px 30px;
}

.faq-answer p {
  margin: 0;
  line-height: 1.7;
  color: #555;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonials-header h2,
  .faq-header h2 {
    font-size: 2rem;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-item.active .faq-answer {
    padding: 20px;
  }

  .faq-question h3 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .testimonials {
    padding: 60px 15px;
  }

  .faq {
    padding: 60px 15px;
  }

  .testimonial-card {
    padding: 15px;
  }

  .testimonials-header h2,
  .faq-header h2 {
    font-size: 1.8rem;
  }

  .faq-question {
    padding: 15px;
  }

  .faq-item.active .faq-answer {
    padding: 15px;
  }
}


main {
  margin-top: 0;
  background-color: #F5F3EF;
  min-height: calc(100vh - 80px);
}

.registration-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.registration-header {
  text-align: center;
  margin-bottom: 80px;
}

.registration-header h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.registration-header p {
  font-size: 1.5rem;
  color: #6b7280;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}


.registration-content {
  display: flex;
  flex-direction: column;
  gap: 60px;


  margin-bottom: 80px;
}

.course-info {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.course-info h2 {
  font-size: 2rem;
  color: #1e6ab7;
  margin-bottom: 30px;
  font-weight: 600;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F9F8F4;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: #1e6ab7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-details h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 8px;
  font-weight: 600;
}

.info-details p {
  color: #666;
  line-height: 1.6;
}

.form-section {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
  font-size: 2rem;
  color: #1e6ab7;
  margin-bottom: 30px;
  font-weight: 600;
}

.form-embed {
  background: #F9F8F4;
  border-radius: 12px;
  padding: 40px;
  margin-top: 20px;
  border: 2px dashed #1e6ab7;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  text-align: center;
}

.form-embed i {
  font-size: 3rem;
  color: #1e6ab7;
  margin-bottom: 20px;
}

.form-embed h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.form-embed p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.form-embed code {
  background: #e5e7eb;
  padding: 10px 15px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  color: #333;
  font-size: 0.9rem;
  display: block;
  margin: 10px 0;
}

.embed-instructions {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  border-left: 4px solid #1e6ab7;
}

.embed-instructions h4 {
  color: #1e6ab7;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.embed-instructions ul {
  color: #666;
  padding-left: 20px;
}

.embed-instructions li {
  margin-bottom: 5px;
}

/* Ayat Section */
.ayat-section {
  text-align: center;
  margin: 60px 0;
  padding: 40px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ayat {
  font-size: 1.5rem;
  color: #1e6ab7;
  font-weight: 600;
  font-family: 'Amiri', serif;
  text-align: center;
  direction: rtl;
  line-height: 1.8;
  margin-bottom: 15px;
}

.ayat-description {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  font-family: Roboto;
  font-style: italic;
}

.blog-main {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.blog-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-hero h1 {
  font-size: 2.8rem;
  color: #1e6ab7;
  margin-bottom: 10px;
}

.blog-hero p {
  font-size: 1.2rem;
  color: #555;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.blog-card-content h2 {
  font-size: 1.4rem;
  color: #1e6ab7;
  margin-bottom: 0.2rem;
}

.blog-card-content h2 a {
  text-decoration: none;
  color: #1e6ab7;
  transition: color 0.3s ease;
}

.blog-card-content h2 a:hover {
  color: #0f4e8a;
}

.blog-meta {
  font-size: 0.85rem;
  color: #777;
}

.blog-excerpt {
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
}

.read-more {
  font-weight: 600;
  color: #1e6ab7;
  text-decoration: none;
  margin-top: auto;
  display: inline-block;
  transition: color 0.3s;
}

.read-more:hover {
  color: #0f4e8a;
}

/* ===== Blog Hero Section ===== */
.blog-hero {
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #f5f7fa;
}

.blog-hero h1 {
  font-size: 3rem;
  color: #1e6ab7;
  margin-bottom: 10px;
}

.blog-hero p {
  font-size: 1.2rem;
  color: #333;
}

/* ===== Blog Cards Grid ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 40px 5%;
  background: #ffffff;
}

.blog-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card-content h2 {
  font-size: 1.5rem;
  color: #1e6ab7;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-content h2 a {
  text-decoration: none;
  color: inherit;
}

.blog-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.blog-excerpt {
  font-size: 1rem;
  color: #444;
  margin-bottom: 15px;
}

.blog-excerpt a {
  color: #1e6ab7;
  text-decoration: underline;
}

.read-more {
  margin-top: auto;
  font-weight: bold;
  color: #1e6ab7;
  text-decoration: none;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: #155a99;
}

/* ===== Blog Page Styles ===== */
.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  min-height: 100vh;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 20px 0;
  font-size: 0.9rem;
  color: #666;
}

.breadcrumbs a {
  color: #1e6ab7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: #0f4e8a;
}

.breadcrumbs span {
  margin: 0 8px;
  color: #999;
}

/* Blog Header */
.blog-header {
  text-align: center;
  padding: 40px 0;
  background: linear-gradient(135deg, #1e6ab7 0%, #0f4e8a 100%);
  color: white;
  border-radius: 12px;
  margin-bottom: 30px;
}

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

.blog-header p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Search and Filter Section */
.blog-search-filter {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.search-section {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 1.1rem;
}

.search-input {
  width: 100%;
  padding: 15px 50px 15px 45px;
  border: 2px solid #e0f0ff;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.search-input:focus {
  border-color: #1e6ab7;
  background: white;
  box-shadow: 0 0 0 3px rgba(30, 106, 183, 0.1);
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: #1e6ab7;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: #0f4e8a;
  transform: translateY(-50%) scale(1.05);
}

/* Categories Filter */
.categories-filter {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.categories-filter h3 {
  font-size: 1.3rem;
  color: #1e6ab7;
  margin-bottom: 15px;
  text-align: center;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.category-btn {
  padding: 10px 20px;
  background: #f0f8ff;
  color: #1e6ab7;
  border: 2px solid #e0f0ff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.category-btn:hover,
.category-btn.active {
  background: #1e6ab7;
  color: white;
  border-color: #1e6ab7;
  transform: translateY(-2px);
}

/* Main Content Layout */
.main-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.content-area {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog-image {
  height: 200px;
  background: linear-gradient(135deg, #1e6ab7 0%, #0f4e8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: #666;
}

.blog-category {
  background: #e0f0ff;
  color: #1e6ab7;
  padding: 4px 12px;
  border-radius: 15px;
  font-weight: 500;
}

.blog-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-title a {
  color: #1e6ab7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-title a:hover {
  color: #0f4e8a;
}

.blog-excerpt {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1e6ab7;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.blog-read-more:hover {
  color: #0f4e8a;
  gap: 12px;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.popular-posts-sidebar,
.tags-section {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.popular-posts-sidebar h3,
.tags-section h3 {
  font-size: 1.2rem;
  color: #1e6ab7;
  margin-bottom: 20px;
  text-align: center;
}

.popular-post {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.popular-post:last-child {
  border-bottom: none;
}

.popular-post:hover {
  transform: translateX(5px);
}

.popular-post-number {
  width: 30px;
  height: 30px;
  background: #1e6ab7;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.popular-post-content h4 {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 5px;
  line-height: 1.4;
}

.popular-post-content a {
  color: #1e6ab7;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.popular-post-content a:hover {
  text-decoration: underline;
}

/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 8px 15px;
  background: #f0f8ff;
  color: #1e6ab7;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #e0f0ff;
}

.tag:hover {
  background: #1e6ab7;
  color: white;
  transform: translateY(-2px);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pagination-prev,
.pagination-next {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #1e6ab7;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-prev:hover,
.pagination-next:hover {
  background: #0f4e8a;
  transform: translateY(-2px);
}

.pagination-info {
  color: #666;
  font-weight: 500;
}

/* SEO Content */
.seo-content {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.seo-content h2 {
  color: #1e6ab7;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.seo-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1rem;
}

/* ===== Blog Post Page ===== */
.blog-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.blog-header h1 {
  font-size: 2.5rem;
  color: #1e6ab7;
  margin-bottom: 10px;
}

.blog-content {
  margin-top: 30px;
}

.blog-content h2 {
  color: #1e6ab7;
  margin-top: 30px;
  font-size: 1.6rem;
}

.blog-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}

.blog-content a {
  color: #1e6ab7;
  text-decoration: underline;
}

.blog-content blockquote {
  background: #f0f8ff;
  border-left: 5px solid #1e6ab7;
  margin: 20px 0;
  padding: 15px 20px;
  font-style: italic;
  color: #444;
}

.blog-footer {
  margin-top: 40px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}

.blog-footer a {
  color: #1e6ab7;
  font-weight: bold;
  text-decoration: none;
  margin: 0 10px;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 2.2rem;
  }

  .blog-card img {
    height: 180px;
  }

  .blog-article {
    padding: 20px 15px;
  }

  .blog-header h1 {
    font-size: 2rem;
  }
}

/* ===== Post Page Styles ===== */
.post-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  padding-top: 40px; /* Add extra top padding for post pages */
  background-color: #fff;
}

.breadcrumbs {
  margin-bottom: 20px;
  padding: 10px 0;
  color: #666;
}

.breadcrumbs a {
  color: #1e6ab7;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.post-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.post-meta {
  margin-bottom: 15px;
  color: #666;
  font-size: 0.9rem;
}

.post-meta span {
  margin-right: 20px;
}

.post-meta i {
  margin-right: 5px;
  color: #1e6ab7;
}

.post-title {
  font-size: 2.5rem;
  color: #1e6ab7;
  margin-bottom: 15px;
  line-height: 1.2;
}

.post-excerpt {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.post-content-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.post-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: #1e6ab7;
  margin-top: 30px;
  margin-bottom: 15px;
}

.post-content h1 { font-size: 2rem; }
.post-content h2 { font-size: 1.8rem; }
.post-content h3 { font-size: 1.6rem; }
.post-content h4 { font-size: 1.4rem; }
.post-content h5 { font-size: 1.2rem; }
.post-content h6 { font-size: 1.1rem; }

.post-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.post-content li {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.post-content blockquote {
  background: #f8f9fa;
  border-left: 4px solid #1e6ab7;
  margin: 20px 0;
  padding: 20px;
  font-style: italic;
  color: #555;
}

.post-content a {
  color: #1e6ab7;
  text-decoration: underline;
}

.post-content a:hover {
  color: #155a99;
}

.post-tags {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.post-tags h4 {
  margin-bottom: 10px;
  color: #1e6ab7;
}

.tag {
  display: inline-block;
  background: #1e6ab7;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  margin: 5px;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.tag:hover {
  background: #155a99;
  color: white;
}

.related-posts {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.related-posts h4 {
  margin-bottom: 15px;
  color: #1e6ab7;
}

.related-posts-grid {
  display: grid;
  gap: 15px;
}

.related-post-item {
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #1e6ab7;
}

.related-post-item h5 {
  margin-bottom: 8px;
  color: #1e6ab7;
}

.related-post-item a {
  color: #1e6ab7;
  text-decoration: none;
  font-weight: 600;
}

.post-navigation {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  position: relative;
  z-index: 1;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-previous,
.nav-next {
  flex: 1;
}

.nav-previous a,
.nav-next a {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: #1e6ab7;
  transition: background-color 0.3s;
}

.nav-previous a:hover,
.nav-next a:hover {
  background: #e9ecef;
}

.nav-next a {
  justify-content: flex-end;
}

.post-sidebar {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  height: fit-content;
}

.popular-posts-sidebar h3,
.tags-section h3 {
  color: #1e6ab7;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.popular-post {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  background: white;
  border-radius: 8px;
  transition: transform 0.3s;
}

.popular-post:hover {
  transform: translateY(-2px);
}

.popular-post-number {
  background: #1e6ab7;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.popular-post-content h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #333;
}

.popular-post-content a {
  color: #1e6ab7;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Responsive Design for Post Pages */
@media (max-width: 768px) {
  .post-content-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .post-title {
    font-size: 2rem;
  }
  
  .post-content {
    padding: 20px;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-previous a,
  .nav-next a {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .post-page {
    padding: 10px;
  }
  
  .post-title {
    font-size: 1.8rem;
  }
  
  .post-content {
    padding: 15px;
  }
}

/* ===== Blog Page Responsive Styles ===== */
@media (max-width: 768px) {
  .blog-container {
    padding: 15px;
  }
  
  .blog-header {
    padding: 30px 20px;
  }
  
  .blog-header h1 {
    font-size: 2rem;
  }
  
  .blog-header p {
    font-size: 1rem;
  }
  
  .main-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .content-area {
    padding: 20px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .blog-card {
    margin-bottom: 0;
  }
  
  .blog-image {
    height: 150px;
    font-size: 2.5rem;
  }
  
  .blog-content {
    padding: 20px;
  }
  
  .blog-title {
    font-size: 1.3rem;
  }
  
  .blog-search-filter {
    gap: 15px;
  }
  
  .search-section {
    padding: 20px;
  }
  
  .search-input {
    padding: 12px 45px 12px 40px;
    font-size: 0.9rem;
  }
  
  .search-btn {
    padding: 8px 12px;
  }
  
  .categories-filter {
    padding: 20px;
  }
  
  .category-buttons {
    gap: 10px;
  }
  
  .category-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .sidebar {
    order: -1;
  }
  
  .popular-posts-sidebar,
  .tags-section {
    padding: 20px;
  }
  
  .popular-post {
    padding: 12px 0;
  }
  
  .popular-post-content h4 {
    font-size: 0.9rem;
  }
  
  .tag-cloud {
    gap: 8px;
  }
  
  .tag {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .pagination {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }
  
  .pagination-prev,
  .pagination-next {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  .seo-content {
    padding: 20px;
  }
  
  .seo-content h2 {
    font-size: 1.5rem;
  }
  
  .breadcrumbs {
    padding: 15px 0;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .blog-header h1 {
    font-size: 1.8rem;
  }
  
  .blog-header p {
    font-size: 0.95rem;
  }
  
  .blog-content {
    padding: 15px;
  }
  
  .blog-title {
    font-size: 1.2rem;
  }
  
  .blog-excerpt {
    font-size: 0.9rem;
  }
  
  .category-buttons {
    justify-content: flex-start;
  }
  
  .category-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .popular-post-number {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }
  
  .popular-post-content h4 {
    font-size: 0.85rem;
  }
  
  .tag {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

main.container {
  flex: 1;
}

@media (max-width: 480px) {
  .post-content-wrapper {
    display: block;
    padding: 0;
    gap: 0;
  }
  .post-content {
    padding: 10px 5px;
    font-size: 1rem;
  }
  .post-sidebar {
    margin-top: 30px;
    padding: 10px 5px;
    border-radius: 8px;
    font-size: 0.95rem;
  }
  .post-title {
    font-size: 1.3rem;
    word-break: break-word;
  }
  .post-header {
    padding-bottom: 10px;
  }
  .post-meta {
    font-size: 0.85rem;
    flex-wrap: wrap;
  }
  .post-tags, .related-posts, .post-navigation {
    padding-left: 0;
    padding-right: 0;
  }
  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .popular-post {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
  }
  .popular-post-content h4 {
    font-size: 0.85rem;
  }
  .tag-cloud {
    gap: 5px;
  }
  .tag {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
  .breadcrumbs {
    font-size: 0.7rem;
    padding: 8px 0;
  }
  .post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .post-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    font-size: 0.95rem;
  }
  .post-content pre, .post-content code {
    font-size: 0.9rem;
    word-break: break-all;
  }
}
/* Remove all duplicate footer definitions and use this single, complete one */
.footer {
  color: #2F2E2C;
  background-color: #ffffff;
  text-align: center;
  padding: 20px 0 8px;
  margin-top: 40px;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 10px;
}

.footer-section h3 {
  color: #1e6ab7;
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-about {
  padding-right: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: #1e6ab7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-icon:hover {
  background-color: #155a99;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(30, 106, 183, 0.3);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #1e6ab7;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
}

.footer-links ul li a:hover {
  color: #1e6ab7;
}

.footer-contact-info {
  color: #1e6ab7;
  line-height: 1.8;
}

.footer-contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-info i {
  width: 20px;
  color: #1e6ab7;
}

.footer-bottom {
  border-top: 1px solid #4a4a4a;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #1e6ab7;
}

.newsletter-signup {
  margin-top: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: 1px solid #4a4a4a;
  border-radius: 6px;
  background-color: #3a3a3a;
  color: white;
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: #9ca3af;
}

.newsletter-form button {
  padding: 12px 20px;
  background-color: #f1f5f9;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #155a99;
}

/* Responsive styles */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .footer-about {
    padding-right: 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 12px 0 6px;
  }

  .footer-content {
    gap: 8px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom-links {
    gap: 8px;
  }
}