@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Elms+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  /* Brand Colors */
  --primary: #00d18a;
  --secondary: #00e698;

  /* Neutral Colors */
  --dark: #0f172a;
  --darker: #020617;
  --gray: #475569;
  --light: #f8fafc;
  --white: #ffffff;

  /* Functional Colors */
  --success: #10b981;
  --blue-500: #3b82f6;

  /* Slate & Gray Scales */
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --gray-300: #dee2e6;
  --border-color: #e2e8f0;

  /* Opacity Variants - Primary */
  --primary-30: rgba(0, 209, 138, 0.3);
  --primary-20: rgba(0, 209, 138, 0.2);
  --primary-10: rgba(0, 209, 138, 0.1);
  --primary-05: rgba(0, 209, 138, 0.05);
  --primary-03: rgba(0, 209, 138, 0.03);

  /* Opacity Variants - Secondary */
  --secondary-05: rgba(0, 230, 152, 0.05);
  --secondary-03: rgba(0, 230, 152, 0.03);

  /* Opacity Variants - White */
  --white-98: rgba(255, 255, 255, 0.98);
  --white-95: rgba(255, 255, 255, 0.95);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-08: rgba(255, 255, 255, 0.08);
  --white-05: rgba(255, 255, 255, 0.05);

  /* Opacity Variants - Black */
  --black-20: rgba(0, 0, 0, 0.2);
  --black-10: rgba(0, 0, 0, 0.1);
  --black-05: rgba(0, 0, 0, 0.05);
  --black-04: rgba(0, 0, 0, 0.04);
  --black-03: rgba(0, 0, 0, 0.03);

  /* Opacity Variants - Light */
  --light-95: rgba(248, 250, 252, 0.95);
  --light-30: rgba(248, 250, 252, 0.3);

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 6px -1px var(--black-10), 0 2px 4px -2px var(--black-10);
  --shadow-md: 0 10px 15px -3px var(--black-10), 0 4px 6px -4px var(--black-10);
  --shadow-lg:
    0 20px 25px -5px var(--black-10), 0 8px 10px -6px var(--black-10);
}


/* Popup Styling */
  .popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    z-index: 1000;
  }

  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 300px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  }

  .modal[data-type] {
    display: block;
  }

  .modalDialog {
    margin: auto;
    padding: 25px;
    background-color: white;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
  }
  #modalMessage {
    font-size: 17px;
  }

  .grantButtons,
  .rewardButtons {
    display: none;
  }

  .modal[data-type="grant"] .grantButtons,
  .modal[data-type="reward"] .rewardButtons {
    display: block;
  }

  .modal input[type="button"] {
    padding: 0.5rem;
    background: blue;
    border: none;
    border-radius: 4px;
    margin: 4px;
    color: white;
  }

/* end ad related */


html {
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  font-size: 14px;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Elms Sans", sans-serif;
  font-weight: 700;
  color: var(--dark);
  word-spacing: -0.19em;
}

/* Global Elements */
a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border: none;
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  color: var(--white);
}

.btn.btn-outline-primary {
  border-radius: 100px;
  color: var(--primary);
  border-color: var(--primary);
}
.btn.btn-outline-primary:hover {
  /* color: var(--white); */
  background-color: transparent;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg);
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.border-primary {
  border-color: var(--primary) !important;
}

/* Navbar Container (Prevents Layout Shift) */
.navbar-expand-lg {
  height: 78px;
  position: relative;
  z-index: 1030;
  background: transparent;
}

/* Navbar Inner Wrapper */
.navbar {
  background: var(--white-95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
  transition: all 0.3s ease;
  width: 100%;
}

.navbar.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: var(--shadow-md);
  background: var(--white-98);
  padding: 10px 0;
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.navbar-brand {
  font-family: "Elms Sans", sans-serif;
  font-weight: 800;
  font-size: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link {
  font-weight: 500;
  color: var(--dark) !important;
  margin: 0 10px;
  position: relative;
}

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

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

/* Hero Section */
.hero-section {
  padding: 160px 0 100px;
  background:
    linear-gradient(var(--light-95), var(--light-30)),
    url("../images/other/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-title {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* Enhanced Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--black-03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--black-04);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.blog-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 35px var(--primary-10);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.blog-card:hover {
  border-color: var(--primary-20);
  box-shadow: 0 15px 35px var(--black-20);
}

.blog-card:hover::after {
  opacity: 1;
}

.blog-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/8;
  border-bottom: 1px solid var(--black-03);
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.08);
}

.blog-card-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--white-95);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 4px 10px var(--black-05);
  border: 1px solid var(--white-50);
  transition: all 0.3s ease;
}

.blog-card:hover .blog-card-category {
  background: var(--primary);
  color: var(--white);
}

