/* Main Styles for INDLOG Website */

/* Color Variables */
:root {
  --primary-purple: #584bd4;
  --dark-purple: #4c1d95;
  --light-purple: #f3f4f6;
  --white: #ffffff;
  --dark-gray: #1f2937;
  --light-gray: #6b7280;
  --border-gray: #e5e7eb;
  --success-green: #10b981;
  --success-green-light: #d1fae5;
  --success-green-dark: #065f46;
  --success-green-border: #a7f3d0;
  --warning-orange: #f59e0b;
  --warning-orange-light: rgba(245, 158, 11, 0.1);
  --footer-dark: #090815;
  --gradient-red: #dc2626;
}

/* Base Styles */
body {
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

/* Header Styles */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.5rem 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo-img {
  height: 35px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.mobile-menu-toggle:hover {
  background-color: var(--light-purple);
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: var(--dark-gray);
  transition: all 0.3s ease;
  transform-origin: 1px;
  border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-link {
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-purple);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-purple);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  transition: all 0.3s ease;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-purple);
  color: var(--primary-purple);
}

.btn-outline:hover {
  background-color: var(--primary-purple);
  color: var(--white);
}

.btn-primary {
  background-color: var(--primary-purple);
  color: var(--white);
  border: 2px solid var(--primary-purple);
}

.btn-primary:hover {
  background-color: var(--dark-purple);
  border-color: var(--dark-purple);
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--white) 0%,
    var(--light-purple) 100%
  );
  padding: 8rem 0 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23584BD4" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="%23584BD4" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23584BD4" opacity="0.1"/><circle cx="90" cy="90" r="2.5" fill="%23584BD4" opacity="0.1"/></svg>');
  background-size: 200px 200px;
  background-repeat: repeat;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Apply same heading styles for h1 and h2 inside hero to match markup */
.hero-text h1,
.hero-text h2 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  /* margin-bottom: 1.5rem; */
  color: var(--dark-gray);
}

.hero-text h1 .highlight,
.hero-text h2 .highlight {
  color: var(--primary-purple);
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--light-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 620px;
  max-height: 433px;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.networksection {
  padding: 8rem 8rem 0 8rem;
}


/* Page Hero (for About and other standalone pages) */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 0;
}

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

.page-hero-content {
  text-align: center;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto;
}

.page-hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.page-hero-content p {
  font-size: 1.25rem;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 1.75rem;
}

@media (max-width: 767px) {
  .page-hero {
    min-height: 50vh;
  }
  .page-hero-content h1 {
    font-size: 2rem;
  }
  .page-hero-content p {
    font-size: 0.95rem;
  }
}

/* Responsive hero tweaks */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    height: 380px;
    order: 2;
    margin-top: 1rem;
  }

  .hero-text {
    order: 1;
  }

  .hero-text h1,
  .hero-text h2 {
    font-size: 2.4rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 4rem 0 2rem;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 18px;
  }

  .hero-image {
    height: 260px;
    margin-top: 0.5rem;
  }

  .hero-text h1,
  .hero-text h2 {
    font-size: 1.8rem;
    line-height: 1.15;
  }

  .hero-text p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.75rem 1rem;
  }
}

/* About Intro Section */
.about-section {
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-grid.about-right-image .about-copy {
  order: 1;
}
.about-grid.about-right-image .about-media {
  order: 2;
}

.about-copy h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.about-copy p {
  font-size: 1.05rem;
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-illustration {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1023px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-copy h2 {
    font-size: 1.8rem;
  }
}

/* Mission Section */
.mission-section {
  background-color: var(--white);
}
.mission-wrap {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.mission-wrap h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}
.mission-wrap p {
  font-size: 1.05rem;
  color: var(--light-gray);
  line-height: 1.9;
  margin-bottom: 0.75rem;
}

/* Highlights Section */
.highlights-section {
  background-color: var(--white);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 2rem;
  list-style: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}
.highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--light-gray);
  font-size: 1.05rem;
}
.highlight i {
  color: var(--primary-purple);
}
@media (max-width: 1023px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Why Join Section */
.why-join {
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 3rem;
}

.feature-card {
  background-color: var(--light-purple);
  padding: 24px;
  border-radius: 28px;
  text-align: center;
  border: 2px solid var(--white);
  box-shadow: 0px 4px 24px 0px rgba(88, 75, 212, 0.1);
  transition: all 0.3s ease;
  opacity: 1;
  transform: rotate(-180deg);
  min-height: 256px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(88, 75, 212, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

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

.feature-card:hover {
  transform: rotate(-180deg) translateY(-5px);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--dark-purple);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
  border: 2px solid var(--white);
  padding: 14px;
  opacity: 1;
  transform: rotate(-180deg);
  box-shadow: 0px 0px 10px 0px rgba(88, 75, 212, 0.2) inset,
    0px 4px 14px 0px rgba(88, 75, 212, 0.1);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.feature-card p {
  color: var(--light-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

.availability-indicator {
  text-align: center;
  padding: 10px 14px;

  background-color: rgba(88, 75, 212, 0.1);
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--success-green);
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
  opacity: 1;
  transform: rotate(0deg);
  white-space: nowrap;
  min-height: 40px;
}

.availability-indicator:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.availability-indicator i {
  font-size: 1.3rem;
  color: var(--success-green);
}

/* Container Availability Section */
.container-table {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  border: 1px solid var(--border-gray);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 1.5rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-gray);
}

.table th {
  background-color: var(--light-purple);
  font-weight: 600;
  color: var(--dark-gray);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table td {
  color: var(--light-gray);
  font-size: 0.95rem;
}

.table tr:hover {
  background-color: var(--light-purple);
}

/* Country cell styling */
.country-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.country-flag {
  font-size: 1.2rem;
}

.country-name {
  font-weight: 500;
  color: var(--dark-gray);
}

/* Container count badge styling */
.container-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 30px;
  background-color: var(--success-green-light);
  color: var(--success-green-dark);
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0 12px;
  border: 1px solid var(--success-green-border);
}

.special-rates {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.special-rates.available {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-green);
}

.special-rates.bulkdiscount {
  background-color: var(--warning-orange-light);
  color: var(--warning-orange);
}

.special-rates.na {
  background-color: rgba(107, 114, 128, 0.1);
  color: var(--light-gray);
}

/* Contact button styling */
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary-purple);
  background-color: transparent;
  color: var(--primary-purple);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background-color: var(--primary-purple);
  color: var(--white);
}

.btn-contact i {
  font-size: 0.8rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 6px;
  font-weight: 500;
}

/* Latest Members Section */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.member-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-gray);
  background-color: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-gray);
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(88, 75, 212, 0.05),
    transparent
  );
  transition: left 0.6s ease;
}

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

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

.member-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.member-logo {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--gradient-red) 0%,
    var(--dark-gray) 100%
  );
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* space between items */
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* space between icon and text */
}

.contact-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.contact-item a {
  color: inherit;
  text-decoration: none;
}
.contact-item a:hover {
  text-decoration: underline;
}

.member-logo::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 12px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 12"><rect width="16" height="12" fill="%23DC2626"/><rect x="0" y="0" width="16" height="8" fill="%23F3F4F6"/><rect x="0" y="0" width="16" height="4" fill="%23DC2626"/></svg>');
  background-size: contain;
  border-radius: 2px;
}

.member-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.25rem;
}

.member-location {
  color: var(--light-gray);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.member-location::before {
  content: "🇦🇪";
  font-size: 1rem;
}

.member-details {
  margin-bottom: 1.5rem;
}

.member-details p {
  font-size: 0.9rem;
  color: var(--light-gray);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.member-details strong {
  color: var(--dark-gray);
  font-weight: 600;
}

.pagination-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-gray);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background-color: var(--primary-purple);
  transform: scale(1.1);
}

.dot.active {
  background-color: var(--primary-purple);
  transform: scale(1.2);
}

/* Slider layout for Latest Members */
.latest-members {
  background-color: var(--white);
}

.latest-members .container {
  background-color: transparent;
}

.latest-members .members-grid {
  display: flex !important;
  gap: 2rem;
  overflow: hidden;
  background-color: transparent;
}

.latest-members .members-track {
  display: flex !important;
  gap: 2rem;
  flex-wrap: nowrap;
  will-change: transform;
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
  background-color: transparent;
}

.latest-members .member-card {
  flex: 0 0 calc((100% - 4rem) / 3);
  transition: transform 400ms ease, box-shadow 400ms ease, opacity 400ms ease;
  opacity: 0.9;
}