.blog-card-body {
  font-size: 14px;
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.blog-card-title a {
  color: var(--dark);
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.3s ease;
}

.blog-card-title a:hover,
.blog-card:hover .blog-card-title a {
  color: var(--primary);
}

.blog-card-text {
  color: var(--gray);
  margin-bottom: 25px;
  flex-grow: 1;
  font-size: 15px;
  line-height: 1.6;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.blog-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--black-05);
}

.blog-card-date {
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.read-more-link {
  font-weight: 600;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.read-more-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-10);
  color: var(--primary);
  transition: all 0.3s ease;
}

.read-more-link:hover {
  color: var(--primary);
}

.blog-card:hover .read-more-link {
  color: var(--primary);
}

.blog-card:hover .read-more-icon {
  background: var(--primary);
  color: var(--white);
  transform: translateX(3px);
}

/* Grid Span 2 Section */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

/* Single Blog Page */
.single-blog-header {
  padding: 100px 0 60px;
  background: linear-gradient(
    135deg,
    var(--primary-05) 0%,
    var(--secondary-05) 100%
  );
}

.single-blog-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.single-blog-image img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
}

.single-blog-content {
  font-size: 14px;
  color: var(--slate-700);
}

.single-blog-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 28px;
}

.single-blog-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 24px;
}

.single-blog-content p {
  margin-bottom: 25px;
  line-height: 1.8;
}

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

.single-blog-content li {
  margin-bottom: 10px;
}

.single-blog-content blockquote {
  border-left: 5px solid var(--primary);
  padding: 20px 30px;
  background: var(--primary-05);
  font-style: italic;
  font-size: 20px;
  border-radius: 0 10px 10px 0;
  margin: 40px 0;
}

/* Legal Pages (Terms, Privacy, Cookie) */
.legal-page-header {
  padding: 70px 0 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    var(--primary-05),
    transparent 70%
  );
}

.legal-page-header h1 {
  color: var(--white);
  font-size: 48px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.legal-page-header .lead {
  color: var(--white-50);
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.legal-content-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  margin-top: -80px;
  position: relative;
  z-index: 10;
  border: 1px solid var(--light);
}

.legal-content h2 {
  color: var(--dark);
  font-size: 24px;
  margin-top: 60px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-05);
}

.legal-content h2 i {
  color: var(--primary);
  font-size: 16px;
  width: 35px;
  height: 35px;
  background: var(--primary-10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--slate-700);
  line-height: 1.9;
  margin-bottom: 25px;
}

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

/* Contact Form */
.contact-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  font-size: 14px;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.form-control {
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid var(--slate-300);
  background-color: var(--light);
  transition: all 0.3s ease;
}

.form-control:focus {
  box-shadow: 0 0 0 3px var(--primary-20);
  border-color: var(--primary);
  background-color: var(--white);
}

/* Footer Enhancement */
.footer {
  background: linear-gradient(to bottom, var(--dark), var(--darker));
  color: var(--slate-400);
  padding: 100px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 15% 50%, var(--primary-03), transparent 25%),
    radial-gradient(circle at 85% 30%, var(--secondary-03), transparent 25%);
  pointer-events: none;
}

.footer-top-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--blue-500)
  );
}

.footer .navbar-brand {
  font-size: 28px;
}

.footer-desc {
  line-height: 1.8;
  font-size: 15px;
}

.footer-title {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  display: inline-block;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

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

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

.footer-links a {
  color: var(--slate-400);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
}

.footer-links a i {
  font-size: 12px;
  transition: transform 0.3s ease;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-10px);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-links a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white-05);
  color: var(--white);
  transition: all 0.3s ease;
  border: 1px solid var(--white-10);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--primary-30);
  border-color: var(--primary);
}

.newsletter-form .input-group {
  background: var(--white-05);
  border-radius: 50px;
  padding: 5px;
  border: 1px solid var(--white-10);
  transition: all 0.3s ease;
}

.newsletter-form .input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-10);
}

.newsletter-form .form-control {
  background: transparent !important;
  border: none !important;
  color: var(--white) !important;
  padding-left: 20px;
  box-shadow: none !important;
}

.newsletter-form .form-control::placeholder {
  color: var(--slate-500);
}

.newsletter-form .btn {
  border-radius: 50px !important;
  padding: 10px 20px;
  margin-left: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--white-08);
  padding-top: 25px;
  margin-top: 60px;
  font-size: 14px;
}

.made-with {
  font-weight: 500;
}

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

.animate-on-load {
  animation: fadeIn 0.8s ease forwards;
}

/* Ad Placeholder */
.ad-placeholder {
  width: 100%;
  background-color: var(--light);
  border: 2px dashed var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

/* Offcanvas Customizations */
.offcanvas {
  height: 100vh;
  overflow: auto;
  max-width: 300px;
}
.offcanvas-header {
  padding: 40px 16px;
}



/* About Us Page Styles */

/* 1. Hero Section */
.about-hero {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%);
  overflow: hidden;
}