/* Animated dot styles */
.latest-members .pagination-dots {
  margin-top: 1rem;
}

.latest-members .dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background-color: var(--border-gray);
  transition: background-color 300ms ease, transform 300ms ease,
    width 300ms ease;
}

.latest-members .dot.active {
  background-color: var(--primary-purple);
  transform: scale(1.1);
  width: 20px;
}

@media (max-width: 1023px) {
  .latest-members .member-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 767px) {
  .latest-members .member-card {
    flex: 0 0 20%;
  }
  .latest-members .members-track {
    gap: 1rem;
  }
  .latest-members .members-grid {
    gap: 1rem;
  }
}

/* Subtle elevate animation on visible slides */
.latest-members .member-card.is-visible {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  opacity: 1;
}

/* Newsletter Section */
.newsletter-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.newsletter-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.newsletter-content {
  background: linear-gradient(
    135deg,
    var(--dark-purple) 0%,
    var(--primary-purple) 100%
  );
  border-radius: 20px;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(88, 75, 212, 0.2);
}
.highlight-text {
  color: #000000;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}
.newsletter-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,20 Q25,5 50,20 T100,20" stroke="%23ffffff" stroke-width="0.5" fill="none" opacity="0.1"/><path d="M0,40 Q25,25 50,40 T100,40" stroke="%23ffffff" stroke-width="0.5" fill="none" opacity="0.1"/><path d="M0,60 Q25,45 50,60 T100,60" stroke="%23ffffff" stroke-width="0.5" fill="none" opacity="0.1"/><path d="M0,80 Q25,65 50,80 T100,80" stroke="%23ffffff" stroke-width="0.5" fill="none" opacity="0.1"/></svg>');
  background-size: 300px 100px;
  background-repeat: repeat;
  background-position: 0 0;
}

.newsletter-content > * {
  position: relative;
  z-index: 2;
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  color: var(--white);
}

.newsletter-text {
  text-align: left;
}

.newsletter-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.newsletter-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.newsletter-benefits {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.newsletter-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
}

.newsletter-benefit i {
  color: var(--white);
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.newsletter-input {
  flex: 1;
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  background-color: var(--white);
  color: var(--dark-gray);
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-input::placeholder {
  color: var(--light-gray);
}

.newsletter-btn {
  padding: 1.2rem 2rem;
  background-color: var(--primary-purple);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background-color: var(--dark-purple);
}

.newsletter-btn i {
  font-size: 1.1rem;
}

.social-proof {
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 500;
  text-align: center;
}

/* Newsletter Responsive Design */
@media (max-width: 768px) {
  .newsletter-wrapper {
    padding: 0 1rem;
  }

  .newsletter-content {
    padding: 2rem;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .newsletter-text {
    text-align: center;
  }

  .newsletter-content h2 {
    font-size: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }

  .newsletter-input {
    width: 100%;
  }

  .newsletter-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Footer */
.footer {
  background-color: var(--footer-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-section p,
.footer-section li {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: inherit;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.footer-section a:hover {
  opacity: 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-section p strong {
  color: var(--white);
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background-color: var(--primary-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
  font-size: 1.1rem;
  border: 2px solid transparent;
}

.social-link:hover {
  background-color: var(--white);
  color: var(--primary-purple);
  transform: translateY(-2px);
  border-color: var(--primary-purple);
}

.footer-bottom {
  text-align: left;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
  opacity: 0.8;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
}
.mcard {
  padding-bottom: 6rem;
}
.nwsec {
  padding: 8rem 2rem 0 2rem;
  min-height: auto !important;  
}
.nwtbtn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 70%;
    margin: 0 auto;
    margin-bottom: 2rem;
}
.defaultstyles ul, .defaultstyles ol {
    margin-left: 20px;
    list-style: inherit;
    margin-bottom: 20px;
}

.pagination {
            display: flex;
            list-style: none;
            padding-left: 0;
        }

        .pagination li {
            margin: 0 5px;
        }

        .pagination li a {
            text-decoration: none;
            padding: 6px 12px;
            color: #007BFF;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        .pagination li a.active {
            background-color: #007BFF;
            color: white;
            border-color: #007BFF;
        }

        .pagination li a:hover {
            background-color: #ddd;
        }