.bg-primary-soft {
  background-color: var(--primary-10); /* Low opacity version of --primary */
}

.about-image-stack {
  position: relative;
  padding: 20px;
}

.about-image-stack .main-img {
  border-radius: 32px !important;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.about-image-stack:hover .main-img {
  transform: rotate(0deg);
}

.experience-badge {
  position: absolute;
  bottom: -10px;
  left: -10px;
  min-width: 160px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light);
  z-index: 2;
}

.experience-badge h2 {
  color: var(--primary);
  font-size: 40px;
}

/* 2. Stats Section */
.stats-bar {
  background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
  z-index: 10;
  position: relative;
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
  padding: 40px 0;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}


.stats-bar h3 {
  font-size: 42px;
  margin-bottom: 5px;
  color: var(--primary);
  letter-spacing: -1px;
}

.stats-bar p {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  color: var(--white);
  margin-bottom: 0;
}

/* 3. Mission & Vision Section */
.mission-vision-card {
  padding: 32px;
  background-color: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  border: 1px solid var(--light);
  position: relative;
  overflow: hidden;
}

.mission-vision-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-10);
}

.border-mission {
  border-left-width: 4px !important;
  border-left-color: var(--secondary) !important;
}

.border-vision {
  border-left-width: 4px !important;
  border-left-color: var(--secondary) !important;
}

.mission-vision-card i {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.mission-vision-card:hover i {
  transform: scale(1.2) rotate(-5deg);
}

/* 4. Content Typography & Spacing */
.lead {
  color: var(--gray);
}

.section-title {
  color: var(--dark);
  font-weight: 800;
  position: relative;
  margin-bottom: 24px;
}

.section-subtitle {
  color: var(--gray);
  line-height: 1.8;
}

/* 5. Values Section */
.value-card {
  background: var(--white);
  padding: 40px;
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid var(--light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-10);
  color: var(--primary);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.value-card:hover .value-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.value-card h4 {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

/* 6. Team Section */
.team-card {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  height: 100%;
}

.team-img-wrapper {
  height: 350px;
  overflow: hidden;
  position: relative;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.1);
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-social {
  position: absolute;
  top: 15px;
  right: -50px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: right 0.4s ease;
}

.team-card:hover .team-social {
  right: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary);
  color: var(--white);
}

/* 7. Trust Section */
.trust-list {
  list-style: none;
  padding: 0;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

.trust-icon {
  min-width: 25px;
  height: 25px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-top: 4px;
}

/* 8. CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #01040a 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  border-radius: 40px;
  margin: 60px 0;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    var(--primary-10) 0%,
    transparent 50%
  );
  animation: pulse 10s infinite linear;
}

@keyframes pulse {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10%, 10%);
  }
  100% {
    transform: translate(0, 0);
  }
}

.cta-content {
  position: relative;
  z-index: 2;
}

/* Responsive Adjustments */

/* 9. Contact Page Enhancements */
.contact-wrap {
  padding: 60px !important;
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  margin-top: -100px;
  position: relative;
  z-index: 20;
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  background: var(--primary-10);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.contact-form .form-control {
  border: 1px solid var(--primary-20);
  padding: 12px 19px;
  border-radius: 14px;
  transition: all 0.3s ease;
  background-color: var(--secondary-03);
}

.contact-form .form-control:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-10);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--dark);
  color: var(--primary);
  transform: translateY(-5px);
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

/* Desktop (Large) */
@media (min-width: 992px) {
  .featured-grid {
    grid-template-columns: repeat(3, 1fr)  !important;
  }
  .featured-grid .col-span-2 {
    grid-column: span 2;
  }
  .featured-grid .col-span-2 .blog-card-img-wrap {
    aspect-ratio: 16/7;
  }
  body {
    font-size: 16px;
  }
  .single-blog-content {
    font-size: 18px;
  }
  .single-blog-content h2 {
    font-size: 32px;
  }
  .legal-page-header {
    padding: 100px 0 120px;
  }
}

/* Desktop (Small) & Tablets (Landscape) */
@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .single-blog-content {
    font-size: 16px;
  }
}

/* Tablets (Portrait) & Mobile (Large) */
@media (max-width: 991px) {
  .about-hero {
    padding: 60px 0;
    text-align: center;
  }

  .about-hero .d-flex {
    justify-content: center;
  }

  .experience-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
  }

  .stats-bar {
    margin-top: 0;
    border-radius: 16px;
  }

  .contact-wrap {
    padding: 40px 20px 20px !important;
  }

  .legal-content-wrapper {
    padding: 40px 20px 20px;
    margin-top: -60px;
    border-radius: 30px;
  }

  .legal-page-header h1 {
    font-size: 36px;
  }
}

/* Mobile (Small) */
@media (max-width: 767px) {
  .stat-item:nth-child(even)::after {
    display: none;
  }
}
